Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. A HTML page not display a PHP page on button click ERROR 404?

A HTML page not display a PHP page on button click ERROR 404?

Scheduled Pinned Locked Moved Web Development
phphtmlhelptutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    offroaderdan
    wrote on last edited by
    #1

    Experts, I have uploaded a simple site with a HTML page and a PHP page. Supposedly on a click on the HTML page the the php file should then run but it says that the page cannot be found. I don't get this because it is in the same place as the HTML file and all the directories seem to be fine. i've even tried to go onto the web address and have the php file linked after e.g www.google.co.uk/example.php but then it comes up saying page not found Any ideas? Dan

    T 1 Reply Last reply
    0
    • O offroaderdan

      Experts, I have uploaded a simple site with a HTML page and a PHP page. Supposedly on a click on the HTML page the the php file should then run but it says that the page cannot be found. I don't get this because it is in the same place as the HTML file and all the directories seem to be fine. i've even tried to go onto the web address and have the php file linked after e.g www.google.co.uk/example.php but then it comes up saying page not found Any ideas? Dan

      T Offline
      T Offline
      thatraja
      wrote on last edited by
      #2

      Hi, Mention the url correctly. Consider your website is www.google.com. Consider your home page is www.google.com/home.htm You have a link in home page for example.php So, you can mention the url as relative, example.php or you can mention the url as absolute, example.php Either ways it will work perfectly.

      thatraja


      Tips/Tricks|Brainbench certifications|Facebook|Twitter

      modified on Monday, July 19, 2010 9:38 PM

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups