ftp_put()'ing a string ...

From: Date: Tue, 11 Jul 2006 18:07:41 +0000
Subject: ftp_put()'ing a string ...
Groups: php.general 
Request: Send a blank email to php-general+get-239348@lists.php.net to get a copy of this message
hi everyone, I was wondering if anyone knew how (if possible) I could take a string and ftp_put()/ftp_fput() that string directly onto the remote server as a file (without first saving the string to disk temporarily locally) I imagine that there is a way to create a stream that refers to the string in question but I can't get my head round the streams functionality... Obviously saving the string temporarily to disk locally is an easy option but I was kind of using the situation I have now to try and do something a little fancy and learn something about streams. anyone with idea/pointers? TIA, Jochem.

« previous php.general (#239348) next »