|
Posted by youcantoo on 03/22/06 08:59
Henrik Hansen wrote:
> Badr.ALmuzini@gmail.com writes:
>
>> hi,there
>>
>> how can i make php file extension hidden in the URL somthing like this
>> (http://mail.google.com/mail/?view)
>
> If you do this the parameter ?view is appended the index.php file in
> that dir, so it's quite easy, just make sure your index.php
> understands ?view. Another way is to make .html (.htm) files to be
> parsed as php, then you have index.html but you can actually use
> php in the file.
>
That is not really a good idea as it puts a hugh load on the server. Now
for EVERY .html page apache servers it will have to parse each .html
page for php script, even if the page has no php script in it. This
really increases the load on the server. It all translates to SLOWER
pages. Is that what you really want to achieve?
Navigation:
[Reply to this message]
|