ID: 48975
User updated by: celkaprog at gmail dot com
Reported By: celkaprog at gmail dot com
-Status: Feedback
+Status: Open
Bug Type: Unknown/Other Function
Operating System: Windows 7
PHP Version: 5.3.0
Assigned To: pajoye
New Comment:
Soory I mistaken the eleveted word.
It's running with admin rights.(right click run as administrator.).
The problem is not solved.
I'll try to run as different user (Administrator) but I don't think
that it will be good with that because this account is a member of
administrators group.
Previous Comments:
------------------------------------------------------------------------
[2009-07-19 11:27:59] pajoye@php.net
You have to be under an elevated user to create links (not a php
restriction, but the underlying API/Function). You can try it using the
console as well.
------------------------------------------------------------------------
[2009-07-19 11:22:27] celkaprog at gmail dot com
No,it's running with my account.No service.I can write that folder with
php (file upload is working too there).
------------------------------------------------------------------------
[2009-07-19 11:19:55] pajoye@php.net
Do you run it under an elevated user?
------------------------------------------------------------------------
[2009-07-19 07:45:31] celkaprog at gmail dot com
Sorry for the double post but one important thing is written wrong in
my
letter.(if (is_readable("../../foo/bar/2.jpg")) echo "readable";)
(/foo/bar/1.jpg is the correct and i use it in my code not 2.jpg)
------------------------------------------------------------------------
[2009-07-19 07:43:14] celkaprog at gmail dot com
Description:
------------
Hi
I am using PHP 5.3.1.0 and Windows 7
Symlink doesn't work for me:
Warning: symlink() [function.symlink]: Could not fetch file
information(error 3) in E:\htdocs\foo\bar\tree_copy.php on line 148
(5.3.0 This function is now available on Windows platforms (Vista,
Server 2008 or greater).)
What are the error codes?
Reproduce code:
---------------
---
From manual page: function.symlink
---
if (is_readable("../../foo/bar/1.jpg")) echo "readable";
symlink("../../foo/bar/2.jpg","../../foo/bar/1.jpg");
../../foo/bar/1.jpg is exists and the path is correct.
Expected result:
----------------
readable
2.jpg what is symlink for 1.jpg.
Actual result:
--------------
readable
Warning: symlink() [function.symlink]: Could not fetch file
information(error 3) in E:\htdocs\foo\bar\tree_copy.php on line 148
and no 2.jpg
------------------------------------------------------------------------
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/48975--
Edit this bug report at http://bugs.php.net/?id=48975&edit=1