Re: [PHP] Wildcard fromURL

2003-03-14 Thread Verdon Vaillancourt
Hi Chris, Thanks for the pointer :) I found some other interesting reference and ideas on using this in the manual. Now I just need to provide some error checking in case $_GET['menu'] isn't defined in the URL (that should be pretty straight fwd) and in case it is defined, but a corresponding

[PHP] Wildcard fromURL

2003-03-13 Thread Verdon Vaillancourt
Hi :) I want to place a particular image on a page based on the URL of the page. I have a variety of standard patterns to match in the URL. For instance; I would want all the following pages to load an image named something like foo_2.jpg mod.php?mod=userpagemenu=2page_id=xxx

Re: [PHP] Wildcard fromURL

2003-03-13 Thread Chris Hayes
At 21:55 13-3-2003, you wrote: mod.php?mod=userpagemenu=215page_id=xxx mod.php?mod=userpagemenu=20001page_id=xxx mod.php?mod=site_mapmenu=20010 And would want all the following pages to load an image named something like foo_1.jgp mod.php?mod=userpagemenu=1page_id=xxx submit.phpmenu=100