POST data with no user interaction (no form)
Posted: Tue Sep 28, 2004 7:33 am
i have the need to be able to post data through the URL without the need for the user to fill it out.
Ill explain what im doing
we have a form that is designed for logins, this form is directed to login_handler.php which is a sole function with nothing else on the page, it handles login requests and cookies.
After this page i then go to loading.php which then generates a list of success and failures to the user such as whether a cookie was set, user preferences loaded etc.
now unfortunately, with my current system ($_GET) the url looks like this
loading.php?type=login_nocookie
i need to transparently send post data from the login_handler page which requires absolutely no user interaction.
I know this can be done but have no idea how (well i know its javascript anyway)
Any help would be great.
Ill explain what im doing
we have a form that is designed for logins, this form is directed to login_handler.php which is a sole function with nothing else on the page, it handles login requests and cookies.
After this page i then go to loading.php which then generates a list of success and failures to the user such as whether a cookie was set, user preferences loaded etc.
now unfortunately, with my current system ($_GET) the url looks like this
loading.php?type=login_nocookie
i need to transparently send post data from the login_handler page which requires absolutely no user interaction.
I know this can be done but have no idea how (well i know its javascript anyway)
Any help would be great.