homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

Need help with mod rewrite and $ GET
Trying to get id from mod_rewrite

 5:03 am on May 1, 2009 (gmt 0)

I've mod_rewrite some links and now I can't use $_GET to get the id. What can I do with php to get my id?


I'm assuming one way is to get the url and get the id part out minus the html.

Tried the below just to see if I can get the url, but nothing shows.

echo $url;

Is there anything more simple?


[edited by: Walley at 5:13 am (utc) on May 1, 2009]



 5:18 am on May 1, 2009 (gmt 0)


Don't know the reason but I just added a different letter to it and it made a difference. Maybe because I two rewrites with the same name but their different pages.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved