WordPress Themes and Blogging Tips

On September 6, 2009, in PHP, Tips, Tricks, by phpsolutions

WpThemesPlanet.com is site dedicated to WordPress Themes and to posting interesting articles for the Blogging Community.

Here we can find more blogging tips……..

Tagged with:  

Meld – visual diff and merge tool

On September 1, 2009, in Fedora, Javascript, Linux, PHP, Tips, Tricks, by phpsolutions

Meld is a visual diff and merge tool. Meld is used for comparing two or three files and editing them. We can compare two or three folders and launch file comparisons….

Source: http://meld.sourceforge.net/

Backup Amazon S3 with PHP

On August 19, 2009, in Amazon Cloud EC2 S3, PHP, Tips, Tricks, Web Services, by phpsolutions

This is the source code to backup/download Amazon S3 Bucket’s multimedia files to other server by PHP…

here $bucketurl is XML url of Amazon S3 bucket with full ACL.
$folder is path of the server where S3 files to store.

This script will download all files in Amazon bucket to other server

<?php
/* url for Amazon Bucket */
$bucketurl = “http://BUCKETNAME.s3.amazonaws.com/”;
$xml = file_get_contents($bucketurl);

/* folder name for server */
$folder = “/var/www/html/BUCKETNAME/”;

$content = getTag( ‘Key’, $xml );

foreach($content as $file)
{
exec( “wget -O “.$folder.$file.” “.$bucketurl.$file );
}

/* function to get node from Amazon Bucket XML */
function getTag( $tag, $xml )
{
$tag = preg_quote($tag);
preg_match_all(‘{<‘.$tag.'[^>]*>(.*?)</’.$tag.’>}’, $xml, $matches, PREG_PATTERN_ORDER);
return $matches[1];
}

?>

AmCharts is a set of Flash charts for your websites and Web-based products. AmCharts can extract data from simple CSV or XML files, or they can read dynamic data generated with PHP, .NET, Java, Ruby on Rails, Perl, ColdFusion, and many other programming languages.

Source:

http://www.amcharts.com/
http://www.amcharts.com/download

Help:

http://www.appfire.com/appfire-flashcharts-plugin/FusionChartsFree/Contents/ChartSS/XML_Col2DLineDY.html

Tagged with:  

Design lookup

On August 16, 2009, in Tips, Tricks, by phpsolutions

http://www.sohtanaka.com/
http://preloaders.net/
http://www.noupe.com/
http://antsmagzine.com/

Sticky (Fixed) SideNav Layout with CSS


http://www.learningjquery.com/
http://www.pierrebertet.net/projects/jquery_superbox/
http://usejquery.com/

Home


http://roshanbh.com.np/
http://www.templatemo.com/
http://www.webtemplates.webfirstcreations.com/
http://hambodevelopment.com/
http://www.osvaldas.info/
http://www.veboolabs.com/
http://www.sourcebits.com/
http://twipho.net/
http://jquerystyle.com/

1stWebDesigner


http://www.1stwebdesigner.com/tutorials/53-jquery-tutorials-resources-tips-and-tricks-ultimate-collection/

Home


http://www.mplusz.com/
http://marcgrabanski.com/article/jquery-google-maps-tutorial-basics
http://marcgrabanski.com/webroot/resources/jquery-ui-google-maps/tutorial-part1.html
http://jqueryfordesigners.com/
http://www.templates.com/
http://www.proclipart.com/
http://www.queness.com/post/456/16-impressive-flash-like-javascript-animation-inspirations-tutorials-and-plugins
http://www.k4lab.info/eng/indexeng.htm
http://www.clubclub.fr/
http://abduzeedo.com/web-design-awesome-magazine-style-sites
http://www.creative-outsourcing.com/
http://www.studio7designs.com/blog/101-design-resource-links/
http://www.templamatic.com/
http://bestwebgallery.com/
http://www.css-website.com/
http://www.cssclip.com/
http://csscollection.com/
http://cssdrive.com/
http://www.csselite.com/
http://www.cssflavor.com/
http://cssmania.com/
http://cssremix.com/
http://www.designmeltdown.com/
http://www.designshack.co.uk/
http://www.mostinspired.com/
http://www.professionalontheweb.com/
http://www.dailyslurp.com/
http://www.w3csites.com/
http://www.cssheaven.com/
http://www.cssbeauty.com/

Decrypt \x3d

On August 15, 2009, in PHP, Tips, Tricks, by phpsolutions

How to decrypt string html like below:

$html=html_entity_decode(urldecode(str_replace(‘\x’, ‘%’, $html)),ENT_QUOTES, “UTF-8”);

Tagged with:  
Tagged with:  

Get popup center

On August 6, 2009, in Javascript, PHP, Tips, Tricks, by phpsolutions

function get_popup_center(popurl)
{

var top = (screen.availHeight/2)-61;
var left = (screen.availWidth/2)-150;
var width = 300;
var height = 150;
//var popurl = ‘http://www.phpsolutions.co.in’;

var oWin = popUp(popurl, top, left, width, height);

}

function popUp(URL, top, left, width, height)
{
day = new Date();
id = day.getTime();

eval(“page” + id + ” = window.open(‘”+URL+”‘, ‘” + id + “‘,’toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=”+width+”,
height=”+height+”,top=”+top+”,left=”+left+”‘);”);
return “page” + id;
}

focus password element from password to ********

On August 6, 2009, in Javascript, PHP, Tips, Tricks, by phpsolutions

/**
*  <form>
*  <input type=”text” name=”password” value=”Password” onfocus=”get_password_focus(this)”>
*  </form>
*  This function can be used for focus password element from password to ********
*/

function password_focus(obj)
{
var newO=document.createElement(‘input’);
newO.setAttribute(‘type’,’password’);
newO.setAttribute(‘name’,obj.getAttribute(‘name’));
obj.parentNode.replaceChild(newO,obj);
newO.focus();
}

Get page size

On August 6, 2009, in Javascript, PHP, Tips, Tricks, by phpsolutions

function get_page_size() {

var de = document.documentElement;
var w = window.innerWidth || self.innerWidth || (de&&de.clientWidth) || document.body.clientWidth;
var h = window.innerHeight || self.innerHeight || (de&&de.clientHeight) || document.body.clientHeight;
arrayPageSize = new Array(w,h);
return arrayPageSize;

}