Click to See Complete Forum and Search --> : include files


jrthor2
08-02-2006, 07:35 AM
can you do an include like this:

include("position_dropdown.php?category_id=" . $R_CATGID);

I am trying to do it, but I get an error:

Warning: main(position_dropdown.php?category_id=43): failed to open stream: No such file or directory

Warning: main(): Failed opening 'position_dropdown.php?category_id=43' for inclusion (include_path='.:/home/httpsd/ra-apps:/home/httpsd/ra-apps/inc:/home/httpsd/ra-new/nav:/home/httpsd/outreach/opt')

Thanks.

bokeh
08-02-2006, 08:13 AM
You can only use a query string in an http wrapper.

jrthor2
08-02-2006, 08:18 AM
ok thanks. By the way, I just got my AJAX dropdown working, using a different script. Thanks for all your help.