You are here: Perhaps a stupid question on phpinfo « PHP « IT news, forums, messages
Perhaps a stupid question on phpinfo

Posted by "Jon" on 09/16/05 18:07

$mypath = "C:/phptestdir/";
$file = "phpinfo.htm";
$html_file = fopen("$mypath$file", "w");
fwrite ($html_file, printf(phpinfo()));
fclose ($html_file);

How would I accomplish this?
All I get is the "1" that phpinfo succeeded. I want to write the results of
phpinfo to a file. I am sure it is something that I have simply missed but
I am in a bit of a brainfog for some reason.

Thanks All

 

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

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