Results 1 to 3 of 3

Thread: perl,aramorph...

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2007
    Posts
    3

    perl,aramorph...

    i want your help in my problem please,

    i have aramorph.pl program and i want to run it in apach server (lcalhost) i do not know how i do it
    if u have any idea to connect it with PHP code ,post the answer.

    i read this http://www.vbforums.com/showthread.php?t=417988 topic but it is not helping me because i want to run it in localhost and save the output to file

    i'm using Windows XP ,Appserv 2.5.7

    ---------------
    thanks kows but..

    i'm testing to connect simple perl program with php code by (exec function)
    and the output is "helo world!" .....this is fine

    but i think the aramorph.pl have different way also have many instruction and i would your help urgently please.

    Thanks again

  2. #2
    New Member
    Join Date
    Apr 2007
    Posts
    8

    Re: perl,aramorph...

    Mmmmmmm Perl is part of history now and is on it's way out. VB .NET or C# rule this kingdom!

  3. #3
    Fanatic Member
    Join Date
    Jan 2005
    Location
    Cebu
    Posts
    607

    Re: perl,aramorph...

    You just have to save the .pl on cgi-bin directory of your %APACHE% installation directory. C:\Program Files\Apache Group\Apache2\cgi-bin for me. Please check your setup.

    Now for hello world app. Copy
    Code:
    #!C:\usr\bin\perl -w
    use CGI qw (:all);
    
    print header, "<h1>Hello World</h1>";
    on C:\Program Files\Apache Group\Apache2\cgi-bin\hello.pl and access it on browser as http://localhost/cgi-bin/hello.pl

    Also note the invocation of perl.exe on C:\usr\bin\, meaning I installed my perl here on C:\usr. Again, please check your setup.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width