Re: [PHP] POST method to php page from php page

2005-04-08 Thread Philip Hallstrom
Hello all Does anyone know if its possible to post data using the http POST method to another form using php? Yes. If you search around you'll find some pure-PHP code snippets to do this... or do it yourself... To programmatically make a POST request you need to open a socket connection to the

Re: [PHP] POST method to php page from php page

2005-04-08 Thread M. Sokolewicz
Aurélien Cabezon wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bob Pilly wrote: | Hello all Hi, | Does anyone know if its possible to post data using the http POST method | to another form using php? | I know its possible to use: | header( "Location: somelocation.php?" .SID&somevar=$somevar

Re: [PHP] POST method to php page from php page

2005-04-08 Thread Aurélien Cabezon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bob Pilly wrote: | Hello all Hi, | Does anyone know if its possible to post data using the http POST method | to another form using php? | I know its possible to use: | header( "Location: somelocation.php?" .SID&somevar=$somevar ); | But this uses the G

Re: [PHP] POST method for hyperlink

2004-01-18 Thread Chris Shiflett
--- Richard Davey <[EMAIL PROTECTED]> wrote: > JH> I am curious if there is anyway to take a variable that is passed > JH> via a URL by a reguler text hyperlink Ex: > JH> http://localhost/Calendar/active_layout.php?d=2.1.2004 > JH> and hide it like you would do with the POST method using forms > >

RE: [PHP] POST method for hyperlink

2004-01-17 Thread Joe Harman
Thanks Richard... I will do some erading on that Cheers! Joe -Original Message- From: Richard Davey [mailto:[EMAIL PROTECTED] Sent: Saturday, January 17, 2004 11:08 PM To: Joe Harman Cc: [EMAIL PROTECTED] Subject: Re: [PHP] POST method for hyperlink Hello Joe, Sunday, January 18

Re: [PHP] POST method for hyperlink

2004-01-17 Thread Richard Davey
Hello Joe, Sunday, January 18, 2004, 3:26:18 AM, you wrote: JH> I am curious if there is anyway to take a variable that is passed via a JH> URL by a reguler text hyperlink JH> Ex: http://localhost/Calendar/active_layout.php?d=2.1.2004 JH> and hide it like you would do with the POST method using

Re: [PHP] POST Method

2003-08-14 Thread Chris Shiflett
--- Esteban Fernandez <[EMAIL PROTECTED]> wrote: > Someone know how to capture the vars and values from the POST method Use $_POST['name_of_variable']. Chris = Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/ -- PHP General Mailing List (http://www.

RE: [PHP] post method with fopen

2003-03-28 Thread Jennifer Goodie
I've never tried with fopen, but I know you can with fsockopen. That doesn't really answer your question, but I thought it might help out. Here's an example with fsockopen; $fp = fsockopen($domain,80, $errno, $errstr, 30); if (!$fp){ //error handling stuff } else{ fputs ($fp, "PO

Re: [PHP] Post method

2003-02-28 Thread Alex Shi
> Curl will let you perform post operationgs, take a look at > http://www.php.net/curl. > > Note you will need to have libcurl installed and PHP will have to be > compiled with curl support. > > There are also probably classes that allow you to do post requests, take > a look at the script reposito

Re: [PHP] Post method

2003-02-28 Thread Jason Sheets
Curl will let you perform post operationgs, take a look at http://www.php.net/curl. Note you will need to have libcurl installed and PHP will have to be compiled with curl support. There are also probably classes that allow you to do post requests, take a look at the script repositories, hotscrip

Re: [PHP] Post method

2003-02-28 Thread Joseph W. Goff
Why not use sessions? - Original Message - From: "Alex Shi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 28, 2003 3:09 PM Subject: [PHP] Post method > Hi, > > Any one know in a php script, if it is possible to simulate a post method? > I mean I want to header() to an

Re: [PHP] POST method not allowed

2002-10-09 Thread Stuart Dallas
Muhammad Khairuzzaman wrote: > Yes, done that too. Have you checked that you don't have method limits in your httpd.conf? That would be my first guess re: the POST issue. Have you checked your register_globals setting in php.ini? That would be my first guess re: the GET variables issue. -- S

Re: [PHP] POST method not allowed

2002-10-09 Thread Muhammad Khairuzzaman
"Timothy J Hitchens" <[EMAIL PROTECTED]> wrote in message 006d01c26f7d$236b39a0$0500a8c0@BAMBINO">news:006d01c26f7d$236b39a0$0500a8c0@BAMBINO... > Have you confirmed that they are php processed... eg made a phpinfo() > page and run it? > > > Timothy Hitchens (HITCHO) > [EMAIL PROTECTED] > > HITCH

RE: [PHP] POST method not allowed

2002-10-09 Thread Timothy J Hitchens
PROTECTED] Subject: Re: [PHP] POST method not allowed "Timothy J Hitchens" <[EMAIL PROTECTED]> wrote in message 006c01c26f7b$529a7530$0500a8c0@BAMBINO">news:006c01c26f7b$529a7530$0500a8c0@BAMBINO... > Are you sure that .php3 files are being processed by PHP ??? >

Re: [PHP] POST method not allowed

2002-10-09 Thread Muhammad Khairuzzaman
"Timothy J Hitchens" <[EMAIL PROTECTED]> wrote in message 006c01c26f7b$529a7530$0500a8c0@BAMBINO">news:006c01c26f7b$529a7530$0500a8c0@BAMBINO... > Are you sure that .php3 files are being processed by PHP ??? > > > Timothy Hitchens (HITCHO) > [EMAIL PROTECTED] > > HITCHO has Spoken! Yes, i've tri

RE: [PHP] POST method not allowed

2002-10-09 Thread Timothy J Hitchens
Are you sure that .php3 files are being processed by PHP ??? Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Muhammad Khairuzzaman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 9 October 2002 12:54 PM To: [EMAIL PROTECTED] Subject: [PHP] POST

Re: [PHP] POST method invocation of C CGI

2001-06-27 Thread Richard Lynch
> I have a compiled C CGI that accepts POST method calls, reading > information off of stdin, and returning its results to stdout. > > I need to be able to invoke this from a PHP module, with the PHP module > loading the POST data for the CGI to fetch, and be able to collect the > output that the

Re: [PHP] POST Method.

2001-03-15 Thread Nick Davies
I'm going to use the curl libs. But FYI i was wanting to forward the data again using post. On Thu, 15 Mar 2001, Keith Vance wrote: > You could can "forward" posted data the same way if you wanted to. I don't > know what you mean by forwarding. But if you had one script that was a > form and t

Re: [PHP] POST Method.

2001-03-15 Thread Keith Vance
You could can "forward" posted data the same way if you wanted to. I don't know what you mean by forwarding. But if you had one script that was a form and the action was set to a script called action.php and then you wanted to pass that data to yet another script, you could pass the values in the

Re: [PHP] POST Method.

2001-03-15 Thread Peter
Check out using php_curl HTH Peter "Nick Davies" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > How do i forward POST data from a php script. Obviously GET is simple > (just script.php?$QUERY_STRING) but how does it work with post? > > > Thanks. > > Nick.