From: boardtc <bo...@gm...> - 2005-07-08 15:12:54
|
The last wizard page says : To insert this survey into your web page, copy the text below, and paste it into the HTML of your page. <?php $sid=3D1; include("c:\program files\easyphp\www\phpesp//public/handler.php");?> Once activated you can also access the survey directly from the following U= RL. http://ntserver/phpESP/public/survey.php?name=3Dtest So i created test.php : <html> <head> <title>PHP Test</title> </head> <body> <?php $sid=3D1; include("c:\program files\easyphp\www\phpesp//public/handler.php");?> <a href=3D"http://ntserver/phpESP/public/survey.php?name=3Dtest">survey</a> </body> </html> going to this page gives : [ Error processing survey: Survey is not active. ] survey I then tried=20 <?php $sid=3D1; include("//Ntserver/EasyPHP/www/phpESP/public/handler.php")= ;?> instead of the above <?php and this gives : Warning: main(//Ntserver/EasyPHP/www/phpESP/public/handler.php): failed to open stream: Permission denied in c:\program files\easyphp\www\phpesp\test.php on line 2 Warning: main(): Failed opening '//Ntserver/EasyPHP/www/phpESP/public/handler.php' for inclusion (include_path=3D'.;C:\Program Files\EasyPHP\php\pear\') in c:\program files\easyphp\www\phpesp\test.php on line 2 I could not find anything in the faq. sorry for the newbie question. Thanks a lot, . Cheers, Tom. |