[wp-hackers] 2 Questions: $_REQUEST equivalent and using GET in mod_rewrite

Alex Günsche ag.ml2007 at zirona.com
Tue Aug 28 18:35:31 GMT 2007


On Tue, 2007-08-28 at 18:01 +0100, Alex Andrews wrote:
>  How can I get /artists/x/ to translate to artists.php?id=x or whatever.

I don't understand the problem. Do you want to say you have a file
artists.php and want it to handle $_GET['id']? In this case, simply let
your plugin process $_GET['id'] and require('artists.php') where
appropriate. Btw, I wouldn't copy files into WP's base folder, but
rather have it within the plugin's directory.

If that's not what you're looking for, please give us a showcase or more
details about your plans.

Regards,
Alex

-- 
Alex Günsche, Zirona OpenSource-Consulting
Blogs: http://www.zirona.com/ | http://www.regularimpressions.net
PubKey for this address: http://www.zirona.com/misc/ag.ml2007.asc



More information about the wp-hackers mailing list