[PHP-DEV] Bug #10439 Updated: relative chdir from root doesn´t work

2001-10-29 Thread php

ID: 10439
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: Filesystem function related
Operating System: W98, W98SE
PHP Version: 4.0.5
New Comment:

now it works (php 4.08dev). could you please explain ..not to out-smart ..,

gustav graf

Previous Comments:


[2001-10-29 02:44:11] [EMAIL PROTECTED]

Reopen if this happens with PHP 4.0.6. Also, try not to out-smart PHP's functions. 
They should know how to handle
different path separators and such things which are platform
specific.


--Jani




[2001-05-02 16:34:59] [EMAIL PROTECTED]

asp-mssql



[2001-05-02 16:34:04] [EMAIL PROTECTED]

Sorry, my only win2000 system is an asp-mysql production system in a network center 
and not available for testing now. I will install php on this system maybe in two 
weeks.



[2001-05-02 16:29:17] [EMAIL PROTECTED]

Do you happen to have an NT machine you can try and reproduce this on? I am on Windows 
2000 and it works.



[2001-05-02 16:24:44] [EMAIL PROTECTED]

No, new version 4.0.5 didn't solve my problem, testesd under win98.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=10439


Edit this bug report at http://bugs.php.net/?id=10439edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10439 Updated: relative chdir from root doesn´t work

2001-10-28 Thread sniper

ID: 10439
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Filesystem function related
Operating System: W98, W98SE
PHP Version: 4.0.5
New Comment:

Reopen if this happens with PHP 4.0.6. Also, try not to out-smart PHP's functions. 
They should know how to handle
different path separators and such things which are platform
specific.


--Jani


Previous Comments:


[2001-05-02 16:34:59] [EMAIL PROTECTED]

asp-mssql



[2001-05-02 16:34:04] [EMAIL PROTECTED]

Sorry, my only win2000 system is an asp-mysql production system in a network center 
and not available for testing now. I will install php on this system maybe in two 
weeks.



[2001-05-02 16:29:17] [EMAIL PROTECTED]

Do you happen to have an NT machine you can try and reproduce this on? I am on Windows 
2000 and it works.



[2001-05-02 16:24:44] [EMAIL PROTECTED]

No, new version 4.0.5 didn't solve my problem, testesd under win98.



[2001-04-30 09:35:24] [EMAIL PROTECTED]

Works fine in latest CVS under NT.
Please try 4.0.5 which should be released today and report back if your problem has 
been solved.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=10439


Edit this bug report at http://bugs.php.net/?id=10439edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10439 Updated: relative chdir from root doesn´t work

2001-05-02 Thread andi

ID: 10439
Updated by: andi
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: *Directory/Filesystem functions
PHP Version: 4.0.5
Assigned To: 
Comments:

Do you happen to have an NT machine you can try and reproduce this on? I am on Windows 
2000 and it works.

Previous Comments:
---

[2001-05-02 16:24:44] [EMAIL PROTECTED]
No, new version 4.0.5 didn't solve my problem, testesd under win98.

---

[2001-04-30 09:35:24] [EMAIL PROTECTED]
Works fine in latest CVS under NT.
Please try 4.0.5 which should be released today and report back if your problem has 
been solved.

---

[2001-04-22 06:54:22] [EMAIL PROTECTED]
On w98 and w98se it is not possible to change from root directory (eg. c:) to a 
relative subdirectory (e.g. windows). There is a delay of about 1 second. The same 
when accessing file functions (eg. is_dir, filesize) on filenames in the root 
directory without path (e.g. filesize (msdos.sys), no result is returned.

Try this script:

?PHP
function mychdir ($text, $dir, $works) {
  echo $text '$dir': ; flush();
  chdir ($dir);
  echo 
font color=. ($works ? green : red)..
str_replace (\, /, getcwd ())./FONTBR; 
  flush ();
}
mychdir (change to root, /, true);
mychdir (change to existing full path, c:/windows/temp, true);
mychdir (change to parent, .., true);
mychdir (change to relative subdir, temp, true);
mychdir (change to parent-parent, ../.., true);
mychdir (change to root, /, true);
mychdir (change to relative subdir from root - does not work (notice the delay), 
windows, false);
?

Gustav Graf

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10439edit=2


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10439 Updated: relative chdir from root doesn´t work

2001-04-30 Thread andi

ID: 10439
Updated by: andi
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: *Directory/Filesystem functions
PHP Version: 4.0.4
Assigned To: 
Comments:

Works fine in latest CVS under NT.
Please try 4.0.5 which should be released today and report back if your problem has 
been solved.

Previous Comments:
---

[2001-04-22 06:54:22] [EMAIL PROTECTED]
On w98 and w98se it is not possible to change from root directory (eg. c:) to a 
relative subdirectory (e.g. windows). There is a delay of about 1 second. The same 
when accessing file functions (eg. is_dir, filesize) on filenames in the root 
directory without path (e.g. filesize (msdos.sys), no result is returned.

Try this script:

?PHP
function mychdir ($text, $dir, $works) {
  echo $text '$dir': ; flush();
  chdir ($dir);
  echo 
font color=. ($works ? green : red)..
str_replace (\, /, getcwd ())./FONTBR; 
  flush ();
}
mychdir (change to root, /, true);
mychdir (change to existing full path, c:/windows/temp, true);
mychdir (change to parent, .., true);
mychdir (change to relative subdir, temp, true);
mychdir (change to parent-parent, ../.., true);
mychdir (change to root, /, true);
mychdir (change to relative subdir from root - does not work (notice the delay), 
windows, false);
?

Gustav Graf

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10439edit=2


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]