Re: [nyphp-talk] Why can't I create a second directory?

2007-08-30 Thread Daniel Convissor
On Thu, Aug 30, 2007 at 11:33:31AM -0400, [EMAIL PROTECTED] wrote: > It doesn't. I am finding more and more web providers setup Apache to > not give any error messages when something goes wrong. You know you can most likely use ini_set('display_errors', 1) combined with ini_set('error_reportin

Re: [nyphp-talk] Why can't I create a second directory?

2007-08-30 Thread Gary Mort
David Krings wrote: [EMAIL PROTECTED] wrote: Kenneth Dombrowski wrote: Hi Gary, what does it complain about when you remove the error supression @s ? It doesn't. I am finding more and more web providers setup Apache to not give any error messages when something goes wrong. Just out o

Re: [nyphp-talk] Why can't I create a second directory?

2007-08-30 Thread David Krings
[EMAIL PROTECTED] wrote: Kenneth Dombrowski wrote: Hi Gary, what does it complain about when you remove the error supression @s ? It doesn't. I am finding more and more web providers setup Apache to not give any error messages when something goes wrong. Just out of curiosity, why not

Re: [nyphp-talk] Why can't I create a second directory?

2007-08-30 Thread Steve Manes
Gary Mort wrote: I have a complex little install script that creates directories and subdirectories and copies files. It keeps failing on one providers server. I boiled down the install script problems to the fact that it cannot create a subdirectory after creating a directory. If you're no

Re: [nyphp-talk] Why can't I create a second directory?

2007-08-30 Thread bz-gmort
Rolan Yang wrote: I lost some hair over the same issue when trying to hack FsckEditor with image upload into a clients website hosted at hosting4less.com The details are kind of vague, but I remember it having something to do a php SAFE MODE restriction on mkdir and the fact that the web server

Re: [nyphp-talk] GD w/ Lots of Files

2007-08-30 Thread Pete Czech - New Possibilities Group, LLC
Thanks for all the suggestions. I'm debugging it now and making sure i destroy everything. I'd send you the code but it's huge. Basically, I'm taking each photo and downsizing 4 ways per. Yes, 4. I'll check out shalbum as well - sounds great. But for this, there are associated DB calls and

Re: [nyphp-talk] Why can't I create a second directory?

2007-08-30 Thread Rolan Yang
Gary Mort wrote: I have a complex little install script that creates directories and subdirectories and copies files. It keeps failing on one providers server. I boiled down the install script problems to the fact that it cannot create a subdirectory after creating a directory. I lost some

Re: [nyphp-talk] Why can't I create a second directory?

2007-08-30 Thread Gary Mort
Ajai Khattri wrote: On Thu, 30 Aug 2007, Gary Mort wrote: I set the mode to 777 just to make sure the directory would be created completely unsecured(I will also note that does not happen, instead the directory is created as 755 which should STILL be acceptable since the script itself is t

Re: [nyphp-talk] Why can't I create a second directory?

2007-08-30 Thread Ajai Khattri
On Thu, 30 Aug 2007, [EMAIL PROTECTED] wrote: > It doesn't. I am finding more and more web providers setup Apache to > not give any error messages when something goes wrong. > > This naturally makes it more difficult to troubleshoot the problem(and > when they do not allow you command line acc

Re: [nyphp-talk] GD w/ Lots of Files

2007-08-30 Thread Gary Mort
Pete Czech - New Possibilities Group, LLC wrote: Hey all: I'm trying to process 100-150 jpgs that are 2-4 mb into smaller files. If you have shell access and either image magick or magickimage, use shalbum. Shalbum is FAST, has a lot of greate features, and zips through image files. Techni

Re: [nyphp-talk] Why can't I create a second directory?

2007-08-30 Thread Ajai Khattri
On Thu, 30 Aug 2007, Gary Mort wrote: > I set the mode to 777 just to make sure the directory would be created > completely unsecured(I will also note that does not happen, instead the > directory is created as 755 which should STILL be acceptable since the > script itself is the one creating b

Re: [nyphp-talk] GD w/ Lots of Files

2007-08-30 Thread John Campbell
> I'm trying to process 100-150 jpgs that are 2-4 mb into smaller files. > What advice/best practices can you guys share in regards to memory > management? I can make my job go through about 5 before it blows up, > and yes, i've upped the memory limit. I need some method to clear out > memory aft

Re: [nyphp-talk] GD w/ Lots of Files

2007-08-30 Thread Dan Cech
Pete Czech - New Possibilities Group, LLC wrote: > I'm trying to process 100-150 jpgs that are 2-4 mb into smaller files. > What advice/best practices can you guys share in regards to memory > management? I can make my job go through about 5 before it blows up, > and yes, i've upped the memory li

[nyphp-talk] GD w/ Lots of Files

2007-08-30 Thread Pete Czech - New Possibilities Group, LLC
Hey all: I'm trying to process 100-150 jpgs that are 2-4 mb into smaller files. What advice/best practices can you guys share in regards to memory management? I can make my job go through about 5 before it blows up, and yes, i've upped the memory limit. I need some method to clear out memo

Re: [nyphp-talk] Why can't I create a second directory?

2007-08-30 Thread bz-gmort
Kenneth Dombrowski wrote: Hi Gary, what does it complain about when you remove the error supression @s ? It doesn't. I am finding more and more web providers setup Apache to not give any error messages when something goes wrong. This naturally makes it more difficult to troubleshoot th

Re: [nyphp-talk] Why can't I create a second directory?

2007-08-30 Thread Kenneth Dombrowski
On 07-08-30 08:22 -0400, Gary Mort wrote: > > $path = "/var/www/vhosts/mydomain.com/httpdocs/j/components/com_test/test/"; > $mode = 0777; >if ([EMAIL PROTECTED](substr($path,0,-1),$mode)) { >die ("Cannot create ".substr($path,0,-1)); >

[nyphp-talk] Why can't I create a second directory?

2007-08-30 Thread Gary Mort
I have a complex little install script that creates directories and subdirectories and copies files. It keeps failing on one providers server. I boiled down the install script problems to the fact that it cannot create a subdirectory after creating a directory. I made a simple test script, a