Jump to content

CGI


Recommended Posts

Very new to CGI. I've got some webspace with streamline.net. They actually have a test cgi script and they upload it for you in the CGI-BIN, and seen as it's their file I doubt there'll be any mistakes with it. So it's uploaded at:

 

http://www.adamswork.net/cgi-bin/test-sln.cgi

 

However when I try to view the file, as it will with you, just displays the script as text...

 

Is there something I'm missing or haven't done? As I say very new to CGI just having my first real play with it today...

 

Cheers, Adam!

Link to comment
https://forums.phpfreaks.com/topic/117519-cgi/
Share on other sites

That doesn't look like (in  fact it is not) the script itself, but the output of a script. The script seems to simply display some environment variables.

 

Also, you might want to take note that cgi isn't a language, but an interface provided for interaction with other software from within a webserver. You can write cgi enabled scripts in many languages including php as long as the server is configured for it.

Link to comment
https://forums.phpfreaks.com/topic/117519-cgi/#findComment-604511
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.