Re[2]: [PHP] using eval

2001-12-13 Thread rdkurth
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=&

RE: [PHP] using eval

2001-12-13 Thread Martin Towell
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

[PHP] using eval

2001-12-13 Thread rdkurth
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