[PHP] POST method to php page from php page

2005-04-08 Thread Bob Pilly
Hello all
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? .SIDsomevar=$somevar );
But this uses the GET method
any help or pointing me to any relevant documentation would be greatly 
appreciated.

Cheers
Bob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


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? .SIDsomevar=$somevar );
| But this uses the GET method
| any help or pointing me to any relevant documentation would be greatly
| appreciated.
You can use Curl to post datas to a remote script.
http://www.php.net/curl
Regards,
Aurélien
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFCVk1s2e0VO2fZtNYRAo/jAKC+rteA24gR9RvJSGu4VFm2F6btAQCfYvLT
cX6YCT49OEI+pR3iShAlk20=
=X2ll
-END PGP SIGNATURE-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


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? .SIDsomevar=$somevar );
| But this uses the GET method
| any help or pointing me to any relevant documentation would be greatly
| appreciated.
You can use Curl to post datas to a remote script.
http://www.php.net/curl
Regards,
Aurélien
also, I think Bob is a tad confused about what header does exactly. 
Because header() adds lines to the RESPONSE-header, not the 
REQUEST-header. The REQUEST header can send its request as a 
GET/POST/PUT/whatever, while the response header doesn't do anything 
even remotely like that. Basically, the 'Location'-response-header tells 
the browser that the file can be found at a different location, so the 
browser redirects there automatically. This is *not* a GET! Since you've 
added your query to the URL and browsers, by default, use the GET method 
of requesting data, the URL the browser will redirect to will be 
requested with the GET method, so it might seem asif you were using GET 
to request the page, for the browser, but in truth you don't have 
anything to day about it.

Now, what Aurélien is talking about, cURL, is the other end of the 
story. cURL can take on the role of both ends of the line, so it can 
send either the request, or the response. But, it will not send it to 
the user('s browser), but instead over a connection that it was told to 
send it over.

Basically, this means that you can't tell a browser it needs to do a 
POST request to another page via PHP. There :)

hope that helps you in understanding,
- tul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


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 web server on port 80 and 
send the following information:

--
POST /path/to/form.php HTTP/1.1
Host: www.somehost.com
Content-type: application/x-www-form-urlencoded
Content-length: 71
Connection: close
=urlencoded_xxx_datayyy=urlencoded_yy_data
--
Each line is terminated by a single newline (\n).
Content-length is simply the length of the data being sent (the last line 
in this case).

You'll need to urlencode the data in order to transport it safely.  See 
this for more info on what this does: http://us3.php.net/urlencode.  Only 
encode the actual data though... that is the stuff after the equal sign.

Then you'll need to read back the response headers and do whatever you
want from there...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] PHP Post method HTTP 404

2005-02-16 Thread Stefan
Hi
I've a strange problem
When I try to send a form with method=POST to a php-file I always get an
HTTP 404 error.
I really don't know why, because the file exists on the server.

I use IIS 5.1

Tnx.
Stefan 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Post method HTTP 404

2005-02-16 Thread Leif Gregory
Hello Stefan,

Wednesday, February 16, 2005, 12:32:55 AM, you wrote:
S I've a strange problem When I try to send a form with method=POST
S to a php-file I always get an HTTP 404 error. I really don't know
S why, because the file exists on the server.

Can you show us the code for the form?


-- 
Leif (TB lists moderator and fellow end user).

Using The Bat! 3.0.2.3 Rush under Windows XP 5.1
Build 2600 Service Pack 2 on a Pentium 4 2GHz with 512MB

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Post method HTTP 404

2005-02-16 Thread Chris Shiflett
--- Stefan [EMAIL PROTECTED] wrote:
 When I try to send a form with method=POST to a php-file I always
 get an HTTP 404 error.

The action attribute of the form tag is what determines the URL that the
browser requests. When no resource exists at this URL, you get a 404
response after submitting the form.

This is not a PHP question.

Chris

=
Chris Shiflett - http://shiflett.org/

PHP Security - O'Reilly HTTP Developer's Handbook - Sams
Coming Soon http://httphandbook.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Post method HTTP 404

2005-02-16 Thread Richard Lynch
Stefan wrote:
 I've a strange problem
 When I try to send a form with method=POST to a php-file I always get an
 HTTP 404 error.
 I really don't know why, because the file exists on the server.

 I use IIS 5.1

If IIS is mis-configured, we can't help you here...

