Prathaban Mookiah wrote:
Yes, turning off the magic_quotes_runtime directive makes a difference. But
the image is still distorted. All three magic_quotes directives are now set to
the same value in both the servers.
Are there any other settings I should look out for?
Try a CTRL+F5 to make su
---
From: Chris <[EMAIL PROTECTED]>
To: Prathaban Mookiah <[EMAIL PROTECTED]>
Cc: "php-general@lists.php.net"
Sent: Mon, 26 Jun 2006 14:52:39 +1000
Subject: Re: [PHP] Problem Displaying Images
> Prathaban Mookiah wrote:
> > I wish it would work. But id doesn'
Prathaban Mookiah wrote:
I wish it would work. But id doesn't. But this time I do get a heavily
distorted image being displayed.
But as I said earlier, in combination of MySQL 5 and PHP 5 works good. The
problem is with PHP4 and MySQL 5.
I doubt the php5/php4 thing is an issue, I think it's
t;[EMAIL PROTECTED]>
To: Prathaban Mookiah <[EMAIL PROTECTED]>
Cc: "php-general@lists.php.net"
Sent: Mon, 26 Jun 2006 11:56:31 +1000
Subject: Re: [PHP] Problem Displaying Images
> Prathaban Mookiah wrote:
> > Oh sorry. I use addslashes().
>
> Then you'll probab
Prathaban Mookiah wrote:
Oh sorry. I use addslashes().
Then you'll probably need to use stripslashes before printing out the data.
echo stripslashes($Result["data"]);
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Oh sorry. I use addslashes().
-- Original Message ---
From: Chris <[EMAIL PROTECTED]>
To: Prathaban Mookiah <[EMAIL PROTECTED]>
Cc: "php-general@lists.php.net"
Sent: Mon, 26 Jun 2006 07:14:42 +1000
Subject: Re: [PHP] Problem Displaying Images
> Prathaba
Prathaban Mookiah wrote:
I am trying to manage images with a web database application. It works fine
with MySQL 5.0.17 and PHP 5.1.1.
But when I port it to another machine that runs MySQL 3.23.54 and PHP 4.2.2, I
have problems viewing the images retrieved from the database in the browser.
T
I am trying to manage images with a web database application. It works fine
with MySQL 5.0.17 and PHP 5.1.1.
But when I port it to another machine that runs MySQL 3.23.54 and PHP 4.2.2, I
have problems viewing the images retrieved from the database in the browser.
The relevant part of the code
8 matches
Mail list logo