Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Adam Richardson
On Tue, Mar 29, 2011 at 8:21 PM, Ethan Rosenberg wrote: > At 05:33 PM 3/29/2011, Adam Richardson wrote: > >> > >> > Thanks. >> > >> > What do you see if you run this? "Can't open or create file!" >> > >> > Ethan >> >> >> OK, >> >> If you're running PHP as an Apache module, by default it won't ha

Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Ethan Rosenberg
At 05:33 PM 3/29/2011, Adam Richardson wrote: > > Thanks. > > What do you see if you run this? "Can't open or create file!" > > Ethan OK, If you're running PHP as an Apache module, by default it won't have permissions to write to the directory (this is by design to avoid security issues.) Yo

Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Adam Richardson
> > Thanks. > > What do you see if you run this? "Can't open or create file!" > > Ethan OK, If you're running PHP as an Apache module, by default it won't have permissions to write to the directory (this is by design to avoid security issues.) You can do something like the following: 1. C

[PHP] Re: session variable problem

2011-03-29 Thread markb
On 3/25/2011 12:09 PM, markb wrote: Very rusty with PHP. We moved our web site to a new hosting service (godaddy). PHP changed from 4x to 5.2.17. I can no longer change $_SESSION variables after the first use. First call to form - start session create variables Second call - can read variables, c

RE: [PHP] Permission Denied - Help Requested

2011-03-29 Thread HallMarc Websites
Have you checked ownership? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [DEADLOCK - Code Igniter

2011-03-29 Thread Ashley Sheridan
On Tue, 2011-03-29 at 14:38 -0600, Tristan wrote: > *Anyone have a workaround for this issue? thanks ahead > > > *I received this error message while activating a profile request. > Clicked the Back button and tried approving the user again and then it > worked. > * > > ERROR > > Usin

Re: [PHP] [DEADLOCK - Code Igniter

2011-03-29 Thread Daniel Brown
On Tue, Mar 29, 2011 at 16:38, Tristan wrote: > *Anyone have a workaround for this issue? thanks ahead > > > *I received this error message while activating a profile request. > Clicked the Back button and tried approving the user again and then it > worked. > * > > ERROR > > Using code i

[PHP] [DEADLOCK - Code Igniter

2011-03-29 Thread Tristan
*Anyone have a workaround for this issue? thanks ahead *I received this error message while activating a profile request. Clicked the Back button and tried approving the user again and then it worked. * ERROR Using code igniter with DX auth Description:* "Deadlock found when trying to

Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Ethan Rosenberg
At 03:49 PM 3/29/2011, Al wrote: On 3/29/2011 3:06 PM, Ethan Rosenberg wrote: At 01:40 PM 3/29/2011, Adam Richardson wrote: On Mon, Mar 28, 2011 at 11:43 PM, Ethan Rosenberg wrote: > At 11:14 PM 3/28/2011, Adam Richardson wrote: > >> On Mon, Mar 28, 2011 at 11:03 PM, Ethan Rosenberg <> eth.

Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Al
On 3/29/2011 3:06 PM, Ethan Rosenberg wrote: At 01:40 PM 3/29/2011, Adam Richardson wrote: On Mon, Mar 28, 2011 at 11:43 PM, Ethan Rosenberg wrote: > At 11:14 PM 3/28/2011, Adam Richardson wrote: > >> On Mon, Mar 28, 2011 at 11:03 PM, Ethan Rosenberg <> eth...@earthlink.net>eth...@earthlink.n

Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Ethan Rosenberg
At 01:40 PM 3/29/2011, Adam Richardson wrote: On Mon, Mar 28, 2011 at 11:43 PM, Ethan Rosenberg wrote: > At 11:14 PM 3/28/2011, Adam Richardson wrote: > >> On Mon, Mar 28, 2011 at 11:03 PM, Ethan Rosenberg <> eth...@earthlink.net>eth...@earthlink.net> wrote: >> At 01:32 AM 3/28/2011, Hans Åhlin

Re: [PHP] Path question

2011-03-29 Thread D. Dante Lorenso
On 3/28/11 8:18 PM, Jack wrote: Hello All, Is there a smarter way to do includes by setting up a path or something where I don't have to include /home/domain.com/includes/include_file.php Apparently my path is as shown above, but I would prefer to just put in /includes/include_file.php I wrote

Re: [PHP] Resizing an image

2011-03-29 Thread tedd
At 3:21 AM +0300 3/29/11, Andre Polykanine wrote: Hi everyone, Image processing is a part of Php language completely unknown to me :-(. So there is my task: I need to process an uploaded image. We allow uploading of gif, jpeg, and png images. If an image is wider than 600px, it should

Re: [PHP] Permission Denied - Help Requested

2011-03-29 Thread Adam Richardson
On Mon, Mar 28, 2011 at 11:43 PM, Ethan Rosenberg wrote: > At 11:14 PM 3/28/2011, Adam Richardson wrote: > >> On Mon, Mar 28, 2011 at 11:03 PM, Ethan Rosenberg <> eth...@earthlink.net>eth...@earthlink.net> wrote: >> At 01:32 AM 3/28/2011, Hans Ã…hlin wrote: >> Do you have SELinux installed? >> >>

[PHP] Re: Path question

2011-03-29 Thread Al
On 3/28/2011 9:18 PM, Jack wrote: Hello All, Is there a smarter way to do includes by setting up a path or something where I don't have to include /home/domain.com/includes/include_file.php Apparently my path is as shown above, but I would prefer to just put in /includes/include_file.php