Help - Search - Members - Calendar
Full Version: Post Request In Php
Zymic Webmaster Forums > Web Design & Development > Server Side Scripting > PHP
MH-Dolly
How can I made a post request in php without using a form ???
swordz
If you want a link that sends a post request with it, you're out of luck with php - by the time the browser displays the page, it's too late. Try Javascript for this (I have no idea whether this is possible though).

If you just want to redirect from one page to another, use the header() function, but this is quite complicated.

swordz
MH-Dolly
QUOTE(swordz @ Dec 9 2008, 02:21 PM) *
If you want a link that sends a post request with it, you're out of luck with php - by the time the browser displays the page, it's too late. Try Javascript for this (I have no idea whether this is possible though).

If you just want to redirect from one page to another, use the header() function, but this is quite complicated.

swordz


I need to make a php script that parse information from a site which make a post request!
Anyway, thanks for your answer!
swordz
This should be possible - if I understand, you take POST info from one site, process it, then POST the info back? Definitely possible.

pm me if you want me to help with doing it.

swordz
MH-Dolly
QUOTE(swordz @ Dec 9 2008, 02:43 PM) *
This should be possible - if I understand, you take POST info from one site, process it, then POST the info back? Definitely possible.

pm me if you want me to help with doing it.

swordz


I just need to do a http post request and store the page result in a string and process it !
You have understand!
I will sent you a pm!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.