|
Posted by Richard Davey on 11/14/05 11:53
Hi Ross,
Monday, November 14, 2005, 9:44:45 AM, you wrote:
> $lines = file_get_contents('../shared/acessibility_box.htm');
> In this file I have the a self submitting link
> <a href="<? $_SERVER['PHP_SELF']; ?>?text_size=small" class="size1">A</a>
> The problem I think is this code is inserted after the page headers have
> been set. And so the line just generates an error.
file_get_contents does exactly that - it gets the contents of the file
*without* parsing it, i.e. any raw PHP code that exists within it,
will be treated as what it is when 'got' = plain text.
Cheers,
Rich
--
Zend Certified Engineer
PHP Development Services
http://www.corephp.co.uk
[Back to original message]
|