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 - Function overwritting -

php - Find a regex to take part of Email -