prabir Posted September 22, 2010 Share Posted September 22, 2010 Hello Everyone, I am very very new to php, i recetly code some php script for my website, but now stuck with some horrible errors. At first the same scripts were running quite fine, but just today its start giving me erroe, i can't figure out whats the issue, i try to uninstall and install XAMPP again and again, configure php.ini file but still no result. following are the error message i am getting: Warning: include_once(C:/xampp/htdocs\include\search.php?start=0&page=0&product=black&cat=All Categories) [function.include-once]: failed to open stream: No error in C:\xampp\htdocs\initialsearch.php on line 6 Warning: include_once() [function.include]: Failed opening 'C:/xampp/htdocs\include\search.php?start=0&page=0&product=black&cat=All Categories' for inclusion (include_path='.;\xampp\php\PEAR') in C:\xampp\htdocs\initialsearch.php on line 6 i also set the include path in php.ini , but its also not helped. It will be a great help if someone can help me to solve this issue. i am attaching following files alone : initialsearch.php search.php Also , i am running WINDOWS 7 and XAMPP 1.7.3 Waiting for some help thanks again. [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
schilly Posted September 22, 2010 Share Posted September 22, 2010 Your slashes are wrong and you can't pass variables into an include. Quote Link to comment Share on other sites More sharing options...
prabir Posted September 22, 2010 Author Share Posted September 22, 2010 ohhh i was using header before and its working, hmmm so that's the reason i guess. silly thing that i am struggling for whole day. Thanks a lot for such a quick answer , i will change . Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.