943,670 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Marked Solved
  • Views: 791
  • PHP RSS
Oct 17th, 2008
0

DaniWeb's Interesting URL System

Expand Post »
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!!
Similar Threads
Reputation Points: 47
Solved Threads: 47
Posting Whiz
FlashCreations is offline Offline
393 posts
since Sep 2008
Oct 17th, 2008
1

Re: DaniWeb's Interesting URL System

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
PoA
Reputation Points: 19
Solved Threads: 9
Posting Whiz in Training
PoA is offline Offline
234 posts
since Jul 2004
Oct 17th, 2008
1

Re: DaniWeb's Interesting URL System

Reputation Points: 16
Solved Threads: 9
Junior Poster
mexabet is offline Offline
148 posts
since Mar 2008
Oct 17th, 2008
0

Re: DaniWeb's Interesting URL System

Wow that's really cool. I am probably going to use this on further projects!!! Thanks for your help everyone!!!!
Reputation Points: 47
Solved Threads: 47
Posting Whiz
FlashCreations is offline Offline
393 posts
since Sep 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: where to start php
Next Thread in PHP Forum Timeline: Reading OUT parametter of Stored procedure





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC