beckmann
May 12th 2004, 4:15 pm
Hello,
This question is in reference to the Google search tool located at: http://www.digitalpoint.com/tools/search/
I followed the installation instructions to the letter (I think...). I downloaded the file from http://www.digitalpoint.com/tools/search/search.zip. I obtained my API key from Google, inserted the key where I am supposed to in results.php, added my site URL (staffweb.peoriaud.k12.az.us/Alan_Gaugert/jrotc/) where I am supposed to in results.php, created a test webpage and pasted in the HTML, copied the test webpage, footer.php, header.php, and results.php files to my website (everything is in the same location/subdirectory). I checked with Google to make sure Google was aware of my site's URL... and everything looked fine, until I actually launched my test webpage in my IE browser and tried to search for something.
When I search, instead of it giving me any results at all, the browser's download dialog box pops up and it wants me to download (save or open) the results.php file.
I executed a search using the search box on Digitalpoint's website (http://www.digitalpoint.com/tools/search/) and theirs worked fine for me (wanted to make sure I was able to display results from someone's search box that worked).
Why would mine not work? Is it because of the PHP enabled server/fopen() stuff? Is my symptom a symptom of not having PHP enabled on the webserver? (it is not my webserver, it belongs to a school district)
Please forgive me, as this is new to me. I searched your forums trying to see if someone else had asked this question previously, but did not find anything.
Thank you for your help.
Kindest regards,
Deb
This question is in reference to the Google search tool located at: http://www.digitalpoint.com/tools/search/
I followed the installation instructions to the letter (I think...). I downloaded the file from http://www.digitalpoint.com/tools/search/search.zip. I obtained my API key from Google, inserted the key where I am supposed to in results.php, added my site URL (staffweb.peoriaud.k12.az.us/Alan_Gaugert/jrotc/) where I am supposed to in results.php, created a test webpage and pasted in the HTML, copied the test webpage, footer.php, header.php, and results.php files to my website (everything is in the same location/subdirectory). I checked with Google to make sure Google was aware of my site's URL... and everything looked fine, until I actually launched my test webpage in my IE browser and tried to search for something.
When I search, instead of it giving me any results at all, the browser's download dialog box pops up and it wants me to download (save or open) the results.php file.
I executed a search using the search box on Digitalpoint's website (http://www.digitalpoint.com/tools/search/) and theirs worked fine for me (wanted to make sure I was able to display results from someone's search box that worked).
Why would mine not work? Is it because of the PHP enabled server/fopen() stuff? Is my symptom a symptom of not having PHP enabled on the webserver? (it is not my webserver, it belongs to a school district)
Please forgive me, as this is new to me. I searched your forums trying to see if someone else had asked this question previously, but did not find anything.
Thank you for your help.
Kindest regards,
Deb