h4r00n Posted November 1, 2009 Share Posted November 1, 2009 Hi, I have a problem accessing the search.php form from my search page. On my local host, if I create a search in the search form and hit the search button, a new window appears asking whether I want to open or save the search.php file rather than it actually opening up in the browser. I have also just uploaded it to my host, if you go to http://www.jobjar.co.uk/index.html and hit the search button, you will find that a search.php page opens however there are no results, but in actual fact there should be. Is this related to the issue I also have on my local host with the new window appearing? I have uploaded the files to my cpanel the way it is on my computer. Kind Regards Link to comment https://forums.phpfreaks.com/topic/179834-searchphp-and-indexhtml-issue/ Share on other sites More sharing options...
Stuie_b Posted November 2, 2009 Share Posted November 2, 2009 To run php files locally on your system you need to have php running via apache (try XAMPP) once you have that installed and running the php files will be phrased correctly and display as they should. As for not displaying any results.. you may have an error within your code and would need error_reporting to show them.. try running your file with xampp and error_reporting on and see whats shown (if anything) Stuie Link to comment https://forums.phpfreaks.com/topic/179834-searchphp-and-indexhtml-issue/#findComment-948981 Share on other sites More sharing options...
h4r00n Posted November 2, 2009 Author Share Posted November 2, 2009 Hi, I do have wamp installed and it runs perfectly on it. It just doesnt work online... Link to comment https://forums.phpfreaks.com/topic/179834-searchphp-and-indexhtml-issue/#findComment-948999 Share on other sites More sharing options...
Solsearch Posted November 2, 2009 Share Posted November 2, 2009 I'm a little bit confused here. Is search.php working OK now on your localhost and showing the results you expected, but not working online? Link to comment https://forums.phpfreaks.com/topic/179834-searchphp-and-indexhtml-issue/#findComment-949027 Share on other sites More sharing options...
h4r00n Posted November 2, 2009 Author Share Posted November 2, 2009 yes thats right, might be the way I uploaded it but Im sure I have done it fine...? Thanks Link to comment https://forums.phpfreaks.com/topic/179834-searchphp-and-indexhtml-issue/#findComment-949031 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.