|
Posted by Jerry Stuckle on 02/13/06 04:32
Jasen Betts wrote:
> On 2006-02-12, Jerry Stuckle <jstucklex@attglobal.net> wrote:
>
>>Andy Hassall wrote:
>>
>>>On Sat, 11 Feb 2006 16:56:08 -0500, Jerry Stuckle <jstucklex@attglobal.net>
>>>wrote:
>>>
>>>
>>>
>>>>Jasen Betts wrote:
>>>>
>>>>
>>>>>On 2006-02-11, Jerry Stuckle <jstucklex@attglobal.net> wrote:
>>>>>
>>>>>
>>>>>
>>>>>>Why not just include() the file?
>>>>>
>>>>>not reccomended for binary files - they might have <? in them somewhere...
>>>>
>>>>He didn't say the were binary files.
>>>>
>>>>And even if they were, he'd have exactly the same problem with
>>>>readfile() - which he is currently using.
>>>
>>>
>>> No, readfile() doesn't execute the file as PHP. include() does. They're very
>>>different..
>>>
>>
>>Please read the original post. He is not outputing a php file. It is
>>text - and would not be executed.
>
>
> php files are (usually) text files...
> With include() it would be executed if it contained php tags.
> The .php filename extension is only significant to the web server.
>
>
>
>
That's true. But this is NOT php code. This is plain text.
Get me a newspaper and show me where articles have tags such as <?php in
them. Or any other plain text file not about PHP.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|