Posted - 03/26/2024 : 07:39:36
Hi Terry, quote: So I created a folder in the public_html folder.
It needs to be outside the public_html directory so even if you know the exact path and file name it'll be impossible to browse to. What you need to do is create a file with your text editor called t.php with the following contents <html><body><?php echo getcwd(); ?></body></html> Upload it to your public_html directory and then just browse to it - http://www.your-domain.com/t.php This will give you the full path to the public_html directory, so using that path you can work out the location of your download directory which needs to be outside the public_html directory So you may see the full path something like this: /home/somedirectoryname/public_htmlSo your include lines may look something like this: $digidownloads=TRUE; $digidownloadmethod="filesystem"; $digidownloadpattern=" /home/somedirectoryname/your-download-directory/%pid%.zip"; $digidownloadsecret="fe2ls2pl2jyuuflldddosskkdfd"; $digidownloadwarn=TRUE; $digidownloademail="Your products can be downloaded for one more day by <a href='https://www.yourdomain.com/latedownload.php?ordid=%orderid%&pass=%password%'>Clicking Here</a>%nl%Or alternatively,%nl%<a href='https://www.yourdomain.com/latedownload.php'>Click Here</a>%nl%'. . . and enter the order ID %orderid% and password %password%%nl%%nl%"; $digidownloaddays=1; *Contact Us**Buy The PHP Capture Card Plugin**Rate Our Services/View Our Feedback*
|