Go Back   HostGator Peer Support Forums > Public Forums > Suggestions

Notices

Reply
 
Thread Tools
  #1  
Old 05-25-2005, 03:28 AM
cyrena cyrena is offline
Hatchling Croc
 
Join Date: Mar 2005
Posts: 5
Default Perl vs. PHP script

For a payment process I will need to install a script protecting download pages - the choice is PHP or Perl.
Which one would be easier to handle on shared hosting?
What about security issues?
What about ease of use?
To my understanding (novice using Perl also requires the installation of modules.
Anyone with experience out there?

would appreciate feedback, thank you
Renate
www.trendpublications.com
Reply With Quote
  #2  
Old 05-25-2005, 02:29 PM
Nutter Nutter is offline
Baby Croc
 
Join Date: May 2004
Location: Houston, Texas
Posts: 94
Default Re: Perl vs. PHP script

I'm not sure I understand the question fully, so correct me if I'm wrong... You have a package that protects documents until paid for. You have the option to use either a Perl or PHP script to do the protection. You're asking which is better. Sound like what you're asking? :-)

If so, it really shouldn't matter. Personally, I would go with PHP, but that's more because I know PHP than any other reason. My guess is that you'd have an easier time finding someone to fix problems if you use the PHP one.
Reply With Quote
  #3  
Old 05-25-2005, 04:46 PM
Thomas's Avatar
Thomas Thomas is offline
Junior Croc
 
Join Date: Jun 2004
Posts: 195
Default Re: Perl vs. PHP script

I would use Perl for the very same reason Nutter would use PHP... I'm just more familiar with it. It seems like there's a new PHP security exploit every time I turn around, but that's probably just my perspective.

Perl modules are rarely a problem as HG servers have a ridiculous number of them pre-installed.

Having said all that, I recently used the osCommerce shopping cart to do something very similar to what you describe... A document is stored in a protected directory. Upon payment, the buyer is emailed a unique URL that expires after a pre-set time. Pretty slick!

BTW- osCommerce is PHP, but really requires little or no knowledge of the language.
Reply With Quote
  #4  
Old 05-27-2005, 04:40 AM
cyrena cyrena is offline
Hatchling Croc
 
Join Date: Mar 2005
Posts: 5
Default Re: Perl vs. PHP script

Thanks Thomas
very helpful - I have the choice between a perl/cgi script that validates clickbank requests and a PHP script that validates both, clickbank and paypal.
The PHP has a familiar gui and generates the scripts on my PC which are then uploaded to the server - files/folders are password protected and temp download links are generated.
The Perl/CGI script is a bit more complex - files/folders along with the script are in the CGI bin, the script produces a temp copy along with temp download links.
I guess my problem is just that scripting is not my core business - I will just have to chose one and see how it works

Have a nice day
Renate
Reply With Quote
  #5  
Old 05-27-2005, 04:41 AM
cyrena cyrena is offline
Hatchling Croc
 
Join Date: Mar 2005
Posts: 5
Default Re: Perl vs. PHP script

Thanks for your comments Ryan
Renate
Reply With Quote
Reply

Bookmarks

Thread Tools

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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
unexpected $end in PHP script wastvedt Shared Hosting Support 1 09-14-2004 09:14 PM
PHP Mail script an SMTP server Fubacca Shared Hosting Support 0 03-02-2004 01:00 PM
Perl Script to Notify Cellphone of Email? dmacke Pre-Sales Questions 0 10-02-2003 04:09 PM

All times are GMT -5. The time now is 09:49 PM.