I'm not cgi programer but just try to understand mean of that cgi script
Today i get one problem when i'm open link of download and i'm try click Premium Download. So... Page moved to Login page and then i'm login as Premium user then Page not come back to Download Page or link as i want to download.
This solustion from me:
1. Not redirect to download link after login as premium
I'm fixed that:
On file: <your cgi-bin folder>/index.cgi
Find text: sub Download1 in myfiles v1.7 on line 698
See text below:
Code: Select all
$f->{referer}||=$ENV{HTTP_REFERER};
Code: Select all
$f->{redirect}=$ENV{REQUEST_URI};
Ok now you may open download link as guest and try to login and page will redirect automatic to download page as premium good luck.
Hope this fix will help you ...
Regards,
GhoHan[/code]