php-general | 2003022
Date: 02/28/03
- Next message: Sunfire: "[PHP] Re: Very basic If statement still not working VERIFIED VARIABLES"
- Previous message: Luis A: "[PHP] php-marcador"
- Maybe in reply to: Alex Shi: "[PHP] Post method"
- Next in thread: Jason Sheets: "Re: [PHP] Post method"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
>
>
- Next message: Sunfire: "[PHP] Re: Very basic If statement still not working VERIFIED VARIABLES"
- Previous message: Luis A: "[PHP] php-marcador"
- Maybe in reply to: Alex Shi: "[PHP] Post method"
- Next in thread: Jason Sheets: "Re: [PHP] Post method"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

