Scite editor for PHP

Discussion in 'PHP' started by hatifahanna, Feb 5, 2011.

  1. #1
    Hi,

    I am a newbie in PHP. I installed Scite. Try to run a PHP coding but getting this error.

    >php -l "test.php"
    'php' is not recognized as an internal or external command,
    operable program or batch file.
    >Exit code: 1

    I search over the Internet but cannot resolve my problem. Please help.
     
    hatifahanna, Feb 5, 2011 IP
  2. WebWorth

    WebWorth Greenhorn

    Messages:
    89
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    20
    #2
    Where are you running this command?
     
    WebWorth, Feb 6, 2011 IP
  3. clonepal

    clonepal Active Member

    Messages:
    128
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    73
    #3
    Can you provide the PHP coding ? Here or by PM.

    -clonepal
     
    clonepal, Feb 6, 2011 IP
  4. hatifahanna

    hatifahanna Peon

    Messages:
    671
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I downloaded and installed Scite into my pc and try to run a php coding. any php coding showed the same error. [​IMG]. PLease help.
     
    hatifahanna, Feb 6, 2011 IP
  5. Simple Link Media

    Simple Link Media Peon

    Messages:
    38
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Have you added PHP to your environment variable PATH ?
     
    Simple Link Media, Feb 6, 2011 IP
  6. hatifahanna

    hatifahanna Peon

    Messages:
    671
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #6
    No..i don't know. can u help me?
     
    hatifahanna, Feb 6, 2011 IP
  7. clonepal

    clonepal Active Member

    Messages:
    128
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    73
    #7
    The php code it's very good, dosen't have any errors. I also tested the code on EasyPHP 5.3.3 server and looks good:

    [​IMG]

    Where do you intend to use this code?
     
    clonepal, Feb 7, 2011 IP