• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

linux path problem with linking in script

A

alekhin

Guest
hi everyone...

i got a problem..

there are some include file scripts in my php files like include("/script.php")... there is no dot because my links are like domain.com/asdasd/Asdasdas/asdasd.html...

but i cant use them like that.. i have to write the path /srv/www/vhosts/.... it is too long and i cant work in my local pc like that... how can i solve it. thanks....

(sorry for bad english)
 
so include files without leading slash, i.e. as 'folder/file', not as '/folder/file'
 
Back
Top