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
How can I embed my advanced poll into my webpage?
I thought that there was a way to include a php file from a html file?

Is there a better way? All I'm trying to do is include a counter on a html page, and it looked like php was the ticket?

Thanks in advance.
beide funzen ned. also das heisst adv. poll 2.0 und auch andere poll scripte weisen das gleiche problem auf. wenn ich demo/test poll laufen lasse funzt es wunderbar. also die test pollseiten die in den jeweiligen proggys enthalten sind. man kann wunderbar voten un er zählt alles. d.h. die mysql dinges sind korrekt eingestellt und funzen.


aber sobal ich den poll auf meine home.php einbinde zählt das ding ned mehr.
your page must have the extension *.php
If I call the demo.php page - it works just fine. If I try to include the demo.php page it doesn't work. Here's how I'm trying to include it.




The resulting output in the browser is


create_output(); ?>


And that's it. Like I said if I just point the browser to demo.php it works ok.

Any and all help is apprecitated.[/code]
Hi there,

What a great Poll script, very fancy, very easy to use. Everythig works but I cannot seem to diable a poll. In the edit poll section there are two pulldowns, one for enabling or disabling logging and anothre to choose between, enabled, disabled or hidden. Hidden will hide the poll, but when I choose disable, I can still keep on voting. It can't have anything to do with IP checking (which is off). I guess it should just show the resuts or at least not let me vote.

Any suggestions?

Thanks.

Gil
Take my advice, delete all the files, and then upload them again, keep all the files in the dcountphp folder, then open the config.inc.php, go down to this section:

/* textfile settings */
$COUNT_CFG["logfile"] = "/home/username/public_html/dcountphp/ip.txt";
$COUNT_CFG["counter"] = "/home/username/public_html/dcountphp/total_visits.txt";
$COUNT_CFG["daylog"] = "/home/username/public_html/dcountphp/daily.txt";

The path may be varied depending on your server.

Then change the permission of these files: ip.txt, total_visits.txt, daily.txt in to 666

Finally, run the demo.php and see it works

good luck!
Roman-A wrote:
Please, add to new version:

1) Screen size: 1280x1024, 1024x768, 800x600, 640x480,...
2) Color depth: 32bit, 24bit, 16bit,...
3) MultiStat (one script for few sites)
4) Statistics to E-mail (weekly)
normal ist das nicht!
Kann aber auch am Browser liegen...
funktionieren beide versionen nicht?
oder funktioniert nur die textfile version nicht?
each poll has an autoincrement ID and the
maximum for the db version is int(11)
das geht schon, du muss nur wirklich alle bgcolor aus den tr, td und table entfernen.
das kann auch nicht funktionieren.
entweder

<?php
include "style.txt";
?>

oder style.txt in style.php umbenennen und

<?php
readfile ("style.php");
?>
so habe beide installiert. das mysql und auch das textfile..poll, halt ohne mysql. sie werden ordentlich angezeigt. man kann voten und man kann sich die ergebnisse anzeigen lassen.

das problem ist. votet man in einem neuen poll werden die votes irgendwie ned geschrieben, gezählt oder was weiss ich. nach dem voten ist trotzdem die votezahl 0.

mysql und auch im 2. fall, die schreibrechte wurden ordnungsgemäss gesetzt.

woran liegts?

hilfe
okay fixed it, just deleted stuff

Thanks for the great poll btw !
 
Forum Index » Profile for Anonymous » Messages posted by Anonymous
Go to:   
Based on the open source JForum