I have a file that users will purchase via paypal, clickbank and paydotcom. I have to host the file\'s download page on my server.
I\'ve placed the file in a directory o
well if public_html is your doc root then you should be able to get the path to download would be
public_html
realpath($_SERVER[DOCUMENT_ROOT].'/../download');