File upload not working online PHP

I have a question.
i got an uploadingpage for files.
It is working with ajax. When file is selected a php script will start.
There’s a problem with moving the file to the directory.
This is my indexpage(sorry it is an image because my code is not properly formatted or something???)

enter image description here

enter image description here

Strange is that the upload works fine offline but on the server it doesn’t.
Can someone please help me.

Thank you

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s