Online Promoters™ :: Web Development made simple

Category Archives: Programming Tutorials & Videos

SEO – Romanian stop words – Stop words Română

SEO - Romanian stop words - Stop words Română -,de,a,în,la,o,și,a,abia,acea,aceasta,aceea,aceeasi,aceia,acel,acela,acelasi,acelea,acest,acesta,aceste,acestea,acestei,acestia,acestui,acolo,acum,adica,ai,aia,aici,aiurea,al,ala,alaturi,ale,alt,alta,altceva,alte,altfel,alti,altii,altul,am,anume,apoi,ar,are,as,asa,asemenea,asta,astazi,astfel,asupra,atare,ati,atit,atita,atitea,atitia,atunci,au,avea,avem,avut,azi,b,ba,bine,c,ca,cam,capat,care,careia,carora,caruia,catre,ce,cea,ceea,cei,ceilalti,cel,cele,celor,ceva,chiar,ci,cind,cine,cineva,cit,cita,cite,citeva,citi,citiva,conform,cu,cui,cum,cumva,d,da,daca,dar,dat,de,deasupra,deci,decit,degraba,deja,desi,despre,din,dintr,dintre,doar,dupa,e,ea,ei,el,ele,era,este,eu,exact,f,face,fara,fata,fel,fi,fie,foarte,fost,g,geaba,h,i,ia,iar,ii,il,imi,in,inainte,inapoi,inca,incit,insa,intr,intre,isi,iti,j,k,l,la,le,li,lor,lui,m,ma,mai,mare,mi,mod,mult,multa,multe,multi,n,ne,ni,nici,niciodata,nimeni,nimic,niste,noi,nostri,nou,noua,nu,numai,o,or,ori,orice,oricum,p,pai,parca,pe,pentru,peste,pina,plus,prea,prin,putini,r,s,sa,sai,sale,sau,se,si,sint,sintem,spre,sub,sus,t,te,ti,toata,toate,tocmai,tot,toti,totul,totusi,tu,tuturor,u,un,una,unde,unei,unele,uneori,unii,unor,unui,unul,v,va,voi,vom,vor,vreo,vreun,x,z

by Webmaster

Blank screen in Code Igniter – CI – after upgrade – 5.2.6 PHP server [SOLVED]

If you are a Code Igniter developer and you are using PHP 5.2.6 you might be interested in this post. Getting a blank screen can mean a LOT of things. In an particular scenario while running PHP 5.2.6 (on a Windows machine) when installing/upgrading to Code Igniter 2.0.3 you get a blank screen. This happens because the current version of PHP does not support a...

by Webmaster

Where is the wordpress.com API key located?

Find out where is the wordpress.com API key located. If you have a wordpress.com account just login and follow this link: http://apikey.wordpress.com/

by Webmaster

MySQL CURDATE() and NOW() vs. PHP date() – heavy server load

Let's assume the following: - we have a MySQL table with some fields like "product", "dateX" and "dateY"; - the "product" is a "varchar" type; - the "dateX" and "dateY" field type is "date" - YYYY-MM-DD; SCENARIO 1: If we are using the mysql NOW() and CURDATE() native function the query would look like this: [sourcecode language="php"] SELECT product FROM table WHERE dateX <= NOW()...

by Webmaster

Born to be strong – HTML 5 – HTML4 vs HTML 5 – W3C

Ultra brief: HTML stands for Hyper Text Markup Language and as the name suggests it is a markup language, used to create web pages, that can be understood and rendered by common web browsers like Mozilla, Chrome, Opera, Internet Explorer etc. Read more... As a web application developer I am trying to keep up as much as possible with the new coming web technologies so...

by Webmaster

Setting & Getting background position with Prototype, Javascript

Getting the background position of a css element with prototype (javascript framework) is a bit tricky. Usually in all the good browser we refer to the background position of a css element by 'background-position'. As you probably know there usually is one shitty browser which always needs some "special attention" and several lines of code added just to work. Our today's example follows the pattern....

by Webmaster

Prototype IE7 error – evalScripts crash

Let's assume that you load some content - that contains javascript code - into a div using prototype's Ajax.Updater. You may want that javascript code, from the ajax response, to be evaled. So, you would do something like: [sourcecode language="js"] <script language="JavaScript" type="text/javascript"> new Ajax.Updater('the_div_id','/php_page',{evalScripts:true, onFailure: show_error}); </script> [/sourcecode] The error thrown by IE7 ironically is generated by the comment lines :[sourcecode language="html"]<!-- ... //...

by Webmaster

Limit text with jQuery – text limiting – show more …

I needed to limit some longer texts on one of the sites I currently develop and I came with the following solution. I started from the original script made by Renso Hollhumer. If you do improve this script please write a comment with your link to the page where you have posted it. You put this in : text_limit_plugin.js [sourcecode language="js"] (function($) { $.fn.TruncExpandText =...

by Webmaster