Desperation has returned

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mzfp2
Forum Contributor
Posts: 137
Joined: Mon Nov 11, 2002 9:44 am
Location: UK
Contact:

Desperation has returned

Post by mzfp2 »

been reading through all the posts about this, but to no avail, everytime my form is submiteed nothing is captured by the $_FILES or $HTTP_POST_FILES arrays, checked the form hundred times now, using the following code to capture something, but nothing is printed out?

echo '<pre>'; print_r($HTTP_POST_FILES); echo '</pre>';
break;

no matter wot i do it just cant get no filename to be printed out
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

please post the <form>-code
mzfp2
Forum Contributor
Posts: 137
Joined: Mon Nov 11, 2002 9:44 am
Location: UK
Contact:

Post by mzfp2 »

<form name="form1" method="post" action="../db/upload.php?Action=upload" enctype="multipart/form-data">
<input type="file" name="file"><br>
<input type="submit" name="Submit" value="Upload">
</form>

plz help .. i'll wish u eternal good karma if u do, n mention this website evrywhere i go
pootergeist
Forum Contributor
Posts: 273
Joined: Thu Feb 27, 2003 7:22 am
Location: UK

Post by pootergeist »

safe mode Off ?
file uploads 1 ?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

pootergeist wrote:safe mode Off ?
file uploads 1 ?
good point, check this with

Code: Select all

<?php phpinfo(); ?>
Post Reply