i sidhu wrote:
* iNder Sidhu wrotes:-
I use following query to upload the image in database
DATABASE_query_die("INSERT INTO images (`name`, `status`, `image`, `size`, `type`) VALUES
(name.gif', NULL, 0x52306c474f446c685a414179414f594141502f2f2f2f2f3238502f31372f54313976503,
'1.624 kb', 'image/gif
* iNder Sidhu wrotes:-
I use following query to upload the image in database
DATABASE_query_die("INSERT INTO images (`name`, `status`, `image`, `size`, `type`)
VALUES (name.gif', NULL,
0x52306c474f446c685a414179414f594141502f2f2f2f2f3238502f31372f54313976503, '1.624 kb',
'image/gif')");
0x52
* Thus wrote raditha dissanayake:
> The approach that an overwhelming majority of PHP developers (and other
> developers for that matter) use is to simply store the image on the
> file system. If these images are part of a web application you can then
> store a reference to the image in the dat
"Raditha Dissanayake" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> The approach that an overwhelming majority of PHP developers (and other
> developers for that matter) use is to simply store the image on the
> file system. If these images are part of a web application you can t
I've been playing with this for two days and am wondering if there's a way to retrieve and display the images in a browser using
only php or is it necessary to use a graphics library like GD?
The approach that an overwhelming majority of PHP developers (and other
developers for that matter) us
Five wrote:
I've been playing with this for two days and am wondering if there's a way to retrieve
and display the images in a browser using
only php or is it necessary to use a graphics library like GD?
You don't need GD unless you want to modify the image (and even then
there are other options)
"Ed Lazor" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> You're seeing raw data and need to specify the mime type with headers. Search the
> mailing list archive, there's a few example
scripts in there. Just keep in mine that you need to create a separate script that
handles th
I have php code that takes text input from a webpage and and stores it in a mysql data base.
I tried uploading small images (jpg) using basically the same syntax but they don't make it into the data base.
Does anyone know of a simple tutorial that shows how to do this?
although I'm against
You're seeing raw data and need to specify the mime type with headers. Search the
mailing list archive, there's a few example scripts in there. Just keep in mine that
you need to create a separate script that handles the display of images.
> Thanks, that seems to work. Although trying to ret
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Five wrote:
> > I have php code that takes text input from a webpage and and stores it in a mysql
> > data base.
> > I tried uploading small images (jpg) using basically the same syntax but they
> > don't make it into
Five wrote:
I have php code that takes text input from a webpage and and stores it in a mysql data
base.
I tried uploading small images (jpg) using basically the same syntax but they don't
make it into the data base.
Does anyone know of a simple tutorial that shows how to do this?
although I'm ag
I have php code that takes text input from a webpage and and stores it in a mysql data
base.
I tried uploading small images (jpg) using basically the same syntax but they don't
make it into the data base.
Does anyone know of a simple tutorial that shows how to do this?
--
PHP General Mailing Li
12 matches
Mail list logo