![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4
![]() |
The only way I have seen this done with php is using mod_rewrite on Apache to map news.php/2/10 to script.php?month=2&day=10, for example.
Googling leads me to think that IIS requires third party addons for this functionality, but I'm not entirely sure.
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270 |
|
|
|
|
|
#12 | |
|
Newbie
Join Date: Aug 2006
Posts: 11
Rep Power: 0
![]() |
Quote:
In order to understand how URL's are re-written, you need to understand $_GET[]. I know that my article doesn't cover mod_rewrite, however the lesson gives someone a start to understanding URL variables. Remember, when someone is new to a subject never assume that they know what you know. After the lesson, if you visit the home page or do a search you will find links about mod_rewrite. Such as these:article:mod_rewrite-cheat-sheet htaccess-cheatsheet Signed, The Evil Dude out to Spam everyone. ![]() |
|
|
|
|
|
|
#13 |
|
Newbie
Join Date: Oct 2006
Posts: 20
Rep Power: 0
![]() |
you can do this with mod_rewrite. I wrote an article about it awhile back: http://www.whenpenguinsattack.com/20...ps-and-tricks/
|
|
|
|
|
|
#14 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
You might want to check the date on the threads you're replying to. Anything a couple, three months old has probably been resolved, one way or another. :beard:
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#15 |
|
Hobbyist Programmer
|
If it's good information, then it just adds more resolutions that someone else searching for the same problem can use. I don't see why that is bad. That is based on the assumption that at least a few people find their way to the search function before posting their problem.
__________________
#programmingforums relay - http://thegupstudio.com/cgi-bin/pforelay.cgi freelance scripts - http://ryanguthrie.com/index.html |
|
|
|
|
|
#16 |
|
Newbie
Join Date: Oct 2006
Posts: 20
Rep Power: 0
![]() |
thanks
I actually knew it was a couple of months old. I figured other people might be able to use the info in some way or another. Either way, thanks for letting me know.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Efficiency] Variables vs. Calculations | kurt | C | 7 | Dec 29th, 2005 2:39 PM |
| how to receive a value and pass it back ?? | dawn | C# | 1 | Oct 4th, 2005 10:12 AM |
| Pointers in C (Part II) | Stack Overflow | C | 2 | Apr 29th, 2005 10:39 AM |
| User ID and Pass | Dark Flare Knight | Java | 3 | Apr 21st, 2005 3:01 AM |
| Is it possible for me using session variables into a class? | see07 | C# | 1 | Mar 9th, 2005 5:32 PM |