Ultimate fourshared leecher!

Started on the old forum in February 2012 · view the original in the archive · old links redirect here

#4shared-grabber

132 replies · 27,019 views · started 14 years ago · 1 min read

TL;DR · summary of 132 replies
  • ukitero needs to make the mobile version of the site and adjust the CSS width.
  • The issue with artist.php sometimes not showing downloadable results may be resolved by removing or disabling it, as it is an advanced feature unrelated to the 4shared grabber.
  • A new zip file has been shared that replaces via_google.php, which should show more search results for mp3 files.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

35 participants
fleming Newbie · 5 posts #121

softwarefreak wrote: @frez, remove this line

RewriteBase /

& update

RewriteRule ^xml/(.*)\.html?$ xml_api.php?q=$1 [QSA]
RewriteRule ^v2/(.*)\.html?$ via_google.php?q=$1 [QSA,L]

everything is so simple around!🧙

Added after 10 minutes:

LOL, it's a file resides in a folder when u build a project w/ aptana, eclipse etc. The modified readme is very funny 🤣

can upload ur dl.php??

softwarefreak Senior · 349 posts #122

@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

RewriteRule ^user/([a-z0-9]+)\.html$ index.php?user=$1 [NC]

Then you can use QSA flag to add some more params in the url like http://example.com/user/someone.html?age=50

This can also be done in Rewrite rule instead of using QSA

RewriteRule ^user/([0-9]+)/([a-z0-9]+)\.html$ index.php?age=$1&user=$2 [NC]

The result will be http://example.com/user/50/someone.html

You need to know a bit of regex to make it work, its easy to learn nothing complicated 📖

fleming wrote: can upload ur dl.php??

I've already uploaded everything 🤝

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

fleming Newbie · 5 posts #123

softwarefreak wrote: @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

RewriteRule ^user/([a-z0-9]+)\.html$ index.php?user=$1 [NC]

Then you can use QSA flag to add some more params in the url like IANA — Example domains

This can also be done in Rewrite rule instead of using QSA

RewriteRule ^user/([0-9]+)/([a-z0-9]+)\.html$ index.php?age=$1&user=$2 [NC]

The result will be IANA — Example domains

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

modfiles Developer · 200 posts #125

ukitero wrote: my 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.

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?

softwarefreak Senior · 349 posts #126

modfiles wrote: 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?

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 problems

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

Attachments: Screenshot from 2012-10-06 20:09:01.png
modfiles Developer · 200 posts #127

softwarefreak wrote: 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 problems

thanks bro. setting the absolute path for cook.txt file work like a charm

funny coz it stop working again after restarting my localhost

Macneth Junior · 15 posts #128

i have the same problem on my hosting bro..dl.php shows blank..but in eu5.org working fine.. 🙁

softwarefreak Senior · 349 posts #129

Macneth wrote: i have the same problem on my hosting bro..dl.php shows blank..but in eu5.org working fine.. :(

The hosting where it's not working may not have php-curl enabled brother

You can check by running this code in a file

<?
if (extension_loaded("curl")) :
	echo "Yes";
else :
	echo "No";
endif;

OR

<?
print_r(get_loaded_extensions());

If you find curl is enabled still you're getting a black page

Then in dl.php change error_reporting(0) to

error_reporting(E_ALL);

if Still blank then

Put this line b4 curl_close()

echo curl_error($curl_handle);

Now you'll see something instead of blank page, tell me wat you saw in pm or here 😀 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

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

fleming Newbie · 5 posts #130

softwarefreak wrote: The hosting where it's not working may not have php-curl enabled brother

You can check by running this code in a file

<?
if (extension_loaded("curl")) :
	echo "Yes";
else :
	echo "No";
endif;

OR

<?
print_r(get_loaded_extensions());

If you find curl is enabled still you're getting a black page

Then in dl.php change error_reporting(0) to

error_reporting(E_ALL);

if Still blank then

Put this line b4 curl_close()

echo curl_error($curl_handle);

Now you'll see something instead of blank page, tell me wat you saw in pm or here 😀 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!!

External image (may be gone)

softwarefreak Senior · 349 posts #131

fleming wrote: please upload ur dl.php!!

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,

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 you

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

modfiles Developer · 200 posts #132

for those who are experiencing blank dl.php page,

change

$ck = "cook.txt";

to

$ck = dirname(__FILE__).'/cook.txt';

or

$ck = getcwd().'/cook.txt';

that will set the cook.txt file to absolute path

aMAr Junior · 25 posts #133

modfiles wrote: for those who are experiencing blank dl.php page,

change

$ck = "cook.txt";

to

$ck = dirname(__FILE__).'/cook.txt';

or

$ck = getcwd().'/cook.txt';

that will set the cook.txt file to absolute path

No use , i tryed that and still blank page , i think script need update 🙂

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close