Jump to content

Recommended Posts

Posted

Hey... I found this PHP script to implement a photo upload on my website... I put the script online as everything said in the zip file and yet I get an error... I changed the permissions so that the "WEB" can write as it said and still didn't work... HELP!? :)

 

My Link: http://www.nightlife3.com/fileupload/

 

The Error:

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in MYDIRECTORY/fileupload/fileupload.class.php on line 44

 

Any ideas on the error? How to fix it? I'm an absolute idiot when it comes to PHP... Thanks for looking!! :yes:

upload.zip

Posted
Did you upload it in ASCII mode? If you upzipped and uploaded from your PC ?

 

I had unzipped the file and just uploaded it via FTP... did I do something wrong??

Posted
REQUIREMENTS:

----------------------------------------------------------------------

- PHP 5.0 or greater

- PHP 'file_uploads' turned On (this is PHP's default)

 

The servers are running version 4.4.x

Posted
The servers are running version 4.4.x

 

:oops:

Shoot! :) That would explain it then! When we upgrading?? B)

 

:yes: THANKS!

 

 

Edit: TCH-Bruce Remember these are family fourms.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...