try it urself trust me it will not take more then half an hour lolOriginally Posted by NoFx [Only registered and activated users can see links. Click Here To Register...]
gum why cant you just post the version you converted lol ;)
try it urself trust me it will not take more then half an hour lolOriginally Posted by NoFx [Only registered and activated users can see links. Click Here To Register...]
its not that easy for someone whos still learning (like me. lol) especially with those ajax and javascript. its like new thing for me the fact that php is still a new thing. jumping to another scripting language is another story againOriginally Posted by Anshul [Only registered and activated users can see links. Click Here To Register...]
anyway, i still keep trying to do it. just keep on thinking how to make it work witout those weird new scripting language
Drop by Drop makes the Ocean.Originally Posted by modfiles [Only registered and activated users can see links. Click Here To Register...]
Lets share the Converted version :D
here is a simplyfied index.php
PHP Code:<?
echo '<?xml version="1.0"?>';
?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Search music</title>
</head>
<body>
<form method="GET" action="audio/index.php">
<div>
<input name="search" type="text" size="60" style="background-color:#CCCCCC; color:#990000; font-weight:bolder" />
<input type="submit" value="Search Audio !" style="background-color:black; color: #FFFFFF; font-weight: bolder; font-size: 14px; margin-left: 10px;" />
<input type="radio" name="source" value="all" checked style="visibility:hidden" />
</div>
</form>
<div>
<span style="font-size: 9pt; text-align: justify; ">
<? include 'audio/latestsearches.php'; ?>
</span>
</div>
</body>
</html>
Advertise your mobile site for FREE with [Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
ok, this is how far ive gone already in this script. havent check it though if its a valid page coz at the moment, thats not my concern. lol. but work in my phone using opera brower :D
javascript and ajax havent remove yet. i dunno how to make it work if i remove those. lol
and if you see the download link. its still a link from original script coz i cant find download.php file
anyone who make it better. please be generous and post it here :p
download.php only for jamglue source
PHP Code:include "Snoopy.class.php";
$snoopy = new Snoopy;
$snoopy->agent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)";
$snoopy->referer = "http://www.google.com/";
$submit_url = "http://www.jamglue.com/sign_in";
$submit_vars["name"] = "hotsmusic";
$submit_vars["password"] = "fareast91";
$submit_vars["url"] = $_GET['url'];
$submit_vars["commit"] = "Sign in";
if($snoopy->submit($submit_url,$submit_vars))
{
while(list($key,$val) = each($snoopy->headers))
header ($val);
}
else
echo "error fetching document: ".$snoopy->error."\n";
print $snoopy->results;
Advertise your mobile site for FREE with [Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
oh my.. its not downloading the file but instead, signing in to jamglue site :D
change
$link = '&src=jamglue&link='.$download.'&name='.$name;
to
$link = "url={$download}";
in sources/jamglue/index.php
and now i get this
InvalidArgumentEither the Signature query string parameter or the Authorization header should be specified, not bothBasic aG90c211c2ljOmZhcmVhc3Q5MQ==Authorization57823C469 895D67F6cZkf2eVxfhFEVwpTUz2HN48yA4obtjKg28Ox2Rd15b cpYAq1kfv/lCkYKnPoKi2
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks