Um, what? Is the answer not this?
if( fileExists( $filename ) ){ ... realLink( $filename ); } else { ... fakeLink( $filename ); }
You'll get better traction if you post short self contained program that compiles and runs and demonstrates the problem ... :)
In reply to Re: Problem with creating Files (maybe)
by Anonymous Monk
in thread Problem with creating Files
by David92
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |