CGI Development

Moderators: Jonathan
Number of threads: 55
Number of posts: 121

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
whats the difference? Posted by Homerun31 on 8 Apr 2005 at 8:42 PM
Hey,

I am a pretty good PHP programmer and I wanted to create a script that ran every few minutes and my host doenst support cron jobs, but they said it would be able to do a similar job using cgi scripts. whats the difference between cgi and php? Can cgi run on its own with out someone actually going to that page?
Report
Re: whats the difference? Posted by infidel on 21 Jun 2005 at 11:09 AM
: Hey,
:
: I am a pretty good PHP programmer and I wanted to create a script that ran every few minutes and my host doenst support cron jobs, but they said it would be able to do a similar job using cgi scripts. whats the difference between cgi and php? Can cgi run on its own with out someone actually going to that page?

As far as I know, a CGI program is any executable that gets called when you request it's URI. The output of that executable is what gets returned to the requestor.

PHP, of which I am not familiar, seems to be mostly for dynamically creating HTML. Whether or not it can call other executables I don't know.

Perhaps your host meant that you can write an exectuable script/program and have it installed as a CGI app, then you could have a program on your own machine request that URI every few minutes, causing the executable to run.


infidel

$ select * from users where clue > 0
no rows returned





 

Recent Jobs