Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: PHP not working

  1. #1
    Join Date
    Nov 2004
    Posts
    13

    Default PHP not working

    Hi!

    I uploaded my website but the problem is arising in executing the PHP files. Whenever any php file is accessed, then instead of executing the page, the client browser shows the source. I'm sure this is the problem of not setting the right CHMOD.

    Can any body tell me the right CHMOD number to set to make sure all my PHP code executes? :?:

    thnx in advance!

  2. #2
    Join Date
    Dec 2004
    Posts
    20

    Default

    chmod 777 *.php should do it for you, but first, make sure you have php enabled.

  3. #3
    Join Date
    Oct 2004
    Location
    Malaysia,
    Posts
    321

    Default

    Request for php then.
    20 post only.
    then you can request for it!!

  4. #4
    Join Date
    Dec 2004
    Location
    Mel - Aus
    Posts
    34

    Default Ok

    Make sure you have the file type set to php... etc (index.php and not index.html).

    Make sure you start your script with <?php or <?
    Make sure you in your script with ?>
    Make sure the php commands you use are vailed

  5. #5
    Join Date
    Oct 2004
    Location
    Malaysia,
    Posts
    321

    Default

    Where can i change the CHMOD??
    i normally do it 1 by 1!!
    how silly!

  6. #6
    Join Date
    Dec 2004
    Location
    Mel - Aus
    Posts
    34

    Default You

    might beable to do it in filemanager in cpanel, i don't know what it is ike here since my account hasn't been set up yet.

    I can you more info once my account is set up.

  7. #7
    Join Date
    Oct 2004
    Location
    Malaysia,
    Posts
    321

    Default

    :cry:
    then how did your home page get up??

  8. #8
    Join Date
    Oct 2004
    Location
    Malaysia,
    Posts
    321

    Default

    If i sign up using your name, mx.
    you gonna lost your homepage!!

  9. #9
    Join Date
    Dec 2004
    Location
    Mel - Aus
    Posts
    34

    Default Lol

    too late, i already signup, its on the waiting list to get set up.

  10. #10
    Join Date
    Oct 2004
    Location
    Malaysia,
    Posts
    321

    Default

    Hope you can get yours soon,
    BTW i dun want your page,
    is it regarding Flash MX
    or wat ?
    maybe i can visit it when it is done!!

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •