Announcement

Collapse
No announcement yet.

php script execution results in program downloading instead of executing

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • php script execution results in program downloading instead of executing

    hey guys, i'm trying to learn php and stuff and it looks pretty manageable- i'm doing the tutorials on w3 schools. However, every time i try and execute a command, nothing happens and the file downloads. For example, the practice run-through they have at "http://www.w3schools.com/php/php_forms.asp", when i do the same code on my computer, just downloads the php.

    I've searched for what it could be. I re-installed mysql, php, checked apache to see if i had installed it wrong, but still, no dice.

  • #2
    [SOLVED] i'm retarded

    alright guys, this isn't an issue anymore. Please delete the hell out of this. Mistake so simple it didn't deserve a thread.
    Last edited by rubecuber; 04-20-2016, 11:48 AM. Reason: solved the hell out of the problem

    Comment


    • #3
      You didn't start the server and go to localhost/ip right?? W3schools is a good site I learned a lot of stuff there and they are constantly adding to it.

      Comment


      • #4
        sadly,no, I just worked around it by going online and finding something that would execute it. but i'll look into what you posted

        Comment


        • #5
          hey i just did what you said. works great, I appreciate it!

          Comment

          Working...
          X