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 imag

Re: [PHP] Wildcard fromURL

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

[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=userpage&menu=2&page_id=xxx mod.php?mod=userpa