Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2003022

Fw: [PHP] Post method From: Kevin Stone (kevin <email protected>)
Date: 02/28/03

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" <chpshi <email protected>>
To: <php-general <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
>
>