Chi Kien Uong
Geranienstraße 30
71034 Böblingen
Deutschland / Germany
|
If you are not registered or logged in, you may still use these forums but with limited features.
Show recent topics
|
|
|
Author |
Message |
|
Well. The url and path to the cookie.php is correct. It works in other pages (there are at least no errors). But since I use php and mysql extensively in all my pages I thought that it maybe had something to do with that. In all my pages it works, exept in the ones which have a respond form in it.
This respond form sends an automated email to my webmaster account. This is done with the code which I posted above. But how can this piece of code fuck up the poll?? Cause I don't have a clue??
Anybody??
Currently the poll uses my database which is used for other purposes as well. Would it help if I create another database just for the poll?
|
|
|
Hello,
True, the best way to write it is with the brackets. But it works as well without
Anyway, sorry but if you refer to
mydomain.com/1/2,
you basically refer to a folder named 2 which is in a folder named 1 right?
But I installed the poll in my folder named 'poll'. In the help archive or something, it said that I had to include this line before anything in every page in which the poll is embedded in.
So what is wrong with this?
One more problem I have is the fact that if you enter a vote in the poll and come back or refresh the page. It doesn't say that you already voted, but you can just vote again. How come this happens?
Can it have something to do with the fact that I include the file in which the lines are which include the poll?
Please help!
|
|
|
Hello,
If I put the following required line:
<?php require "http://www.lyriczz.com/poll/poll_cookie.php"; ?>
in the top of one page of my website where I have the poll, I get a parse error in that line.
I only have it with this page. The only different thing with this page is that I post directly after this line the following:
<?
if ($_POST) {
if ($comments) {
$msg = "
Name: $name
Email: $email
";
mail("webmaster@mydomain.com", "COMMENTS", "$msg", "From: COMMENTS_FORM");
header("Location: thanks.php");
} }
?>
How can I avaid this error?
|
|
|
|
|
|
Based on the open source JForum
|