You are here: Re: How do I read a php file into a php program « All PHP « IT news, forums, messages
Re: How do I read a php file into a php program

Posted by Floortje on 05/09/07 20:30

boombangabang schreef:
> The php file that I am trying to read is a mixture of code and html
>
> I have tried every function you can think of
>
> fread, fgets, file, fgetc, file_get_contents etc etc.
>
> None of them seem to read the whole file in correctly
>
> Any ideas ??
fopen()/file_get_contents etc will get you the file. eval() will parse
the code. also check out include()

--
Arjen
http://www.hondenpage.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация