I get this error message only when I add the php code to the top of the page:
Warning: main(./poll_cookie.php): failed to open stream: No such file or directory in /nfs/cust/4/08/94/******/web/poll.php on line 3
Warning: main(): Failed opening './poll_cookie.php' for inclusion (include_path='.:/usr/local/php/include') in /nfs/cust/4/08/94/******/web/poll.php on line 3
****** means not for your eyes...
Everything works well when I remove:
<?php
/* Include this before your html code */
include "./poll_cookie.php";
?>
...but I'm sure I'm not getting the cookie protection.
How should it be written? It states for inclusioninclude_path='.:/usr/local/php/include')
Any help?
Thanks
19/10/2004 15:16:33
Subject:
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
Replace the . with the actual path to the poll_cookie.php file.
Carbonize I am not the maker of the Advanced Guestbook