note 2764 deleted from fopen by ronabop

From: Date: Sat, 19 Aug 2000 03:44:23 +0000
Subject: note 2764 deleted from fopen by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-2611@lists.php.net to get a copy of this message
Seems that you can't use '@' characters in passwords in fopen - not even escaped as '@' - that, or I'm doing this all wrong: <pre> $outputfile = fopen("ftp://someuser:p@ssword@someplace.net/some/directory/to/file.txt","w"); fpassthru($outputfile); fwrite($outputfile,$outputmessage); </pre>

« previous php.notes (#2611) next »