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
gogreen Junior · 18 posts #61

Download Still not working

Hello Friends i made all changes in func.inc.php and intiate.php and every thing told here but my download is still not working after clicking download it displays same Page

  1. Please anyone upload his/her working script for ne
  2. or Please tell me all changes that i have to do inthe script from begining ! i will be very thankful to you

Make A Thought Go Green !

softwarefreak Senior · 349 posts #62

Macneth wrote: yes and sometimes there are no filesize info....Search results for - cueshe

Hi, the filesize info in search results from google search makes the number of search results less, I've checked it before sharing ds script, the users can view file details before the download page..

grabing, yeah, it's cuz i've used the URL as filename, now they changed the it to file.html 😀 don't worry it's a not a big problem, I'll update via_google.php

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

gogreen Junior · 18 posts #63

Thank You Software freak for the Script. Although Nobody Replied and helped me 😢 I my Self fixed the Problem. 😀 It Doesnt matter nobody helped me but here i am providing the fixes you have to do to Script to Work

  1. In Head PHP provide your root folder or folder location and a "/" in the last
  2. In initiate.php near line 37
<input type='hidden' name='loc' value='".base64_encode('http://'.$download_url)."' />

3.in func.inc.php near line 71

$match = preg_match("/<a href='http:\/\/(.*)'>Click here to download this file<\/a>/i", $file, $matches);

Done 😀 Please reply if this worked for you i would be very Happy ...... 😀

Make A Thought Go Green !

softwarefreak Senior · 349 posts #64

gogreen wrote: Thank You Software freak for the Script. Although Nobody Replied and helped me 😢 I my Self fixed the Problem. 😀 It Doesnt matter nobody helped me but here i am providing the fixes you have to do to Script to Work

  1. In Head PHP provide your root folder or folder location and a "/" in the last
  2. In initiate.php near line 37
<input type='hidden' name='loc' value='".base64_encode('http://'.$download_url)."' />

3.in func.inc.php near line 71

$match = preg_match("/<a href='http:\/\/(.*)'>Click here to download this file<\/a>/i", $file, $matches);

Done 😀 Please reply if this worked for you i would be very Happy ...... :D

May be you don't have any patience to read, It's the same thing I've posted b4 🙂

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

gogreen Junior · 18 posts #65

Softwarefreak, Yeah I dont have PAtience but I dont have Patience to Help people ! If you dont mind make a Look at Your Code This is your code

$match = preg_match("/<a href='http:\/\/(.*)'>Click here to download this file<\/a>/i", $file, $matches);

and this is Mine

$match = preg_match("/<a href='http:\/\/(.*)'>Click here to download this file<\/a>/i", $file, $matches); 

Again this is your code

<input type='hidden' name='loc' value='".base64_encode('http://'.$download_url)."' />";

and this is mine

<input type='hidden' name='loc' value='".base64_encode('http://'.$download_url)."' />   

There is little difference in Second Code, which makes a PHP error. My Intention was to tell all fixes that a user have to do to make script work in one place so script user donot have to search in different posts. Anyways if you dont want that i use this script then its okay i will not use it.

Make A Thought Go Green !

softwarefreak Senior · 349 posts #68

I'll upload a v2 of this scripts, will all your problems solved, right at ds moment I'm really bz w/ my freelancing projects ,pls don't misunderstand me,I'm not trying to be selfish 🙂

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

softwarefreak Senior · 349 posts #69

Here is the Updated via_google.php script, problems with file names is solved, may be you'll have to edit a bit for the html part, & I'll post a v2 of 4sleecher soon

here's a demo

http://softwarefreak.in/via_google.php?q=akon&ext=mp3&nocache=474833333

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: google.zip
Hammad Developer · 89 posts #70

softwarefreak wrote: Hi guys, check out this fourshared leecher absolutely made from the scratch with pinch of CSS3, DHTML & full cup of PHP,& perfectly balanced with APIs & lil bit of grabbing...

Look at the screenshots for some of its feature

