hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : HELP Please
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

HELP Please

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 10-10-2004, 11:37 AM
festeris festeris is offline
New Member
 
Join Date: Oct 2004
Posts: 3
Unhappy

HELP Please


Hi,
I was running an auction site w/ no problem for 2 weks, then my server shut it down.
He claims that because it's written in PL and not PHP it's causing theserver to go haywire. Is this possible? Should I install a new script or keep script and move to an honest server? Thanks,Nick

Reply With Quote


Sponsored Links
  #2  
Old 10-10-2004, 03:56 PM
X-TechMedia X-TechMedia is offline
Junior Guru
 
Join Date: Nov 2002
Location: United Kingdom
Posts: 247
I didn't think there was that much difference between perl and php, but im prob completly wrong though!

Ask your host what prof he has that its your script

__________________
Ben Periton

Reply With Quote
  #3  
Old 10-10-2004, 05:21 PM
Dan L Dan L is offline
Web Developer
 
Join Date: Feb 2003
Location: Connecticut
Posts: 5,441
There is a large difference between PHP and Perl. The only similarity is that PHP uses a few things from perl, such as Perl-Compatible Regular Expressions. (preg_ functions)

Now, I doubt you were shut down strictly because of the language the script was coded in. If so, I would suggest moving.

However, you should ask if there was another reason. For instance, a bad section of code could have caused it to use 10%+ of the server resources, which, in this case, would merit a new script.

I would ask for a more complete explanation.

Reply With Quote
Sponsored Links
  #4  
Old 10-10-2004, 06:35 PM
Akyriel Akyriel is offline
Junior Guru Wannabe
 
Join Date: Oct 2004
Location: Orlando
Posts: 56
Depends on your host and his server configuration.

PERL is most often run as a CGI (Common Gateway Interface) module on the server - so any code needs to spawn a new process on the server - run through execution - then die. If your code, for instance, has multiple database connections, includes etc... this could eat up system resources especially if you have a high traffic site.

PHP is mostly run as a module or service rather than a CGI on the server - meaning it runs "in process" with the server and doesn't spawn a new process for each request. - This saves system resources.

This is why some forms of CGI programs (PERL, C, C++, COBOL, FORTRAN) are not used anymore - though there are still lots of CGI scripts (PERLScripts) running on servers still today.

Your host may not have the resources necessary to run efficiently using CGI programming.

Reply With Quote
  #5  
Old 10-10-2004, 07:44 PM
xxtyderxx xxtyderxx is offline
Newbie
 
Join Date: Aug 2004
Posts: 26
I would move to an honest server if I were you...

Reply With Quote
  #6  
Old 10-10-2004, 08:14 PM
AlexV AlexV is offline
Junior Guru Wannabe
 
Join Date: Jan 2004
Posts: 77
Without having looked at the script source, it is hard to say whether your host is telling the truth or not. I have seen scripts which brought down very powerful servers; in all cases the programmer was to blame. If the host really is telling the truth, I'm sure the script can be reprogrammed properly (especially since it is in Perl).

Reply With Quote
  #7  
Old 10-10-2004, 08:31 PM
festeris festeris is offline
New Member
 
Join Date: Oct 2004
Posts: 3
Unhappy What to do now?

Firstly thank you all for your posts!

So....let me get this straight. It may be the script, the server, or the programmer behind the script.

So in short, if script is no good it wil drain resources on my new server anyway...right

The real issue is I don't want to lose the design I had already. I've looked at many of these PHP auction scripts and they seem powerful in features but really not much to look at design wise.

So here's another question. Say I go to an auction script dealer and purchase their script will it cost me an arm and a leg to hire someone to customize it, or can I do most of it myself thru Admin. panel.

Thanks in advance...Nick

Reply With Quote
  #8  
Old 10-10-2004, 08:38 PM
AlexV AlexV is offline
Junior Guru Wannabe
 
Join Date: Jan 2004
Posts: 77
Depends on the script. Some will allow you to do quick and easy customizations using an administration panel or template files, however some will make you edit the source code manually. Some will even encrypt the source code so no modification will be possible or release it under a very restricted license. If the script's source is not encrypted and the author doesn't have some odd license which would prohibit you from editing the source, I'm sure you can find someone to customize it for under $50.

You may even wish to post in the employment forums to see if anyone is willing to create a script completely to your liking.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?