[FX.php List] [OFF] PHP question: Pulling in text from a file

Head Honcho headhoncho at customikesolutions.com
Sat Mar 7 17:02:15 MST 2009


Hi Bob,

On 08/03/2009, at 10:37 AM, Bob Patin wrote:

> Thanks; I was all over php.net this afternoon, but didn't see that  
> one. I tried about 10 different methods until I got the one that  
> worked, but I don't *really* need to upload the file first.
>
> Does the method below require the file to be on the server, or can  
> it read that stream directly from a file that is POSTed?

the first parameter is $filename... so, yes, it does need to be on the  
server.

>
> On Mar 7, 2009, at 5:33 PM, Head Honcho wrote:
>
>> Perhaps you're really looking for fopen ( string $filename , string  
>> $mode [, bool $use_include_path [, resource $context ]] ) [fopen()  
>> binds a named resource, specified by filename , to a stream.]
>>
>> Which then can be manipulated.
>>
>> php.net is your friend
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list

Regards

Michael Ward
--
Head Honcho
CustoMike Solutions
Member, FileMaker Business Alliance
Member, FileMaker Technical Network
FileMaker 7 Certified Developer
FileMaker 8 Certified Developer
FileMaker 9 Certified Developer
10 Wandoo Crt
Wheelers Hill, 3150
ph 0414 562 501
headhoncho at customikesolutions.com





More information about the FX.php_List mailing list