Search found 5 matches
- Wed Jul 20, 2011 4:54 am
- Forum: Coding Critique
- Topic: Fastcgi disconnect - anyone know if this is 'good'?
- Replies: 7
- Views: 9398
Re: Fastcgi disconnect - anyone know if this is 'good'?
Surely a better method is to fork() a process to churn the query, then return HTTP 200 to say "ok, received"? I also experimented with forking and killing the parent process, unfortunatly it's a no go when using mod_php + apache. Only cgi's will succesfully break the connection. Another d...
- Wed Jul 20, 2011 4:51 am
- Forum: Coding Critique
- Topic: Fastcgi disconnect - anyone know if this is 'good'?
- Replies: 7
- Views: 9398
Re: Fastcgi disconnect - anyone know if this is 'good'?
I found just the solution to this problem and had it tested and working with firefox 4/5 (win/linux) and IE 8/9 (havn't tested anything else). My solution consists of sending the right headers (Content-length: XXX, Connection: close). I have this posted on my blog with 2 examples: How to kill an HTT...
- Wed Jul 20, 2011 4:45 am
- Forum: PHP - Code
- Topic: Displaying .php file in ad server. Something im missing?
- Replies: 6
- Views: 871
Re: Displaying .php file in ad server. Something im missing?
Also, be aware of white spaces, a common mistake in generating dyn images! A single trailing whitespace in a .php file is enough to break the encoding! Don't use closing php tags helps avoid this as well as output buffering with the ob_* functions. Good luck
- Wed Jul 20, 2011 4:43 am
- Forum: PHP - Code
- Topic: Displaying .php file in ad server. Something im missing?
- Replies: 6
- Views: 871
Re: Displaying .php file in ad server. Something im missing?
There's no problem using dynamicly generated images, I have personnly been involved doing just that on the openx platform. Be sure to send the right headers HTTP and not to timeout though! header('Content-type: image/png'); # jpeg, gif, etc I would highly recommend you set up some sort of caching so...
- Wed Jul 20, 2011 4:32 am
- Forum: Linux
- Topic: What is the best Linux distribution?
- Replies: 14
- Views: 44545
Re: What is the best Linux distribution?
There is no such thing, as "the best distro". It depends on your needs. For example, Ubuntu devs do a really good job and I appreciate their product, but personally, I use Arch Linux and I can't imagine chaning it to anything else. And for servers, I'd choose yet another distro. QFT. I'm ...