Absolute path issue |
6/16/2022 7:00:14 PM |
PHPRunner General questions | |
A
alfonso authorDevClub member
I have a problem uploading photos. If the path is relative to a directory within the application, it is correct. I put ".../photos" and it works. But I want the photo to be uploaded to a different subdomain and so I put an absolute url: |
|
![]() |
mbintex 6/22/2022 |
I would simply guess that it would be a security issue, if any PHP installation and code could write to any distant location it tried to ... |
![]() |
Sergey Kornilov admin 6/22/2022 |
I think you are confusing the absolute URL with the absolute path to the folder. The absolute path may look like this (on a Windows system): |