Jump to content

BDCool1983

New Members
  • Posts

    2
  • Joined

  • Last visited

BDCool1983's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. My issue may also be to do with: $newfile = "uploads/" . uniqid(""); mkdir($newfile, 0755); $newfile = $newfile . "/" . $userfile_name; copy ($userfile, $newfile);
  2. 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
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.