Re: lug-bg: kiril - images in mysql
- Subject: Re: lug-bg: kiril - images in mysql
- From: gf@xxxxxxxxxxx (Georgi Chorbadzhiyski)
- Date: Sun, 01 Dec 2002 08:36:20 +0200
kiril wrote:
> Hi!
> Za 1st time pisha tuk. Imam malyk problem, svyrzan s mysql / php.
>
> Znachi: Opitvam se da storna img-ta v mysql DB. Nai - obsto stignah do tuk:
Mnogo losho reshenie. Ako niakoi den reshish da migrirash na drugo DB shte si
imash golemi problemi. Izbiagvai BLOB-ove kogato vazmozhno. Po dobre si
zapazvai failovete v niakoi dir, a v bazata pazi imeto na faila.
> 1. kartinkite se zapazvat v mysql-a bez problem
> 2. moga da vizualiziram kartinki ot tam, kato prastam Header("Content-type: image/jpeg");
>
> Problem:
> Kak da vizualiziram kartinkite, kogato na stranicata ima i drugi neshta, ne samo kartinkata?
> Predpolagam ,che triabva da se generirat nesto kato temp-failove, ot koito da se vizualizirat izobrajeniata. No mi izglejda nesto symnitelno...
> Molia, ako niakoi ima ideia, neka da podskaje kak....
<img src="getimage.php?id=11" width="100" height="100" />
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|