Re: POST method to php page from php page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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 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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux