Go up one Folder and after dive into other in PHP? -


i have folder structure 'site/plugin/myplugin.php' , php in 'site/theme/index.php' , want go plugin folder , access plugin.php go 1 level ../ how can same line of code go in plugin folder !

thx elod

you can use "syntax" every os has: ..

so can use following (doesn't make sense, hope point):

site/theme/../plugin/; 

this works in linux in windows.


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - IIFE: var vs this - is there any difference? -

r - Grow a ffdf data frame on disk gradually -