l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
September 2: Social Gathering
Next Installfest:
Sat. Sept. 27, 10am-6pm
Latest News:
Aug. 30: September Installfest scheduled
Page last updated:
2005 Dec 16 08:13
Events
 Meetings
 Installfests
 Demos
 Photos
Services
 Library
 LERT
 Jobs
 Documents
Interact
 Mailing Lists
 - Search
 - Archives
 Chat
About Us
 Members
 Projects
 Testimonials
 Call for Speakers
 Why Not MS?
 Finances
 Sponsors

^Home
?Search
?News & RSS
?Calendar
@Contact Us
$Buy Stuff
=Printable


The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] when is an html image "sent"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] when is an html image "sent"?



yuck.  apparently pcntl_fork() isn't accessible when PHP runs as an apache
module (and i guess it's not available at all for PHP under windows).

i'll just put this on my TODO list and worry about it later.  :(

Thanks, Phil!
Pete



On Fri 16 Dec 05,  7:34 AM, Philip Neustrom <philipn@gmail.com> said:
> nope.  just have it expire after 20 seconds or something.  you're
> keeping a log of the captacha phrases, too, so just delete them
> together.  --Philip Neustrom
> 
> On 12/16/05, Peter Jay Salzman <p@dirac.org> wrote:

(snip)

> > The problem is that when:
> >
> >    unlink($filename);
> >
> > is used to delete the temporary image file, the image doesn't appear on the
> > webpage.  however, if i don't use "unlink", then the image files tend to
> > collect until i hand delete them.
> >
> >
> > i suppose at some point, the image needs to be sent from server to client.
> > when that happens, it would be ok to delete the image file.  i was *hoping*
> > that this would happen immediately after </html> is sent, but it appears
> > that i'm wrong.
> >
> > is there some kind of technique I can use to make sure the image file gets
> > deleted after it's shipped off to the client?
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

CD Burns Wanted!

LUGOD: Linux Users' Group of Davis
1105 Kennedy Place, Suite 1, Davis, CA 95616
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.