Re: [PHP] Validating Form input

2008-05-14 Thread Adam Richardson
I completely agree, server-side validation does always have to exist. That said, I like providing feedback on the validity of a form before the user leaves the page AND I hate duplicating the validation logic in Javascript when it's already present in my PHP. What I did in my PHP framework

[PHP] Re: Scottish Devs

2008-05-14 Thread Manuel Lemos
Hello, on 05/14/2008 01:37 PM Nathan Rixham said the following: > Just had word of a freelance project on for the next 4 weeks, start > immediately, basically 1 static site (design already done) - an easy > job, and 1 static site + a bit of PHP, breadcrumb, site search - it's > £200 GBP a day (so

[PHP] Can I install a newer version of php over an older version

2008-05-14 Thread Tony M
Can I install a newer version of php over an older version ? I am new to php and am in the process of installing it and reading various tutorials. I installed version php-5.2.5-win32-installer.msi I have just downloaded php-5.2.6-win32-installer.msi can I install over the first one or must I u

Re: [PHP] Good HTML parser needed

2008-05-14 Thread Yi Wang
Gabriel Sosa wrote: this one strip_tags('%3C%68%31%3E%68%65%6C%6C%6F%20%77%6F%72%6C%64%3C%2F%68%31%3E'); aka hello world using urlencode from http://ha.ckers.org/xss.html take care the possible xss saludos gabriel On Wed, May 14, 2008 at 11:56 PM, Yi Wang <[EMAIL PROTECTED]> wrote: Can

Re: [PHP] Variable Scope from child to parent

2008-05-14 Thread Gabriel Sosa
tyson i never saw self::$this->vkeys doing this you actually are callig the var inside $this->vkeys do self::$vkeys as static or $this->vkeys as object don't mix regards On Wed, May 14, 2008 at 7:33 PM, Tyson Vanover <[EMAIL PROTECTED]> wrote: > I am trying to get a child class to pass an ar

Re: [PHP] Validating Form input

2008-05-14 Thread Robert Cummings
On Wed, 2008-05-14 at 21:48 -0500, Chris W wrote: > I was wondering what others think of my approach to form validation. I > know many use Java script to do various validation. However, since > there is no way to be sure the data sent to the server is actually > valid, you have to check it in

[PHP] Using SVN w/ Zend Studio for Eclipse

2008-05-14 Thread Steve Finkelstein
Hey all, Apologies ahead of time if this isn't the appropriate forum for my inquiry. I'm evaluating Zend Studio for Eclipse and it's certainly making some features that I'd hope would be trivial, extremely onerous. I'm simply trying to take an existing project which I started in TextMate and impo

Re: [PHP] Tracking down the elusive "expecting T_PAAMAYIM_NEKUDOTAYIM"

2008-05-14 Thread Gabriel Sosa
On Wed, May 14, 2008 at 5:43 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > On Wed, May 14, 2008 at 4:05 PM, Tyson Vanover <[EMAIL PROTECTED]> wrote: >> I have a class that is throwing the error: >> syntax error, unexpected ')', expecting T_PAAMAYIM_NEKUDOTAYIM ... > >You're using a Hebrew versi

Re: [PHP] Validating Form input

2008-05-14 Thread Dan Joseph
On Wed, May 14, 2008 at 10:48 PM, Chris W <[EMAIL PROTECTED]> wrote: > I was wondering what others think of my approach to form validation. I > know many use Java script to do various validation. However, since there is > no way to be sure the data sent to the server is actually valid, you have

Re: [PHP] Validating Form input

2008-05-14 Thread Yi Wang
client validation is a way to provide quick response to the user for whether their input is correct or not. It doesn't guarantee correctness of the posted data. Because everything from client can't be trusted. On 5/15/08, Chris W <[EMAIL PROTECTED]> wrote: > I was wondering what others think of my

Re: [PHP] Good HTML parser needed

2008-05-14 Thread Yi Wang
Can anyone provide some code that can't be stripped by strip_tags? On 5/15/08, Eric Butera <[EMAIL PROTECTED]> wrote: > On Wed, May 14, 2008 at 11:38 AM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > > > > > On Wed, 2008-05-14 at 11:18 -0400, Eric Butera wrote: > > > On Tue, May 13, 2008 a

