Adam Posted July 31, 2008 Share Posted July 31, 2008 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! Quote Link to comment https://forums.phpfreaks.com/topic/117519-cgi/ Share on other sites More sharing options...
trq Posted July 31, 2008 Share Posted July 31, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/117519-cgi/#findComment-604511 Share on other sites More sharing options...
rhodesa Posted July 31, 2008 Share Posted July 31, 2008 MrAdam changed something, cus 5 minutes ago when the post went up, it showed a script (now i too see the output). Quote Link to comment https://forums.phpfreaks.com/topic/117519-cgi/#findComment-604514 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.