Page 1 of 1
Less Taxing capture code
Posted: Thu Jul 01, 2010 6:13 pm
by cloggin55
So my web host said the code below is too taxing on their servers. Does anyone know one that would work better?
The code simply transfers a query string.
<?php echo str_replace('-', ' ', $_GET['ad'])?>
Any help would be appreciated.
Thanks!
Re: Less Taxing capture code
Posted: Thu Jul 01, 2010 7:28 pm
by requinix
There is no way that code is "taxing" anything.
If anything, it's probably code earlier in the file.
Re: Less Taxing capture code
Posted: Fri Jul 02, 2010 5:30 am
by cloggin55
Could it be the query string at the end of the URL?
It would be: .com/id=tag
Than the "tag" is transfers to where the code is placed.
Here's the message they sent:
I forced to take immediate action for the health of the server. Unfortunately I do not have any specific recommendations for this script, however, in general, adding some sort of caching mechanism, where the script does not need to generate a new page with every request, helps to lower the over load that a script will cause. Likely the original author or support group of the software that you are using will be able to help you to understand how to add something of this nature.
Any ideas?
Re: Less Taxing capture code
Posted: Fri Jul 02, 2010 9:06 am
by Jade
Can you post the entire script so we can see what its actually doing?