Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

Click here to join us on IRC (#charas on irc.freenode.net)!



  • Charas-Project »
  • Off-Topic »
  • Archive »
  • Really Old Stuff »
  • HTML & DHTML (Moderator: De KoFfieŠ) »
  • Want to create Name Generator in CGI
« previous next »
  • Print
Pages: [1]

Author Topic: Want to create Name Generator in CGI  (Read 34939 times)

Offline GaryCXJk

  • <strong>Official Charas.EX Team Member</strong>
  • Exemplar
  • *
  • Posts: 1,586
  • FOUR OH FOUR'D
    • Multiverse Works
Want to create Name Generator in CGI
« on: March 01, 2003, 03:47:25 PM »
I created a name generator:

http://members.fortunecity.com/garycxjk/namegen.html

But now I want to make it in CGI (I have another host with CGI). But here's the problem: How can I use databases in CGI? Where can I find tutorials? What is it with me placing multiple questions, while the previous questions aren't answered and probably won't be because I always use those long sentences that just absolutly make no sense at all and that has nothing to do with the topic?
Logged

Play it now! Charas Breakout DX
Area91: for MUGEN and RPG Maker VX Ace stuff

Offline Alex

  • I am the MASTER!
  • Administrator
  • Exemplar
  • *
  • Posts: 1,130
(No subject)
« Reply #1 on: March 02, 2003, 11:20:49 AM »
CGI is not a programming language, but a server information gateway. If your host is under Linux then probably you can use Perl, but many other langs are possible too (python, ruby, C/C++, ecc...).
So first of all we should need to know which CGI language you can use. ;)
Logged

Offline GaryCXJk

  • <strong>Official Charas.EX Team Member</strong>
  • Exemplar
  • *
  • Posts: 1,586
  • FOUR OH FOUR'D
    • Multiverse Works
(No subject)
« Reply #2 on: March 04, 2003, 02:49:53 PM »
I use a tripod host WITH CGI. I also have a forum there, but it's one of the few that are made for Tripod.

Should I do it with PHP? Is that easier? 'Cause I have also a tripod site with PHP4 and MySQL (I think it was version 3, I'm not sure, actually)
Logged

Play it now! Charas Breakout DX
Area91: for MUGEN and RPG Maker VX Ace stuff

Offline Alex

  • I am the MASTER!
  • Administrator
  • Exemplar
  • *
  • Posts: 1,130
(No subject)
« Reply #3 on: March 04, 2003, 03:33:26 PM »
Ok.
If what you want is database access, then php is surely better and easier to learn.
Best place to look for infos is http://www.php.net/manual/en/ref.mysql.php
Or a simple "mysql php tutorial" search in google will help! ;)
Also, if i'm not wrong, Tripid too has a php help section.
Anyhow, if you've troubles, fell free to ask.


Ok, my message ends here, but.....

Only a little extra about CGI, to let you understand better what it is. CGI stands for Common Gateway Information: it is a way to create dynamic contents extending the web server capabilities(apache, IIS and so on).
The way it works is simple: the server pass data to an executable program, and the program returns the data to layout to the server.
So:
1) server prompt for user input (forms, questions ecc)
2) server pass user choices to the parsing porgram
3) the program create he dynamic contents
4) the program pass these contents to the server
5) the server shows them to user

CGI is the "common protocol" between the server and the program, in this case the "bridge" explained in 2 and 4.

This is why having CGI means only to have that support: the program may be written in tons of different languages (perl, c, c++, ecc...), depending on what is present on the host.
Logged

Offline De KoFfieŠ

  • Sit! I said sit! Bad fish!
  • Moderator
  • Initiate
  • *
  • Posts: 32
  • /me lovez trance! :D
