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.
[SOLVED] POST data with no user interaction (no form)
Moderator: General Moderators
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
there are a few different ways of doing this, but javascript would be at the bottom of my list.
I would try Snoopy or CURL, or if you want to do it the hard way like I did then check out this link viewtopic.php?t=7063
I would try Snoopy or CURL, or if you want to do it the hard way like I did then check out this link viewtopic.php?t=7063
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK