JS/CGI help
Moderator: Edi
JS/CGI help
How do I pull and push values from a cgi script. I want to make a perl script which just recieves hits from a javascript, and adds it to a value currently stored in a file somewhere. That part is easy. The hard part is making a javascript that sends a hit to the cgi script if the user does not have a cookie signifying he/she has not visited the site before. The problem is I don't know how to make Javascript just accept output from a cgi script like a return value.
ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer
George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
Please?
Oh I just made a new webpage for school. It's full of anti MS filler BS material that isn't meant to be read though. Links are too dark and almost unreadable. *shrugs*
BTW, free.prohosting.com seems like a good hosting service. Gives you a cgi-bin too. I think you can set up php there, but I'm not sure.
Oh I just made a new webpage for school. It's full of anti MS filler BS material that isn't meant to be read though. Links are too dark and almost unreadable. *shrugs*
BTW, free.prohosting.com seems like a good hosting service. Gives you a cgi-bin too. I think you can set up php there, but I'm not sure.
ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer
George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
NM, I think you can access cookies directly w/ perl. Now just need to learn how to do that...
ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer
George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
Nah, I would prefer to use perl CGI since you can also use it to do many other things. If you really wanted to, you could also write a CGI program in shell script too.
ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer
George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor