• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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