You are here: Re: what is keep this from working « All PHP « IT news, forums, messages
Re: what is keep this from working

Posted by arturo.valencia on 09/29/05 10:41

Hello

If you check the documentation in http://jp2.php.net/file_get_contents
, you will notice that the function that you are using returns a string
, and as the documentation explains the content of your file is inside
the returned string

string file_get_contents ( string filename [, bool use_include_path [,
resource context [, int offset [, int maxlen]]]] )

so you have to do something like:

$email_file_content = file_get_contents("email.html");
print $email_file_content;

regards
Arturo Valencia Milian

 

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

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