Jump to content

digital downloads redirects to dl.php and forces empty file download of dl.php


Inetbiz

Recommended Posts

Here is the problem, whmcs our billing software allows binary products. it is

stored in /home/sthawk/downloads/* The php file is

https://www.hosting-4-creloaded.com/go/dl.php?type=d&id=4

 

The files are group owned by apache user nobody with permissions of 664

 

When you check out and purchase any downloadable product, you end up receiving a download of dl.php empty file instead of the digital product.

Link to comment
Share on other sites

Yes I know that but it was only to test it.

Even though you have the directory under the public_html another user on your server can still reach the files.

 

If you have root access re-compile your apache with suphp and suexec and it should solve your problem.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated