Jump to content

Button


warrenk

Recommended Posts

I am trying to determine if the Upload button is pressed.  When it is pressed, I tried to display a message.  The message never displays.  How can I determine if the Upload button is pressed?     

 

echo("<form enctype='multipart/form-data' action='' method='POST'>");

echo("<input type='hidden' name='MAX_FILE_SIZE' value='100000' />");

echo("Choose a file to upload: <input name='uploadedfile' type='file' /><br />");

echo("<input type='submit' name='Upload' value='Upload'>");

echo("</form>");

       

if(isset($Upload)){ echo "button pressed";}

Link to comment
https://forums.phpfreaks.com/topic/38175-button/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.