Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Aug 11th, 2006, 3:43 AM   #11
Dameon
Troll
 
Dameon's Avatar
 
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4 Dameon is on a distinguished road
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
Dameon is offline   Reply With Quote
Old Aug 16th, 2006, 12:14 AM   #12
Xeoncross
Newbie
 
Xeoncross's Avatar
 
Join Date: Aug 2006
Posts: 11
Rep Power: 0 Xeoncross is on a distinguished road
Cool No its not help - it's SPAM! :)

Quote:
Originally Posted by Sane
Xeoncross, to be frank, what does that have to do with the original poster's question? It's relevant to $_GET, $_POST, but not about them. This sounds like you're just grabbing an opportunity to advertise your website.
lol

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.
Xeoncross is offline   Reply With Quote
Old Oct 20th, 2006, 2:04 AM   #13
jsilver608
Newbie
 
Join Date: Oct 2006
Posts: 20
Rep Power: 0 jsilver608 is on a distinguished road
you can do this with mod_rewrite. I wrote an article about it awhile back: http://www.whenpenguinsattack.com/20...ps-and-tricks/
__________________
High Performance PHP
http://www.whenpenguinsattack.com
jsilver608 is offline   Reply With Quote
Old Oct 20th, 2006, 6:06 AM   #14
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
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
DaWei is offline   Reply With Quote
Old Oct 20th, 2006, 7:10 AM   #15
Mocker
Hobbyist Programmer
 
Mocker's Avatar
 
Join Date: Oct 2005
Location: Indiana
Posts: 224
Rep Power: 0 Mocker is an unknown quantity at this point
Send a message via AIM to Mocker
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
Mocker is offline   Reply With Quote
Old Oct 20th, 2006, 2:03 PM   #16
jsilver608
Newbie
 
Join Date: Oct 2006
Posts: 20
Rep Power: 0 jsilver608 is on a distinguished road
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.
__________________
High Performance PHP
http://www.whenpenguinsattack.com
jsilver608 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Efficiency] Variables vs. Calculations kurt C 7 Dec 29th, 2005 3:39 PM
how to receive a value and pass it back ?? dawn C# 1 Oct 4th, 2005 11:12 AM
Pointers in C (Part II) Stack Overflow C 2 Apr 29th, 2005 11:39 AM
User ID and Pass Dark Flare Knight Java 3 Apr 21st, 2005 4:01 AM
Is it possible for me using session variables into a class? see07 C# 1 Mar 9th, 2005 6:32 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:42 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC