Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Esing Apche php and perl

monkammonkam Member Posts: 6

I want to be able to create a html page with option boxes to retrive information from a MySQL database. I can do it with CGI-BIN exe file no problem (i'm a c++ programmer) but i think that with perl scripts or php i can do it better.

Any ideas of how i call Perl script from apache to retrive the specific information from the database?
Do i need to use PHP?

Tank !

Comments

  • nohheekyoungnohheekyoung Member Posts: 4
    [b][red]This message was edited by nohheekyoung at 2003-10-20 22:17:42[/red][/b][hr]
    :
    : I want to be able to create a html page with option boxes to retrive information from a MySQL database. I can do it with CGI-BIN exe file no problem (i'm a c++ programmer) but i think that with perl scripts or php i can do it better.
    :
    : Any ideas of how i call Perl script from apache to retrive the specific information from the database?
    : Do i need to use PHP?
    :
    : Tank !
    :
    it's possible by using perl DBI module.
    see the page http://www.perl.co.kr/cgi-bin/mosehan/read_html?html=database/oracle.html
    it's korean site but you can read the sample code.
    ah! before you use the DBI module, you have to install Perl DB Driver.
    http://www.perl.co.kr/cgi-bin/mosehan/read_html?html=os/unix/unix_perl_db_install.html .. this page is explaning about the install.


  • nohheekyoungnohheekyoung Member Posts: 4
    : [b][red]This message was edited by nohheekyoung at 2003-10-20 22:17:42[/red][/b][hr]
    : :
    : : I want to be able to create a html page with option boxes to retrive information from a MySQL database. I can do it with CGI-BIN exe file no problem (i'm a c++ programmer) but i think that with perl scripts or php i can do it better.
    : :
    : : Any ideas of how i call Perl script from apache to retrive the specific information from the database?
    : : Do i need to use PHP?
    : :
    : : Tank !
    : :
    : it's possible by using perl DBI module.
    : see the page http://www.perl.co.kr/cgi-bin/mosehan/read_html?html=database/oracle.html
    : it's korean site but you can read the sample code.
    : ah! before you use the DBI module, you have to install Perl DB Driver.
    : http://www.perl.co.kr/cgi-bin/mosehan/read_html?html=os/unix/unix_perl_db_install.html .. this page is explaning about the install.
    :
    :
    :

  • JonathanJonathan Member Posts: 2,914
    :
    : I want to be able to create a html page with option boxes to retrive information from a MySQL database. I can do it with CGI-BIN exe file no problem (i'm a c++ programmer) but i think that with perl scripts or php i can do it better.
    :
    : Any ideas of how i call Perl script from apache to retrive the specific information from the database?
    : Do i need to use PHP?
    I'd use Perl. There's a good guide in the CodePedia:-
    http://www.codepedia.com/1/PerlDBITutorial
    If you run into problems with any of it feel free to post on the Perl baord. :-)

    Good luck,

    Jonathan

    ###
    for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
    (tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
    /(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");

  • serjunserjun Member Posts: 2
    You can access any MySQL database with eith Perl or PHP. Im a C++ programmer also, but when it comes to building web applications, i prefer the higher level of programming that PHP gives over cgi. It's a question of design, actually. You can use either.

    Here is a thorough documentation of a wide collection of PHP functions:
    http://www.php.net/quickref.php

    And here is a tutorial page on integrating MySQL and PHP:
    http://hotwired.lycos.com/webmonkey/99/21/index2a.html

    Hope it helps.

    -- serjun
Sign In or Register to comment.