(No subject)
« Reply #4 on: March 08, 2003, 11:38:14 AM »
Yeah, got php or mysql questions? Shoot'm! :D
Logged
De KoFfieŠ :para:
---------------------------------------
I gO wHeRe tHe sPeAkErS aRe bOoMiN' PeOpLe aRe sHrOoMiN' bOdiEs aRe mOviN' rAvErS aRe GrOoViN' tHe bEaTs aRe FLoWiN' gLoWsTiCkS aRe gLoWiN' aNd PeOpLe sHoWiN' hOw tHeY dAnCe tO tHe sOuNdS oF tRaNcE!

Offline theforgotten

  • Theforgotten One
  • Initiate
  • *
  • Posts: 44
  • I have loved rpg's ever since I played Zelda 2 on NES
Hmm.
« Reply #5 on: March 09, 2003, 01:14:32 AM »
PHP is your best bet. Oh yeah for your php4/mysql host it must be lycos.co.uk.
Logged
Welcome to the gateway to HELL!!! - Raven

Offline Ryan

  • RO gaming Freak
  • Initiate
  • *
  • Posts: 29
  • Pretty good at making storylines and plots for games
(No subject)
« Reply #6 on: March 09, 2003, 02:32:00 AM »
name gen is awesome! keep it up
Logged

Offline GaryCXJk

  • <strong>Official Charas.EX Team Member</strong>
  • Exemplar
  • *
  • Posts: 1,586
  • FOUR OH FOUR'D
    • Multiverse Works
(No subject)
« Reply #7 on: March 13, 2003, 04:34:59 PM »
I think I'll stick to JavaScript, since my Lycos PHP just won't work.
Logged

Play it now! Charas Breakout DX
Area91: for MUGEN and RPG Maker VX Ace stuff

Offline Alex

  • I am the MASTER!
  • Administrator
  • Exemplar
  • *
  • Posts: 1,130
(No subject)
« Reply #8 on: March 13, 2003, 04:41:11 PM »
But in Javascript you cannot use databases....
Logged

Offline GaryCXJk

  • <strong>Official Charas.EX Team Member</strong>
  • Exemplar
  • *
  • Posts: 1,586
  • FOUR OH FOUR'D
    • Multiverse Works
(No subject)
« Reply #9 on: March 14, 2003, 03:08:42 PM »
Well, I can use Arrays instead.
Logged

Play it now! Charas Breakout DX
Area91: for MUGEN and RPG Maker VX Ace stuff

Offline GaryCXJk

  • <strong>Official Charas.EX Team Member</strong>
  • Exemplar
  • *
  • Posts: 1,586
  • FOUR OH FOUR'D
    • Multiverse Works
(No subject)
« Reply #10 on: April 10, 2003, 02:22:41 PM »
My Lycos PHP works again!!!

YAY!!!

And I found a PHP tutorial!!!

YAY!!!
Logged

Play it now! Charas Breakout DX
Area91: for MUGEN and RPG Maker VX Ace stuff

shinotebasiiackh

  • Guest
(No subject)
« Reply #11 on: May 07, 2004, 02:03:59 AM »
Hm... I can never find a good book on C or C++. thought i might bring it up seince we where talking about  C and C++. anyway, does anyone know where i could find a good book on it? thanks.
Logged

Offline Alex

  • I am the MASTER!
  • Administrator
  • Exemplar
  • *
  • Posts: 1,130
(No subject)
« Reply #12 on: May 07, 2004, 02:11:27 AM »
More than one year old topic kick!!!!
This is a record, my friend!!
Anyhow, one of the best is "Bjorne Stoustrup's C++ Programming Language".

And...

1) check topic date before posting, or users here will destroy you.
2) open a thread for different questions. You're here was totally OT
Logged

shinotebasiiackh

  • Guest
(No subject)
« Reply #13 on: May 07, 2004, 02:18:54 AM »
Honestly, I'm not here often enough for people to flame me. But, really, you where talking aboutC or C++ (or at least you mentioned it).
Anyhow.... Bleagh!

Have a nice day. Thanks
Logged

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Off-Topic »
  • Archive »
  • Really Old Stuff »
  • HTML & DHTML (Moderator: De KoFfieŠ) »
  • Want to create Name Generator in CGI
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum