Cgi//perl///my Sql

Started by Cool [email protected] December 27th, 2004 3:07 AM
  • 810 views
  • 20 replies
Age 32
www.pokedrome.info
Seen March 28th, 2005
Posted March 12th, 2005
1,778 posts
19.1 Years
CGI/PERL/MY SQL

Hmm...Guys My Free Host has all this enabled in the CPANEL. So what are CGI Scripts and how do I use them. Can anyone show me some codes
and tell me how helpful they are.Some sites would be good too.

I know PERL is a language and all but are PERL codes really useful for Webmasters, Can anyone tell me how useful PERL is too and how do PERL
Codes work.

Can anyone Brief me on MY SQL and how it works..Just wanted to know.
I am PCs one & only CC

Visit Pokemon Gaming Sphere We have just about anything you need on
-- Rom-Hacking Pokemon Games Pokemon Movies Webmasters Section Amazing Emulators& Downloads All needed sprites Hacks & many more.
Its the Newest & Hottest domain for your Needs.
[img=http://img226.exs.cx/img226/686/pgs5cl.png]


My Hack
Pokemon ThunderStar
has got the best Hack of the month award and has been stickied. Go visit the thread and Give your feelings about it.


Evil Twins with mvtm | Paired up with no one| Senior Member of Dark Xeno Revolution inc

Im seriously not able to keep up with my New Year Resolution of not joining any club. Toooo many Clubs here are tempting me.
Age 62
Male
Melbourne, Australia
Seen April 26th, 2018
Posted June 9th, 2014
11,439 posts
19.7 Years
Check the resources list that's stickied here in Resources. That gives you some places where you can get scripts. CGI/Perl and PHP/mySQL usually go together. mySQL is a database application.


"One reason why mathematics enjoys special esteem, above all other sciences, is that its laws are absolutely certain and indisputable, while those of other sciences are to some extent debatable and in constant danger of being overthrown by newly discovered facts."
Albert Einstein

"What science can there be more noble, more excellent, more useful for men, more admirably high and demonstrative than mathematics."
Benjamin Franklin

"Mathematics, rightly viewed, possesses not only truth, but supreme beauty – a beauty cold and austere, like that of sculpture, without appeal to any part of our weaker nature, without the gorgeous trappings of paintings or music, yet sublimely pure and capable of a stern perfection such as only the greatest art can show."
Bertrand Russell

avatar and signature by FoxHound

ANNOY ME AT YOUR PERIL. I am becoming increasingly tired of the unmanly elitism and closed-mindedness of certain members who shall remain unnamed.

aRedMoon

Wait for me outside the lines

Age 34
Male
Minnesota
Seen April 23rd, 2018
Posted September 10th, 2013
11,126 posts
19.2 Years
Work on the basic HTML first... then you can expand into more languages.
facebook \\ twitter \\ blog a.k.a life // tumblr // google+

june 10, 2003 = registered at old pc
march 24, 2004 = registered at new pc
june, 2004 = modded ;;; august, 2004 = quit/fired (point of debate)
december, 2004 = banned ;;; december 2, 2005 = unbanned
june 10, 2008 = omg... five years!
june 10, 2012 = countdown to nine years on pc...
Age 32
www.pokedrome.info
Seen March 28th, 2005
Posted March 12th, 2005
1,778 posts
19.1 Years
Work on the basic HTML first... then you can expand into more languages.

Ahem.... :dead: :dead: :dead: :dead:
Since I DO KNOW Basic HTML I'm asking for more help. Seriously JK just cause you do have a good site, dont think you are the webmastering HTML Expert.

And Can anyone show me any PHP-NUKE Tags!
I am PCs one & only CC

Visit Pokemon Gaming Sphere We have just about anything you need on
-- Rom-Hacking Pokemon Games Pokemon Movies Webmasters Section Amazing Emulators& Downloads All needed sprites Hacks & many more.
Its the Newest & Hottest domain for your Needs.
[img=http://img226.exs.cx/img226/686/pgs5cl.png]


My Hack
Pokemon ThunderStar
has got the best Hack of the month award and has been stickied. Go visit the thread and Give your feelings about it.


Evil Twins with mvtm | Paired up with no one| Senior Member of Dark Xeno Revolution inc

Im seriously not able to keep up with my New Year Resolution of not joining any club. Toooo many Clubs here are tempting me.
Canada
Seen February 27th, 2005
Posted February 27th, 2005
731 posts
19.2 Years
dont think you are the webmastering HTML Expert
I am, so I can tell you off. Until you know HTML inside-out, you'll never, never be able to learn anything past that in regard to languages that focus on HTML. PHP is called "hypertext preprocessor", after all. If you don't know HTML very well, how can you expect to do advanced scripts with languages that require HTML as a building-block?

If you do want to learn PERL or PHP, I suggest learning some other structured language first -- C++, Java, and the like -- since web-based programming somewhat strays from the original programming formula.

In conclusion, you should learn:
> basic HTML
> advanced HTML
> a structured programming language -- none of that spaghetti stuff
> PHP or PERL

It's not a simple task, but programming well isn't a simple task. Being a good webmaster is not for those that don't want to learn.
Age 32
www.pokedrome.info
Seen March 28th, 2005
Posted March 12th, 2005
1,778 posts
19.1 Years
I never said I know everything in HTML or that..
I just wanted to LEARN MORE. And its really nice to know no one wants to help me but you are all faced on ticking me!!!
I am PCs one & only CC

Visit Pokemon Gaming Sphere We have just about anything you need on
-- Rom-Hacking Pokemon Games Pokemon Movies Webmasters Section Amazing Emulators& Downloads All needed sprites Hacks & many more.
Its the Newest & Hottest domain for your Needs.
[img=http://img226.exs.cx/img226/686/pgs5cl.png]


My Hack
Pokemon ThunderStar
has got the best Hack of the month award and has been stickied. Go visit the thread and Give your feelings about it.


Evil Twins with mvtm | Paired up with no one| Senior Member of Dark Xeno Revolution inc

Im seriously not able to keep up with my New Year Resolution of not joining any club. Toooo many Clubs here are tempting me.

aRedMoon

Wait for me outside the lines

Age 34
Male
Minnesota
Seen April 23rd, 2018
Posted September 10th, 2013
11,126 posts
19.2 Years
-_- Seriously, we're telling you to focus on normal HTML first. [Grammar would help as well]

If you don't know HTML well, then it'll be near impossible to learn any other languages. I can say that from experience.
facebook \\ twitter \\ blog a.k.a life // tumblr // google+

june 10, 2003 = registered at old pc
march 24, 2004 = registered at new pc
june, 2004 = modded ;;; august, 2004 = quit/fired (point of debate)
december, 2004 = banned ;;; december 2, 2005 = unbanned
june 10, 2008 = omg... five years!
june 10, 2012 = countdown to nine years on pc...
Age 32
www.pokedrome.info
Seen March 28th, 2005
Posted March 12th, 2005
1,778 posts
19.1 Years
-_- Seriously, we're telling you to focus on normal HTML first. [Grammar would help as well]

If you don't know HTML well, then it'll be near impossible to learn any other languages. I can say that from experience.
Okay first of all, thanks all ye guys for your care about me learning HTML. I am pretty good at HTML, I can call myself Expert but you'll tell me I'm boasting. Since I do know HTML Front and Back, I would like to learn all these.It would be nice if you guys showed me some basic Scripts.
I am PCs one & only CC

Visit Pokemon Gaming Sphere We have just about anything you need on
-- Rom-Hacking Pokemon Games Pokemon Movies Webmasters Section Amazing Emulators& Downloads All needed sprites Hacks & many more.
Its the Newest & Hottest domain for your Needs.
[img=http://img226.exs.cx/img226/686/pgs5cl.png]


My Hack
Pokemon ThunderStar
has got the best Hack of the month award and has been stickied. Go visit the thread and Give your feelings about it.


Evil Twins with mvtm | Paired up with no one| Senior Member of Dark Xeno Revolution inc

Im seriously not able to keep up with my New Year Resolution of not joining any club. Toooo many Clubs here are tempting me.

aRedMoon

Wait for me outside the lines

Age 34
Male
Minnesota
Seen April 23rd, 2018
Posted September 10th, 2013
11,126 posts
19.2 Years
See Kip-Kip's new sticky.
facebook \\ twitter \\ blog a.k.a life // tumblr // google+

june 10, 2003 = registered at old pc
march 24, 2004 = registered at new pc
june, 2004 = modded ;;; august, 2004 = quit/fired (point of debate)
december, 2004 = banned ;;; december 2, 2005 = unbanned
june 10, 2008 = omg... five years!
june 10, 2012 = countdown to nine years on pc...
Age 32
www.pokedrome.info
Seen March 28th, 2005
Posted March 12th, 2005
1,778 posts
19.1 Years
Its' got nothing on CGI or PERL!
I am PCs one & only CC

Visit Pokemon Gaming Sphere We have just about anything you need on
-- Rom-Hacking Pokemon Games Pokemon Movies Webmasters Section Amazing Emulators& Downloads All needed sprites Hacks & many more.
Its the Newest & Hottest domain for your Needs.
[img=http://img226.exs.cx/img226/686/pgs5cl.png]


My Hack
Pokemon ThunderStar
has got the best Hack of the month award and has been stickied. Go visit the thread and Give your feelings about it.


Evil Twins with mvtm | Paired up with no one| Senior Member of Dark Xeno Revolution inc

Im seriously not able to keep up with my New Year Resolution of not joining any club. Toooo many Clubs here are tempting me.

aRedMoon

Wait for me outside the lines

Age 34
Male
Minnesota
Seen April 23rd, 2018
Posted September 10th, 2013
11,126 posts
19.2 Years
PHP has more scripts, and it's a bit more user friendly.
facebook \\ twitter \\ blog a.k.a life // tumblr // google+

june 10, 2003 = registered at old pc
march 24, 2004 = registered at new pc
june, 2004 = modded ;;; august, 2004 = quit/fired (point of debate)
december, 2004 = banned ;;; december 2, 2005 = unbanned
june 10, 2008 = omg... five years!
june 10, 2012 = countdown to nine years on pc...
Canada
Seen February 27th, 2005
Posted February 27th, 2005
731 posts
19.2 Years
PHP has more scripts, and it's a bit more user friendly.
PHP > PERL

PHP is the C++ of the Internet. You can't get much better than that. It's also better if you just want to use premade scripts in PHP, since they're more available. You may find older scripts in PERL, but that's about it.
Age 32
www.pokedrome.info
Seen March 28th, 2005
Posted March 12th, 2005
1,778 posts
19.1 Years
Hmm....Can anyone show me the next most commonly used PHP Tags other than the include one and can someone give me the link for the Tutorial on PHP Forms!
I am PCs one & only CC

Visit Pokemon Gaming Sphere We have just about anything you need on
-- Rom-Hacking Pokemon Games Pokemon Movies Webmasters Section Amazing Emulators& Downloads All needed sprites Hacks & many more.
Its the Newest & Hottest domain for your Needs.
[img=http://img226.exs.cx/img226/686/pgs5cl.png]


My Hack
Pokemon ThunderStar
has got the best Hack of the month award and has been stickied. Go visit the thread and Give your feelings about it.


Evil Twins with mvtm | Paired up with no one| Senior Member of Dark Xeno Revolution inc

Im seriously not able to keep up with my New Year Resolution of not joining any club. Toooo many Clubs here are tempting me.

aRedMoon

Wait for me outside the lines

Age 34
Male
Minnesota
Seen April 23rd, 2018
Posted September 10th, 2013
11,126 posts
19.2 Years
Most common tags? Eh...

echo/print

<? echo('I think this is how you do an echo tag but I don\'t remember'); ?>

That echos to the browser.
facebook \\ twitter \\ blog a.k.a life // tumblr // google+

june 10, 2003 = registered at old pc
march 24, 2004 = registered at new pc
june, 2004 = modded ;;; august, 2004 = quit/fired (point of debate)
december, 2004 = banned ;;; december 2, 2005 = unbanned
june 10, 2008 = omg... five years!
june 10, 2012 = countdown to nine years on pc...

Kipkip

Join the Revolution

Age 32
Seen June 24th, 2007
Posted October 18th, 2005
968 posts
19.4 Years
[email protected]]Hmm....Can[/email] anyone show me the next most commonly used PHP Tags other than the include one and can someone give me the link for the Tutorial on PHP Forms!
Look at my thread. Click, http://pokecommunity.com/showthread.php?t=26318. Then click, "PHP/MySQL" There are some tutorials.
Canada
Seen February 27th, 2005
Posted February 27th, 2005
731 posts
19.2 Years
Most common tags? Eh...

echo/print

<? echo('I think this is how you do an echo tag but I don\'t remember'); ?>

That echos to the browser.
PHP doesn't come in tags. You have <?php to initiate the PHP code reader and ?> to finish it. Between the tags, PHP commands are added.

echo is a command. If you put in a value wrapped in single quotes (like the following: '), the procedure will place the literal value of the text between the single quotes in the HTML source of the page being created via PHP. So JKaizer's code will print:

I think I think this is how you do an echo tag but I don\'t remember

You'll need to use double quotes for variables and escape characters to display the value you want. In addition, echo does not requires parenthesise.


<?php


echo "This is how to use the \'echo\' function.\n<br />Neat, huh?";

?>

aRedMoon

Wait for me outside the lines

Age 34
Male
Minnesota
Seen April 23rd, 2018
Posted September 10th, 2013
11,126 posts
19.2 Years
He used tags, so I used the word as well. <_<

And I didn't remember what the echo thing looked like, sorry :P
facebook \\ twitter \\ blog a.k.a life // tumblr // google+

june 10, 2003 = registered at old pc
march 24, 2004 = registered at new pc
june, 2004 = modded ;;; august, 2004 = quit/fired (point of debate)
december, 2004 = banned ;;; december 2, 2005 = unbanned
june 10, 2008 = omg... five years!
june 10, 2012 = countdown to nine years on pc...

Kipkip

Join the Revolution

Age 32
Seen June 24th, 2007
Posted October 18th, 2005
968 posts
19.4 Years
Echo commands are codded like this:

<?php

echo "Hello World";
?>
or:

<?php

echo 'Hello World';
?>
The double quotes are better for variables with text, html, and other stuff. Single quotes would only be used for text only. Usually, variables don't need the quotes unless they are with text or other stuff.
Age 32
www.pokedrome.info
Seen March 28th, 2005
Posted March 12th, 2005
1,778 posts
19.1 Years
What would that Print Kip..
And Is the echo tag widely used...
As much as the Include..
I am PCs one & only CC

Visit Pokemon Gaming Sphere We have just about anything you need on
-- Rom-Hacking Pokemon Games Pokemon Movies Webmasters Section Amazing Emulators& Downloads All needed sprites Hacks & many more.
Its the Newest & Hottest domain for your Needs.
[img=http://img226.exs.cx/img226/686/pgs5cl.png]


My Hack
Pokemon ThunderStar
has got the best Hack of the month award and has been stickied. Go visit the thread and Give your feelings about it.


Evil Twins with mvtm | Paired up with no one| Senior Member of Dark Xeno Revolution inc

Im seriously not able to keep up with my New Year Resolution of not joining any club. Toooo many Clubs here are tempting me.
Canada
Seen February 27th, 2005
Posted February 27th, 2005
731 posts
19.2 Years
What would that Print Kip..
And Is the echo tag widely used...
As much as the Include..
Apples and oranges. That's like asking: "Do you use <br> or <b> more in your HTML coding?" And what it prints should be fairly obvious: "Hello World".

PHP code that does nice things will include much more than "include" and "echo" commands. There's loops, data input/output, variable declaration and value setting, et cetera.