ID: 48975
User updated by: celkaprog at gmail dot com
Reported By: celkaprog at gmail dot com
-Status: Bogus
+Status: Open
Bug Type: Unknown/Other Function
Operating System: Windows 7
PHP Version: 5.3.0
Assigned To: pajoye
New Comment:
I logined into the administrator account.
Started apache+php.
But the problem is the same.
I opened a command prompt.
e:\foo\bar>mklink 5.jpg 1.jpg
then 5.jpg created and i can view with irfanview.
e:\anything\something>mklink "../../foo/bar/5.jpg"
"../../foo/bar/1.jpg"
(without " it says invalad parameter: --)
then 6.jpg created and I cannot open it with irfanview and cannot see
it's content(Total commander Lister(F3))
Interesting.
Previous Comments:
------------------------------------------------------------------------
[2009-07-19 13:46:12] pajoye@php.net
Doh, I misread your code. Please read again the doc about symlink, the
arguments in your code are in the wrong order (then the error is
actually clear).
------------------------------------------------------------------------
[2009-07-19 13:35:09] celkaprog at gmail dot com
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.
------------------------------------------------------------------------
[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?
------------------------------------------------------------------------
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