RE: [PHP] File upload and deletion
| From: | Thomas Hochstetter | Date: | Thu, 21 Aug 2003 20:49:39 +0000 |
| Subject: | RE: [PHP] File upload and deletion | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-160357@lists.php.net to get a copy of this message | ||
[snip]
- PHP sends request headers (with POST data) to $url
- $url sends response back to calling script
- PHP works with the response
[/snip]
Look at fsockopen, with which you can send POST headers, or just fopen. You
sit this in a try/ catch sort of script and you should be able to get stuff
back to process.
Am not so sure whether that is what you are looking for ... i have used this
to send a request to a sms gateway, and received a reply. Works well.
Thomas
--
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post