PHP Download dialog
When I access one file, I eventually get a dialog to download the file, rather than... whatever it outputs to the screen. All other PHP files work just fine. Using firefox, and in the file I also have:
<?php
$maxTime = 60 * 60 * 12; // Max time - 12 hours
ini_set('max_execution_time', $maxTime);
set_time_limit($maxTime);
@ignore_user_abort(1);
?>
Can anyone explain why it would be doing this?
SonicMailer Pro - Professional mailing list manager & award-winning email marketing software
Download a FREE 30-day trial today!
Use coupon savemoreon4 and save 10%!
pr0gr4mm3r posted this at 18:37 — 22nd April 2007.
He has: 1,502 posts
Joined: Sep 2006
What's your web host? I had a similar problem when working on a site hosted at GoDaddy.com.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.