Re: Searchengine friendly URLs
| From: | WebDev | Date: | Fri, 26 Oct 2001 18:18:46 +0000 |
| Subject: | Re: Searchengine friendly URLs | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-72480@lists.php.net to get a copy of this message | ||
Hello Andy,
Its just a way of passing along variable information as you would do
with a form except you attach the variable/args directly to the URL.
For example if you have a script that list all records in a database,
you may have a link for deleting records that would be attached to
each record with identifying information. The link may look something
like http://somedomain.com/processRecord.php?action=delete&recID=24
So when you click this link for the processRecord.php script you pass
in the action=delete and recID=24 as variable information.
So in your processRecords.php script you may have something like:
<?
if($action == 'delete'){
make a database query and delete record 24 ($recID) form table
}
else if(could have other actions){
}
?>
Hope this helps.
-Merle
Friday, October 26, 2001, 3:13:31 PM, you wrote:
A> Hi there,
A> I heared that search engines are not following things after the question
A> mark. Now I looked arround and noticed, that some sites yust have numbers
A> behind the .php extension. How does this work? Can anybody make an example
A> and list advantages and disadvantages?
A> Thanx,
A> Andy