Re: post thru fsockopen

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

 



Hello,

on 04/17/2007 11:46 AM Joakim Ling said the following:
> Hi there
> 
> Im tring to send a file  with a php script, Im using php 5.2 on a Win
> 2003 server. At the other end I just save the file and process the data
> and print the result, then fetch the output and write a report. But this
> doesn't work, any one got an idea? The file never get to the other end?
> When I do a var_export($_POST) is empty.

Couldn't that be because you should be checking $_FILES instead of $_POST?

Anyway, I use this HTTP client class and it supports file uploading easily.

http://www.phpclasses.org/httpclient

-- 

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux