Php Script displaying source on browser instead of executing it

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

    #16
    Originally posted by phoenix90 View Post
    @metulj
    You know what I give up!! I came here to teach beginners proper ways of going forward and to be future ready, NOT just to do it now and worry later on when it gets deprecated kind of attitude (not that I am saying you have that type of attitude), I am not here to argue with you or anyone else, information I posted here was straight from the developers of PHP.
    After all, I started here 6 years ago as a complete "noob" as they call it, I went on to learn and study loads of different coding languages, so just trying to give back to the community..
    But to each their own..
    Anyways, lets get back on topic..

    @wapdxoo
    have you managed to fix your problem?
    I'm not arguing, and I'm not saying which PHP tag is better,
    but the simple fact is that
    PHP Code:
    <? ...
    is exact same as
    PHP Code:
    <?php ...
    if you dont understand that,
    then that is your problem and your lack of knowledge.
    It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
    ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
    ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
    キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

    Comment


      #17
      add this in your .htaccess

      HTML Code:
      <FilesMatch "\.ph(p[2-6]?|tml)$">
          SetHandler application/x-httpd-php
      </FilesMatch>
      sigpic

      Comment


        #18
        Thanks for all your comments on this.. I've been out for a while, i'll upload the script on a paid host this time.. Get back to y'all soon. Thanks

        Comment


          #19
          chmond problem.

          And file format reading when saving a file.

          Save the file as TEXT not assr
          Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
          Visit: WapMasterz Coming Back Soon!
          _______
          SCRIPTS FOR SALE BY SUBZERO
          Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
          FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
          _______
          Info & Tips
          php.net
          w3schools.com

          Comment


            #20
            iThink the problem came from the previous host. Its now perfect!. Thanks y'all.

            Comment

            Working...
            X