Hi! Im a new user of the forum and I currently having a hard time with xampp for mac. I used to use Xampp on windows Xp and I could code my php with no problem so a week ago on windows I coded a simple file upload for images and worked fine with the move_uploaded_file function ....now I transfered everything on my mac all the other php work (I made a news updater too) except the one for uploading the files I get something like it cannot open a stream ...anyway Im trying to recode using the ftp_connect but cant seem to find what is my local ftp adress (like ftp.exemple.com ....) I can access my ftp by
ftp://localhost but thats it I get a "Parse error: syntax error, unexpected T_VARIABLE in /Applications/XAMPP/xamppfiles/htdocs/outerminds.dev/omsfiles/omsartsup.php on line 70" omsartsup.php is the file that process the content in the form.....any help will be appreciated!!! Im going crazy here thanks in advance! And by the way Im still new to php just to let you guys know...