Author |
Message |
|
Jahwol
|
 |
|
try it like this...
<?php
// Important! You have to include it before your html code
include_once "/usr/local/psa/mysite.com/httpdocs/poll/poll_cookie.php";
?>
<html>
<head>
<title>Poll</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
include_once "/usr/local/psa/mysite.com/httpdocs/poll/booth.php";
echo $php_poll->poll_process(1);
?>
</body>
</html>
|
 |
|
you can view my phpinfo @ http://hybridvisionz.ods.org/phpinfo.php .... Please help.. I liek this counter and would liek to use it... But i need it to work. Thanks in advance again
|
 |
|
stragn, instead of writing all of these lines, you could have answer my question! Apart from that, i have seen some of the last post on this form and my question was not mentioned!
Anyway, thank ...!
|
 |
|
This has been mentioned.............several dozen times before. How to do it, what to use etc. etc.
Newbies first lesson: read previous posts, and find the answer to all your questions
|
 |
|
Hi there
One question: How can i change the date of a message in my guestbook?
please mention the name of the file and so one???
regards
O. A.
|
 |
|
Hallo Leute
Weiss jamand wie ich das Datum eines Gästebucheintrages änderen kann? Wie heisst die Datei usw.?
Vielen Dank
O. A
|
 |
|
this is my code for the page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Poll</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php require "poll_cookie.php";?>
<?php
// Important! You have to include it before your html code
include_once "/usr/local/psa/mysite.com/httpdocs/poll/poll_cookie.php";
?><html>
<body>
<?php
include_once "/usr/local/psa/mysite.com/httpdocs/poll/booth.php";
echo $php_poll->poll_process(1);
?>
</body>
</html>
</body>
</html>
I get this error though when I vote and hit submit:
Warning: Cannot add header information - headers already sent by (output started at /usr/local/psa/mysite.com/httpdocs/poll/poll2.php: in /usr/local/psa/mysite.com/httpdocs/poll/poll_cookie.php on line 21
Please help...
|
 |
|
I get this error like 4 times on the page when I click view results or sometimes when I try to bring up the poll. If I click refresh in the browser it is fine and works ok. Ideas??
Parse error: parse error, unexpected T_VARIABLE in
|
 |
|
It won't display.... I really need help...
http://hybridvisionz.ods.org/phpscripts/counter/demo.php <<< wont' display file...
|
 |
|
well i think i found the base directory,but now when i run the guestbook i get these errors iam still not sure if it is the correct dir.
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
Scalar found where operator expected at g:\inetpub\as1-clan\cgi-bin\guestbook.pl line 45, near "$font_face"
(Might be a runaway multi-line "" string starting on line 26)
(Missing semicolon on previous line?)
syntax error at g:\inetpub\as1-clan\cgi-bin\guestbook.pl line 45, near "$font_face "
Execution of g:\inetpub\as1-clan\cgi-bin\guestbook.pl aborted due to compilation errors.
Is anyone else trying to run this guestbook on a winnt server ???
Tagg
|
 |
|
well i think i found the base directory,but now when i run the guestbook i get these errors iam still not sure if it is the correct dir.
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
Scalar found where operator expected at g:\inetpub\as1-clan\cgi-bin\guestbook.pl line 45, near "$font_face"
(Might be a runaway multi-line "" string starting on line 26)
(Missing semicolon on previous line?)
syntax error at g:\inetpub\as1-clan\cgi-bin\guestbook.pl line 45, near "$font_face "
Execution of g:\inetpub\as1-clan\cgi-bin\guestbook.pl aborted due to compilation errors.
Is anyone else trying to run this guestbook on a winnt server ???
Tagg
|
 |
|
well i think i found the base directory,but now when i run the guestbook i get these errors iam still not sure if it is the correct dir.
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
Scalar found where operator expected at g:\inetpub\as1-clan\cgi-bin\guestbook.pl line 45, near "$font_face"
(Might be a runaway multi-line "" string starting on line 26)
(Missing semicolon on previous line?)
syntax error at g:\inetpub\as1-clan\cgi-bin\guestbook.pl line 45, near "$font_face "
Execution of g:\inetpub\as1-clan\cgi-bin\guestbook.pl aborted due to compilation errors.
Is anyone else trying to run this guestbook on a winnt server ???
Tagg
|
 |
|
ups sorry i'm fogot on my pc php is in ISAPI mode
then i'm set in class_poll.php $this->ip = $_SERVER['REMOTE_ADDR']
then all work fine
|
 |
|
hello truble is all users in local network detected as one dns name like
server.name.com
how to off dns name cheking in script ?
i'm need only ip...
thanks.
|
 |
|