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 
Messages posted by: Anonymous
Forum Index » Profile for Anonymous » Messages posted by Anonymous
Author Message
Please use the support forum
hello im looking to use poll script, can u tell me when i click on help it gives this code, but what do i put in the text file to get it to work. goto http://therca.digitalrice.com/testpoll.shtml to view what it does

<?php
include_once "d:/www/digitalrice/therca/cgi-bin/phppoll/booth.php";
echo $php_poll->poll_process(4); // x = Poll ID
?>

please help
thanks
chad
Zunächst mal,
Glückwunsch zum hervorragenden Poll Script.

Ich möchte an dieser Stelle zwei Anregungen zur Verbesserung geben:

Ich würde mir wünschen, dass die korrekte Eingabe der Mail Adresse bei der Eingabe eines Kommentars überprüft wird (als Option).

Ein weiterer ganz grosser Wunsch wäre die Option, dass der Admin die Besucher Kommentare erst freischalten muss, um Kommentar Spam zu verhindern.

Wäre schön, wenn sich dies irgendwann mal umsetzen ließe.

Gruss
Andi
Great.
I did the previous as well, and the poll works fine on the poll.php page...However, how do you embed the poll into a ".html or .htm" web page. Do you have to designate part of the code to read as php??
hi,

the reason of such errors usually are

1)incorrect file permissions(CHMOD UNIX/Linux) only
open up "download.pl" and set the first line to the correct perl path

#!/usr/bin/perl //change this line if you have to with the correct path)

also you must use the full url

http://www.yourdomain.com/cgi-bin/download.pl?admin=enter
if your server is apache take a look at "httpd.conf" the cgi setup section if you are on a *nix system you will find everything you need (filepermissions) *pl files usually need CHMOD 755 that means the owner eg root can read write and excute but nobody elses can write to the file

also your server error log will give your more information about this error did you know you can debug perl scripts at a (windows prompt windows type
perl -d scriptnaam.pl if you don't see errors everything is ok (first navigate into the correct dir where the cript is located.
succses :D
Hi everyone.

I've decided to had a guestbook to my site, so I download the version from here and everything went great. Then a poll, I download the advanced poll from here but I see that there are 2 folder in the zip file, db folder and Textfile folder. Which one I upload on my server, which file. Theres no admin.php on either of them, what can I do. I understant the part where to change the permission and all that, do I have to upload all the folder Textfile to my server and all the folder db to my server to and overwrite the file or what. Please Please PLease help me, i've been trying for 2 days now and nothing work. HOpe somebody will help me. Thank you for your time.

Sadguy
I have installed the poll (db folder) into a MySQL database on my server. My problem is with the embedding of the poll into a webpage. I have successfully done so in a test page which was given the prefix ".php". However, how is this accomplished in a page with ".htm or .html" as the prefix. Thanks for the help!!
Alles Mist...

Ich habe es auf meinem eigener Server ausprobiert.
Ich habe einfach dieses eingesetzt...

<?php
include_once c:/foxserv/php/poll/db/poll_cookie.php";
?>
<html>
<body>
<?php
require "c:/foxserv/php/poll/db/booth.php";
$php_poll->set_template_set("popup");
if ($php_poll->is_valid_poll_id(4)) {
echo $php_poll->display_poll(4);
}
?>

und es läuft einwandfrei...

Jetzt ersetze ich c:/foxserv/php/poll/db/?.php durch /php/poll/db/?.php und er spuckt mir dieses im browser aus:

set_template_set("popup"); if ($php_poll->is_valid_poll_id(4)) { echo $php_poll->display_poll(4); } ?>

Muß ich ein include_path-Befehl setzen oder was liegt jetzt an...


Danke
so funktioniert das nicht
your base_die is wrong $base_dir = "htdocs\logfiles";


$base_dir = "C:/Program Files/Apache Group/Apache/htdocs/logfiles";
your php version is too old.
hmm...
klar.

anstatt

echo $php_poll->view_poll_result(1); // zeigt das ergebnis der Umfrage (Poll ID =1)

echo $php_poll->poll_process(1);
Hi,
I have a DB and a php with a form. Upon entering this php i read from the database and get the data i need.

BUT

i dont know how to populate the form with this data???

can anyone help
?
 
Forum Index » Profile for Anonymous » Messages posted by Anonymous
Go to:   
Based on the open source JForum