DEVing PHP...uhm...help...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • -=HOAX=-
    Confirmed User
    • Dec 2001
    • 4365

    #1

    DEVing PHP...uhm...help...

    So I've decided to learn PHP...I copied and pasted a simple html file with php embedded from the php manual, and I cant get it to work on my server...even tho I'm running other php scripts on the same server...I imagine this is an apache issue.

    I also downloaded the PHakt extension for ultradev...and simple php scripts still don't seem to show in the browser view.

    Homesite seems similarly useless...

    PHP developers...what's the best way to begin learning and DEVing php...I like to be able to instantly see changes in my code. Am I not using the extension manager right...what the fuck...help me out if you have a sec.
    Insert Value Here.
  • hyper
    Confirmed User
    • Mar 2002
    • 5294

    #2
    did you make sure it was uploaded in ascii and not binary?

    Comment

    • ServerGenius
      Confirmed User
      • Feb 2002
      • 9377

      #3
      Download ultra edit, use that as your editor

      upload files in ASCII mode, notepad or other windows editors
      sometimes print ^m carriage return characters that fucks up your
      code.

      save this code to test.php upload and open with your browser:

      < ?

      phpinfo();

      ?>

      remove the space in < ? it will give you info about which php module is installed, some server info, and a lot more.

      DynaMite
      | http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho |

      Comment

      Working...