Bech100 ... did the above output that you requested shed any clues on why it doesn't work?
thanks,
Galak
Search found 7 matches
- Thu Sep 11, 2003 11:04 am
- Forum: PHP - Code
- Topic: file uploading with register globals off
- Replies: 16
- Views: 808
- Wed Sep 10, 2003 10:42 am
- Forum: PHP - Code
- Topic: file uploading with register globals off
- Replies: 16
- Views: 808
Here was the result from that test:Bech100 wrote:try putting at the top of the script that runs when the form has being submitted and tells us what is returns.
Code: Select all
print_r($_FILES);
Array ( [userfile] => Array ( [name] => IronChefs.htm [type] => text/html ) )
- Wed Sep 10, 2003 10:36 am
- Forum: PHP - Code
- Topic: file uploading with register globals off
- Replies: 16
- Views: 808
- Wed Sep 10, 2003 9:41 am
- Forum: PHP - Code
- Topic: file uploading with register globals off
- Replies: 16
- Views: 808
Thanks Mark, that made some progress on the problem. Hmmmmmm...... Okay tmp_name is blank after the form processes. However $_FILES['userfile']['name'] is set to name of the html. Example: D:\PBeMBBL\CurrentGames\IronChefs.htm when put into the form and submitted stores IronChefs.htm to name, but tm...
- Wed Sep 10, 2003 8:58 am
- Forum: PHP - Code
- Topic: file uploading with register globals off
- Replies: 16
- Views: 808
First thing I noticed - $PHP_SELF should be $_SERVER['PHP_SELF']. The next thing you need to do is read: Handling file uploads Try the examples that they have listed there and post back if you have any problems. Mac Mac ... thanks for the very quick reply. The weird thing that has us (its me and on...
- Wed Sep 10, 2003 8:50 am
- Forum: PHP - Code
- Topic: file uploading with register globals off
- Replies: 16
- Views: 808
- Wed Sep 10, 2003 8:44 am
- Forum: PHP - Code
- Topic: file uploading with register globals off
- Replies: 16
- Views: 808
file uploading with register globals off
[Admin Edit: Moved from the Passing Variables sticky] Well, I've read through this thread, looked at the links, and I'm still not sure what is wrong. Here is the form: ?><h1>Add new team</h1><? // Form for the new team entry $url = $PHP_SELF . "?show=addTeam".$sid; echo "<form action=...