Newbie @ PHP
Hello and just like the title says...I need some HELP!
I (accidently) got one php script to work on my site,
but can't figure the links on this rating script.
Can someone look and tell me what and where my links go.
Say the site name is "mydomain" and the folder I upload everything into is "rate".
Here's the script...
#paths to where you want to put the data files and where your graph images are.
#
$dpaths = "directory to store vote data";
$ipaths = "path to images directory";
$cgi_path = "../cgi-bin";
$template_path = "path ot where templates are stored";
$ssheet="";
And also at the top,do I leave the path to perl like this?
#!/usr/bin/perl
Thanks for any help in advance,I've been trying to get a script like this going for a long time.
Oh one more thing,this is how I should link to it in the html????
1. If you have SSI you can use the exec cgi command like:
This'll display the voting form and results directly on any page.
2. If you don't have SSI you can just link to it:
http://path to your site/cgi-bin/ratem31.cgi?id=3
Busy posted this at 09:13 — 3rd March 2006.
He has: 6,151 posts
Joined: May 2001
It looks like your trying to use PHP, CGI (via Perl) and SSI.
Which one do you plan on using?
For upload be sure to use the full path (not your url, rather /home/username/public_html/rate/
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.