Forum Moderators: coopster
I have a page that is getting served about 26,000 times each day.
I'm wanting to impliment a script that checks a posted url to the page to see if it contains the word google.
The script would look something like below:
<?php
$myurl = $_POST[url];
$targetstring = "google";
if(stristr($myurl , $targetstring) === FALSE)
{
header ("location: nothingToDoWithGoogle.php");
exit();
}
else
{
header ("location: somethingToDoWithGoogle.php");
exit();
}
?>
Is this something that a webserver will find easy to do 26,000 times or not?
Forgive me if this seems like an easy question but i'm still reasonable new to web development and I struggle to know what impact my php scripts will have on the server and how fast it will be able to process them.
Thanks.
That's just my opinion, use it don't use it, up to you.
Thanks,