Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.