Fwd: [PHP] is there any syntax to save a file in mysql?

2011-03-27 Thread Negin Nickparsa
-- Forwarded message -- From: Negin Nickparsa Date: Mon, Mar 28, 2011 at 10:57 AM Subject: Re: [PHP] is there any syntax to save a file in mysql? To: a...@ashleysheridan.co.uk Dear Ashley,but i want every user to have his/her own files in their account. (i used session for them)

Fwd: [PHP] is there any syntax to save a file in mysql?

2011-03-27 Thread Negin Nickparsa
-- Forwarded message -- From: Negin Nickparsa Date: Mon, Mar 28, 2011 at 10:24 AM Subject: Re: [PHP] is there any syntax to save a file in mysql? To: Hans Åhlin tnx Hans now i run this code in my sql ihave this: CREATE TABLE upload ( id INT NOT NULL AUTO_INCREMENT, name VARCHAR(

Re: [PHP] is there any syntax to save a file in mysql?

2011-03-27 Thread Ashley Sheridan
On Mon, 2011-03-28 at 07:36 +0200, Hans Åhlin wrote: > 2011/3/28 Negin Nickparsa : > > in php i have a file to upload i want to save this file in a table and then > > retreive it from table in another situation is it possible? > > > I assume you are thinking of saving it in a MySQL table? > If so

Re: [PHP] is there any syntax to save a file in mysql?

2011-03-27 Thread Hans Åhlin
2011/3/28 Negin Nickparsa : > in php i have a file to upload i want to save this file in a table and then > retreive it from table in another situation is it possible? > I assume you are thinking of saving it in a MySQL table? If so read this http://dev.mysql.com/doc/refman/5.0/en/blob.html --

Re: [PHP] Permission Denied

2011-03-27 Thread Hans Åhlin
Do you have SELinux installed? 2011/3/28 Ethan Rosenberg : > Dear List - > > Thanks for all your help in the past.  Here is another one... > > I am getting a Permission Denied" message when I try to run a PHP script.  I > just changed the mode on the directory and the files to 777.  This problem >

[PHP] is there any syntax to save a file in mysql?

2011-03-27 Thread Negin Nickparsa
in php i have a file to upload i want to save this file in a table and then retreive it from table in another situation is it possible?

[PHP] Permission Denied

2011-03-27 Thread Ethan Rosenberg
Dear List - Thanks for all your help in the past. Here is another one... I am getting a Permission Denied" message when I try to run a PHP script. I just changed the mode on the directory and the files to 777. This problem arose when I changed the permissions. I thought I was solving a pr

Re: [PHP] opening a new window from php script

2011-03-27 Thread Richard Quadling
On 26 March 2011 10:22, Ashley Sheridan wrote: > On Fri, 2011-03-25 at 18:05 -0700, Tommy Pham wrote: > >> On Fri, Mar 25, 2011 at 2:59 PM, Grega Leskovšek wrote: >> > I am working on CMS designed to those who are unfamiliar  with a >> > computer world and I want to offer a task where on a push o