Forum Moderators: coopster
What I need to do is build onto an existing login form, using POST forms. I would like to have to have to access the existing code, so what I ultimately have to do is write a PHP script that will spoof a form POST.
I have found 2-3 different examples, however none of these will send the post, and then go to that page. All that these scripts do is send the post, and keep you on the existing page.
The return from the form cannot be displayed in the page with the script on it because of licensing issues.
So the script needs to send the POST information to that page, just as a regular form.
If anybody can understand what I'm saying :p or think they can help me out, that would be great...
Thanks
-LiNx88
All you have to do is add a header() function to go to your page.
Tim
cURL [php.net] is your best bet
As for curl, I have used it before, however this isn't my server and I don't have the ability to install it.
I tried a header() before but it didn't work... I don't know why, because I would have thought that it would have worked.
Thanks
-LiNx88