Jump to content

search.php and index.html issue


h4r00n

Recommended Posts

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
Share on other sites

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.