CGI Scripts?

This is a discussion on "CGI Scripts?" within the PHP Forum section. This forum, and the thread "CGI Scripts? are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Mar 30th, 2006, 17:56
New Member
Join Date: Mar 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
CGI Scripts?

Have just done a piece of uni work with php, It al works and I assumed it was fine but now someones pointed out that it needs to be done with CGI scripts.

My code at the moment is just a combination of HTML and PHP that takes some sql queries which are posted in and then gets the information for the databse and displays it appropriately. Is this not right?

Been looking for tutorials on making cgi scripts online and they all just look like what i've done. Can someone please tell me if i'm wrong here.

Thanks
Reply With Quote

  #2 (permalink)  
Old Mar 30th, 2006, 18:02
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sypher
Re: CGI Scripts?

CGI scripts dont use php they are a seperate language. such as Perl.

If the project stated you must use cgi then guess uve wasted alot of work

If not then php + mysql is fine.
Reply With Quote
  #3 (permalink)  
Old Mar 30th, 2006, 18:11
New Member
Join Date: Mar 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CGI Scripts?

Fantastic, this has to be in tomorrow, think only on of the functions has to be done with CGI scripts but it seems to get highest mark.

So basically a way of doing it would be to have a form send info to a cgi program, and then that program sends information back to the original page with the form on, where it can be told how to display it?

Sorry, i'm having trouble understanding how they work
Reply With Quote
  #4 (permalink)  
Old Mar 30th, 2006, 20:30
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sypher
Re: CGI Scripts?

Ye if you want you can just use one function for example sending email? Just make a cgi script for that and the rest php, problem solved.

www.hotscripts.com is ur friend
Reply With Quote
  #5 (permalink)  
Old Mar 30th, 2006, 21:24
New Member
Join Date: Mar 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CGI Scripts?

Should be able to get it done now, thanks for your help
Reply With Quote
Reply

Tags
cgi, scripts

Thread Tools

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
want this scripts... skyonline JavaScript Forum 2 Jun 15th, 2008 22:52
Scripts MetallicWarfare PHP Forum 0 Aug 3rd, 2007 12:03
need some scripts habitatxskate Web Page Design 7 Feb 12th, 2007 19:04
Mail scripts ricky1911 PHP Forum 2 Dec 13th, 2005 23:12


All times are GMT. The time now is 02:06.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43