Features:

  • No waiting for download
  • No file size download limit(I've downloaded a 48 MB porn vid of aletta ocean XD & some more :S )
  • Download files with original file names forget preview.mp3
  • Search results for everything (thanks to the author of lagu.mobi,for the google idea)
  • Flash mp3 player for online preview of music
  • Optimized to use least resource,saves search results in cache as long as you want,default time is 10000 secs
  • Powered by ECHONEST music API for top charts & top music of artists
  • & some more...

open head.php & make some edits DEMO: softwarefreak.in - Free search and download!

No copyright in the script,cuz dos r meant to remove,just leave the "powered by" links in peace,thank you

You made Best Script 🙂 thanks alot

WapdeviL.iN Most Updated Services Portal.. Want To increase Site Users ???

metagenesis Newbie · 4 posts #72

change dewplayer into yahoo player,

add this code in your head

<script type="text/javascript" src="http://webplayer.yahooapis.com/player.js"></script>

change your flash code with

<?php echo '<a href="'.$preview.'">listen</a> <a href="'.$preview.'" title="Download Review.mp3">![](#)</a>'; ?>

i have three slot adspace in my wap, more than 4 K new visitor from US google search engine everyday, more than 12 K page view everyday, data base on histats, contact me for detail**neo7team@gmail.com**

icedroplet1987 Senior · 258 posts #73

good one, specially css work, working hard with coding-talk as i am watching you (specially you and something 😉 ) annoyingly.:D

iwa Newbie · 7 posts #74

How to show flash player in result search via_google.php

Can help me to show flash player in result search via_google.php

something else Fellow · 2,296 posts #75

softwarefreak wrote: @something,May be you liked the CSS3 logo 😛 , cuz you can code a better one than this :D

na my css sucks lol

yours is really good 🙂

Macneth Junior · 15 posts #76

working now...thanks bro...but the edited via_google.php has not have preview

softwarefreak Senior · 349 posts #77

Here is a fixation to make the script work again 😀 Just open func.inc.php & update the following functions, & done!

function get_file_name($file)
{
	$pattern = '|<span id="fileNameTextSpan">(.*?)</span>|is';
	$match = preg_match($pattern, $file, $matches);
	if($match)
	{
				return $matches[1];
	}
	else
	{
		return "unknown";
	}
}
function get_file_size($file)
{
$pattern = '|<span title="Size: (.*?)"><b>|is';
$match = preg_match($pattern, $file, $matches);
if($match)
{
	return $matches[1];
}
else
{
	return "unknown";
}
	
}
function fetch_url($url)
{
$ua = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.152 Safari/535.19";
$curl_handle = curl_init();
curl_setopt($curl_handle,CURLOPT_URL,$url);
//curl_setopt($curl_handle,CURLOPT_CONNECTTIMEOUT,5);
curl_setopt($curl_handle,CURLOPT_USERAGENT, $ua);
//curl_setopt($curl_handle,CURLOPT_FRESH_CONNECT, TRUE);
curl_setopt($curl_handle,CURLOPT_REFERER, "http://www.google.com");
curl_setopt($curl_handle,CURLOPT_HEADER, FALSE);
curl_setopt($curl_handle,CURLOPT_RETURNTRANSFER, TRUE);
$fetch = curl_exec($curl_handle);
curl_close($curl_handle);
return $fetch;
}
function get_download_url($file)
{
	
$match = preg_match('|count="false"(.*?)href="(.*?)"></g:plusone>|is', $file, $matches);
if($match)
{
	return $matches[2];
}
else
{
	return FALSE;
	
}
}

& make a new file download.php, put the below code

<?php
if(isset($_GET['loc']))
{
sleep(5);
$boom = base64_decode($_GET['loc']);
echo "<a href='$boom'>Click here to download this file</a>";
}
?>

& in initiate.php, link w/ the file just like ds

echo "<div class='header'><a href='/download.php?loc=".base64_encode($download_url)."' class='navbutton' style='padding:5px;display: block;width: 129px;height: 15px;font-size: 12px;' title='Click to download this file'>Download this file</a></div>";

Hope dat helps...

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

softwarefreak Senior · 349 posts #79

archer wrote: its working again now thanks softwarefreak just demo MusicFinder - Free mp3, video, file search and download!

Thanks to you too for the backlinks : )

BTW, remove the function get_preview_url() from your via_google.php script, it's resulting to a fatal error

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

laro696 Developer · 205 posts #80

Can someone upload a initiate.php ? When I edit the code with that I get internal server error 500

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