[PHP] Validating Form input

2008-05-14 Thread Chris W
I was wondering what others think of my approach to form validation. I know many use Java script to do various validation. However, since there is no way to be sure the data sent to the server is actually valid, you have to check it in your php code on the server anyway. Granted you don't ha

Re: [PHP] Good HTML parser needed

2008-05-14 Thread Shelley
Yeah, you are right, friend. Because users' input should be in tag only. On Wed, May 14, 2008 at 11:06 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Wed, 2008-05-14 at 18:50 +0800, Shelley wrote: > > Thank you all. > > I have made it working excellent for me now. > > The solution is here

Re: [PHP] Mic check 1, 2, 3...

2008-05-14 Thread Tyson Vanover
tedd wrote: At 1:50 PM -0700 5/14/08, Jim Lucas wrote: Just wondering if the mailing list is working. I have not received anything from this list today. -- Jim Lucas If you don't receive this, please let me know. Cheers, tedd Wait... the recursive not testing of that statement just cra

[PHP] Variable Scope from child to parent

2008-05-14 Thread Tyson Vanover
I am trying to get a child class to pass an array of valid keys to it's parent when the constructor is run, and the parent appends the data to one of it's array of valid keys. Then it walks through an array pulling out values that have valid keys, and putting them in an array for processing la

Re: [PHP] Tracking down the elusive "expecting T_PAAMAYIM_NEKUDOTAYIM"

