[Solved] Isset question |
I will try to explain it better.
I have been working on my directory paths. Which now have got working. $this->uri->segment(4) gets the directory name. In my code below I need to be able to get the previous folders name in the elseif() but don't know how or if there is a better way. I looked into str_replace(array('../', '..\\', '..'), '', $this->uri->segment(4)), '/'); but did not work. PHP Code: // Get's the name of the directory.
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
(04-11-2015, 04:42 AM)tildemark Wrote: have you tried Thanks I had to set it in my main index and then echo to my json code then able to grab it for my upload function. I should of thought of that I think i had another brain fart
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Welcome Guest, Not a member yet? Register Sign In |