|
Posted by Rik on 08/01/07 18:03
On Wed, 01 Aug 2007 19:42:24 +0200, Michael Fesser <netizen@gmx.de> wrote:
> .oO(Rik)
>
>> On Wed, 01 Aug 2007 19:26:50 +0200, charliefortune
>> <google@charliefortune.com> wrote:
>>
>>> When I go to the url, I get nothing because, like you say, the script
>>> doesn't produce anything, it is just a single class definition, and is
>>> being parsed before being returned.
>>
>> On the server with the definition:
>> file: givememyclassdefinitioninplainphp.php
>> <?php
>> readfile('myClass.php');
>> ?>
>
> Or simply use a file extension other than '.php', so the server won't
> parse the file. '.inc' or '.txt' would be fine.
Which would defeat the whole purpose of having your class in just one
single file. If he can rename it, why not just ftp it to its desired
location on alterations?
--
Rik Wasmus
Navigation:
[Reply to this message]
|