br3nn4n Posted January 20, 2009 Share Posted January 20, 2009 I can't get it to include a file, and send some query string variables along side. I'm using this: <?PHP include 'showslides.php?imgs=image1,image2,blarg'; ?> and I get an error stating it can't find the file. Obviously, it works without the query string, but I need it somehow. Any ideas? Link to comment https://forums.phpfreaks.com/topic/141675-include-with-stuff-in-the-query-string/ Share on other sites More sharing options...
DarkWater Posted January 20, 2009 Share Posted January 20, 2009 I think you don't understand what a query string is. It's completely an HTTP thing and the web server handles it. When you include the file, you can simply set the variables before including and they'll be available in the included script; no need for $_GET. Link to comment https://forums.phpfreaks.com/topic/141675-include-with-stuff-in-the-query-string/#findComment-741631 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.