Backup Amazon S3 with PHP

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

Hits: 144  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-Code:  1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  [...]

amcharts – dynamic data generated with PHP

On August 16, 2009, in Javascript, LAMP, Tips, Tricks, Web Services, by Sandeep Verma

Hits: 224  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 Sandeep Verma

Hits: 63  http://www.sohtanaka.com/ http://preloaders.net/ http://www.noupe.com/ http://antsmagzine.com/ http://designm.ag/tutorials/sticky-sidenav-layout/ http://www.learningjquery.com/ http://www.pierrebertet.net/projects/jquery_superbox/ http://usejquery.com/ http://vandelaydesign.com/ 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/ http://www.1stwebdesigner.com/ http://www.1stwebdesigner.com/tutorials/53-jquery-tutorials-resources-tips-and-tricks-ultimate-collection/ http://arnaud-k.fr/ 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 LAMP, PHP, Tips, Tricks, by Sandeep Verma

Hits: 53  How to decrypt string html like below: <br /> ["/imgres?imgurl\x3dhttp://crshare.com/wp-content/uploads/auto_save_image/2009/01/232021vkV.jpg\x26imgrefurl\x3dhttp://crshare.com/tag/joomla-templates/\x26usg\x3d__2r0BoANxQQ1IhXj0-dAyU-HVVYI\x3d\x26h\x3d350\x26w\x3d500\x26sz\x3d30\x26hl\x3den\x26start\x3d81\x26sig2\x3d1MTsUlM1eoJ_j8K6hvLdRQ\x26um\x3d1","","c8m2Qp_jYzo4UM:","http://crshare.com/wp-content/uploads/auto_save_image/2009/01/232021vkV.jpg","130","91","Although the \x3cb\x3eJoomla\x3c/b\x3e community","","","500 x 350 - 30k","jpg","crshare.com","","","http://tbn2.google.com/images","1",[],””]<br /> $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, LAMP, PHP, Tips, Tricks, by Sandeep Verma

Hits: 55  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.svnlabs.com’; 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+”‘, ‘” [...]

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

On August 6, 2009, in Javascript, LAMP, PHP, Tips, Tricks, by Sandeep Verma

Hits: 52  /** *  <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, LAMP, PHP, Tips, Tricks, by Sandeep Verma

Hits: 54  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; }

Change Images

On August 6, 2009, in Javascript, LAMP, PHP, Tips, Tricks, by Sandeep Verma

Hits: 52  /* change image on mouseover and click */ function mEvent(id,img1,img2,img3) { var i = new String(); i = document.images[id].src; document.images[id].src = i.replace(img2,img1); //for click condition if(document.images[id].src.indexOf(img3)!=-1) document.images[id].src = i.replace(img3,img1); }

Tagged with:  

Protect website folders by .htaccess

On August 6, 2009, in LAMP, PHP, Tips, Tricks, Web Security, by Sandeep Verma

Hits: 81  <IfModule dir_module> DirectoryIndex index.html index.php index.php4 index.php3 index.cgi index.pl index.htm index.shtml index.phtml </IfModule> <IfModule mod_rewrite.c> RewriteEngine on RewriteBase / RewriteCond %{REQUEST_URI} !(css) RewriteCond %{REQUEST_URI} !(js) RewriteCond %{REQUEST_URI} !(images) RewriteCond %{REQUEST_URI} !(videos) RewriteCond %{REQUEST_URI} !(cache) </IfModule>

Templates Search Made Easy

On August 1, 2009, in Javascript, PHP, Tips, Tricks, by Sandeep Verma

Hits: 59  Suppose you want to search joomla/wordpress templates and find the site for all these templates, here you have to navigate entire templates with all pages. This will waste your time and internet band width…. www.bestofjoomla.com The best way to navigate all template in few seconds: This will save your time and band width….. Here [...]

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...