uploading and downloading files to MySQL

2003-01-08 Thread Mariusz
Hi, I found some info on how to upload files into a directory on the server and I was able to do that but can anyone tell me how to upload a file to my database (MySQL)? I know to use BLOB for the field type (which BLOB depending on the size) but how do I construct the INSERT or is there a diff

Re: File Handle?

2003-01-08 Thread George P.
perldoc -f ref Example: open ($fl, "/tmp/1.o"); if (ref($fl) eq 'GLOB') { print "Is a FILEHANDLE\n"; } else { print "Isn't a FILEHANDLE\n"; } I'm not very clear if GLOB is returned only for filehandles. bye, George P. On Wed, 8 Jan 2003, Beau E. Cox wrote: > Hi - > > I want to

Re: File Handle?

2003-01-08 Thread david
"Beau E. Cox" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi - > > I want to determine is a variable is a file handle. > > How would I do this? > > I know how to tell if it is a ref to something, > but I can't seem to be able to find out if it > is a file ha

<    1   2