Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Senior Coder
    Join Date
    Aug 2009
    Location
    Mansfield, Nottinghamshire, UK
    Posts
    1,547
    Thanks
    57
    Thanked 148 Times in 147 Posts

    running .pl from web server

    Bonjour, I am new to perl and this is the first time im using a perl script on my web server. Just a few questions if you dont mind;

    1. do you have to put the filename.pl into the /cgi-bin/ folder for it to work?
    2. do you have to set the file permissions to 755?
    3. does the extention have to be .cgi or can it be .pl?



    Regards, thank you
    Website Design Mansfield
    PHP Code:
    function I_LOVE(){function b(&$b='P'){$b.='P';}function a($_){return $_++;}$b='P';define("B",'H');b($b=implode('',array($b=a($b),$b=a(B))));b($b);return $b;}
    echo 
    I_LOVE(); 

  • #2
    Regular Coder
    Join Date
    Oct 2004
    Posts
    168
    Thanks
    0
    Thanked 5 Times in 5 Posts
    1. That's the default, you can configure your own location(s) in your server's config file, for example, httpd.conf
    2. Yes
    3. You can use any extension, those are the common ones and are best kept to

    Have fun
    Last edited by Puffin the Erb; 01-27-2010 at 10:37 AM.


  •  

    Posting Permissions

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