Re: Images in MySql
| From: | PHPWIN | Date: | Sun, 22 Apr 2001 10:24:35 +0000 |
| Subject: | Re: Images in MySql | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-6963@lists.php.net to get a copy of this message | ||
Hi there
Thanks for the tip, I'll try the telnet thing.
But I believe that the real problem is that scripts are not allowed to
access files outside their domain, like the /tmp directory where all files
that are uploaded via the web, would end up.
Therefore my scripts for HTPp, FTP or MySql don't work as long as I use
<file input type=file>
Unless a javascript reads the file on the client side and pastes everything
in a textarea, but that would be drastic...
Cheers
----- Original Message -----
From: "John Lim" <heyjohnlim@yahoo.com>
To: <php-windows@lists.php.net>
Sent: Sunday, April 22, 2001 10:25 PM
Subject: Re: [PHP-WIN] Images in MySql
> Hi Xon,
>
> Some options i can think of.
>
> 1. Can u change HTTP write permissions yourselves via telnet with chmod or
> chgrp? That would be the simplest if possible.
>
> 2. If you have to store in MySQL, storing in the file system gives better
> performance. But storing in MySQL is not so bad.
>
> 3. Consider switching Web hosting companies. There are more responsive
> companies out there. I can recommend futurequest.com. I host there myself.
>
>
> Regards, John
>
>
> "PHPWIN" <phpwin@hotmail.com> wrote in message
> news:OE69cK8r6beUzmRf6Ci0000149f@hotmail.com...
> Hi there
> I was wondering if anyone knew if it is a good idea to store gifs, jpegs
> or swfs in MySql.
> The problem is that the server I host my site on doesn't give HTTP write
> permissions and has disabled FTP functions in php. I would like to allow
> users to upload images and store them locally on the server.
>
> Any ideas?
>
> Thanks
> Xon
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>