I just moved a bunch of our websites to a new server with I beleive is PHP 5.4 without going to check it.
Problem i'm facing is I cannot upload files via a script. It's so strange. I have tried defining the variables using the $_POST/GET Methods, I have tried emulating Register Globals.
Essentially the issue is that it's not carrying the <input type='file'> variable across to the next page is what it seems..........
so eg next page the variable output I get:
Array( [message] => [msgurl] => [filter] => ALL [sortorder] => A)
Arraypost_max_size = 64M
If I change the input type to 'text' say'.......... then I get
Array( [message] => [userfile] = > [msgurl] =>
[filter] =>ALL[sortorder] => A
)
Arraypost_max_size = 64M
//// I have checked the php.ini files for upload sizes, the tmp folder, the httpd.conf files etc........ I'm stumpted: Can someone check out the file attached and give me some idea's here? The form is at the bottom, the main file upload php gear is around line 124
articles.php