Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Jun 2009
    Posts
    278
    Thanks
    78
    Thanked 2 Times in 2 Posts

    Php not Displaying

    What are some reasons <?php ?> codes dont do anything?

    Other than the host doesnt support it.


    I have a folder that is working with php, but the other one doesnt.

  • #2
    Senior Coder Dormilich's Avatar
    Join Date
    Jan 2010
    Location
    Behind the Wall
    Posts
    3,240
    Thanks
    12
    Thanked 340 Times in 336 Posts
    you could explicitly disable PHP through server configuration.

  • Users who have thanked Dormilich for this post:

    Ndogg (01-27-2010)

  • #3
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,852
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    You might be using that tags inside a file with no .php extension.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • Users who have thanked abduraooft for this post:

    Ndogg (01-27-2010)

  • #4
    Regular Coder
    Join Date
    Jun 2009
    Posts
    278
    Thanks
    78
    Thanked 2 Times in 2 Posts
    Thanks I think that was it, but it workedon the other host :/ and now its not connecting to the host :|

  • #5
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,466
    Thanks
    8
    Thanked 1,085 Times in 1,076 Posts
    You can command your server to process .html and .htm files as PHP by using .htaccess

    Maybe you had that set in the .htaccess or webhost config file?


  •  

    Posting Permissions

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