0

How would I change the folder path in this? or what would be the best way?

(file_exists ($this->jam.'.txt'))

2
Contributors
3
Replies
5
Views
4 Years
Discussion Span
Last Post by xbat
0

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?

0

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?

0

Heres what I was trying to do - sf is my folder...

(file_exists ('sf/'.$this->jam.'.txt'))

Thanks :)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.