Hello all,
I have an install of php on a Red Hat Ent. server that is giving me fits.
I have been trying to use the fopen command to retreive files from external
sites and have been getting this error:
Warning: fopen(http://us3.php.net/images/php.gif): failed to open stream:
HTTP request failed!
On Saturday 07 February 2004 07:08, [EMAIL PROTECTED] wrote:
> I am using the below code (kind of sloppy..). I have tried for fopen r+,
> w, and w+, but no matter what I do, the file is always truncated, and
> previously entered data is erased. I have been unable to fix this.
Assuming that you'r
I am using the below code (kind of sloppy..). I have tried for fopen r+, w,
and w+, but no matter what I do, the file is always truncated, and previously
entered data is erased. I have been unable to fix this.
';
$d1 = date("l dS of F Y h:i:s A");
$divclose = '';
$some = " $divhead ";
$some1 =
hi all :))
i have a problem with fopen()
1) i open the connection to the server
$fp = fsockopen ("www.testserver.at", 80, &$errno, &$errstr, 30);
2) i make the fputs()
fputs ($fp, 'GET /cgi-bin/portal/frameset.jsp HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/
4 matches
Mail list logo