Re: [PHP-WIN] Fatal Error: Allocated memory size problem...

2007-03-05 Thread Stut
Hartleigh Burton wrote: You were in the right area thats for sure. I had a look through where the script was ending a bit closer... there is a function i use to make the sql query safe for inserts if magic quotes is not on thats something like this... function WalkAddSlashes(&$item, $key) { i

Re: [PHP-WIN] Fatal Error: Allocated memory size problem...

2007-03-05 Thread Hartleigh Burton
Hi Stut, You were in the right area thats for sure. I had a look through where the script was ending a bit closer... there is a function i use to make the sql query safe for inserts if magic quotes is not on thats something like this... function WalkAddSlashes(&$item, $key) { if(!

Re: [PHP-WIN] base64 encoded images and printing

2007-03-05 Thread bedul
umm.. sry this kind oot but might related do you ever upload pic to imageshack? one of their fitur was zip upload. where you send a zip (contain n pic inside) where same as u upload many pic.. i wonder what the script.. anyone have it? - Original Message - From: "Kevin Smith" <[EMAIL PROT

Re: [PHP-WIN] base64 encoded images and printing

2007-03-05 Thread Kevin Smith
Hi Bill, This is what I've used for the last 4 years or so and works in every browser that I've come across, obviously the data is being called from a database instead. $query = "select bin_data, file_type from content_images where image_id=".$_GET['id']; $result = mysql_query($query)

RE: [PHP-WIN] base64 encoded images and printing

2007-03-05 Thread Bill Bolte
Update, I have it working in IE7 but not IE6. I can view it in both IE6-7, but it only prints in IE7. here's what I'm doing... '; ?> fetch.php is thus, read file and delete: anyone have any other ideas to try? __ -Original Message- From: Bill Bolte [mailto:[EMAIL PROTE

Re: [PHP-WIN] Fatal Error: Allocated memory size problem...

2007-03-05 Thread Hartleigh Burton
I am using a longblob to store the file data, however this seems to be a php error rather than a mysql error. On 05/03/2007, at 5:22 PM, Gustav Wiberg wrote: Hi there! What fieldtype do you try to store the file in? Best regards /Gustav Wiberg -Original Message- From: Hartleigh

Re: [PHP-WIN] php_http

2007-03-05 Thread datsclark
BZ2 shouldn't be needed, but I enabled it anyway. http still doesn't load. I've gone with CURL at this point, but i'm still curious why I can't get HTTP to load. Odd. "Edin Kadribasic" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > And bz2? That needs to be enabled and loaded

[PHP-WIN] base64 encoded images and printing

2007-03-05 Thread Bill Bolte
in a nutshell, i'm displaying a base64 encoded image (that is being parsed from a remote xml file) in the browser doing a simple header output: it will print fine with Firefox but nothing in IE (just a box with an x in the corner). didn't realize that IE wouldn't print these. am i stuck with hav

Re: [PHP-WIN] Fatal Error: Allocated memory size problem...

2007-03-05 Thread Stut
Hartleigh Burton wrote: I am having some problems while uploading a file to a MySQL database relating to file sizes. I have created a script which successfully uploads most files to the database, however anything roughly over 1MB in size seems to return a PHP error. I am not trying to upload an

[PHP-WIN] RE: [PHP-DB] Re: [PHP-WIN] Fatal Error: Allocated memory size problem...

2007-03-05 Thread Bastien Koert
check your php ini file for memory limits and filesize limits. Also check the mysql (if that is where the problem is) config to make sure you have enough resources allocated in memory bastien From: "bedul" <[EMAIL PROTECTED]> To: "Hartleigh Burton" <[EMAIL PROTECTED]> CC: , Subject: [PHP-DB]

RE: [PHP-WIN] Fatal Error: Allocated memory size problem...

2007-03-05 Thread Gustav Wiberg
Hi there! Maybe this link may help? http://codex.gallery2.org/Gallery1:FAQ#Why_do_I_get_the_error_Allowed_memory_size_of_Xxx_bytes_exhausted.3F Best regards /Gustav Wiberg -Original Message- From: bedul [mailto:[EMAIL PROTECTED] Sent: Monday, March 05, 2007 8:51 AM To: Gustav Wiberg Cc