19.11.2016, 19:41
Okay look at this for example
Lets say our PHP file is inside a folder and we want to load something outside that folder?
PHP File location
Some other file location?
Now we want to load MyFile.css from Myphpfile.php?
Basically "../" means that you are exiting your current folder
Ie:
Now we want to load a plugin into it?
Want to exit 2 folders?
I hope that is what you ment? If not please take a screenshot of your folder structure so I can understand
Lets say our PHP file is inside a folder and we want to load something outside that folder?
PHP File location
PHP код:
"C://MyServer/PHP/myphpfile.php"
PHP код:
C://MyServer/CSS/MyFile.css
PHP код:
href="../CSS/MyFile.css"
Ie:
PHP код:
C://SAMP/Gamemodes/gm.php
PHP код:
href="../plugins/myplugin.dll"
Код:
../../