Incercati sa vedeti pana la Sfarsit e Super … Daca puteti!!
OK so as I am a begginer I wrote a small script that i hope to help others in their needs.
<?
$ftp_server = "FTP-ServerIP";
$ftp_user_name = "FTP-Username";
$ftp_user_pass = "FTP-Password";
$dir = ‘Path To Maps Folder’;
////////// Functions Start/////////////
function ByteSize($bytes)
{
$size = $bytes / 1024;
if($size < 1024)
{
$size = number_format($size, 2);
$size .= ‘ KB’;
}
else
{
if($size / 1024 < 1024)
{
$size = number_format($size / 1024, 2);
$size .= ‘ MB’;
}
else if ($size / 1024 / 1024 < 1024)
{
$size = number_format($size / 1024 / 1024, 2);
$size .= ‘ GB’;
}
}
return $size;
}
////////// Functions STOP ///////////////
// set up basic connection
$conn_id = ftp_connect($ftp_server);
// login with username and password
$login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);
// check connection
if ((!$conn_id) || (!$login_result)) {
echo “FTP connection has failed!”;
echo “Attempted to connect to $ftp_server for user $ftp_user_name”;
exit;
} else {
// Start Print Ftp Server and Username
echo ‘Connected to <strong>’.$ftp_server.’</strong>, for user <strong>’.$ftp_user_name.’</strong>
‘;
// Stop Print Ftp Server and Username
// Start print current Dir
echo ‘Root: /’.$dir.”.ftp_pwd($conn_id) . ”
“;
// End Print current Dir
// Start “Scan dir over FTP”
$file = (ftp_nlist($conn_id,$dir));
// Stop “Scan dir over FTP”
// Start “Sorting and Echo Files”
foreach( $file as $number => $map )
{
if (preg_match(”/.ztmp?$/”, $map)) {
echo “<strong>.ztmp</strong> found
“;
} else if (preg_match(”/.res?$/”, $map)) {
echo “<strong>.res</strong> found
“;
} else if (preg_match(”/.txt?$/”, $map)) {
echo “<strong>.txt</strong> found
“;
}else {
echo $map.’ - ‘. ByteSize(ftp_size($conn_id, $dir.”/”.$map)).’
‘;
}
}
// Stop “Sorting and Echo Files”
}
// close the FTP stream
ftp_close($conn_id);
echo ‘Script by <a href=”http://www.xserv.ro/”>Ancyent</a>’;
?>
**Warning** Before we start, Please make sure to understand this that if you have unlocked your Iphone through Ultrasnow or Purplesnow, then Please DO NOT update your Iphones to 3.1 or 3.1.2. Because doing so will change your baseband from 04.26.08 to 05.11.07. And this new baseband 05.11.07 cannot be unlocked yet by Ultrasnow. So Long story short, If you have Iphone 3g or 3gS and you are using Non-Official sim (like Tmobile) so please do not update your devices to 3.1 or 3.1.2 Firmware.
Iphone 2g users can update to 3.1 or 3.1.2 custom firmware and will still be Unlocked if their Iphones were Unlocked already before updating to Custom Firmware.
Please Remeber that if you don’t have baseband 4.26.08 you can’t unlock to use with other carriers, For baseband downgrade look here.
Downgrade iPhone 3G baseband on 3.1.X Firmware
IMPORTANT: This video is for those who have IPhone 3g with Bootloader 5.08. Many users who have upgraded their Iphone 3g to 3.1.X firmware have lost there Unlock as well. Meaning they are not able to use it with T-mobile or any other Un-Official Carriers. The reason being 3.1.X Firmware upgrades the baseband from 04.26.08 to 05.11.07 and this 05.11.07 cannot be unlocked with Ultrasnow or Purplesnow. But only at one condtion as described in this video that you have to have Iphone 3g with 5.08 bootloader.
In order to check what bootloader you have, first you need to have a Jailbroken Iphone 3g. Then from Cydia download “Fuzzyband” which is going to tell you what Bootloader you have and you are lucky or not. If YES , then you will be successfully downgraded from 05.11.07 to 04.26.08. Then you can simply use “Ultrasnow” or Purple snow to Unlock your Iphone 3g and use any Un-Official Sim while having 3.1 Firmware on your Iphone. This ‘Ultrasnow’ is available for download in Cydia.
ANY IPHONE 3G BUILD BEFORE SEPTEMBER 2008 HAS BOOTLOADER 5.08 IN ITS SYSTEM. LATE COMERS DON’T.
iVibrator
Sep 29
This is an appeal to all girls out there. Pleasure has met music in more ways then you can think of. The OhMyBod guys have designed the new iPod vibrator. The device vibrates in the rhythm of the song you listen to so you actually well feel the beat.
It is multi speed so that you don’t have to worry if you ran out of music. It is equipped with a universal headphone connector and a 3 feet long cord. It comes with a velvet pouch to keep it in when you’re not using it and you get an invitation to share your favorite tunes on Club Vibe on the iTunes iMix section.
