Click to See Complete Forum and Search --> : PHP Counter


djloquito
11-15-2003, 10:47 AM
I recently opened up a web site. I'm trying to create a PHP counter. I have the files and all, but I cant seen to make it work. My host supports PHP, CGI, My SQL, etc..

What am i doing wrong..

Jona
11-15-2003, 12:21 PM
What program are you using?

[J]ona

djloquito
11-15-2003, 12:32 PM
I'm trying to install "PHP Multiple Newsletters (http://www.hotscripts.com/Detailed/13533.html)" using WS FTP95 LE

Jona
11-15-2003, 12:36 PM
That's a newsletter. I thought you were trying to figure out how to make a counter.

[J]ona

djloquito
11-15-2003, 12:39 PM
oops, thats right... still have the same problem though..

pyro
11-15-2003, 01:03 PM
Can you get any PHP to work? How about something like:

<?PHP
echo "PHP is working.";
?>And be sure you have it saved with a .php extention.

djloquito
11-15-2003, 01:10 PM
nope...

Jona
11-15-2003, 01:12 PM
Originally posted by reggaetonbeats
nope...

E-mail your administrator and ask him to install PHP, then...

[J]ona

djloquito
11-15-2003, 07:37 PM
Originally posted by Jona
E-mail your administrator and ask him to install PHP, then...

[J]ona

Ok, I its works now.. But the host is elsewhere.. Usually its http://www.domain.com/cgi etc but mine is http://cgi.domain.com/ so how would i go about linking it to my main site?

chadypu
11-15-2003, 07:57 PM
what does cgi have anything to do with this...

djloquito
11-15-2003, 08:04 PM
Originally posted by chadypu
what does cgi have anything to do with this...

PHP like all cgi technologies run on the cgi server

I Didnt know that untill now :cool:

chadypu
11-15-2003, 08:26 PM
but you dont need a cgi bin or whatever to run php

djloquito
11-15-2003, 08:37 PM
Originally posted by chadypu
but you dont need a cgi bin or whatever to run php

yeah well, it wasnt running without it for me..

chadypu
11-15-2003, 08:45 PM
php must be configured very wierd on your server then :-\

php doesnt and shouldnt need a cgibin

correct me if im mistaken

pyro
11-15-2003, 10:40 PM
Correct. PHP rarely ever runs as a CGI build (it certainly is not recommended to run as such). It's probably the way the server is set up.

djloquito
11-16-2003, 11:45 AM
how can i get it to work without a cgibin?

pyro
11-16-2003, 12:41 PM
Do you have access to the server, to make changes?

Gonavitch
05-18-2004, 02:39 PM
You do not need a cgi-bin at all to run php, in fact you don't even need cgi installed on the server to run php, because php has nothing to do with cgi, you just need a server that supports php.