tamouse mailing lists tamouse.li...@gmail.com hat am 19. April 2012 um
07:10 geschrieben:
On Mon, Apr 16, 2012 at 3:09 AM, ma...@behnke.biz ma...@behnke.biz
wrote:
mkdir($d,777,true);/* make the directory */
Try using mkdir($d, 0777, true);
Herein, my friends, lies the
On Thu, Apr 19, 2012 at 9:03 AM, ma...@behnke.biz ma...@behnke.biz wrote:
tamouse mailing lists tamouse.li...@gmail.com hat am 19. April 2012 um
07:10 geschrieben:
On Mon, Apr 16, 2012 at 3:09 AM, ma...@behnke.biz ma...@behnke.biz
wrote:
mkdir($d,777,true); /* make the
On Mon, Apr 16, 2012 at 3:09 AM, ma...@behnke.biz ma...@behnke.biz wrote:
mkdir($d,777,true); /* make the directory */
Try using mkdir($d, 0777, true);
Herein, my friends, lies the problem. Silly me, using a DECIMAL number
(777) instead of an OCTAL number (0777).
--
PHP General
tamouse mailing lists tamouse.li...@gmail.com hat am 14. April 2012 um
00:05 geschrieben:
Can someone explain the following to me:
?php
$d=tempnam(.,dir); /* create a temp named file *
unlink($d); /* unlink it because we're going to
make it a
Can someone explain the following to me:
?php
$d=tempnam(.,dir); /* create a temp named file */
unlink($d); /* unlink it because we're going to make it a
directory */
mkdir($d,777,true); /* make the directory */
echo $d is . (is_dir($d)?'':'NOT'). a
On Sat, Apr 14, 2012 at 12:05 AM, tamouse mailing lists
tamouse.li...@gmail.com wrote:
Can someone explain the following to me:
?php
$d=tempnam(.,dir); /* create a temp named file */
unlink($d); /* unlink it because we're going to make it a
directory */
Hi Everybody,
I'm running php 4.3.2
When I run the following
$fname = tempnam('mytmp/', 'PREFIX_');
and then echo $fname, it returns
/tmp/FILENAME rather than mytmp/FILENAME
I'm running under RHEL 3 U3
Anybody know what's going on?
thanks,
Brent
- Original Message -
From: Brent Clements [EMAIL PROTECTED]
When I run the following
$fname = tempnam('mytmp/', 'PREFIX_');
and then echo $fname, it returns
/tmp/FILENAME rather than mytmp/FILENAME
--
From the manual:
Creates a file with a unique filename in the specified
Brent Clements wrote:
Hi Everybody,
I'm running php 4.3.2
When I run the following
$fname = tempnam('mytmp/', 'PREFIX_');
and then echo $fname, it returns
/tmp/FILENAME rather than mytmp/FILENAME
I'm running under RHEL 3 U3
Anybody know what's going on?
If 'mytmp' does not exist (relative to your
9 matches
Mail list logo