Jump to content

someone

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Posts posted by someone

  1. Greetings,

    The AddType directive will cure your problem.

    Note in the list below the part that includes the .inc

    at the end. That\'s the line you need to prevent ppl

    from having your source dumped to their browser when

    calling your .inc files in their location box on their

    browsers.

    Just add the line next to your other PHP directives

    in the global section of your httpd.conf file.

     

    
       AddType application/x-httpd-php .php
    
       AddType application/x-httpd-php .php4
    
       AddType application/x-httpd-php-source .phps
    
       AddType application/x-httpd-php .phtml
    
       AddType application/x-httpd-php .inc
    
    

     

    Best wishes,

    Chris

  2. Greetings,

    One place to look in regards to the cookie handling,

    is in your php.ini file. There is a section specifically

    regarding wheather or not, and how PHP will handle

    cookies. This does not mean that your script may

    not be the reason. It is simply one reason you may be

    having trouble.

     

    Best wishes,

    Chris

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.