why i get the download dialogue box while previewing php page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • farahkhan
    New Member
    • Aug 2010
    • 2

    #1

    why i get the download dialogue box while previewing php page

    i integrated a php file named as ssr2 by using the code line
    Code:
    <?php include("ssr2.php"); ?>
    the two files are in same directory. but when i preview the file in browser, instead of displaying form, a dialogue box opens that gives the option of download of ssr2. i want to get rid of this download option if anyone can help me
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    are you setting any headers anywhere?

    Comment

    • farahkhan
      New Member
      • Aug 2010
      • 2

      #3
      no im not setting any header ..header for what ?/

      Comment

      Working...