How would I change the folder path in this? or what would be the best way?
(file_exists ($this->jam.'.txt'))
Jump to PostI'm not understanding what it is you want to do. Do you want to use PHP to move the file to another folder or something?
I'm not understanding what it is you want to do. Do you want to use PHP to move the file to another folder or something?
with
(file_exists ($this->jam.'.txt'))
its pulling from the incorrect file.. I just need it to pull from another file
something like
(file_exists ('./anotherfolder'($this->jam.'.txt')))
But I can't get it to work that way..
jam is not a file its just part of a select menu..
If I copy all my files and move them into the same folder as file a where file_exists is then it works fine.. I want to keep all my fruit files in another folder.. I just can't get my path to work correctly..
Get what I am saying?
Heres what I was trying to do - sf is my folder...
(file_exists ('sf/'.$this->jam.'.txt'))
Thanks :)
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.
You're trying to visit a URL that doesn't currently exist on the web. Most likely, a member posted a link a long time ago to a web page that has since been removed. It's also possible that there was a typo when posting the URL. We redirect you to this notice instead of stripping out the link to preserve the integrity of the post.