2008-05-14 Thread Tyson Vanover
Daniel Brown wrote: $value) { // You just missed the $ before value. ?> This seems to be the culprit. Also, check this line: titles) ?> You're missing a ')' to close the if() statement. It's not causing this problem, but it will cause a problem afterward. Thanks for catching th

Re: [PHP] Mic check 1, 2, 3...

2008-05-14 Thread Daniel Brown
On Wed, May 14, 2008 at 4:50 PM, Jim Lucas <[EMAIL PROTECTED]> wrote: > Just wondering if the mailing list is working. I have not received anything > from this list today. I saw a response from you come through to the "elusive" thread. So it looks like it's working both ways for you now. --

Re: [PHP] Tracking down the elusive "expecting T_PAAMAYIM_NEKUDOTAYIM"

2008-05-14 Thread Daniel Brown
On Wed, May 14, 2008 at 4:51 PM, mike <[EMAIL PROTECTED]> wrote: > I've got that before and I am not using a Hebrew version of PHP :) Yeah, just a joke. I forgot to put the Trademark ;-P in its place. The etymology of that message could be attributed to the fact that Zeev and Andi are Is

RE: [PHP] Tracking down the elusive "expecting T_PAAMAYIM_NEKUDOTAYIM"

2008-05-14 Thread Boyd, Todd M.
In your code, it appears you forgot to close a pair of parentheses: --- foreach($set as $key=>value) { if (array_key_exists($key,$this->titles) { $this->a[$key] = $value; } } --- It looks like that 3rd line should be: --- if (array_key_e

Re: [PHP] Mic check 1, 2, 3...

2008-05-14 Thread Bastien Koert
On Wed, May 14, 2008 at 4:56 PM, tedd <[EMAIL PROTECTED]> wrote: > At 1:50 PM -0700 5/14/08, Jim Lucas wrote: > >> Just wondering if the mailing list is working. I have not received >> anything from this list today. >> >> -- >> Jim Lucas >> > > If you don't receive this, please let me know. > > C

Re: [PHP] Mic check 1, 2, 3...

2008-05-14 Thread tedd
At 1:50 PM -0700 5/14/08, Jim Lucas wrote: Just wondering if the mailing list is working. I have not received anything from this list today. -- Jim Lucas If you don't receive this, please let me know. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstone

Re: [PHP] Tracking down the elusive "expecting T_PAAMAYIM_NEKUDOTAYIM"

2008-05-14 Thread mike
I've got that before and I am not using a Hebrew version of PHP :) On 5/14/08, Daniel Brown <[EMAIL PROTECTED]> wrote: >You're using a Hebrew version of PHP? > >That means something along the lines of "two times the two marks" in > Hebrew. -- PHP General Mailing List (http://www.php.ne

[PHP] Mic check 1, 2, 3...

2008-05-14 Thread Jim Lucas
Just wondering if the mailing list is working. I have not received anything from this list today. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William Shakespeare -- PHP Gener

Re: [PHP] Tracking down the elusive "expecting T_PAAMAYIM_NEKUDOTAYIM"

2008-05-14 Thread Daniel Brown
On Wed, May 14, 2008 at 4:05 PM, Tyson Vanover <[EMAIL PROTECTED]> wrote: > I have a class that is throwing the error: > syntax error, unexpected ')', expecting T_PAAMAYIM_NEKUDOTAYIM ... You're using a Hebrew version of PHP? That means something along the lines of "two times the two mark

RE: [PHP] Tracking down the elusive "expecting T_PAAMAYIM_NEKUDOTAYIM"

2008-05-14 Thread Jay Blanchard
[snip] I have a class that is throwing the error: syntax error, unexpected ')', expecting T_PAAMAYIM_NEKUDOTAYIM ... [/snip] Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM (Hebrew) It means "there's an unexpected double colon where there shouldn't have been". self::$this->titles =

[PHP] Re: Two word array Value

2008-05-14 Thread Tyson Vanover
Mark Bomgardner wrote: When I submit the form I am only getting the following having checked the boxes for Mail Classroom and Break Out Classroom. If I eliminate the spaces between the words, I get everything, but when I put the spaces between the words in the array, it cuts off the second word

Re: [PHP] JavaScript and PHP

2008-05-14 Thread tedd
At 7:31 PM +0100 5/14/08, Mário Gamito wrote: Hi, I have this HTML/JS page that switches images clicking on the radio buttons and call template.php with the image ID as parameter: http://portulan-online.net/einstein.html Now, I need to make it a PHP page, because it is going to receive a p

Re: [PHP] Two word array Value

2008-05-14 Thread Daniel Brown
On Wed, May 14, 2008 at 4:02 PM, Mark Bomgardner <[EMAIL PROTECTED]> wrote: > I am trying to use array's to populate a group of check boxes for a form. I > am getting the checkboxes to print OK, but when the form is posted I am only > getting part of the array. [snip!] Looks like someone's

[PHP] Tracking down the elusive "expecting T_PAAMAYIM_NEKUDOTAYIM"

2008-05-14 Thread Tyson Vanover
I have a class that is throwing the error: syntax error, unexpected ')', expecting T_PAAMAYIM_NEKUDOTAYIM ... It is appearing in the constructor of a parent class abstract class parent { protected $titles = array('title1','title2','title3'); protected $a; function __construct($se

Re: [PHP] Two word array Value

2008-05-14 Thread Jason Murray
Try: echo "". $value.""; On Wed, May 14, 2008 at 4:02 PM, Mark Bomgardner <[EMAIL PROTECTED]> wrote: > I am trying to use array's to populate a group of check boxes for a form. > I > am getting the checkboxes to print OK, but when the form is posted I am > only > getting part of the array. >

[PHP] Two word array Value

2008-05-14 Thread Mark Bomgardner
I am trying to use array's to populate a group of check boxes for a form. I am getting the checkboxes to print OK, but when the form is posted I am only getting part of the array. Form Page: $vars = array("Main Classroom" => "Main Classroom", "Break Out Classroom" => "Break Out Classroom",

Re: [PHP] Replacing accented characters by non-accented characters

2008-05-14 Thread Dotan Cohen
2008/5/14 Bastien Koert <[EMAIL PROTECTED]>: > Why should the server folder name matter? Make it a hash and store the user > provided name in a db. Then when presenting the data to the user just show > the user provided name as the folder name. This would also handle multiple > users trying to use

Re: [PHP] JavaScript and PHP

2008-05-14 Thread Dan Joseph
On Wed, May 14, 2008 at 2:31 PM, Mário Gamito <[EMAIL PROTECTED]> wrote: > Hi, > > I have this HTML/JS page that switches images clicking on the radio buttons > and call template.php with the image ID as parameter: > http://portulan-online.net/einstein.html > > Now, I need to make it a PHP page, b

[PHP] JavaScript and PHP

2008-05-14 Thread Mário Gamito
Hi, I have this HTML/JS page that switches images clicking on the radio buttons and call template.php with the image ID as parameter: http://portulan-online.net/einstein.html Now, I need to make it a PHP page, because it is going to receive a parameter from the URL that calls it and pass it

Re: [PHP] validating textarea using php

2008-05-14 Thread Dotan Cohen
2008/5/14 Richard Heyes <[EMAIL PROTECTED]>: > That really should be expected. You can't expect something to last forever > without tweaking it on occassion. And in the case of going from PHP 5 - 6, > the "tweaking" required may well be major, becxcause it's a major version > change. Exactly. Tha

[PHP] Scottish Devs

2008-05-14 Thread Nathan Rixham
Afternoon, Just had word of a freelance project on for the next 4 weeks, start immediately, basically 1 static site (design already done) - an easy job, and 1 static site + a bit of PHP, breadcrumb, site search - it's £200 GBP a day (so about £4k for the next 4 weeks), ideally for somebody wh

Re: [PHP] Good HTML parser needed

2008-05-14 Thread Eric Butera
On Wed, May 14, 2008 at 11:38 AM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > > On Wed, 2008-05-14 at 11:18 -0400, Eric Butera wrote: > > On Tue, May 13, 2008 at 4:07 AM, James Dempster <[EMAIL PROTECTED]> wrote: > > > http://htmlpurifier.org/ > > > > > > -- > > > /James > > > > > > >

Re: [PHP] php 5.2.6 make failure

2008-05-14 Thread Per Jessen
Steven Perez wrote: > ext/openssl/openssl.o: In function `zif_openssl_sign': > /home/sperez/php-5.2.6/ext/openssl/openssl.c:3525: undefined reference > to `EVP_MD_CTX_cleanup' > ext/openssl/openssl.o: In function `zif_openssl_verify': > /home/sperez/php-5.2.6/ext/openssl/openssl.c:3565: undefined

[PHP] Question about setting up FTP Upload and using the FTP suite...

2008-05-14 Thread Mike McGonagle
Hello all, I am just trying to see if I can connect up with my internal FTP server from our website. The server is accessible from the outside world, as we can log in using a client, etc. I am not really sure how to troubleshoot this, but below is the script that I have. I "found" it on the net (an

Re: [PHP] Good HTML parser needed

2008-05-14 Thread James Dempster
> > "Purifier will not only remove all malicious code (better known as XSS) > with a thoroughly audited, secure yet permissive whitelist, it will also > make sure your documents are *standards compliant."* > Set it up how you want it. -- /James On Wed, May 14, 2008 at 4:38 PM, Robert Cummings <[E

Re: [PHP] Good HTML parser needed

2008-05-14 Thread Robert Cummings
On Wed, 2008-05-14 at 11:18 -0400, Eric Butera wrote: > On Tue, May 13, 2008 at 4:07 AM, James Dempster <[EMAIL PROTECTED]> wrote: > > http://htmlpurifier.org/ > > > > -- > > /James > > > > This is the only real solution. That depends... if I'm the webmaster and I want to input arbitrary HTML,

Re: [PHP] convert query result to array

2008-05-14 Thread Philip Thompson
On May 13, 2008, at 6:35 AM, Sanjeev N wrote: fetchAll() works if php version is greater than 5. As Wang suggested, we should write our own function. its easy... i have done so many times for larger database. Store earch rows of the resultset in the array (multidimensional ie. 2). and then

Re: [PHP] How to get user IP address

2008-05-14 Thread Wolf
hce <[EMAIL PROTECTED]> wrote: > Hi, > > How to get user IP address in a PHP server? > > Thank you. > > Jim RTFM, Google, PHP.net are GREAT resources What part of the code are you having an issue with? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

Re: [PHP] Good HTML parser needed

2008-05-14 Thread Eric Butera
On Tue, May 13, 2008 at 4:07 AM, James Dempster <[EMAIL PROTECTED]> wrote: > http://htmlpurifier.org/ > > -- > /James > This is the only real solution. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Safe mode story

2008-05-14 Thread Philip Thompson
On May 11, 2008, at 12:06 AM, admin wrote: [snip!] Safe mode has _got_ to be there for some good reason. Read on about PHP6 Scroll down to where the title is "Things removed" - notice that

Re: [PHP] Good HTML parser needed

2008-05-14 Thread Robert Cummings
On Wed, 2008-05-14 at 18:50 +0800, Shelley wrote: > Thank you all. > I have made it working excellent for me now. > The solution is here: http://phparch.cn Ah, there you go... "show_body_only". I was too lazy when I used tidy a while back to look through every option, so a quick preg stripping su

[PHP] Re: $_SESSION NOT WORKING --SOLVED

2008-05-14 Thread Daniel Brown
On Wed, May 14, 2008 at 9:47 AM, Thiago Pojda <[EMAIL PROTECTED]> wrote: > > I never heard of such extension. You should report this bug :) > > And you're welcome ;) I agree, Balpo. You should submit the details of your findings at http://bugs.php.net/ and let us check it out. -- Dedicat

Re: [PHP] using variable in php form before the form is POSTed

2008-05-14 Thread Bastien Koert
On Tue, May 13, 2008 at 9:02 AM, tedd <[EMAIL PROTECTED]> wrote: > At 2:44 PM -0700 5/12/08, milt wrote: > >> I have a form that will be filled in by the user, I want to have access to >> the content of one of the fields in that form, in order to fill in an >> another variable that is not part of

Re: [PHP] Replacing accented characters by non-accented characters

2008-05-14 Thread Bastien Koert
On Tue, May 13, 2008 at 8:39 AM, Per Jessen <[EMAIL PROTECTED]> wrote: > Yannick Warnier wrote: > > > That would probably work out if it wasn't too dependent on the locales > > to work. I'm developing an open-source product which could end up on a > > server without the locales for French but be u

[PHP] RES: $_SESSION NOT WORKING --SOLVED

2008-05-14 Thread Thiago Pojda
I never heard of such extension. You should report this bug :) And you're welcome ;) Atenciosamente, www.softpartech.com.br Thiago Henrique Pojda Desenvolvimento Web +55 41 3033-7676 [EMAIL PROTECTED] Excelência em Softwares Financeiros -Mensagem original- De: Balpo [mailto:[EMAIL PRO

Re: [PHP] validating using php

2008-05-14 Thread Iv Ray
Sudhakar wrote: > if( strlen(trim($name) == 0 ) || !preg_match('/^[a-zA-Z ]+$/x', $name) ) > { > $error.="Name is blank or has special characters "; > } You have messed up the brackets. This - strlen(trim($name) == 0 ) should be - strlen(trim($name)) == 0 Then the script does what you want.

Re: [PHP] validating textarea using php

2008-05-14 Thread Richard Heyes
Dotan Cohen wrote: 2008/5/14 Richard Heyes <[EMAIL PROTECTED]>: Any host that upgrades the PHP version (a major upgrade considering it would be 5 - 6) without notifying Customers isn't a very good hosting company, and you really should change to a better one (Rackspace are good). Even 1and1 don

Re: [PHP] validating textarea using php

2008-05-14 Thread Dotan Cohen
2008/5/14 Richard Heyes <[EMAIL PROTECTED]>: > Any host that upgrades the PHP version (a major upgrade considering it > would be 5 - 6) without notifying Customers isn't a very good hosting > company, and you really should change to a better one (Rackspace are good). > Even 1and1 don't do that and

RE: [PHP] How to get user IP address

2008-05-14 Thread Chris Haensel
-Original Message- From: hce [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 14, 2008 2:07 PM To: php-general@lists.php.net Subject: [PHP] How to get user IP address Hi, How to get user IP address in a PHP server? Thank you. Jim -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] How to get user IP address

2008-05-14 Thread Eric Butera
On Wed, May 14, 2008 at 8:06 AM, hce <[EMAIL PROTECTED]> wrote: > Hi, > > How to get user IP address in a PHP server? > > Thank you. > > Jim > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > $_SERVER["REMOTE_ADDR"] -- PHP Gene

[PHP] How to get user IP address

2008-05-14 Thread hce
Hi, How to get user IP address in a PHP server? Thank you. Jim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Scripts slowing down?

2008-05-14 Thread Per Jessen
René Leboeuf wrote: > The user sending emails is "trusted" by sendmail, and the sending > program is located on the sendmail machine. > No need to use SMTP then. You should just be calling sendmail to drop the emails into the queue. And that should not be slowing down. > Mail is sent via PHP

Re: [PHP] how do I stop Firefox doing a conditional get?

2008-05-14 Thread Per Jessen
Robin Vickery wrote: > 2008/5/14 Per Jessen <[EMAIL PROTECTED]>: >> >> The issue is - I'd like this page to appear to be as "real time" as >> possible, and the occasional delay caused by the conditional get is >> a nuisance. My images are clearly cached, so how do I prevent >> Firefox from do

Re: [PHP] Good HTML parser needed

2008-05-14 Thread Shelley
Thank you all. I have made it working excellent for me now. The solution is here: http://phparch.cn On Tue, May 13, 2008 at 1:34 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Tue, 2008-05-13 at 01:27 -0400, Robert Cummings wrote: > > On Tue, 2008-05-13 at 12:28 +0800, Shelley wrote: > > >

Re: [PHP] how do I stop Firefox doing a conditional get?

2008-05-14 Thread Robin Vickery
2008/5/14 Per Jessen <[EMAIL PROTECTED]>: > All, > > not really PHP related, but I figured someone here would already > have solved this problem. > I've got a page with a single . I change the src attribute > dynamically using javascript. Although the images being served all > have long expi

Re: [PHP] Good XML Parser

2008-05-14 Thread Shelley
Thank you all. Maybe you didn't get what I meant. I have made it working excellent for me. I have summarized the solution: http://phparch.cn On Wed, May 14, 2008 at 11:10 AM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On Tue, May 13, 2008 at 7:29 PM, Waynn Lue <[EMAIL PROTECTED]> wrote: > > > Ok,

[PHP] how do I stop Firefox doing a conditional get?

2008-05-14 Thread Per Jessen
All, not really PHP related, but I figured someone here would already have solved this problem. I've got a page with a single . I change the src attribute dynamically using javascript. Although the images being served all have long expiry times, Firefox still does a conditional get to which a

[PHP] Re: Scripts slowing down?

2008-05-14 Thread René Leboeuf
Peter Ford a écrit : René Leboeuf wrote: Hi. I'm running a large website. I have some mailing scripts that take days to run. I noticed these scripts slow down with time, sometimes going to an almost complete stop (no mail sent for several minutes). The source code is trivial and can't contain

Re: [PHP] validating textarea using php

2008-05-14 Thread Richard Heyes
A lot of people think that Can't fault them. > until their host upgrades php. Any host that upgrades the PHP version (a major upgrade considering it would be 5 - 6) without notifying Customers isn't a very good hosting company, and you really should change to a better one (Rackspace are goo

Re: [PHP] Scripts slowing down?

2008-05-14 Thread René Leboeuf
Per Jessen a écrit : René Leboeuf wrote: I'm running a large website. I have some mailing scripts that take days to run. I noticed these scripts slow down with time, sometimes going to an almost complete stop (no mail sent for several minutes). The source code is trivial and can't contain a l

Re: [PHP] validating textarea using php

2008-05-14 Thread Dotan Cohen
2008/5/14 Chris W <[EMAIL PROTECTED]>: >> A lot of people think that, until their host upgrades php. Have you >> seen how many things are being removed for php6? > > From the article I read, that isn't one of them. > That issue specifically, no. However, portable code is desirable even if your cod

[PHP] Re: Can Safari 3 be forced to cache a large jpeg with PHP headers?

2008-05-14 Thread Colin Guthrie
Chris wrote: Rob Gould wrote: I am creating a touch-screen kiosk application, using a full-screen version of Safari 3.1, and was wondering if there's a way I can force Safari to cache a large background image JPEG. What I'm finding is that Safari 3 will sometimes cache my large 1.1 MB backgro