Hi all, I have a webiste that works fine on my local machine but now I have uplaoded it to x10 its not working correctly. I got past the error 500 problem but my $_FILES array is empty which, I think, means my file is not uploading. I believe its may to do with the permissions on the tmp folder but I am not sure and any help would be appreciated.
The form code is:
Choose a file to upload: <input name="userfile" type="file" />
<input type="submit" value="submit" />
which runs a php script
$target = $target . basename($_FILES['upload']['name']);
setMess($_FILES);
if I echo $target it returns nothing. setMess prints a message back to the previous page. This prints nothing. If iI put in setMess('hello') this retuns hello to screen so I know the script it running.
Thanks
The form code is:
Choose a file to upload: <input name="userfile" type="file" />
<input type="submit" value="submit" />
which runs a php script
$target = $target . basename($_FILES['upload']['name']);
setMess($_FILES);
if I echo $target it returns nothing. setMess prints a message back to the previous page. This prints nothing. If iI put in setMess('hello') this retuns hello to screen so I know the script it running.
Thanks