Go Back   CodingForums.com > :: Server side development > Perl/ CGI

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-27-2010, 09:17 AM   PM User | #1
Phil Jackson
Senior Coder

 
Join Date: Aug 2009
Location: Mansfield, Nottinghamshire, UK
Posts: 1,547
Thanks: 57
Thanked 148 Times in 147 Posts
Phil Jackson is on a distinguished road
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(); 
Phil Jackson is offline   Reply With Quote
Old 01-27-2010, 10:30 AM   PM User | #2
Puffin the Erb
Regular Coder

 
Join Date: Oct 2004
Posts: 168
Thanks: 0
Thanked 5 Times in 5 Posts
Puffin the Erb is an unknown quantity at this point
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..
Puffin the Erb is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:47 AM.


Advertisement
Log in to turn off these ads.