Author |
Message |
|
Place this
<?php
// Important! You have to include it before your html code
include_once "/usr/local/apache/htdocs/pollphp/textfile/poll_cookie.php";
?>
before your html code, and this:
<?php
include_once "/usr/local/apache/htdocs/pollphp/textfile/booth.php";
echo $php_poll->poll_process(4); // x = Poll ID
?>
where you want your poll to be
the number"4" it's the number of your poll ( might be 1, or 2 or whatver)
|
 |
|
I should be installed advacne poll(php+my sql)
I succeed to go to www.kenoodlee.com/poll/db/admin and config
the topic in it...but i am wondering how can i place the vote to
my web site ?
add the coding to my index.htm ?
which part should i need to add into my index.htm (where can i find it)?
(since i have no idea on php coding)
Pls advice.
|
 |
|
I do not have a .css file there.
|
 |
|
I downloaded the free version of your advance guestbook and it is cool. I had a question about the logo. Can we replace that guestbook logo with our logo? Please let me know and thanks in advance.
|
 |
|
i changed the log.pl and stat.pl but still no report i can see when i access
http://www.xxxx.com/cgi-bin/stat.pl
<script language="JavaScript">
<!--
document.write("<img src=\"http://www.xxxx.com/cgi-bin/log.pl?ref="+top.document.referrer+"\" width=16 height=16 border=0>");
//-->
</script>
<noscript>
<img src="http://www.xxxx.com/cgi-bin/log.pl?ref=noscript" width=16 height=16 border=0>
</noscript>
<img src="http://www.xxxx.com/cgi-bin/log.pl?ref=<!--#echo var="HTTP_REFERER"-->" width=16 height=16 border=0>
The above script i put it to <body></body>..Am i right ?
However, do i need to upload another folder to my web space after i extracted stat.rar ?
(sush as..gif,language,logfile folder)...pls advice !
thanks a lot
|
 |
|
true.. they need some work on the docs.. I'm giving up since I have wasted like an hour on it.. it's a cool program. just needs a tad more turning, and doc writing.
|
 |
|
try http://spisas.com/
|
 |
|
^^^ that was me btw... I'm used to being logged in and not having to enter my username hehe
|
 |
|
ok, i fixed the origional problem, but now I am getting this error :
Fatal error: Cannot redeclare class poll in /home/phizy/www/jesse/interlude/poll/textfile/include/class_poll.php on line 10
I haven't edited anything in any file, I only deleted the demo polls through the admin page. The site is still under development, but I want to use the poll to decide what domain to register. The actual site is :
http://jesse.phizy.com/interlude
The poll will be located below the login/signup area and this is located in "functions.php" as
and is called from" footer.php". I also have "header.php" which contains my requires and includes and a small bit of html. Of course all this is called from "index.php" and there are other php files, but I was just experimenting with cleaning up my index.php with them...
Anyways.. I would really like to get this poll up and running so that I can start getting votes on what domain we want for the site...
much thanks in advance
-Jesse
|
 |
|
For the poll system, create the poll. Then include this code in the top of your file:
<?php include_once "/polls/poll_cookie.php";?>
<?php include "/polls/booth.php";?>
<?php include "/polls/include/class_pollcomment.php";?>
At the location where you want the poll to display, you can use this code:
<?php include_once "/polls/booth.php";
echo $php_poll->poll_process(4);?>
Note that (4) is the poll id number. Make certain you use the number of the poll you created.
For the other tools, I cannot be much help to you.
Mark
|
 |
|
Warning: Cannot modify header information - headers already sent by (output started at /home/tclan/public_html/index2.php:12) in /home/tclan/public_html/poll/poll_cookie.php on line 21
Anyone know what to do with this?
|
 |
|
Probably very simple to do, just not sure what/where to edit!
How can I change the color of the SCROLL BARS in my ADVANCED GUEST BOOK???
|
 |
|
Mmh? I'm not very good in cgi and that stuff.
Can anyone help me with the "admin centre" of the free link page?
I have no clue how it works. How can i delete or modify entries in the list?
Toto
|
 |
|
Hello All,
I had some problems with installing Access Stats 1.12 and like others i checked out this forum.
The posts did not help me any further so i try'd it on my own and i got it working
I wil try to explain my solutions and hope that it wil help others:
i have a linux (apache) webserver (RedHat version 9)
my cgi-bin dir is: /var/www/cgi-bin (for executing perl scripts)
and my html dir is: /var/www/html
First i had to change the first line in the 2 perl scripts instead off:
#!/usr/bin/perl i had to change it to: #!/usr/bin/perl -w (this can be an RedHat thing)
The default path to the logfiles was a "problem" on my webserver because the cgi-bin is on a other dir. level than the html dir. is. So i had to change it to the full path on my system e.g.:
$base_dir="/var/www/html/stat/logfiles"; (change this in the stat.pl and log.pl)
Don't forget to chmod your'e logfiles dir. to 777 and put the java script in the bottom of the index.htm(l)
I hope this helps... (it did with mine) !
|
 |
|
FUCKERS
|
 |
|