• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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