RE: file() ignores PHP tags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Oh, and by the way, remember that the array that file() returns also will
contain the newline. Add the flag FILE_IGNORE_NEW_LINES if you don't want
them.

Best regards,
Peter Lauri

www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free


> -----Original Message-----
> From: magoo [mailto:i.am.magoo@xxxxxxxxx]
> Sent: Sunday, September 23, 2007 3:52 PM
> To: php-general@xxxxxxxxxxxxx
> Subject:  file() ignores PHP tags
> 
> Hi NG!
> 
> I wanna output several kinds of ascii files. Two things are bothering me
> right now:
> 1. I don`t get the PHP starttag (<?php) in my output, but the ending tags.
> Is there anything I can to to get all of it?
> 
> 2. How can I stop the browser to render HTML output, in order to get plain
> ascii?
> 
> Cheers!
> 
> --
> Kind regards,
> magoo
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux