I wonder how I can send a POST-command to a server, via a PHP-script instead 
of a form.

Imagen that I have this form:
<form action="/request.php" method="POST">
Name: <input type="text" name="reqName"><br/>
E-mail: <input type="text" name="reqEmail"><br/>
<input type="submit">

Now I want to send a command to the /request.php, and formate the returned 
data - via a PHP-script.

Should I use sockets or fopen? Or something else? This would be easy if I 
could use the GET-method, but unforntuatly I can't.

Best regards,

Björn Wikström

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]

Reply via email to