Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
|
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 25th, 2003, 04:57 AM
Authorized User
 
Join Date: Jun 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default Displaying Binary Data from Mysql

Hi all,

how can I display an image stored in a MySQL DB via php?

What is the equivalent to ASP's Response.BinaryWrite?

Cheers,
Frank

Actually, changed the topic subject to be more precise. Sorry!
__________________
-----------------------
--Frank
http://www.insidesql.de
-----------------------
 
Old June 25th, 2003, 02:49 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 256
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
    Florian Dittmer write a very quick and easy tutorial about this a few years back,. It's PHP3 code, but it should be forwards compatible to newer versions (allowing for register_globals, of course). It's dead easy. See: http://www.phpbuilder.com/columns/fl...3?print_mode=1

HTH
Dan
 
Old June 26th, 2003, 12:16 AM
Authorized User
 
Join Date: Jun 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Dan,
Quote:
quote:It's dead easy.
I've guessed it must be, but when you are a newbie to php...

Thanks!

Cheers,
Frank





Similar Threads
Thread Thread Starter Forum Replies Last Post
Binary Data zaghmout ASP.NET 2.0 Basics 0 November 15th, 2007 06:24 AM
Displaying Information Php/mysql TheSchwa MySQL 1 November 12th, 2007 04:14 PM
Displaying images stored in MySQL through in PHP trufla PHP Databases 3 May 2nd, 2006 04:55 AM
HELP - Displaying Images from mysql timmaher Beginning PHP 5 January 26th, 2005 03:09 PM
displaying images from mySql DB in html cmcmillan.schillers Beginning PHP 1 October 5th, 2004 03:52 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.