WEB PHP issue, Wamp Server

Discussion in 'OT Technology' started by SmugZombie, Feb 16, 2010.

  1. SmugZombie

    SmugZombie OT Supporter

    Joined:
    Aug 2, 2006
    Messages:
    3,783
    Likes Received:
    0
    Location:
    Purgatory
    Can someone tell me why this is doing this, and how to fix it. Its josh's uploaded but it works fine on my normal server, just not on my dev (wamp) server.

    [​IMG]
     
  2. fishbulb

    fishbulb Active Member

    Joined:
    Oct 29, 2001
    Messages:
    6,848
    Likes Received:
    4
    Location:
    md
    Looks like php is not running/configured properly since it's outputting the PHP code as plaintext
     
  3. SmugZombie

    SmugZombie OT Supporter

    Joined:
    Aug 2, 2006
    Messages:
    3,783
    Likes Received:
    0
    Location:
    Purgatory

    But it runs simple php pages with no issue.

    By simple i mean if statements / posts/ gets / variables/ echos...

    same kinda thing happens with shoutbox...
     
  4. SmugZombie

    SmugZombie OT Supporter

    Joined:
    Aug 2, 2006
    Messages:
    3,783
    Likes Received:
    0
    Location:
    Purgatory
  5. SmugZombie

    SmugZombie OT Supporter

    Joined:
    Aug 2, 2006
    Messages:
    3,783
    Likes Received:
    0
    Location:
    Purgatory
    Figured it out...

    Wamp server is default to short_open_tag (<? ?>) to off so it will only work with (<?php ?>) tags.

    Going into the php.ini file and changing short_open_tag to on fixed my problem.
     
  6. Josh

    Josh Guest

    i was looking at ur pic before you said it was mine... thinking wow this looks JUST LIKE MY SCRIPT!!!
     
  7. SmugZombie

    SmugZombie OT Supporter

    Joined:
    Aug 2, 2006
    Messages:
    3,783
    Likes Received:
    0
    Location:
    Purgatory
    lulz, i try to give credit when im posting where the coder can see ;)

    Thanks for the patch information.
     

Share This Page