Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Do you think every Webmaster should know about CGI scripting?
Old 09-05-2008, 11:34 AM Do you think every Webmaster should know about CGI scripting?
TWD
TWD's Avatar
King Spam Talker

Posts: 1,112
Trades: 0
I know nothing about CGI but recently I`ve been thinking that maybe I should. Two possible reasons.

Firstly, processing HTML based contact forms. Some clients may not have PHP available yet they need or want a contact form set up. From what I know, CGI seems the best (maybe only) way of doing that outside a proper server side language like PHP.

Second, cron jobs. I don`t know a whole lot about crons either but I can imagine many situations where they would be handy to run. I watched this tutorial on how to set them up using cPanel. The thing is , the "script" that runs the cron job is a cgi script.
http://www.siteground.com/tutorials/.../cron_jobs.htm
Is it even possible to create a cron job script just in PHP? And how would it be executed?

So what do you think? Should I be adding "SAMS CGI in 24 hours" to my reading list?
TWD is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-05-2008, 01:12 PM Re: Do you think every Webmaster should know about CGI scripting?
Ultra Talker

Posts: 251
Location: Belgium, Antwerp, Zoersel
Trades: 0
Cronjobs in php are most certainly possible. You run it using the command:

Code:
php -f "path/to/file.php"
Furthermore, the more you know, the better, but you don't have to know everything. CGI can be handy I guess, but since almost every host supports php, you don't need to know it. You can always learn it when needed.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Orodreth is offline
Reply With Quote
View Public Profile Visit Orodreth's homepage!
 
Old 09-05-2008, 02:27 PM Re: Do you think every Webmaster should know about CGI scripting?
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
I don't think it is going to hurt to know something about it, since it operates behind the scenes in many places. Of course this depends a lot on the function of your job, and I definitely wouldn't say that every webmaster NEEDS to know about it.
__________________
Join me on
Please login or register to view this content. Registration is FREE
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 09-05-2008, 03:04 PM Re: Do you think every Webmaster should know about CGI scripting?
nyef's Avatar
Ultra Talker

Posts: 265
Name: Lucas
Trades: 0
CGI is so archaic it's almost obsolete. Yeah, you might find yourself in a situation where someone you're working with wants you to use it. You also might find yourself in a situation where you work for somebody that has an IBM AS/400 server also.

But I wouldn't recommend learning either UNTIL and UNLESS such a situation comes up because they both totally suck!

LOL. After using PHP and ASP, I'm spoiled and will avoid at all costs anything as archaic as CGI.
__________________
~nyef

Please login or register to view this content. Registration is FREE
nyef is offline
Reply With Quote
View Public Profile Visit nyef's homepage!
 
Old 09-08-2008, 02:22 AM Re: Do you think every Webmaster should know about CGI scripting?
Super Talker

Posts: 102
Trades: 0
I am unknown about CGI. i want to know how it will be useful can we use it on PERl language.
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
John_audson is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Do you think every Webmaster should know about CGI scripting?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.90459 seconds with 12 queries