I'm not 100% sure how to word this.. [Web Help]
#2

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

PHP код:
"C://MyServer/PHP/myphpfile.php" 
Some other file location?
PHP код:
C://MyServer/CSS/MyFile.css 
Now we want to load MyFile.css from Myphpfile.php?


PHP код:
href="../CSS/MyFile.css" 
Basically "../" means that you are exiting your current folder

Ie:
PHP код:
C://SAMP/Gamemodes/gm.php 
Now we want to load a plugin into it?
PHP код:
href="../plugins/myplugin.dll" 
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
Reply


Messages In This Thread
I'm not 100% sure how to word this.. [Web Help] - by Luis- - 19.11.2016, 19:19
Re: I'm not 100% sure how to word this.. [Web Help] - by TwinkiDaBoss - 19.11.2016, 19:41
Re: I'm not 100% sure how to word this.. [Web Help] - by Luis- - 19.11.2016, 20:03
Re: I'm not 100% sure how to word this.. [Web Help] - by BlackBank - 19.11.2016, 23:29

Forum Jump:


Users browsing this thread: 1 Guest(s)