tinker Posted January 15, 2008 Share Posted January 15, 2008 I've got a redirect page which I need to send some POST vars with, here's what i've got, but i'm not getting the results i'm looking for. <html><head> <meta http-equiv="refresh" content="2; URL=tmp.html"> <meta http-equiv="Content-Type" content="application/x-www-form-urlencoded; charset=UTF-8"> <meta name="method" content="POST" /> <meta name="postData" content="submit=true&cmd=HI" /> </head><body> <h2>TEST</h2> </body></html> tmp.html use's some php to output the $_POST variables... Quote Link to comment Share on other sites More sharing options...
beansandsausages Posted January 15, 2008 Share Posted January 15, 2008 your not collectiong any variables. ??? all that will do is refresh the page Quote Link to comment Share on other sites More sharing options...
tinker Posted January 15, 2008 Author Share Posted January 15, 2008 No, i'm trying to pass them here! <meta http-equiv="Content-Type" content="application/x-www-form-urlencoded; charset=UTF-8"> <meta name="method" content="POST" /> <meta name="postData" content="submit=true&cmd=HI" /> Quote Link to comment Share on other sites More sharing options...
monkeytooth Posted January 15, 2008 Share Posted January 15, 2008 Where do the original var's come from a form? If they come from a form, why not pass them on via the form to tmp.htm Quote Link to comment Share on other sites More sharing options...
resago Posted January 19, 2008 Share Posted January 19, 2008 try removing the url and try metaname action strange way of doing this. you could us a form and a javascript timer to do exactly the same thing. ex: wait 2 seconds and submit the form (hidden) 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.