| | |
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 |
.htaccess alerts apache api archive array autocomplete beginner binary broken cakephp checkbox class cms code convert cron curl database dataentry date display duplicates dynamic echo email emptydisplayvalue error execute explodefunction file files firstoptioninphpdroplist folder form forms function functions google hack href htaccess html htmlspecialchars image include insert ip javasciptvalidation javascript joomla keywords limit link login mail matching menu methods mlm multiple mysql network object oop paypal pdf php problem query radio random recursion recursive redirect remote script search securephp server sessions shot sms source space sql subscription syntax system table tutorial tutorials update upload url validator variable video web youtube