If it's in the PHP code, you'd have to at least show us:
1. The form action= tag
2. The URL that exists that you are POSTing to.

Without at least that much info, we can't say anything useful.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Post method HTTP 404

2005-02-16 Thread Marek Kilimajer
Stefan wrote:
Hi
I've a strange problem
When I try to send a form with method=POST to a php-file I always get an
HTTP 404 error.
I really don't know why, because the file exists on the server.
What are the logs saying? I remember some problems with IIS + php and 
post method, it was due to some setting in IIS. Search the web.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


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
 
 Not really, no. One solution might be to use mod_rewrite on Apache so
 at least it could look like:
 
 http://localhost/Calendar/active_layout/d/2.1.2004

Another option would be to just refer to $_SERVER['PATH_INFO'], in case
you don't have mod_rewrite but still want to have URLs like this.

Hope that helps.

Chris

=
Chris Shiflett - http://shiflett.org/

PHP Security Handbook
 Coming mid-2004
HTTP Developer's Handbook
 http://httphandbook.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] POST method for hyperlink

2004-01-17 Thread Joe Harman
Hello,

I am curious if there is anyway to take a variable that is passed via a
URL by a reguler text hyperlink

Ex: http://localhost/Calendar/active_layout.php?d=2.1.2004

and hide it like you would do with the POST method using forms

Ex: http://localhost/Calendar/active_layout.php

Hidden or POSTed part: d=2.1.2004

It seems like I saw some WML code that did something like this

Thanks in advance,
Joe

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 forms

Not really, no. One solution might be to use mod_rewrite on Apache so
at least it could look like:

http://localhost/Calendar/active_layout/d/2.1.2004

(or something like that).

-- 
Best regards,
 Richardmailto:[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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, 2004, 3:26:18 AM, you 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

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 forms

Not really, no. One solution might be to use mod_rewrite on Apache so at
least it could look like:

http://localhost/Calendar/active_layout/d/2.1.2004

(or something like that).

-- 
Best regards,
 Richardmailto:[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] POST Method

2003-08-14 Thread Esteban Fernandez
Hi there

Someone know how to capture the vars and values from the POST method, such
like a Matts' FormMail, i want to do somethink like that, and i need know
how to do it.

Thanks in advanced

Regards,
Esteban.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] post method with fopen

2003-03-28 Thread Lambert Antonio
if it possible to send a post data when using fopen?

--
Lambert Antonio
Re:Site WebWorks and System Solutions



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Fw: [PHP] post method with fopen

2003-03-28 Thread Kevin Stone

- Original Message -
From: Lambert Antonio [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 24, 2003 8:16 PM
Subject: [PHP] post method with fopen


 if it possible to send a post data when using fopen?

 --
 Lambert Antonio
 Re:Site WebWorks and System Solutions

You can open a file, write to a variable, and then send that through a POST
request.  Is this what you're asking?
- Kevin



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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, POST  $url?$postdata HTTP/1.0\r\nHost: $domain\r\n\r\n);
while (!feof($fp)) {
$return .= fgets ($fp,1280);
}
fclose ($fp);
}


