If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Cookie Code Error  XML
Forum Index » Support Forum
Author Message
Anonymous



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
Carbonize
Master
[Avatar]

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

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



Thank you very much, problem solved! I noticed not too many people thank you for your help on here, you're very smart!

Thanks again!

Steve
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum