Re: [PHP] php die function for MySQL connection errors

2004-08-16 Thread raditha dissanayake
Ford, Mike [LSS] wrote: On 14 August 2004 15:50, raditha dissanayake wrote: Ford, Mike [LSS] wrote: (And, BTW, the HTTP definition says that the Location: header should specify a full absolute URL, so that should be: header("Location: http://your.server.name/path/to/error

Re: [PHP] Cache

2004-08-16 Thread raditha dissanayake
Octavian Rasnita wrote: Hi all, I want to create an html cache of a page, like when that page is saved to the disk and let the visitors download that static page and not a dynamic one. Of course, a dynamic PHP program will load that static page and display it, but without need to connect to databas

Re: [PHP] Persistent data across page calls

2004-08-16 Thread raditha dissanayake
Aaorn Miller wrote: Hi I have a site that uses a large number of data arrays that are nearly static (change once a week or less) they are used on almost every page in the site Currently I have them as a separate file that is included at the top of each script page. I would like a way to cache? th

Re: [PHP] cache was:Re: Compile

2004-08-16 Thread raditha dissanayake
Gentlemen, After some study I am very confident that the best solution is to use squid accelarator rather with out with out any of these caching programs. The ideas is this you can run squid 'in front of' your webserver and it will cache the generated html output from the php script and deliver

RE: [PHP] CSRF attack not possible in I.E. 6.01 SP1?

2004-08-16 Thread Saqib . N . Ali
Thanks Curt, Chris and Ed, It is indeed the disabling of third-party cookies that is causing this behaviour in I.E. :) So thanks all the help :) Thanks. Saqib Ali http://validate.sf.net <<< XHTML/DocBook XML Validator and Transformer "Ed Lazor" <[EMAIL PROTECTED]> No Phone Info Available

[PHP] Move_uploaded_file()

2004-08-16 Thread [EMAIL PROTECTED]
Warning: move_uploaded_file([Œabsolute_path¹]/file.csv): failed to open stream: Permission denied in [Œabsolute_path¹]/file.csv on line 83 Warning: move_uploaded_file(): Unable to move '/tmp/phpXT5j85' to '[Œabsolute_path¹]/file.csv' in [Œabsolute_path¹]/file.csv on line 83 I get the above errors

Re: [PHP] Cache

2004-08-16 Thread pan
> >The problem is that I don't know how to automaticly decide when it is the > >right moment to update the cache and this is very important. > >I get some data from a database and the PHP program doesn't know when the > >database gets updated by another program, so it cannot create the cache for >

Re: [PHP] Move_uploaded_file()

2004-08-16 Thread Jason Wong
On Tuesday 17 August 2004 09:38, [EMAIL PROTECTED] wrote: > Warning: move_uploaded_file([Œabsolute_path¹]/file.csv): failed to open > stream: Permission denied in [Œabsolute_path¹]/file.csv on line 83 Give php permissions to [Œabsolute_path¹]/ ? -- Jason Wong -> Gremlins Associates -> www.greml

<    1   2