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 boombangabang on 05/09/07 20:40

I have never got the include function to work, as that would be the
easiest. Not sure if I have set Globals anywhere.

I will check out the Eval function.

>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()

 

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

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