The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP Question

Discussion in 'cPanel Developers' started by bert, Feb 19, 2010.

  1. bert

    bert Well-Known Member

    Joined:
    Aug 21, 2001
    Messages:
    602
    Likes Received:
    0
    Trophy Points:
    16
    Hi guys,

    wonder if someone could help me, this is probably something pretty simple, but I have no clue.

    I have a PHP script configured on this server, the script basically generates headers and downloads a file to the user. I noticed that while you are downloading the file (these are large files 500+ MB BTW), you can't browse anything on the web site. It is almost as if PHP execution stops while the files are downloading. As soon as the file finishes downloading, then the server starts responding again. Is this a PHP or Apache issue or am I missing something?

    Thanks in advance for the help!

    Bert
     
  2. bert

    bert Well-Known Member

    Joined:
    Aug 21, 2001
    Messages:
    602
    Likes Received:
    0
    Trophy Points:
    16
    Got it figured out, I didn't realize I had to end the session just before sending the file to the user.
     
Loading...

Share This Page