Originally posted by softwarefreak
View Post
Ultimate fourshared leecher!
Collapse
X
-
@flezzzzzzz, It will generate SEO friendly URL's which will help your site to rank good in search engines, dats a bit of advantage.
RewriteRule tells apache (mod_rewrite) how to rewrite the URL's
QSA flag is for query string append, means other parameters passed are appended/added after rewriting
for example, you're trying to rewrite a URL http://example.com/index.php?user=someone to http://example.com/user/someone.html
You'll use a rewrite rule something like this
Then you can use QSA flag to add some more params in the url like http://example.com/user/someone.html?age=50Code:RewriteRule ^user/([a-z0-9]+)\.html$ index.php?user=$1 [NC]
This can also be done in Rewrite rule instead of using QSA
The result will be http://example.com/user/50/someone.htmlCode:RewriteRule ^user/([0-9]+)/([a-z0-9]+)\.html$ index.php?age=$1&user=$2 [NC]
You need to know a bit of regex to make it work, its easy to learn nothing complicated
I've already uploaded everythingOriginally posted by fleming View Postcan upload ur dl.php??
Last edited by softwarefreak; 05.10.12, 02:18.I need some facebook likes, can you please help me
http://facebook.com/softwarefreakin
I noticed social media is really powerful
Well DONE is better than well SAID
Comment
-
Originally posted by softwarefreak View Post@flezzzzzzz, It will generate SEO friendly URL's which will help your site to rank good in search engines, dats a bit of advantage.
RewriteRule tells apache (mod_rewrite) how to rewrite the URL's
QSA flag is for query string append, means other parameters passed are appended/added after rewriting
for example, you're trying to rewrite a URL IANA — Example domains to IANA — Example domains
You'll use a rewrite rule something like this
Then you can use QSA flag to add some more params in the url like IANA — Example domainsCode:RewriteRule ^user/([a-z0-9]+)\.html$ index.php?user=$1 [NC]
This can also be done in Rewrite rule instead of using QSA
The result will be IANA — Example domainsCode:RewriteRule ^user/([0-9]+)/([a-z0-9]+)\.html$ index.php?age=$1&user=$2 [NC]
You need to know a bit of regex to make it work, its easy to learn nothing complicated
I've already uploaded everything
u last upload dont have player swf.. only direct download T.T
Comment
-
@softwarefreakOriginally posted by ukitero View Postmy demo of this version ***** i got problem in dloading file in dl.php it shows blank page. .maybe it cause in com.nu hosting that not support curl. . Help me guyz.
experiencing this problem too but curl is enabled in my localhost. cant find or see what causing the error for nothing is showing in apache error log file and php error log file
any idea bro?
Comment
-
You're your using xampp/wamp in windows ryt? I had the same problem, i guess curl cookies doesnt works well in win environment, try to put an absolute path in curl_opt, but in my ubuntu desktop, there's no such problemsOriginally posted by modfiles View Post@softwarefreak
experiencing this problem too but curl is enabled in my localhost. cant find or see what causing the error for nothing is showing in apache error log file and php error log file
any idea bro?
I need some facebook likes, can you please help me
http://facebook.com/softwarefreakin
I noticed social media is really powerful
Well DONE is better than well SAID
Comment
-
thanks bro.Originally posted by softwarefreak View PostYou're your using xampp/wamp in windows ryt? I had the same problem, i guess curl cookies doesnt works well in win environment, try to put an absolute path in curl_opt, but in my ubuntu desktop, there's no such problems
[ATTACH=CONFIG]5042[/ATTACH]
setting the absolute path for cook.txt file work like a charm
funny coz it stop working again after restarting my localhostLast edited by modfiles; 07.10.12, 09:10.
Comment
-
The hosting where it's not working may not have php-curl enabled brotherOriginally posted by Macneth View Posti have the same problem on my hosting bro..dl.php shows blank..but in eu5.org working fine..
You can check by running this code in a file
ORPHP Code:<?
if (extension_loaded("curl")) :
echo "Yes";
else :
echo "No";
endif;
If you find curl is enabled still you're getting a black pagePHP Code:<?
print_r(get_loaded_extensions());
Then in dl.php change error_reporting(0) to
if Still blank thenPHP Code:error_reporting(E_ALL);
Put this line b4 curl_close()
Now you'll see something instead of blank page, tell me wat you saw in pm or here :DPHP Code:echo curl_error($curl_handle);
The problem may also occur if cook.txt has low permission, try to view it in a browser by heading to the URL where it is located in your site, if it says Forbidden then chmod it to 777Last edited by softwarefreak; 07.10.12, 09:27.I need some facebook likes, can you please help me
http://facebook.com/softwarefreakin
I noticed social media is really powerful
Well DONE is better than well SAID
Comment
-
Originally posted by softwarefreak View PostThe hosting where it's not working may not have php-curl enabled brother
You can check by running this code in a file
ORPHP Code:<?
if (extension_loaded("curl")) :
echo "Yes";
else :
echo "No";
endif;
If you find curl is enabled still you're getting a black pagePHP Code:<?
print_r(get_loaded_extensions());
Then in dl.php change error_reporting(0) to
if Still blank thenPHP Code:error_reporting(E_ALL);
Put this line b4 curl_close()
Now you'll see something instead of blank page, tell me wat you saw in pm or here :DPHP Code:echo curl_error($curl_handle);
The problem may also occur if cook.txt has low permission, try to view it in a browser by heading to the URL where it is located in your site, if it says Forbidden then chmod it to 777
please upload ur dl.php!!
Comment
-
NO, I won't you blind stupid! & stop quoting my long posts! This script is not for them who just comes here to download, The people who're using it since long, its for them only,Originally posted by fleming View Postplease upload ur dl.php!!
I don't care if you're using it or not, But I do care for them who are using it since 1st shared, so that they don't have any problems w/ their sites.
I guess I have I have made myself clear, thank youI need some facebook likes, can you please help me
http://facebook.com/softwarefreakin
I noticed social media is really powerful
Well DONE is better than well SAID
Comment
-
No use , i tryed that and still blank page , i think script need updateOriginally posted by modfiles View Postfor those who are experiencing blank dl.php page,
change
toPHP Code:$ck = "cook.txt";
orPHP Code:$ck = dirname(__FILE__).'/cook.txt';
that will set the cook.txt file to absolute pathPHP Code:$ck = getcwd().'/cook.txt';
Comment


Comment