Reply to Re: include

Your name:

Reply:


Posted by Jean Pierre Daviau on 07/25/07 14:32

It seems that the include path are not considered as files.
is_file($autoexec) returns false

I changed this:
--- inc file ----
$autoexec = "auto.bat";
$path = "\n%path%=%path%;c:\php\php.exe";
----

> --- snip ----
require_once('paths.inc');

function updateFichier(){
global $autoexec, $path;
> if (!$myBool = fopen ($autoexec, "a")) {
> echo "Cant create($autoexec)";
> exit;
> }
>
> The include file is printed on screen
> The function exit with Cant create the file

[Back to original 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

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