disable PHP in a specific directory

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

    disable PHP in a specific directory

    to disable php in a specific directory add this line:
    PHP Code:
    php_flag engine off 
    to .htaccess file and upload it to the directory.
    Advertise your mobile site for FREE with AdTwirl


    #2
    very helpful mate! thanks!
    Did I help you?
    You can help me too
    Your donations will help me finance my studies.

    Comment


      #3
      Thank you Gumslone. By the way, Gumslone is a kind of chewingum?
      mysterio.al - programming is a functional art

      Comment


        #4
        you can also this by
        Code:
        Options -ExecCGI  
        AddHandler cgi-script .pl .py .jsp .asp .htm .shtml .sh .cgi
        or
        Code:
        RemoveType .php3 .php .phtml .php4 .php5 .cgi .pl .phps

        Comment


          #5
          GumSlone.GS

          Comment

          Working...
          X