| | |
DaniWeb's Interesting URL System
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
Hello,
I was browsing DaniWeb and found a code snippet that allows PHP files to be static and more search-able by browsers. I notice that certain pages of DaniWeb are PHP (such as this new thread page), yet most are html files. I know this may seem nosy, but I am interested in how this is possible with dynamic content such as a form. How is it done?
Thanks!!
I was browsing DaniWeb and found a code snippet that allows PHP files to be static and more search-able by browsers. I notice that certain pages of DaniWeb are PHP (such as this new thread page), yet most are html files. I know this may seem nosy, but I am interested in how this is possible with dynamic content such as a form. How is it done?
Thanks!!
•
•
Join Date: Jul 2004
Posts: 234
Reputation:
Solved Threads: 8
It's called mod_rewrite, which is an Apache module. It allows you to rewrite the requested urls.
You should read more about it here
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
You should read more about it here
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
Helpful links about Mod rewrite:
http://www.workingwith.me.uk/article...ng/mod_rewrite
http://www.addedbytes.com/apache/url...for-beginners/
http://www.workingwith.me.uk/article...ng/mod_rewrite
http://www.addedbytes.com/apache/url...for-beginners/
![]() |
Similar Threads
- Collins: Why this scientist believes in God (Geeks' Lounge)
- Since no one replied to my other post i post my question here (Windows NT / 2000 / XP)
- Featured Blogger (Geeks' Lounge)
- Alternative OS forum? (DaniWeb Community Feedback)
- opening files in classes (C++)
- Crackers for Christmas (or, How Did My Brand New Computer Get Infected Already?) (Viruses, Spyware and other Nasties)
- This is a great message board, but... (Geeks' Lounge)
Other Threads in the PHP Forum
- Previous Thread: where to start php
- Next Thread: Reading OUT parametter of Stored procedure
| Thread Tools | Search this Thread |
apache api array beginner binary body broken buttons cakephp checkbox class cms code cron curl database date date/time display dynamic ebooks echo email error file files folder form forms function functions global google href htaccess html image include insert ip javascript joomla limit link list login mail mediawiki menu mlm msqli_multi_query multiple mycodeisbad mysql navigation number oop parameter paypal pdf php phpincludeissue problem query radio random recourse recursion regex remote script search seo server sessions sms source sp space speed sql static subdomain syntax system table tag tutorial update upload url validator variable vbulletin video web webdesign white xml youtube