-Original Message-
From: Lambert Antonio [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 7:17 PM
To: [EMAIL PROTECTED]
Subject: [PHP] post method with fopen


if it possible to send a post data when using fopen?

--
Lambert Antonio
Re:Site WebWorks and System Solutions



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Post method

2003-02-28 Thread Alex Shi
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 url but don't like to embed the parameters
into that url.

Thanks in advance!

Alex Shi


-- 
==
Cell Phone Batteries at 30-50%+ off retail prices!
http://www.pocellular.com
==
TrafficBuilder Network: 
http://www.bestadv.net/index.cfm?ref=7029
==

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 url but don't like to embed the parameters
 into that url.

 Thanks in advance!

 Alex Shi


 --
 ==
 Cell Phone Batteries at 30-50%+ off retail prices!
 http://www.pocellular.com
 ==
 TrafficBuilder Network:
 http://www.bestadv.net/index.cfm?ref=7029
 ==

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Fw: [PHP] Post method

2003-02-28 Thread Kevin Stone
You can use an open socket connection to send/recieve data to and from a remote host 
however this method is less-than-ideal for the browser interface.  So probably the 
best way would be to use a hidden HTML form and javascript.  The onLoad= command 
executes a function that submits the form which will automatically redirect you to 
whatever address is specified in the action field.
- Kevin


- Original Message - 
From: Alex Shi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 28, 2003 2: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 url but don't like to embed the parameters
 into that url.
 
 Thanks in advance!
 
 Alex Shi
 
 
 -- 
 ==
 Cell Phone Batteries at 30-50%+ off retail prices!
 http://www.pocellular.com
 ==
 TrafficBuilder Network: 
 http://www.bestadv.net/index.cfm?ref=7029
 ==
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 


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, hotscripts.com and you might try
phpclasses.org as well.

Jason
On Fri, 2003-02-28 at 14:09, Alex Shi wrote:
 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 url but don't like to embed the parameters
 into that url.
 
 Thanks in advance!
 
 Alex Shi
 
 
 -- 
 ==
 Cell Phone Batteries at 30-50%+ off retail prices!
 http://www.pocellular.com
 ==
 TrafficBuilder Network: 
 http://www.bestadv.net/index.cfm?ref=7029
 ==
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 repositories, hotscripts.com and you might try
 phpclasses.org as well.
  ^^
Thanks! I found a great class in phpclasses.org.

Alex



 Jason
 On Fri, 2003-02-28 at 14:09, Alex Shi wrote:
  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 url but don't like to embed the
parameters
  into that url.
 
  Thanks in advance!
 
  Alex Shi
 
 
  --
  ==
  Cell Phone Batteries at 30-50%+ off retail prices!
  http://www.pocellular.com
  ==
  TrafficBuilder Network:
  http://www.bestadv.net/index.cfm?ref=7029
  ==
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] POST method not allowed

2002-10-09 Thread Muhammad Khairuzzaman

Hi,

I'm having problem with processing my form file. It seems that everytime I
use the Post method to process the for the browser return :

Method Not Allowed
The requested method POST is not allowed for the URL /quote.php3.

And if i use a GET method, all the variables are returned as 0 (null , no
value) is there some configuration i miss configured or what?

i'm using PHP 4 and apache 1.3 on windows XP

thank u



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] POST method not allowed

2002-10-09 Thread Muhammad Khairuzzaman

Hi,

I'm having problem with processing my form file. It seems that everytime I
use the Post method to process the for the browser return :

Method Not Allowed
The requested method POST is not allowed for the URL /quote.php3.

And if i use a GET method, all the variables are returned as 0 (null , no
value) is there some configuration i miss configured or what?

i'm using PHP 4 and apache 1.3 on windows XP

thank u




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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 method not allowed


Hi,

I'm having problem with processing my form file. It seems that everytime
I use the Post method to process the for the browser return :

Method Not Allowed
The requested method POST is not allowed for the URL /quote.php3.

And if i use a GET method, all the variables are returned as 0 (null ,
no
value) is there some configuration i miss configured or what?

i'm using PHP 4 and apache 1.3 on windows XP

thank u



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.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 tried *.php and *.php3



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] POST method not allowed

2002-10-09 Thread Timothy J Hitchens

Have you confirmed that they are php processed... eg made a phpinfo()
page and run it?


Timothy Hitchens (HITCHO)
[EMAIL PROTECTED]

HITCHO has Spoken!






-Original Message-
From: Muhammad Khairuzzaman [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 9 October 2002 8:14 PM
To: [EMAIL 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 ???


 Timothy Hitchens (HITCHO)
 [EMAIL PROTECTED]

 HITCHO has Spoken!

Yes, i've tried *.php and *.php3



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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]

 HITCHO has Spoken!

Yes, done that too.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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.

-- 
Stuart


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] POST method invocation of C CGI

2001-06-27 Thread Meles Meles

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 CGI returns.

Any suggestions?

Badger[EMAIL PROTECTED]
---



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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 CGI returns.

Search for Rasmus' posttohost function in the archives from long, long
ago...

Maybe even not the archives but on a web-page somewhere.

You might also be able to use http://php.net/virtual instead.

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] POST Method.

2001-03-15 Thread Nick Davies


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.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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 url or a session variable or hidden fields in another form.

Keith

On Thu, 15 Mar 2001, Nick Davies wrote:


 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.


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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 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 url or a session variable or hidden fields in another form.
 
 Keith
 
 On Thu, 15 Mar 2001, Nick Davies wrote:
 
 
  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.
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]
 
 
 
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]