solarisuser Posted June 27, 2007 Share Posted June 27, 2007 Hi All, I am having a problem POSTing from a form using this.... <form method="post" action="page2.php?enabled=yes" enctype="multipart/form-data"> This parses an uploaded file, and the above works great if I just POST it to page2.php. But I really would like to get it to work like the above, due to the layout of the code. Thanks in advance! Quote Link to comment Share on other sites More sharing options...
soycharliente Posted June 27, 2007 Share Posted June 27, 2007 Will creating a hidden field of name enabled and value true and just adding that to the POST array be too hard? Quote Link to comment Share on other sites More sharing options...
solarisuser Posted June 27, 2007 Author Share Posted June 27, 2007 I did that, but I just wanted it to work the way I mentioned above =) Quote Link to comment Share on other sites More sharing options...
redarrow Posted June 27, 2007 Share Posted June 27, 2007 when you use that post does the url have this page2.php?enabled=yes on the new page? Quote Link to comment Share on other sites More sharing options...
per1os Posted June 27, 2007 Share Posted June 27, 2007 You have to either access the data via GET or REQUEST as you are doing post and get in one fell swoop. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.