MT> Sent: Friday, December 14, 2001 4:21 PM
MT> To: php-general
MT> Subject: [PHP] using eval
MT> I keep getting this error when I use eval what am I missing
MT> Parse error: parse error in c:\httpd\doc\install.php(6) : eval()'d code on
MT> line 1
MT> $path=&
this is what the eval() command equates to
$str = "include("$path/inc/dataconf.inc");";
that should make it clearer (??)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 14, 2001 4:21 PM
To: php-general
Subject: [P
I keep getting this error when I use eval what am I missing
Parse error: parse error in c:\httpd\doc\install.php(6) : eval()'d code on line 1
$path="/home/sites/home";
$fp3=fopen ("location.inc","w")or die("unable to open file (location.inc)");
$str='include("$path/inc/dataconf.inc");';
eva
3 matches
Mail list logo