<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated on Sat, 05 Jul 2008 11:50:51 -0500 -->
<rss version="2.0">
  <channel>    <title>Codeassembly</title>
    <link>http://www.codeassembly.com/feed/comments/0</link>
    <description>CodeAssembly - Simplicity is prerequisite for reliability - Comments</description>
    <language>en-us</language>
    <managingEditor>contact@codeassembly.com</managingEditor>
    <webMaster>contact@codeassembly.com</webMaster>
    <generator>RSS Feed Generator</generator>
    <item>
      <title>Benjamin Kuz</title>
      <description>This is a pretty nice piece of work - with only a few beefs.

1) You should include the option to use spaces instead of tabs - some places require that kind of thing since editors sometimes do funky things, like include half-tabs or other strange quirks which make the code come out of alignment.  I hacked this in manually in order to make it work.

2) the first line of a comment sometimes \"stacks\" with the line above it, giving the effect of:

some_code();
# my comment

becoming:

some_code();# my comment</description>
      <link>http://codeassembly.com/A-php-code-beautifier-that-works/#137</link>
      <pubDate>2008-07-04 16:51:26</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/A-php-code-beautifier-that-works/#137</guid>
    </item>
    <item>
      <title>Matt Browne</title>
      <description>Discovered a possible error: I think that before setting $ADODB_FETCH_MODE in the constructor, you should import the global variable, i.e.:

global $ADODB_FETCH_MODE;
$ADODB_FETCH_MODE = ADODB_FETCH_ASSOC;

Otherwise, it doesn't seem to be truly using ADODB_FETCH_ASSOC, but rather ADODB_FETCH_BOTH.

Thanks again for the class.</description>
      <link>http://codeassembly.com/ADODB,-best-php-database-abstraction-class/#136</link>
      <pubDate>2008-06-26 10:37:58</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/ADODB,-best-php-database-abstraction-class/#136</guid>
    </item>
    <item>
      <title>Ashish</title>
      <description>This is such a wonderful script....It really helps me to show the category tree like site map.
Thanx a lot</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#135</link>
      <pubDate>2008-06-26 08:51:54</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#135</guid>
    </item>
    <item>
      <title>egemen</title>
      <description>thanks antonio..</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#134</link>
      <pubDate>2008-06-24 17:38:07</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#134</guid>
    </item>
    <item>
      <title>Wesley</title>
      <description>I am using the following library's

		<script type="text/javascript" src="/js/jquery.js"></script>
		<script type="text/javascript" src="/js/jquery.metadata.js"></script>
		<script type="text/javascript" src="/js/jquery.validate.js"></script>		
		<script type="text/javascript" src="/js/jquery.chainSelects.js"></script>		


The chainselects works fine on a page by itself, but when I combine with jquery and validate functionality it blows up &function undefined.

</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#133</link>
      <pubDate>2008-06-23 23:38:04</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#133</guid>
    </item>
    <item>
      <title>Drew</title>
      <description>Yes -- obviously to those who say 'seperating the php & html is not needed', obviously you need to go back to design school, because I would never let you come close to touching one of my projects. (not even smell it).

Smarty is absolutely fantastic at splitting html from php. Sure, smarty has its own language but seriously... if you have troubles understanding smarty syntax, you should not be doing php either, because obviously you are an amateur at php (of the millions running around claiming to be 'good programmers'). 

Sure, the templates contain a bit of logic (loops, if statements and the like), however this should be kept straight to the idea of only being based off of display.

Smarty has proven to be extremly useful to me over the years as business logic and presentation logic are truly separated. I don't care about the compiled templates and they are 'php again', because those are not what I edit. 

so funny.... to many amateur programmers running around... Its the one disadvantage to PHP. PHP is easy to become a novice in, however it takes a lot of time to be an expert in. PHP lets its programmers get away with too much... I mean honestly... not even initializing variables before use. That is basic programming stuff! If you don't do that at the minimum... well... its time to start leaving the amateur zone of PHP and brush up your skills!</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#132</link>
      <pubDate>2008-06-22 21:25:22</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#132</guid>
    </item>
    <item>
      <title>Antonio</title>
      <description>So.. if you want to get it working on FF,IE6 and IE7

jquery.chainedSelects.js >> Line 36:
36: parameters : { '_id' : $(this).attr('id'), '_name' : $(this).attr('name') },
37: } , settings);
Remove comma at the end:

IN THE END IT WILL LOOK LIKE:
parameters : { '_id' : $(this).attr('id'), '_name' : $(this).attr('name') }
37: } , settings);


AND CHANGE line 53 TO:

$(target).get(0).add(new Option(data[i][key],[key]), document.all ? i : null);

it works :)

</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#131</link>
      <pubDate>2008-06-17 06:24:15</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#131</guid>
    </item>
    <item>
      <title>AvaiveArrashy</title>
      <description>Hello 
<a href=http://yguufy.1afm.com//porno_foto_silvii_saint.html>порно фото сильвии саинт</a>
<a href=http://bnoibm.freeweb-hosting.org//porno_roliki_s_babkami.html>порно ролики с бабками</a>
<a href=http://iwothm.exactpages.com//vide_porno_skachat_besplatno.html>виде порно скачать бесплатно</a>
<a href=http://xolljz.freehostyou.com//porno_ot_12_do_15.html>порно от 12 до 15</a>
<a href=http://mfbhpi.just-allen.com//porno_rolik_skachat_besplatno_film.html>порно ролик скачать бесплатно фильм</a>
<a href=http://freebooksxswq.1gb.in/smotret_pornovideo_bez_registracii_besplatno.html>смотреть порновидео без регистрации бесплатно</a>
<a href=http://wvedmyhq.yoyohost.com/skachat_nebolshoe_porno.html>скачать небольшое порно</a>
<a href=http://yguufy.1afm.com//porno_foto_polnyh_tolstyh_jenscin.html>порно фото полных толстых женщин</a>
<a href=http://oghahxvv.gigazu.net/incest_porno_iznasilovanie_kartinki.html>инцест порно изнасилование картинки</a>
<a href=http://freebooksxswq.k2free.com/alisa_milano_skachat_porno.html>алиса милано скачать порно</a>
<a href=http://vpssyc.freespaceusa.com//porno_foto_shoubiznesa.html>порно фото шоубизнеса</a>
<a href=http://xujohz.freeweb-hosting.org//porno_jurnal_skuns.html>порно журнал скунс</a>
<a href=http://iwothm.exactpages.com//video_veb_kamera_porno.html>видео веб камера порно</a>
<a href=http://freebooksxswq.runhost.net/celki_foto_porno.html>целки фото порно</a>
<a href=http://srzbwzvb.977mb.com/pornofilm_s_jivotnymi_besplatno.html>порнофильм с животными бесплатно</a>
<a href=http://iwothm.exactpages.com//rossiiskie_zvezdy_porno.html>российские звезды порно</a>
<a href=http://freebooksxswq.freehostingz.com/skachat_luchshee_porno_filmy.html>скачать лучшее порно фильмы</a>
<a href=http://freebooksxswq.2222mb.com/skachat_besplatnoe_porno_devochki.html>скачать бесплатное порно девочки</a>
<a href=http://freebooksxswq.iws-host.com/foto_porno_negry_ebut_belyh_ponyatno.html>фото порно негры ебут белых понятно</a>
<a href=http://freebooksxswq.10gbfreehost.com/besplatnoe_porno_foto_volosatye_piski.html>бесплатное порно фото волосатые письки</a>
<a href=http://zjbanv.s-enterprize.com//porno_germafroditov_zoofil_skachat.html>порно гермафродитов зоофил скачать</a>
<a href=http://zjehfl.mindnmagick.com//porno_foto_detei_do_16.html>порно фото детей до 16</a>
<a href=http://gvvltyfu.2222mb.com/realnoe_russkoe_domashnee_porno.html>реальное русское домашнее порно</a>
<a href=http://ojevuyaq.blackapplehost.com/risovannoe_porno_s_konem.html>рисованное порно с конем</a>
<a href=http://zacherypjk.jamminweb.com//porno_gospoja_rab.html>порно госпожа раб</a>
<a href=http://wtezrzmc.rihost.us/krasivye_devki_porno.html>красивые девки порно</a>
<a href=http://nsvzep.envy.nu//porno_video_nevest.html>порно видео невест</a>
<a href=http://vkalkoke.gigazu.net/malchik_12_let_porno.html>мальчик 12 лет порно</a>
<a href=http://freebooksxswq.blackapplehost.com/jensciny_lesbiyanki_foto.html>женщины лесбиянки фото</a>
<a href=http://freebooksxswq.1gb.in/smotret_pryamo_seichas_porno_rolik.html>смотреть прямо сейчас порно ролик</a>
<a href=http://xujohz.freeweb-hosting.org//porno_zakachka.html>порно закачка</a>
<a href=http://dreetggm.gigazu.com/skachat_porno_masturbaciya.html>скачать порно мастурбация</a>
<a href=http://yguufy.1afm.com//porno_foto_polnyh_negrityanok.html>порно фото полных негритянок</a>
<a href=http://obkiuh.1afm.com//porno_incest_papa.html>порно инцест папа</a>
<a href=http://walije.web-home.ws//porno_samye_bolshie_dyry_v_jope.html>порно самые большие дыры в жопе</a>
<a href=http://mhpoer.stinkdot.org//porno_besplatno_aziatki_vidio.html>порно бесплатно азиатки видио</a>
<a href=http://gpnaubkc.iws-host.com/samaya_vysokaya_porno_zvezda.html>самая высокая порно звезда</a>
<a href=http://kzusiamg.gigazu.net/porno_papa.html>порно папа</a>
<a href=http://jccmps.web-home.ws//porno_biznes_ledi_bolshaya_grud_i_popa.html>порно бизнес леди большая грудь и попа</a>
<a href=http://gfvqwl.1accesshost.com//gei_porno_raskazy.html>гей порно расказы</a>
<a href=http://kzqclo.408ez.com//porno_so_strijenovoi.html>порно со стриженовой</a>
<a href=http://mfbhpi.just-allen.com//porno_rasskazy_foto_video_roliki.html>порно рассказы фото видео ролики</a>
<a href=http://xftenywa.my5gb.com/porno_risunki_komiksy.html>порно рисунки комиксы</a>
<a href=http://freebooksxswq.freewebhosting360.com/bolshie_klipy_porno_skachat.html>большие клипы порно скачать</a>
<a href=http://freebooksxswq.gigazu.net/super_detskoe_porno_video.html>супер детское порно видео</a>
<a href=http://mhpoer.stinkdot.org//porno_besplatnoe_na_dvd.html>порно бесплатное на dvd</a>
<a href=http://tytkrace.gigazu.net/porno_akademiya_eleny_berko.html>порно академия елены берко</a>
<a href=http://xolljz.freehostyou.com//porno_orgii_zrelyh.html>порно оргии зрелых</a>
<a href=http://wvedmyhq.yoyohost.com/seks_zrelyh_tetok.html>секс зрелых теток</a>
<a href=http://zacherypjk.jamminweb.com//porno_devstvenicy.html>порно девственицы</a>
<a href=http://freebooksxswq.my3gb.com/skachat_porno_video_uchilki_sekretarshi.html>скачать порно видео училки секретарши</a>
<a href=http://srzbwzvb.977mb.com/porno_fotografii_anjelina_djoli.html>порно фотографии анжелина джоли</a>
<a href=http://michaelylw.createdollz.com//ochen_hudye_porno_modeli.html>очень худые порно модели</a>
<a href=http://freebooksxswq.k2free.com/transvestit_porno_foto.html>трансвестит порно фото</a>
<a href=http://freebooksxswq.justfree.com/besplatnoe_domashnee_porno_lesbiyanok.html>бесплатное домашнее порно лесбиянок</a>
<a href=http://michaelylw.createdollz.com//detskoe_porno_video_roliki_besplatno.html>детское порно видео ролики бесплатно</a>
<a href=http://iwothm.exactpages.com//russke_porno_dinara.html>русске порно динара</a>
<a href=http://bjornutf.dreamstation.com//pornograficheskie_videofilmy_besplatnye.html>порнографические видеофильмы бесплатные</a>
<a href=http://pdpbij.lookseekpages.com//podglyadyvaniya_porno_foto.html>подглядывания порно фото</a>
<a href=http://terencegae.maddsites.com//porno_uchitelnicy_burning_book.html>порно учительницы burning book</a>
<a href=http://wtezrzmc.rihost.us/ijevsk_porno.html>ижевск порно</a>
<a href=http://nqvsmwah.hothostcity.com/porno_lohmataya.html>порно лохматая</a>
<a href=http://natheneon.freewebpages.org//seks_detskaya_porno_rasskazy.html>секс детская порно рассказы</a>
<a href=http://freebooksxswq.my3gb.com/skachat_porno_roliki_v.html>скачать порно ролики в</a>
<a href=http://ojevuyaq.blackapplehost.com/tijelyi_porno_azii.html>тижелый порно азии</a>
<a href=http://rtsbvp.freehostyou.com//devstvennoe_porno.html>девственное порно</a>
<a href=http://kzqclo.408ez.com//porno_seks_roliki_posmotret.html>порно секс ролики посмотреть</a>
<a href=http://tytkrace.gigazu.net/porno_babki_s_vnukami.html>порно бабки с внуками</a>
<a href=http://robbyqfc.e-host.ws//porno_foto_incesta_posmotret.html>порно фото инцеста посмотреть</a>
<a href=http://kzusiamg.gigazu.net/jest_porno.html>жест порно</a>
<a href=http://srzbwzvb.977mb.com/pornofotovideo_rolikispyascie.html>порнофото-видео ролики-спящие</a>
<a href=http://lgcmum.createdollz.com//porno_foto_12_16.html>порно фото 12 16</a>
<a href=http://taylorfhg.freeweb-hosting.org//programma_zakachka_porno.html>программа закачка порно</a>
<a href=http://tarahcin.freewebsitehosting.com//porno_pro_klizmy.html>порно про клизмы</a>
<a href=http://freebooksxswq.rihost.us/besplatno_skachat_vidio_porno.html>бесплатно скачать видио порно</a>
<a href=http://gideonhmg.yourprivatespace.com//porno_x_video.html>порно x video</a>
<a href=http://okiehbpq.19gigs.com/skachat_besplatno_anime_porno_malnkie_po_razmeru.html>скачать бесплатно аниме порно мальнькие по размеру</a>
<a href=http://zjbanv.s-enterprize.com//porno_galerei_zrelyh_mujchin.html>порно галереи зрелых мужчин</a>
<a href=http://niarvdnb.1gb.in/porno_i_seks_zrelyh_jenscin_s_volosatymi_piskami.html>порно и секс зрелых женщин с волосатыми письками</a>
<a href=http://freebooksxswq.gigazu.com/skachat_shkolnoe_porno_kartinki_besplatno.html>скачать школьное порно картинки бесплатно</a>
<a href=http://xftenywa.my5gb.com/porno_razorvannye_vlagalisca.html>порно разорванные влагалища</a>
<a href=http://bdnsnegq.iws-host.com/porno_foto_70h_godov.html>порно фото 70-х годов</a>
<a href=http://rzreaslk.hothostcity.com/kleopatra_skachat_porno.html>клеопатра скачать порно</a>
<a href=http://ipuvml.ez-sites.ws//pornofoto_futfetisha.html>порнофото футфетиша</a>
<a href=http://cldbog.freewebportal.com//porno_foto_neopytnyh_tineidjerov.html>порно фото неопытных тинейджеров</a>
<a href=http://darafyz.freespaceusa.com//sait_vescaet_porno.html>сайт вещает порно</a>
<a href=http://kzusiamg.gigazu.net/luchshee_porno_rossii.html>лучшее порно россии</a>
<a href=http://ibqrdb.ez-sites.ws//porno_flesh_multiki.html>порно флэш мультики</a>
<a href=http://freebooksxswq.d0m.us/besplatnye_3gp_porno_roliki_skachat.html>бесплатные 3gp порно ролики скачать</a>
<a href=http://wvedmyhq.yoyohost.com/nesovershennoletnee_erotika.html>несовершеннолетнее эротика</a>
<a href=http://freebooksxswq.freewebhosting360.com/skachat_besplatno_porno_video_s_anfisoi_chehovoi.html>скачать бесплатно порно видео с анфисой чеховой</a>
<a href=http://freebooksxswq.freewebspace-us.com/videoroliki_lesbiyanki.html>видеоролики лесбиянки</a>
<a href=http://srzbwzvb.977mb.com/pornorasskazy_unijenie_jeny.html>порнорассказы унижение жены</a>
<a href=http://wvedmyhq.yoyohost.com/porno_anime_hentai_galerei.html>порно аниме хентай галереи</a>
<a href=http://gvvltyfu.2222mb.com/porno_foto_prostitutok_tollstye_i_ruskie_ot_30_do_60.html>порно фото проституток толлстые и руские от 30 до 60</a>
<a href=http://kzqclo.408ez.com//porno_seks_foto_studentok.html>порно секс фото студенток</a>
<a href=http://flvxsoup.blackapplehost.com/prosmotr_tureckogo_porno.html>просмотр турецкого порно</a>
<a href=http://freebooksxswq.1gb.in/sosat_grudi_porno.html>сосать груди порно</a>
<a href=http://freebooksxswq.freewebhosting360.com/skachat_besplatno_gei_porno_roliki.html>скачать бесплатно гей порно ролики</a>
<a href=http://kzusiamg.gigazu.net/porno_foto_i_orgazm_kinoaktris.html>порно фото и оргазм киноактрис</a>
<a href=http://bpupgf.freeweb-hosting.org//domashnee_porno_jivotnoe.html>домашнее порно животное</a>
<a href=http://freebooksxswq.freehostingz.com/skachat_kachestvennye_porno_filmy.html>скачать качественные порно фильмы</a>
<a href=http://okiehbpq.19gigs.com/skachat_fragmenty_porno_besplatno.html>скачать фрагменты порно бесплатно</a>
<a href=http://wtezrzmc.rihost.us/sekretnye_saity_s_seks_video_porno_rolikami_besplatno.html>секретные сайты с секс видео порно роликами бесплатно</a>
<a href=http://srzbwzvb.977mb.com/pornofoto_devochek_golyh_lesbiyanok.html>порнофото девочек голых лесбиянок</a>
<a href=http://natheneon.freewebpages.org//svyazyvanie_porno_platnye_saity.html>связывание порно платные сайты</a>
<a href=http://kzqclo.408ez.com//porno_skachat_pisauscie.html>порно скачать писающие</a>
<a href=http://freebooksxswq.free-site-host.com/skachat_porno_besplatno_bez_kodov.html>скачать порно бесплатно без кодов</a>
<a href=http://zejiir.designcarthosting.com//porno_video_seks_posmotret.html>порно видео секс посмотреть</a>
<a href=http://bpupgf.freeweb-hosting.org//otricatelnoe_kosinusoidalnoe_opornoe_napryajenie.html>отрицательное косинусоидальное опорное напряжение</a>
<a href=http://xftenywa.my5gb.com/porno_roliki_s_teleperedachi_dom2.html>порно ролики с телепередачи дом2</a>
<a href=http://kzusiamg.gigazu.net/porno_fisting_video_prosmotr.html>порно фистинг видео просмотр</a>
<a href=http://bjornutf.dreamstation.com//pornovidio_halyava_3gp.html>порновидио халява 3gp</a>
<a href=http://mhpoer.stinkdot.org//porno_besplatno_mazohizm_izvrasceniya.html>порно бесплатно мазохизм извращения</a>
<a href=http://cldbog.freewebportal.com//porno_foto_maloletki_razvrat.html>порно фото малолетки разврат</a>
<a href=http://xftenywa.my5gb.com/porno_saity_i_paroli_k_nim.html>порно сайты и пароли к ним</a>
<a href=http://freebooksxswq.runhost.net/celki_porno_bezplatno.html>целки порно безплатно</a>
<a href=http://freebooksxswq.runhost.net/hhh_porno_maloletki_galerei.html>ххх порно малолетки галереи</a>
<a href=http://walije.web-home.ws//porno_seks_dom_2_foto.html>порно секс дом 2 фото</a>
<a href=http://freebooksxswq.freewebhosting360.com/blog_porno_foto_podglyadyvanie_re.html>блог порно фото подглядывание re</a>
<a href=http://freebooksxswq.blackapplehost.com/esli_tebya_poslali_na_hui.html>если тебя послали на хуй</a>
<a href=http://freebooksxswq.gigazu.com/beloruskoe_porno_foto.html>белоруское порно фото</a>
<a href=http://terencegae.maddsites.com//porno_film_ru.html>порно фильм ru</a>
<a href=http://cldbog.freewebportal.com//porno_foto_ogromnye_zadnicy.html>порно фото огромные задницы</a>
<a href=http://ibqrdb.ez-sites.ws//porno_flesh_igry_jestkie.html>порно флеш игры жесткие</a>
<a href=http://freebooksxswq.hothostcity.com/foto_gruppy_porno_rep.html>фото группы порно реп</a>
<a href=http://gfvqwl.1accesshost.com//germafrodit_video_porno.html>гермафродит видео порно</a>
<a href=http://gvvltyfu.2222mb.com/goryachii_fotki_jetkogo_porno_geev.html>горячии фотки жеткого порно геев</a>
<a href=http://freebooksxswq.gigazu.net/studenty_seks_porno.html>студенты секс порно</a>
<a href=http://theresaevy.lookseekpages.com//video_porno_sperma_izza_rta_v_rot.html>видео порно сперма из-за рта в рот</a>
<a href=http://zacherypjk.jamminweb.com//porno_detei_foto_galerei.html>порно детей фото галереи</a>
<a href=http://cldbog.freewebportal.com//porno_foto_modelei_17_let.html>порно фото моделей 17 лет</a>
<a href=http://nsvzep.envy.nu//porno_video_klipy_halyava.html>порно видео клипы халява</a>
<a href=http://freebooksxswq.freewebhosting360.com/blestyascee_porno_video.html>блестящее порно видео</a>
<a href=http://nsvzep.envy.nu//porno_video_prosmotr_skachat.html>порно видео просмотр скачать</a>
<a href=http://wovcpo.o-f.com//porno_klip_shahzody_skachat.html>порно клип шахзоды скачать</a>
<a href=http://yueidf.freewebsitehosting.com//porno_multfilm_bez_registracii.html>порно мультфильм без регистрации</a>
<a href=http://xolljz.freehostyou.com//porno_oboi_foto_aziatok.html>порно обои фото азиаток</a>
<a href=http://lgcmum.createdollz.com//porno_foto_brat_s_sestroi.html>порно фото брат с сестрой</a>
<a href=http://gvvltyfu.2222mb.com/internet_porno_tv_roliki.html>интернет порно тв ролики</a>
<a href=http://kzusiamg.gigazu.net/lubitelskie_porno_roliki_skrytoi_kameroi.html>любительские порно ролики скрытой камерой</a>
<a href=http://mhpoer.stinkdot.org//porno_besplatnoe_hhh.html>порно бесплатное ххх</a>
<a href=http://pdpbij.lookseekpages.com//damskoe_bele_porno.html>дамское белье порно</a>
<a href=http://freebooksxswq.977mb.com/chastnoe_porno_semeinyh_par.html>частное порно семейных пар</a>
<a href=http://jccmps.web-home.ws//porno_biseksualov_webchanges.html>порно бисексуалов webchanges</a>
<a href=http://bpupgf.freeweb-hosting.org//dom_2_semki_porno.html>дом 2 съемки порно</a>
<a href=http://zejiir.designcarthosting.com//porno_galerei_18.html>порно галереи 18</a>
<a href=http://freebooksxswq.gigazu.com/berkova_i_buzova_porno_foto.html>беркова и бузова порно фото</a>
<a href=http://srzbwzvb.977mb.com/pornofilmy_dom_3__ih_pervaya_vesna.html>порнофильмы "дом 3 - их первая весна"</a>
<a href=http://subjzyqm.hothostcity.com/katorga_foto_porno.html>каторга фото порно</a>
<a href=http://xftenywa.my5gb.com/porno_raznogo_vremeni.html>порно разного времени</a>
<a href=http://freebooksxswq.free-site-host.com/skachat_porno_bolshie_grudi_besplatno.html>скачать порно большие груди бесплатно</a>
<a href=http://xujohz.freeweb-hosting.org//porno_dostavka_kurerom.html>порно доставка курьером</a>
<a href=http://xftenywa.my5gb.com/porno_s_britne_spirs.html>порно с бритне спирс</a>
<a href=http://cldbog.freewebportal.com//porno_foto_ochen_bolshoe_kolichestvo.html>порно фото очень большое количество</a>
<a href=http://freebooksxswq.rihost.us/besplatno_porno_roliki_pamely.html>бесплатно порно ролики памелы</a>
<a href=http://kzqclo.408ez.com//porno_skrytaya_kamera.html>порно скрытая камера</a>
<a href=http://xolljz.freehostyou.com//porno_onalnyi_seks.html>порно ональный секс</a>
<a href=http://flvxsoup.blackapplehost.com/rabota_v_porno_ufa.html>работа в порно уфа</a>
<a href=http://freebooksxswq.1gb.in/bandaj_na_parne_porno.html>бандаж на парне порно</a>
<a href=http://tytkrace.gigazu.net/porno_v_shvecii.html>порно в швеции</a>
<a href=http://freebooksxswq.freewebhosting360.com/skachat_besplatno_lena_berkova_porno.html>скачать бесплатно лена беркова порно</a>
<a href=http://zacherypjk.jamminweb.com//porno_devushki_parnya.html>порно девушки парня</a>
<a href=http://tarahcin.freewebsitehosting.com//porno_rasskazy_brat.html>порно рассказы брат</a>
<a href=http://freebooksxswq.blackapplehost.com/skachat_jestkoe_porno_lesbiyanki.html>скачать жесткое порно лесбиянки</a>
<a href=http://srzbwzvb.977mb.com/porno_foto_solnechnogorsk.html>порно фото солнечногорск</a>
<a href=http://zacherypjk.jamminweb.com//porno_dvuh_blondinok.html>порно двух блондинок</a>
<a href=http://taylorfhg.freeweb-hosting.org//gei_porno_video_sms.html>гей порно видео смс</a>
<a href=http://gpnaubkc.iws-host.com/samye_razvratnye_porno_saity.html>самые развратные порно сайты</a>
<a href=http://kzusiamg.gigazu.net/porno_tolstyh_lesbiyanok.html>порно толстых лесбиянок</a>
<a href=http://wtezrzmc.rihost.us/halyavnye_porno_saity.html>халявные порно сайты</a>
<a href=http://bpupgf.freeweb-hosting.org//otryvki_iz_porno.html>отрывки из порно</a>
<a href=http://dehgfr.digitalzones.com//porno_lizat_pyatki.html>порно лизать пятки</a>
<a href=http://gpnaubkc.iws-host.com/zaprescennyi_porno_razzvraat.html>запрещенный порно раззвраат</a>
<a href=http://theresaevy.lookseekpages.com//raschet_rupornoi_anteny.html>расчет рупорной антены</a>
<a href=http://zjbanv.s-enterprize.com//porno_galerei_lezbi_gei.html>порно галереи лезби гей</a>
<a href=http://freebooksxswq.rihost.us/besplatno_porno_foto_seks_shkolnic.html>бесплатно порно фото секс школьниц</a>
<a href=http://oghahxvv.gigazu.net/kucha_porno_kartinok.html>куча порно картинок</a>
<a href=http://freebooksxswq.my5gb.com/web_kamera_porno_besplatno_smotret.html>web камера порно бесплатно смотреть</a>
<a href=http://freebooksxswq.blackapplehost.com/obajau_sosat_hui_pit_spermu.html>обажаю сосать хуй пить сперму</a>
<a href=http://okiehbpq.19gigs.com/skachatporno_roliki_klipy_besplatno.html>скачатьпорно ролики клипы бесплатно</a>
<a href=http://freebooksxswq.gigazu.com/bezplatnye_porno_fotografii_zrelyh_jenscin.html>безплатные порно фотографии зрелых женщин</a>
<a href=http://yguufy.1afm.com//porno_foto_puhlyh_devochek.html>порно фото пухлых девочек</a>
<a href=http://freebooksxswq.gigazu.com/be_porno.html>бе порно</a>
<a href=http://freebooksxswq.d0m.us/skachat_porno_simpsony.html>скачать порно симпсоны</a>
<a href=http://ibqrdb.ez-sites.ws//porno_filmy_70_godov_fotografii.html>порно фильмы 70 годов фотографии</a>
<a href=http://yguufy.1afm.com//porno_foto_seks_nevesty.html>порно фото секс невесты</a>
<a href=http://zjbanv.s-enterprize.com//porno_galereya_konchat.html>порно галерея кончать</a>
<a href=http://xujohz.freeweb-hosting.org//porno_ekaterinburg_seks_znakomstva.html>порно екатеринбург секс знакомства</a>
<a href=http://iwothm.exactpages.com//video_porno_bolshaya_grud.html>видео порно большая грудь</a>
<a href=http://taylorfhg.freeweb-hosting.org//prodam_detskoe_porno_s_katalogom.html>продам детское порно с каталогом</a>
<a href=http://darafyz.freespaceusa.com//sait_posvyascen_porno_hentau.html>сайт посвящен порно хентаю</a>
<a href=http://iwothm.exactpages.com//russkaya_porno_gallereya.html>русская порно галлерея</a>
<a href=http://darafyz.freespaceusa.com//russkoe_porno_erotika_video_besplatno.html>русское порно эротика видео бесплатно</a>
<a href=http://jccmps.web-home.ws//porno_video_com_besplatno.html>порно видео com бесплатно</a>
<a href=http://gideonhmg.yourprivatespace.com//porno_30_35_puhlenkie.html>порно 30 -35 пухленькие</a>
<a href=http://ipuvml.ez-sites.ws//posmotret_porno_video_minetov.html>посмотреть порно видео миньетов</a>
<a href=http://freebooksxswq.justfree.com/besplatno_skachat_porno_video_detei.html>бесплатно скачать порно видео детей</a>
<a href=http://freebooksxswq.d0m.us/skachat_pornoklipy.html>скачать порноклипы</a>
<a href=http://bjornutf.dreamstation.com//pornorasskazy_s_sintimnymi_kartinkami.html>порнорассказы с синтимными картинками</a>
 
G'night</description>
      <link>http://codeassembly.com/Add-multiple-chained-ajax-comboboxes-without-writing-even-one-line-of-javascript-code,-using-a-php-class/#130</link>
      <pubDate>2008-06-15 20:18:37</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Add-multiple-chained-ajax-comboboxes-without-writing-even-one-line-of-javascript-code,-using-a-php-class/#130</guid>
    </item>
    <item>
      <title>titel</title>
      <description>Hi,

I was reading your article today and this is exactly what I need for the project I'm working on.

One think though, is there any way that the script is aware of the hierarchy when it displaying the URL as well?

I'll jut give you an example. Say we have
Web development - /web-development
 - - Javascript - /web-development/javascript
 - - - - AJAX - /web-development/javascript/ajax

Again, very good article and thanks a lot,
titel</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#129</link>
      <pubDate>2008-06-13 15:17:10</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#129</guid>
    </item>
    <item>
      <title>Jimmy</title>
      <description>How would you load the 2 dropdown with data when page is loaded</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#128</link>
      <pubDate>2008-06-12 02:17:06</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#128</guid>
    </item>
    <item>
      <title>PK</title>
      <description>Same error as Derrick described - unexpected ';' in line 49 in jquery.chainSelect.js

Array in PHP looks like 

$array = array('1'=>'22','2'=>'222','3'=>'444','5'=>'666','7'=>'88888'); </description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#127</link>
      <pubDate>2008-06-08 12:30:51</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#127</guid>
    </item>
    <item>
      <title>Trung</title>
      <description>Thanks for this useful script.

I found there is a security hole.
The first policy password length above 6 characters must be a mandatory policy. So the script may be changed as following:

//if password bigger than 6 give 1 point
if (password.length > 6) {
    score++;
    // another policies...
    if ... score++;
    if ... score++;
    ...
}

If not changed as above script then the passwords "1","Do","!","@" are evaluated as "Weak" and "1!", "Do!" are evaluated as "Better",...
So I suggest the policy password length above 6 characters must be a mandatory policy.
Thanks & regards,
TrungTN</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#126</link>
      <pubDate>2008-06-09 03:26:29</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#126</guid>
    </item>
    <item>
      <title>Jeff</title>
      <description>After fixing the errors that m^e noted above I still couldn't get the script to work. ADODB is good but it appears there are errors still in the script.

Anyone else have luck?</description>
      <link>http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#125</link>
      <pubDate>2008-05-29 11:43:35</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#125</guid>
    </item>
    <item>
      <title>Bob</title>
      <description>Nevermind, figured out what was going on. It was the way I was building the array.</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#124</link>
      <pubDate>2008-05-28 11:07:38</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#124</guid>
    </item>
    <item>
      <title>Bob</title>
      <description>I'm reading a directory of .mp3 files to create my second select list, but when I run the script I get this:

Error: invalid label
Source File: http://[mydomain].com/jquery.chainedSelects.js
Line: 48, Column: 4
Source Code:
{"0":["No Track"],"1":{"1":"23-29 Tick Tock Blues.mp3"},"2" .....
-----^

I can't for the life of me figure out why json_encode($array) would place square brackets around the first item, and curly brackets around the rest. Thoughts?</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#123</link>
      <pubDate>2008-05-22 19:32:27</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#123</guid>
    </item>
    <item>
      <title>Malcolm</title>
      <description>I am still amazed that programmers construct interactions with databases using SQL/Mysql/Oracle/postgresql etc.

Do not do it. Your job is to control/direct the user experience. Use DB2/400 and stop messing about.



</description>
      <link>http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#122</link>
      <pubDate>2008-05-22 13:03:27</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#122</guid>
    </item>
    <item>
      <title>Kobra</title>
      <description>If SQL Injection works on a website in this day and age, it DESERVES to get hacked. Seriously.</description>
      <link>http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#121</link>
      <pubDate>2008-05-22 14:36:20</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#121</guid>
    </item>
    <item>
      <title>Jasper</title>
      <description>You could just use PDO, which automatically escapes the data you pass to it.</description>
      <link>http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#120</link>
      <pubDate>2008-05-22 05:24:11</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#120</guid>
    </item>
    <item>
      <title>CodeAssembly</title>
      <description>Is safer to put the default value instead of user input because PHP has some problems with UTF8 and the string comparison can be true but the string can be slightly different.</description>
      <link>http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#119</link>
      <pubDate>2008-05-22 02:19:56</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#119</guid>
    </item>
    <item>
      <title>Jansen Price</title>
      <description>Wouldn't it be easier to do that last bit of code's switch statement thusly:

switch ($_GET['bookCategory'])
{
  case 'sf_books':
  case 'literature_books':
    $table = $_GET['bookCategory'];
    break; 
  default:
    $table = 'cooking_books';
}
</description>
      <link>http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#118</link>
      <pubDate>2008-05-21 22:43:29</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#118</guid>
    </item>
    <item>
      <title>CodeAssembly</title>
      <description>Jakub Kulhan, this is just an example to show that query generation using user input is dangerous. 
It's not trying to be an example on how to design your database. 

@Konr Ness and @slink thanks for the tip, I forgot to put that break.
@Wabbitseason, you can write your code any way you want, the important thing is not to slip any user input in the query.</description>
      <link>http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#117</link>
      <pubDate>2008-05-21 12:22:45</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#117</guid>
    </item>
    <item>
      <title>Jakub Kulhan</title>
      <description>The last example (using user input as table name) is non-sens. With good database design you'll never get to this situation. For example suppose that we have these tables: books (id, name, type_id) and types (id, name). And here you can use bindable value, again, to choose type of book:

SELECT * FROM books LEFT JOIN types ON books.type_id = types.id WHERE type.name = ?

I think that it's more secure and for unknown type it won't return anything, which is more expectable.</description>
      <link>http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#116</link>
      <pubDate>2008-05-20 12:02:27</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#116</guid>
    </item>
    <item>
      <title>Wabbitseason</title>
      <description>or ...

switch ($_GET['bookCategory'])
{
  case 'sf_books':
  case 'literature_books':
    $table = $_GET['bookCategory'];
    break;
  default:
    $table = 'cooking_books';
}
$query = "SELECT * FROM $table";

or rather:

$allowed = array('cooking_books', 'sf_books', 'literature_books');
if (@in_array($_GET['bookCategory'], $allowed)) {
  $table = $_GET['bookCategory'];
} else {
  $table = current($allowed);
}
$query = "SELECT * FROM $table";</description>
      <link>http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#115</link>
      <pubDate>2008-05-21 06:35:16</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#115</guid>
    </item>
    <item>
      <title>slink</title>
      <description>Probably you missed a "break" in case 'literature_books'.
</description>
      <link>http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#114</link>
      <pubDate>2008-05-21 05:45:39</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#114</guid>
    </item>
    <item>
      <title>Konr Ness</title>
      <description>That last bit of code with the switch statement has bug. You missed the break; statement after the 'literature_books' case. Without it, $table will be 'cooking_books' even if 'literature_books' was specified.</description>
      <link>http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#113</link>
      <pubDate>2008-05-21 10:59:07</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Are-you-still-worried-about-sql-injection-?/#113</guid>
    </item>
    <item>
      <title>Solomon</title>
      <description>Hi

I have a JSP page which has 6 combo boxes.When i select a value in the first combo the other 5 will filter with values which is done using AJAX. Now the problem is if the value i selected in the first combo has a size say 50 the screen looks very bad with scroll bars on both sides....All the combos size varies according to the value selected in first one....

Can anyone give an idea to have all the combo boxes sizes fixed irrespective of how the AJAX fires.</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#112</link>
      <pubDate>2008-05-20 08:13:34</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#112</guid>
    </item>
    <item>
      <title>Andreas</title>
      <description>Hey there, been looking for this. The online tool seems to work quite nice, but i can't download you class. Maybe you should take a look. Thanks</description>
      <link>http://codeassembly.com/A-php-code-beautifier-that-works/#111</link>
      <pubDate>2008-05-14 00:39:57</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/A-php-code-beautifier-that-works/#111</guid>
    </item>
    <item>
      <title>Stefan</title>
      <description>what about the new Zend Studio for Eclipse? It has an extensive code formatter built-in that you can configure to have every detail match your coding guidelines. Then, you can export those settings and have other people in your team import it. The formatting while working on a file is then only a single keyboard shortcut away.

Sure, it costs money, but Zend Studio (for Eclipse) has been worth a lot of money for ages in my humble opinion. It supports development in PHP in so many useful ways that it's worth its price.</description>
      <link>http://codeassembly.com/A-php-code-beautifier-that-works/#110</link>
      <pubDate>2008-05-12 07:09:29</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/A-php-code-beautifier-that-works/#110</guid>
    </item>
    <item>
      <title>Matthew Browne</title>
      <description>Thank you SO much! I have been looking for a way to do this forever. It's even better to have a whole class written already.</description>
      <link>http://codeassembly.com/ADODB,-best-php-database-abstraction-class/#109</link>
      <pubDate>2008-05-03 16:58:49</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/ADODB,-best-php-database-abstraction-class/#109</guid>
    </item>
    <item>
      <title>Derrick</title>
      <description>As soon as I try loop one of these: 

    $array[] = array('1' => 'New York');

with something like:

    foreach($count=1; $count=3; $count++)
    {
	$array[] = array($count => '$count');
    }

I get this firebug error:

<b>Parse error</b>: syntax error, unexpected ';' in <b>F:\server2\Apache Group\... line 49 in jquery.chainSelect.js</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#108</link>
      <pubDate>2008-05-03 18:41:06</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#108</guid>
    </item>
    <item>
      <title>Radek</title>
      <description>To make it work on IE:

jquery.chainedSelects.js >> Line 36:
36: parameters : { '_id' :  $(this).attr('id'), '_name' : $(this).attr('name') },
37: } , settings);
Remove comma at the end:

parameters : { '_id' :  $(this).attr('id'), '_name' : $(this).attr('name') }
37: } , settings);</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#107</link>
      <pubDate>2008-05-01 14:21:24</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#107</guid>
    </item>
    <item>
      <title>radek</title>
      <description>
Doesn't work for me in IE 7. With 

$(target).get(0).add(new Option(data[i][key],[key]), document.all ? i : null);
i get
"object does not accept this property or method."
on  line 	$('#country').chainSelect('#state','/examples/jquerycombo/combobox.php',
</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#106</link>
      <pubDate>2008-05-01 14:23:33</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#106</guid>
    </item>
    <item>
      <title>Nguyen Duc</title>
      <description>Hi, I tried using a $var just replace "echo" in this function but can't. Help me because I am using Xtemplate for my project.
Thanks </description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#105</link>
      <pubDate>2008-05-01 14:22:23</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#105</guid>
    </item>
    <item>
      <title>Barry</title>
      <description>Please provide an example of what you mean by "you need to select the rows inside the function instead of declaring the menu_array as a global." I have had the same issue with only one set of results being displayed.

Thank you.</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#104</link>
      <pubDate>2008-05-01 14:22:23</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#104</guid>
    </item>
    <item>
      <title>Aeglos</title>
      <description>The argument that "Smarty separates PHP from HTML files" is extremely absurd and ridiculous. What Smarty does is REPLACE the PHP in HTML files with it's own syntax which mimics PHP's, so the problem remains. Same crap, different smell. So instead of designers learning PHP, they have to learn Smarty which is only marginally simpler (notice: SIMPLER and NOT EASIER).

Separation of application logic from view can be achieved by various OTHER means far better than Smarty, such as MVC implementation or a better, cleaner, faster, templating engine.

And what most people fail to realize is that whatever Smarty does, you can do with PHP exactly the same way.

I invite you to search the web for the Savant templating engine. It's probably the prime example the ideal templating engine. Simple, fast, unobtrusive, and uses PHP native syntax to achieve all that Smarty can do, and more, with less resources.</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#103</link>
      <pubDate>2008-05-01 14:22:23</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#103</guid>
    </item>
    <item>
      <title>Mike</title>
      <description>Thanks Remy. The following tweak of your code works for me in FF, IE7, IE6 & Saf3:

$(target).get(0).add(new Option(data[i][key],[key]), document.all ? i : null);</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#102</link>
      <pubDate>2008-04-23 03:28:00</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#102</guid>
    </item>
    <item>
      <title>Nguyen Duc</title>
      <description>Hi, I tried using a $var just replace "echo" in this function but can't. Help me because I am using Xtemplate for my project.
Thanks </description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#101</link>
      <pubDate>2008-05-01 14:22:23</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#101</guid>
    </item>
    <item>
      <title>Jeremy</title>
      <description>First - thanks for the tutorial. Mauro, I had the same problem (worked on one server but only first row shows on a different server). Can you explain what you mean by selecting the rows inside the function instead of declaring the menu_array as global? Thanks.</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#100</link>
      <pubDate>2008-04-18 00:57:45</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#100</guid>
    </item>
    <item>
      <title>MacGoerk</title>
      <description>Actually i think this has something to do with the use of a global var.

If you change the function to

generate_menu($parent, $menu_array) {

remove the line "global $menu_array;"

change the inner recursive call to generate_menu($key, $menu_array)

and the initial call to the recursive function to generate_menu(0, $menu_array) where $menu_array is your mysql result set

it will work!
As php SHOULD make use of pointers and call_by_reference, this will indeed result in a slightly higher memory usage. If it isn't this is just ... going to be exponential large if you have a deeply nested structure. However I'll try this way :)

Also, change the mysqli_whatever calls to mysql_whatever, as mysqli is deprecated.

HTH
Mac</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#99</link>
      <pubDate>2008-05-01 14:22:23</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#99</guid>
    </item>
    <item>
      <title>mere56</title>
      <description>No! Its not working in IE!</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#98</link>
      <pubDate>2008-04-16 11:10:34</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#98</guid>
    </item>
    <item>
      <title>Mariano</title>
      <description>Remy: Works here in ie 7 (thanks!). In ie 6, almost: the first select triggers ok, but when you click the 2nd or 3rd select you get a "object does not accept this property or method" (translation from spanish, so may be innacurate. The error is referring to a jquery method, not this script.</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#97</link>
      <pubDate>2008-05-01 14:22:23</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#97</guid>
    </item>
    <item>
      <title>Remy</title>
      <description>Ok, I have been following this and have had a couple of issues, I stripped down my production environment to the bare essentials and ran my scripts in FF and IE7. I had no problems with FF and Firebug helped immensely. IE would not play ball, even though I had tried glenn's code (which incidentally precludes FF). 

I have been doing a bit of digging around and looked at other jQuery options for modifying the select list. The following line has been verified on IE7 and Firefox 2 and I have used it in place of Glenn's solution. I would be interested to hear how this works in IE6.

$(target).get(0).add(new Option(data[i][key],[key]),document.all ? 0 : null);	

This was found via an article on Dr Dobb's Journal (http://www.ddj.com/java/201000935?pgno=4)

Kudos to the author!</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#96</link>
      <pubDate>2008-05-01 14:21:24</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#96</guid>
    </item>
    <item>
      <title>Tim</title>
      <description>What about deleting? No one ever shows about deleting. I'm not talking DELETE WHERE id = $id AND parent = $id I'm talking if theres a Parent with a Child(1) that has a child(2) that has a child(3). If you delete the main parent how would it go about deleting all the way up to child 3 as child 2 is it's parent and child 1 is child 2's parent and parent is the parent of child 1. Hope I didn't confuse anyone.</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#95</link>
      <pubDate>2008-05-01 14:21:24</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#95</guid>
    </item>
    <item>
      <title>Mariano</title>
      <description>Doesn't work for me in IE 7. With 
$(target).append(""+data[i][key]+""); and stuff I only get empty selects tags...</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#94</link>
      <pubDate>2008-05-01 14:22:23</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#94</guid>
    </item>
    <item>
      <title>Remy</title>
      <description>When I try using this I get a page error: expected ";"

I know my JSON is well formed and have even tried to force a semi-colon in just to see and the results are the same. I also can't get the demo to work? I don't see a script error but the effect is the same, select an option and the other select boxes are made visible but with no members? I have tried IE7/Firefox.</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#93</link>
      <pubDate>2008-05-01 14:22:23</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#93</guid>
    </item>
    <item>
      <title>Tekin</title>
      <description>IE6 fixed but IE7 problem continue :(</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#92</link>
      <pubDate>2008-04-09 08:52:47</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#92</guid>
    </item>
    <item>
      <title>angel wortham</title>
      <description>what is the most popualr way to make a password stronger</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#91</link>
      <pubDate>2008-04-11 10:10:48</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#91</guid>
    </item>
    <item>
      <title>Dave</title>
      <description>The best way to determine password strength is to calculate the number of possible passwords based on the known parameters of the current password.

For example, in order of increasing strength:
5 characters, all lower case = 26 ^ 5 = 11881376.
5 characters, mixed case = 52 ^ 5 = 130691232.
5 characters, mixed case, numbers and symbols = 110 ^ 5 = 16105100000
10 characters, all lower case = 26 ^ 10 = 141167095653376
15 characters, all lower case = 26 ^ 15 = 1677259342285725925376

As you can see, a 10 character password has many, many more possible permutations than a 5 character password, even if there are much fewer possible characters for each letter of the password.  This is because the exponent of the equation has much more impact than the operand on the final result.

The trouble is, if the attacker knows that you strictly enforce your password policy then all the policy does is to reduce the number of allowable permutations.

For instance, in the 5 character password above, one character must be upper case, one must be lower case, one must be a symbol and one must be a number... the fifth can be any of them.  This leaves the possible combinations at 26 x 26 x 10 x 48 x 110 = 35692800.  To find the number of permutations we need to multiply that number by 5! which leaves us with 4283136000 which is around a quarter of 16105100000, the original number of possible passwords if the password policy is not enforced.

With all of this in mind, a password strength tester should assume that if you only have lower case characters then the operand is 26.  If you have upper case as well then the operand is 52.  Numbers add 10 to the operand and symbols add 48.  The length of the password becomes the exponent of the equation.  If your company enforces a password policy, simply divide the resultant password strength by 4.

Then all you have to do is hard-code some arbitrary values for "very weak" through "medium" to "very strong" as raw numbers of possible permutations.

P.S.
This algorithm is still a little naive in that it doesn't take dictionary words into account.  Dictionary words and variations on dictionary words such as letter-number substitutions, letter-symbol substitutions and prepending and appending numbers to the word are still extremely common.  All good password cracking tools will run through dictionary words and their variations before trying the more random permutations and hence these choices of password are inherently weak.</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#90</link>
      <pubDate>2008-05-01 14:22:23</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#90</guid>
    </item>
    <item>
      <title>glenn</title>
      <description>It seems my previous posting didn't correctly arrive:

This is the line you need to use to get results in IE:

<code>
$(target).append("<option value="+key+">"+data[i][key]+"</option>");
</code>
<br/>

Replace all in the inner for loop with this line.

Btw, I really like this implementation, the size of the plugin is also heaven and I'm a big fan of php/jquery combo.  This was right up my alley and it's being used in a production site as wel speak.

Thanks codeassembly.  If you need some help with finetuning this let me know.

</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#89</link>
      <pubDate>2008-03-21 13:46:36</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#89</guid>
    </item>
    <item>
      <title>glenn</title>
      <description>Hi,

For those who have trouble getting this in IE6 to work:

replace:

//option = document.createElement("OPTION");//create a new option
//option.value = key;//set option value  
//option.text = data[i][key];
//$(target).append(option); //insert the option into the select

With :
//insert the option into the select
$(target).append("<option value="+key+">"+data[i][key]+"</option>"); 

There is something up with passing the .text attribute to the way it's constructed here.  for some reason it does't work in IE and I cant be bothered to find out how to access the dom there.  I could tell in FF that it was working.

For any cache issues perhaps you could also change the parameter line to this one:

 parameters = { '_id' : $(this).attr('id'), '_name' : $(this).attr('name'), '_value' : $(this).val() , 'rrand' : Math.random()
};

As such it will not cache the request as some IE's don't even listen to the ajax global options.

Hope this helps some people here.

Glenn</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#88</link>
      <pubDate>2008-03-21 13:42:16</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#88</guid>
    </item>
    <item>
      <title>John Smith</title>
      <description>What would be the best way to add sanitisation for email addresses to this code?</description>
      <link>http://codeassembly.com/How-to-sanitize-your-php-input/#87</link>
      <pubDate>2008-03-08 14:16:53</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-sanitize-your-php-input/#87</guid>
    </item>
    <item>
      <title>miCRoSCoPiC^eaRthLinG</title>
      <description>Hey there... yep, I believe it's a ADODB bug. I traced the FetchRow() function to ADODB... but couldn't locate the cause. And yes, the query does return rows. My knowledge of MySQL statements fall in the "intermediate" region... so to avoid any problems while  using them through PHP, I always make sure the statement is wholly functional by testing them out first through phpMyAdmin and SQLYog. There's nothing wrong with the statement itself.. anyway, I'll try with the latest ADODB release and get back to you if it works out...

Thanks,
m^e</description>
      <link>http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#86</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#86</guid>
    </item>
    <item>
      <title>Phil</title>
      <description>It would be nice to add a check for valid email address something like...

<pre>
<code>
function validate_email_address ($address)
{
	// check address format
	$address = stripslashes($address);
	if (!ereg ("^.+@.+\\\\..+$", $address) || empty ($address)) return FALSE;
	if (eregi ("\\r", $address) || eregi ("\\n", $address)) return FALSE;

	// safe
	return TRUE;
}
</code>
</pre>


Regards,
Phil
</description>
      <link>http://codeassembly.com/How-to-sanitize-your-php-input/#85</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-sanitize-your-php-input/#85</guid>
    </item>
    <item>
      <title>John Smith</title>
      <description>What would be the best way to add sanitisation for email addresses to this code?</description>
      <link>http://codeassembly.com/How-to-sanitize-your-php-input/#84</link>
      <pubDate>2008-03-08 14:05:39</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-sanitize-your-php-input/#84</guid>
    </item>
    <item>
      <title>CodeAssembly</title>
      <description>Does your query return any rows ? The FetchRow() function is within ADODB so it can be an ADODB bug, try updating ADODB.
Also try testing your query and see if it runs fine using phpmyadmin or another tool. </description>
      <link>http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#83</link>
      <pubDate>2008-03-08 05:01:50</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#83</guid>
    </item>
    <item>
      <title>miCRoSCoPiC^eaRthLinG</title>
      <description>Got a question here for the author.

Scenario
---------
I'm using .htaccess to redirect all page requests to my script, which then parses the pretty URLs and loads the correct page. Now some of these pretty URLs are generated out of concatenating 2 different fields, i.e. a 6 digit ID and a content title. 

The statement goes like...
-----------------------------------
SELECT CONCAT( id, '-',  title_nicename ) AS content_title, list_date AS update_date FROM tbl_content, tbl_content_meta WHERE tbl_content.id = tbl_content_meta.id ORDER BY tbl_content.list_date DESC;
-----------------------------------

As you can see, the concatenated result is return as a pseudo field named content_title, which isn't physically present in any of the tables.

When I pass this statement to your sitemap class, I keep getting this error message:
-----------------------------------
Fatal error: Call to a member function FetchRow() on a non-object in E:\\xampp\\htdocs\\site\\core\\classes\\sitemap\\sitemap.php on line 185
-----------------------------------

In contrast, generating sitemap off hard-coded field names presents no problem at all. So the reason must be that the sitemap class is running into some difficulties reading the value out of this dynamically generated field.

Any ideas how to get this thing working?

Thanks,
m^e</description>
      <link>http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#82</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#82</guid>
    </item>
    <item>
      <title>abdullah</title>
      <description>"json_encode" this below :

<?php

function json_encode($dizi) {
  $veri = '[' . implode(',', $dizi) . ']';
  return $veri;
}

?></description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#81</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#81</guid>
    </item>
    <item>
      <title>pete</title>
      <description>example doesn't work on FF either . Missing files:

Warning: include(db.inc) [function.include]: failed to open stream: No such file or directory in /home/givanz/public_html/codeassemblycom/examples/ajaxcombo/combobox.php on line 7

Warning: include(db.inc) [function.include]: failed to open stream: No such file or directory in /home/givanz/public_html/codeassemblycom/examples/ajaxcombo/combobox.php on line 7

Warning: include() [function.include]: Failed opening 'db.inc' for inclusion (include_path='.:/home/web/framework//autoload/adodb/:/home/web/framework//autoload/') in /home/givanz/public_html/codeassemblycom/examples/ajaxcombo/combobox.php on line 7</description>
      <link>http://codeassembly.com/Add-multiple-chained-ajax-comboboxes-without-writing-even-one-line-of-javascript-code,-using-a-php-class/#80</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Add-multiple-chained-ajax-comboboxes-without-writing-even-one-line-of-javascript-code,-using-a-php-class/#80</guid>
    </item>
    <item>
      <title>unit.zero</title>
      <description>as you have all said, the purpose of templating engines is to separate presentation code from logic.. the problem is, the example above combines logic with presentation.. you can really see how useful smarty can be if you actually follow the rules and use it as it was meant to be used.. for example, in your php code, lets call it example.php:

$name = db->getName();  //whatever...

//NOW we do our logic, which is determining the greeting to use
if ($name == "Wilma") $greeting = "Welcome Ma'am.";
else if ($name == "Fred") $greeting = "Welcome Sir.";
//and then we assign our greeting
$smarty->assign('greeting', $greeting);
//finally we display the template
$smarty->display('example.tpl');

so in our template file, along with all our html, we just need:

{$greeting}

that's it..!  much easier for a third-party designer to avoid (and not destroy!)  

the smarty syntax is incredibly simple, you can learn to use the basic features in a day..  not to mention it provides many plugins that offer pagination (extremely useful) amonst many other things.. or you can write your own plugins of course..

MVC frameworks are a fine alternative but you can't really beat the simplicity and flexibility of smarty..  i also agree with hari and michael phipps - it is my opinion that any html combined with the php means your website is actually just webshite =)</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#79</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#79</guid>
    </item>
    <item>
      <title>Ken</title>
      <description>Hi, It looks like this script has a bug. I also has problem listing all of the categories. It starts nicely by listing Web development og followed by Php, but then it stops. 

It really seems like the loop does stops when the last sub categori does not contain a new sub. Because if you add a new sub cat. it will be listed.

Ok? Some ideas? </description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#78</link>
      <pubDate>2008-03-05 07:58:50</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#78</guid>
    </item>
    <item>
      <title>Mk</title>
      <description>Hi.  This code is great!  But one problem: I copied the code straight from this page, and it works fine, except for one thing.  I don't want the category names to be linked.  I only want the subcategories to be linked.  In the example displayed on this page, the category names are not linked, and this is how I want it, but when I copied the code, it makes them links.  How do I fix this?

</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#77</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#77</guid>
    </item>
    <item>
      <title>Mk</title>
      <description>This code is great.  I'm using the one with CSS formatting, not the javascript expandable one.  My problem is the category names are linked and I don't want them to be.  I only want the subcategories to be linked.  On this page, the example shows the categories as unlinked, but when I use the code, it makes my category names linked.  Any ideas?</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#76</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#76</guid>
    </item>
    <item>
      <title>Marзal</title>
      <description>Hi again,

I have changed the following plugin script line:


$(target).append(option);//insert the option into the select



with this other one

$(target).append('<OPTION VALUE='+key+'>'+data[i][key]+'</OPTION>');//insert the option into the select 

and now the script works also in IE. 

I hope this help somebody ;)



</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#75</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#75</guid>
    </item>
    <item>
      <title>Marзal</title>
      <description>Hi, 

congratulations for your script, is very usefull. But i didn't get it work under IExplorer, just in Firefox.

I'm trying to make it work under IE, if someone have already done it please let me know.

Thanks.</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#74</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#74</guid>
    </item>
    <item>
      <title>apadley</title>
      <description>Sorry, I see that json_encode is PHP 5</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#73</link>
      <pubDate>2008-02-25 12:04:44</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#73</guid>
    </item>
    <item>
      <title>apadley</title>
      <description>I've installed the plugin, but get the following error:

Call to undefined function: json_encode()

I'd like to get this working.</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#72</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#72</guid>
    </item>
    <item>
      <title>Eric</title>
      <description>Hi,

I'm having the same problems as Schalk & Jason whereby only "Web Development" & "Php" are printing.  It stops there.

Can anyone else get this to work?

Thanks</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#71</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#71</guid>
    </item>
    <item>
      <title>Stefan</title>
      <description>Hi,

I discovered a problem when using the script in 
combination with prototype.

The fix is simple ...

file:expand.js line:12

-- OLD --
for(i in cookieA)

-- NEW --
for(i=0;i<cookieA.length;i++)


Prototype adds some generic methods so using the "for in"-iteration causes errors.


cheers

Stefan</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#70</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#70</guid>
    </item>
    <item>
      <title>CodeAssembly</title>
      <description>I'm glad you liked it. I updated the example, it now displays a "Loading ..." div while fetching data. You can replace the div with a spinner gif.

</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#69</link>
      <pubDate>2008-02-12 13:14:04</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#69</guid>
    </item>
    <item>
      <title>josoroma</title>
      <description>Hi!

Im a jquery newbie, but i test your plugin and is an easy and perfect piece of art. Great work!

I was wondering how can i add a spinner gif while the data is obtained for the new select?

Thanks in advance.</description>
      <link>http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#68</link>
      <pubDate>2008-02-09 17:57:51</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/#68</guid>
    </item>
    <item>
      <title>Mel</title>
      <description>Hi Mauro, I have the same problem as Jason but I dont understand you explination. What does this mean "you need to select the rows inside the function instead of declaring the menu_array as a global."? What does that mean? Which part of the script must I edit? Can you please give us an example.</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#67</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#67</guid>
    </item>
    <item>
      <title>miCRoSCoPiC^eaRthLinG</title>
      <description>Forgot to thank the author :D Apart from those minor glitches this class works just fine. I got it integrated into my custom CMS in no time at all :)

Cheers,
m^e</description>
      <link>http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#66</link>
      <pubDate>2008-01-10 05:21:21</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#66</guid>
    </item>
    <item>
      <title>miCRoSCoPiC^eaRthLinG</title>
      <description>I got the same error too.. i.e. "Parse error: parse error, unexpected T_RETURN, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in sitemap.inc on line 274".

If you look into the code, you'll find a misplaced "return" statement right before the closing brace '}' of the class. Commenting this out will make it work. Most likely the author didn't attach a tested copy of the class here.

After fixing the error above, I encountered a second one. The ping() function makes several calls to the file_get_contents() method, but on line 132, the same is written as contents() causing php to throw-up an error and halt. Changing that should help too.

Moreover, the URLs http://submissions.ask.com/ping and http://search.yahooapis.com/SiteExplorerService/V1/ping throw 403 Forbidden errors. Most likely the ping addresses have changed / and or require some sort of a login now. It'd be wise to enclose this section in a try-catch block so as to not break your code.

Cheers,
m^e</description>
      <link>http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#65</link>
      <pubDate>2008-05-01 14:23:10</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#65</guid>
    </item>
    <item>
      <title>erichazann</title>
      <description>I get an error (cannot access object of type ADODB_mysql as array) on this line:
self :: $adodb[$property] = $value;

Changed to 
self :: $adodb->$property = $value; 
and it works.
</description>
      <link>http://codeassembly.com/ADODB,-best-php-database-abstraction-class/#64</link>
      <pubDate>2008-01-08 10:49:33</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/ADODB,-best-php-database-abstraction-class/#64</guid>
    </item>
    <item>
      <title>Robert</title>
      <description>You have described some of things I was lookgin for, for a long time. </description>
      <link>http://codeassembly.com/How-to-center-a-page-layout/#63</link>
      <pubDate>2008-01-08 10:36:38</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-center-a-page-layout/#63</guid>
    </item>
    <item>
      <title>Agus Halim</title>
      <description>Agree with David, the code is too complex
i've got error message
Parse error: parse error, unexpected T_RETURN, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in sitemap.inc on line 274 and already chmod to 777 </description>
      <link>http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#62</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#62</guid>
    </item>
    <item>
      <title>evll</title>
      <description>Well, the main reason to use Smarty (as was stated many times above) - to separate application logic from presentation logic.
Yeah, right, you can write:
<?php if ($name == 'Fred'} { ?>
    Welcome Sir.
<?php } elseif ($name == 'Wilma') { ?>
    Welcome Ma'am.
<?php }else { ?>
    Welcome, whatever you are.
<?php }?>
But ussually there is a whole bunch of pure php code above that.
As alternative you offer MVC frameworks. Well, are they better than template engines? Maybe, or maybe not. There is the same learning curve and many other problems. So, you can't deny the necesity of logic separation. And that's why Smarty is not bad.</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#61</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#61</guid>
    </item>
    <item>
      <title>Neon John</title>
      <description>This meter is quite flawed.  For example, I closed my eyes while hovering my hands over the keyboard.  I randomly typed a 30 character password into your test program.  I made sure I drifted up to the number row a few times to ensure a good mix of letters and numbers.  Your algorithm rated this random string as "medium".  Yet when I added ONE upper case letter, it suddenly became "strong".

In another test I MD5 hashed a short sentence.  Your algorithm only reported "medium" security.

Major flaws include giving only one point credit for >12 characters while giving the same credit for a single upper case letter.  Not giving proportional credit for longer passwords.  Surely a 30 character mixed numeric/text password is many times more secure than a 13 character mixed case password.  Your algorithm rates both the same.

Seems to me major improvements would include giving proportional credit to length.  Perhaps a simple randomness test or a letter frequency test?

John</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#60</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#60</guid>
    </item>
    <item>
      <title>bharatt</title>
      <description>have been using fedora for past year and a half or so. started with fedora core 4, then jumped directly to fedora 7 and now using fedora 8. 
as far as my experience goes, fedora core 4 was more stabler than fedora 7 and fedora 8. currently am using 64 bit version. 
even if these problems persist i am a strong supporter of fedora.

the problems am facing now,

 when running "compiz" and a desktop clock with some added GUI effects, crashes even when kept idle for some minutes. 
 
this is one major problem am facing now with this 64 bit.

felt 32 bit version is more stabler than 64 bit version

positives
better detection of hardware
auto mounting of windows partitions
works bit faster than fedora 7 

all i hope is to have a very stable version of fedora which can run non-stop with all latest gui effects as well as working as a server. in other words i should be a rugged operating system which can withstand all heavy loads and yet perform without any hiccups.

this is just a suggession, not a bug. it is a common problem.

hope to see a better version of 64 bit

thanks


</description>
      <link>http://codeassembly.com/Fedora-8-Impressions/#59</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Fedora-8-Impressions/#59</guid>
    </item>
    <item>
      <title>hari</title>
      <description>This is an absolutely ridiculous argument for larger projects because with templating systems you can avoid a lot of code duplication by keeping PHP separate from the HTML files.

It's obvious you've never worked on any PHP application which involves considerably more thought process than "Hello World".

Even if you avoid "Smarty" or templating systems in general, you would still find yourself writing a simple templating library yourself to keep having to repeat code segments in PHP. And trust me, large chunks of PHP code in HTML can be as confusing as hell after a while.</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#58</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#58</guid>
    </item>
    <item>
      <title>example</title>
      <description>Your meter still allows submitting by pressing enter.  Even if you don't capture passwords, your ISP is likely monitoring your traffic and will capture them.  You might want to block that.  </description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#57</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#57</guid>
    </item>
    <item>
      <title>Mike</title>
      <description>Nice class but don't forego service side validation. Client side validation does make the UI better for the user. But  savvy user can still monkey with input after processing with Javascript. 

Always do server side validation. Always. </description>
      <link>http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#55</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#55</guid>
    </item>
    <item>
      <title>Csanad Komlos</title>
      <description>Hi,

I'm trying to create a mod based on your script "infinite depth categories" at
http://www.codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript
I've been struggling with it for days now and thought you were the one to ask. I hope you have some time for it and help me.

I would like to print every category names and want to append to them links to every subsequent pages if they have one (to make it clear I simplified my project here, later I want to modify categories to be pages with the links in them).

Thanks in advance
Csanad Komlos

E.g. I have a menu tree with parent and child members that has the structure:

one
 one one
  one one one
 one two
two
 two one
 two two
three

And this is how I want it to look like:

one <A HREF="one one">one one</A> <A HREF="one two">one two</A>
one one <A HREF="one one one">one one one</A>
one one one
one two
two <A HREF="two one">two one</A> <A HREF="two two">two two</A>
two one
two two
three

I have put them in an array as per your instructions. I had to create "Fake" array index 0 so that "one" starts with key 1. It is not needed when traversing the array.

$menu_array =	Array
(
    0 => Array
        (
            'name' => 'Fake',
            'parent' => -1
        ),

    1 => Array
        (
            'name' => 'one',
            'parent' => 0
        ),

    2 => Array
        (
            'name' => 'one one',
            'parent' => 1
        ),

    3 => Array
        (
            'name' => 'one one one',
            'parent' => 2
        ),

    4 => Array
        (
            'name' => 'one two',
            'parent' => 1
        ),

    5 => Array
        (
            'name' => 'two',
            'parent' => 0
        ),

    6 => Array
        (
            'name' => 'two one',
            'parent' => 5
        ),

    7 => Array
        (
            'name' => 'two two',
            'parent' => 5
        ),

    8 => Array
        (
            'name' => 'three',
            'parent' => 0
        )

);

</description>
      <link>http://codeassembly.com/contact/#54</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/contact/#54</guid>
    </item>
    <item>
      <title>hakan</title>
      <description>thanks for your helpful articles! especially, i was looking for this code for 2 months :) this is my lucky day! thanks. </description>
      <link>http://codeassembly.com/How-to-center-a-page-layout/#53</link>
      <pubDate>2007-12-01 22:07:12</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-center-a-page-layout/#53</guid>
    </item>
    <item>
      <title>codeassembly</title>
      <description>Bob, I can assure you that no email or password is collected from that example.
I even disabled the submit button so people will not post the form data.</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#52</link>
      <pubDate>2007-11-30 01:40:15</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#52</guid>
    </item>
    <item>
      <title>bob</title>
      <description>Great way to snag passwords - post a password strength meter with an email form.</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#51</link>
      <pubDate>2007-11-30 00:19:22</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#51</guid>
    </item>
    <item>
      <title>Dave</title>
      <description>There are two ways to avoid rainbow table cracking:

1. Don't allow your encrypted passwords to fall into the hands of your attackers.
2. Use really long passwords.

If you are adding salt to passwords to increase their length, don't forget to make sure it's different salt for each password or an attacker will be able to crack all of your passwords as easily as cracking one of them.  Salt is also a good idea in general so that any two people with the same password won't have the same encrypted version.</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#50</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#50</guid>
    </item>
    <item>
      <title>YIT</title>
      <description>Great resource, i am using it to validate a registration form on my website, it works perfect. Thank you</description>
      <link>http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#49</link>
      <pubDate>2007-11-26 09:13:37</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#49</guid>
    </item>
    <item>
      <title>Jason</title>
      <description>Cheers Mauro - you are a star. It now works a treat :-))</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#48</link>
      <pubDate>2007-11-26 07:50:36</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#48</guid>
    </item>
    <item>
      <title>Bryan Price</title>
      <description>The problem is there is a DVD with all the hash codes for NT, 2000 and maybe even XP for all the 14 character alphanumeric passwords.  Can't find it now. :( Ah!

http://www.codinghorror.com/blog/archives/000949.html

Of course, throwing in on special character (+, -, #) you defeat that rainbow password cracking.  

At least until somebody decides to take that 8.5 gigs and starting adding more to it fill a 320GB laptop drive or a 1TB desktop drive.

Since I'm now rethinking my password strategy, I have yet to settle on something that I really like.

I'm thinking about using md5 hashes generated on my old passwords with a salt.  At least for my web passwords.  I've already found out how much my current low priority password shows up in Google with the md5 hash AND base64 encoding.  Login passwords are another issue.  md5 hashes aren't so great when you can't cut and paste.</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#47</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#47</guid>
    </item>
    <item>
      <title>Matt</title>
      <description>Interesting article & example.  I'd like to add a couple of thoughts, with respect to both the "password security" discussion, and the code shown in the example.

As e's comment demonstrates, length is very important, and longer the better.  Also, the randomness of a password (entropy) is also very important.  The "words with sprinkled numbers" approach seems strong because of the length.  However, where brute-force may be infeasible against them, a dictionary and/or rainbow table attack would likely make short work of such a password.  http://grc.com/passwords is a good resource on generating long high-entropy passwords.

You should also take a look at your markup.  The example page is missing a doctype, and H tags can't be nested within a P.  Besides, having a header inside a paragraph just doesn't make sense.  It would also have been nice to see this implemented as unobtrusive javascript, without the inline onkeyup call and and empty div tag.

I hope you don't take this as harsh.  It is meant to be constructive criticism.  A UI feature like this is a good way to help users use stronger passwords, and this demo is pretty slick.  With just a bit more work, it'll be worthy of the attention it seems to be getting on del.icio.us.

You also might want to check your spelling of "meter" in the example code ;-)</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#46</link>
      <pubDate>2007-11-26 07:31:25</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#46</guid>
    </item>
    <item>
      <title>YIT</title>
      <description>the problem regarding accessibility to those who cant see the pictures can be solved with a button that when pressed will play a cat sound or a dog sound :)</description>
      <link>http://codeassembly.com/A-more-fun-php-captcha-for-your-forms,-choose-the-cats-from-the-dogs/#44</link>
      <pubDate>2007-11-22 14:43:52</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/A-more-fun-php-captcha-for-your-forms,-choose-the-cats-from-the-dogs/#44</guid>
    </item>
    <item>
      <title>Mauro</title>
      <description>Hi, the problem is that you need to select the rows inside the function instead of declaring the menu_array as a global. It should work after that.</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#43</link>
      <pubDate>2007-11-26 07:31:52</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#43</guid>
    </item>
    <item>
      <title>Jason</title>
      <description>Hi,

Strange - I've also tried example above from Rik Moncur and it does exactly the same, works on one host but not another.

Regards

Jason</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#42</link>
      <pubDate>2007-11-26 07:32:56</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#42</guid>
    </item>
    <item>
      <title>Codeassembly</title>
      <description>Hi Jason, I had complains about this problem from other users, there is no php module requirement, I didn't discover the cause that is producing this problem.
I just retested my script and it works fine, I'm using php 5.2.4 with apache on linux for my tests, but I think it works fine on older versions to.</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#41</link>
      <pubDate>2007-11-26 07:32:29</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#41</guid>
    </item>
    <item>
      <title>Jason</title>
      <description>Hi

Having the same problem as Schalk above - works perfectly on one host but not on another?

Is there a specific PHP module that has to be enabled/installed for this to work?

Regards

Jason
</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#40</link>
      <pubDate>2007-11-26 07:32:42</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#40</guid>
    </item>
    <item>
      <title>Jason</title>
      <description>Hi,

I have tried using the above on two different hosts - both are running php v5.

On one host, the menu displays perfectly but on the other it only ever shows the first 'parent' and first 'child'.

Is there a specific PHP Module that needs to be enabled for this menu to work? (hosts question not mine :-))

Many thanks

Kind Regards

Jason</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#39</link>
      <pubDate>2008-03-21 14:02:43</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#39</guid>
    </item>
    <item>
      <title>Andrew Marlow</title>
      <description>This looks really good to me. But I cannot download the zip'd code. Looks like something may be wrong with the link. </description>
      <link>http://codeassembly.com/A-more-fun-php-captcha-for-your-forms,-choose-the-cats-from-the-dogs/#38</link>
      <pubDate>2007-11-19 08:50:09</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/A-more-fun-php-captcha-for-your-forms,-choose-the-cats-from-the-dogs/#38</guid>
    </item>
    <item>
      <title>e.</title>
      <description>This is fun! Is there any way of making this captcha accessible to those who have trouble seeing the pictures? </description>
      <link>http://codeassembly.com/A-more-fun-php-captcha-for-your-forms,-choose-the-cats-from-the-dogs/#37</link>
      <pubDate>2007-11-16 08:22:14</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/A-more-fun-php-captcha-for-your-forms,-choose-the-cats-from-the-dogs/#37</guid>
    </item>
    <item>
      <title>Avend</title>
      <description>Sure, this is a neat idea.. The only problem is that the picture samples you are using are repetitive: it would only take a few dozen manual refreshes to download all the images, sort them into the respective dog or cat category, and use that for making a bot. The bot could just compare file sizes (I think all these images have slightly different sizes), or perhaps an MD5 hash of them.

A more robust solution I believe would be to perhaps generate a new image, placing N pictures of cats and dogs in the picture randomly, sending that to the client, then asking how many of each one there are. Of course, this number would probably be less than 10, so even with that you could send enough junk to eventually get some through.</description>
      <link>http://codeassembly.com/A-more-fun-php-captcha-for-your-forms,-choose-the-cats-from-the-dogs/#36</link>
      <pubDate>2007-11-15 21:34:39</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/A-more-fun-php-captcha-for-your-forms,-choose-the-cats-from-the-dogs/#36</guid>
    </item>
    <item>
      <title>Dadaso</title>
      <description>Really useful to develop project</description>
      <link>http://codeassembly.com/Why-are-php-coding-guidelines-important/#35</link>
      <pubDate>2007-11-15 07:22:08</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-are-php-coding-guidelines-important/#35</guid>
    </item>
    <item>
      <title>David Bradley</title>
      <description>That looks far too difficult for my puny php brain. Much simpler (as I'm using Wordpress) is to use the sitemap plugin, which does it all with a couple of clicks.

db</description>
      <link>http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#34</link>
      <pubDate>2007-11-13 02:22:19</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Generate-xml-sitemaps-with-php-directly-from-the-database-of-your-site/#34</guid>
    </item>
    <item>
      <title>e</title>
      <description>Hi,

Good article, but I have some suggestions.

6 letters is not a strong password. 6 letter passwords can be cracked almost instantly. I would suggest at least 8 characters.

Also, your math is wrong. Using both cases is better than doubling. Consider a 6 character password only using lowercase. That's 26^6 = 308 915 776 possabilities. Using both cases however, is 52^6 = 19 770 609 664. The difference between these is a factor of 64. So for an n character password, using both cases increases cracking time by 2^n, not 2.

Cheers</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#33</link>
      <pubDate>2007-11-14 17:04:29</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#33</guid>
    </item>
    <item>
      <title>dod</title>
      <description>thanks for the clear way you have put this tut together.
just the facts none of the crap.
I like how you mainly focused on what we really want to know, the php</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#32</link>
      <pubDate>2007-11-12 07:31:30</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#32</guid>
    </item>
    <item>
      <title>V.Z. Bunich</title>
      <description>I removed the multi-threading --with-mpm=worker it works now , thanks!</description>
      <link>http://codeassembly.com/Bug-fix-for-apache-2.2.6-compilation-on-64-bit-linux/#31</link>
      <pubDate>2007-11-11 19:39:13</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Bug-fix-for-apache-2.2.6-compilation-on-64-bit-linux/#31</guid>
    </item>
    <item>
      <title>V.Z. Bunich</title>
      <description>Hi there , 
first of all thanks for the patch and your effort.

Yet i still have a problem with it after
root@buddha httpd-2.2.6]make 
I get the following error:

/usr/local/src/httpd-2.2.6/server/mpm/worker/worker.c:1203: undefined reference to `ap_thread_stacksize'

<...
/usr/local/src/httpd-2.2.6/srclib/pcre/libpcre.la /usr/local/src/httpd-2.2.6/srclib/apr-util/libaprutil-1.la -lexpat /usr/local/src/httpd-2.2.6/srclib/apr/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl
server/mpm/worker/.libs/libworker.a(worker.o)(.text+0x13cc): In function `child_main':
/usr/local/src/httpd-2.2.6/server/mpm/worker/worker.c:1203: undefined reference to `ap_thread_stacksize'
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/usr/local/src/httpd-2.2.6'
make: *** [all-recursive] Error 1
root@blahblah httpd-2.2.6]#


i will try to look further in to it...

Vlad
</description>
      <link>http://codeassembly.com/Bug-fix-for-apache-2.2.6-compilation-on-64-bit-linux/#30</link>
      <pubDate>2007-11-11 18:13:49</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Bug-fix-for-apache-2.2.6-compilation-on-64-bit-linux/#30</guid>
    </item>
    <item>
      <title>Schalk</title>
      <description>Hi,

I have been looking for something like this for ages, thank you so much! I just have one problem, and I'm sure it would just require a little tweaking of some sorts...When the initial parent level (0) is generated, the only 0 level links that is displayed is 'Web Development' with 'PHP" underneath and that's it! Do you know why this is happening, or even better how I can fix it?

Many Thanks in advance Schalk</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#29</link>
      <pubDate>2007-11-09 08:39:34</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#29</guid>
    </item>
    <item>
      <title>Finalzone</title>
      <description>"At the time of writing this the "Add/Remove Software" does not work, it cannot connect to fedora website to check for updates I hope it will be soon fixed, I want to install some software that I forgot to check when I first installed fedora." 

Those are not bug. Fedora 8 is just released so it is better to wait before applying update.</description>
      <link>http://codeassembly.com/Fedora-8-Impressions/#28</link>
      <pubDate>2007-11-08 19:06:22</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Fedora-8-Impressions/#28</guid>
    </item>
    <item>
      <title>Rahul Sundaram</title>
      <description>The mirror list should work again. A hardware failed in the Fedora data center but has been replaced now. For the bugs, have you actually filed any bug reports instead of just hoping they would be aware of it and fixing it all by themselves? It would be useful to participate and file good bug reports on problems you find. Helps others keep track of the issues too. </description>
      <link>http://codeassembly.com/Fedora-8-Impressions/#27</link>
      <pubDate>2007-11-09 02:17:53</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Fedora-8-Impressions/#27</guid>
    </item>
    <item>
      <title>Harald</title>
      <description>i agree with most of your points, even though i don't like your coding-guidelines. but that's a very subjectiv point of view ;-). however:

in projects where you will not only have php code but javascript, perl, shell, whatever else phpdoc might not be the best solution, because i think the source-code documentation should look the same across all languages. i've tried several solutions for this and are now using robodoc, which i like very much. it won't analyse your source-code and therefore most time it's a lot more to write to document your code. on the other hand you have unified documentation for all your source-files - and i mean really all: you can even write documentation for your configuration-files for example.
</description>
      <link>http://codeassembly.com/Why-are-php-coding-guidelines-important/#26</link>
      <pubDate>2007-11-06 13:57:06</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-are-php-coding-guidelines-important/#26</guid>
    </item>
    <item>
      <title>John Waddell</title>
      <description>I encountered a mailcious cracker on one of our servers, apparently it originated in Germany. How it got into our server is still a mystery.  The cracker had a complete english dictionary list and tried to break into MS-SQL Server trying root, sa and admin and every word with numeric preamble and postamble.  Brute force isn't hard to employ.  We use a Dr. Seuss book and take 2 words from different pages and sprinkle numbers but no scheme is "uncrackable", or that's what we should assume.</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#25</link>
      <pubDate>2007-11-19 08:50:36</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#25</guid>
    </item>
    <item>
      <title>Ryan</title>
      <description>Excellent tutorial.  Explained well, highly detailed, very practical.  Thanks for writing this.  </description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#24</link>
      <pubDate>2007-11-05 13:58:58</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#24</guid>
    </item>
    <item>
      <title>Rafael Cortes</title>
      <description>Be carefull with the letter substituion alone, since most brute-force dictionaries already include words with the most common substitutions.
i.e. P@ssw0rd will show as a strong password, but it exists in most dictionaries, so does $tr0ngP4$$w0rd (StrongPassword) and Sys@dm1n... While P@ssw0rd and Sys@dm1n shows in this script as Strong, $tr0ngP4$$w0rd shows as strongest, they will not sustain a dictionary attack which usually gets done before or during the brute force attack. 
Try to use word combinations such as W0rd1ng-4-G33k$ (Wording-for-Geeks), or backward words like ys@3t0N$I$ihT (ThisIsNotEasy).
</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#23</link>
      <pubDate>2007-11-05 09:25:17</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#23</guid>
    </item>
    <item>
      <title>David Bradley</title>
      <description>Nice idea that might be easily mashed up with my <a href="http://www.sciencetext.com/passwords-for-scientists.html">passwords for scientists</a> tip ;-)

db</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#22</link>
      <pubDate>2007-11-05 04:42:12</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#22</guid>
    </item>
    <item>
      <title>Big</title>
      <description>Cute, but not particularly accurate, "P@ssw0rd" isn't really a "strong" password.

Anything that http://www.openwall.com/john/ can crack in under 10 seconds counts as "very weak". Modern tools are quite quick at anticipating simple number/letter substitution and other "leet speak" tactics.

Neat Javascript demo though - to do better you'd need to jump up the complexity significantly and use ajax running serverside dictionary attacks against the suggested password...

cheers,

big</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#21</link>
      <pubDate>2007-11-05 01:50:20</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#21</guid>
    </item>
    <item>
      <title>gigi</title>
      <description>very usefull tutorial</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#20</link>
      <pubDate>2007-11-19 08:50:54</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#20</guid>
    </item>
    <item>
      <title>Tane Piper</title>
      <description>I've released a jQuery plugin that makes this very easy:

http://dev.digitalspaghetti.me.uk/password/

It makes it easy to create a password field, and attach the effect to it showing the strength of the password, and it's very customizable.</description>
      <link>http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#19</link>
      <pubDate>2007-11-02 08:15:15</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/#19</guid>
    </item>
    <item>
      <title>A. Lai</title>
      <description>Your live example won't work on IE6. Just Firefox and Opera. 
Any idea why?</description>
      <link>http://codeassembly.com/Add-multiple-chained-ajax-comboboxes-without-writing-even-one-line-of-javascript-code,-using-a-php-class/#18</link>
      <pubDate>2007-10-31 11:28:25</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Add-multiple-chained-ajax-comboboxes-without-writing-even-one-line-of-javascript-code,-using-a-php-class/#18</guid>
    </item>
    <item>
      <title>devnic</title>
      <description>Cool. Something basic yet very informative to save a lot of struggle.
thanks</description>
      <link>http://codeassembly.com/How-to-center-a-page-layout/#17</link>
      <pubDate>2007-11-19 08:51:09</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-center-a-page-layout/#17</guid>
    </item>
    <item>
      <title>Jason</title>
      <description>The css version doesn't seem to function as per your example i.e. the first item in the menu has href link but should be just text?

Hope that makes sense - great tutorial though :-)

Regards

Jason</description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#16</link>
      <pubDate>2007-10-07 08:25:25</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#16</guid>
    </item>
    <item>
      <title>kasp3r</title>
      <description>Thank you very much for your article. It helped me a lot! </description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#15</link>
      <pubDate>2007-11-19 08:52:58</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#15</guid>
    </item>
    <item>
      <title>kasp3r</title>
      <description>Thank you very much for your article. It helped me a lot! </description>
      <link>http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#14</link>
      <pubDate>2007-11-19 08:53:07</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-inifinit-depth-expandable-categories-using-php-and-javascript/#14</guid>
    </item>
    <item>
      <title>Raul Saucedo</title>
      <description>Thanks for your answer,

I believe I got the file location issues covered.

I did test with all the files in the same directory on my local web server, just in case, I re-downloaded the files and tested again both on my local server and on my hosting. 

I tried with MS Explorer 6.0 SP2, Firfox 2.0.0.7 and Safari 2.02 for win, on a Win XP SP2 machine, the results are identical on all browsers. 

You can see what I mean at this address: http://www.masterkey.com.mx/validate.php

I am still wondering why the html form name is not returned to the script, although there is a lot in it so at least it is partially working.

Thanks in advance,

Best Regards,

Ra</description>
      <link>http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#12</link>
      <pubDate>2007-11-19 08:53:33</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#12</guid>
    </item>
    <item>
      <title>CodeAssembly</title>
      <description>You must put the files from this example in your "Document root" folder of your web server.
I think the problem is that "validate.js" is not included in your html file, check the path of "validate.js".
Also you didn't specify what browser you used, I only tested this example on Firefox and Internet Explorer.

</description>
      <link>http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#11</link>
      <pubDate>2007-11-19 08:53:57</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#11</guid>
    </item>
    <item>
      <title>CodeAssembly</title>
      <description>Yes, your observation is correct, I removed the links from top categories, because I don't have those categories on my website, and I don't like putting # on my links.
Thanks.</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#10</link>
      <pubDate>2007-11-19 08:53:44</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#10</guid>
    </item>
    <item>
      <title>Raul Saucedo</title>
      <description>Well this looks exactly what I need to verify inouto on my Web Site. 

Looks nice and clean.

Unfortunatelly it does not work (at least for me), Am I doing something wrong? I know, stupid things take a long time...

For some reason the "validate.js" is not producing the full code.
1) the desired script second line is missing:
"function validateuser_registration(formname) {" so initially the broser marks an error "error: return statement outside function" becasue the function was not called.

2) Then the second fucntions wich apparently most to get the "Formname" is not geting it.

3) Sadly even I fill manually those gaps manually, the validation starts to work, but when the form is correctly filled, I does not call the exit function, but shows the form again, with the data initially placed on it before all the validations clear...

I am sorry but I do not know any JS, so I ca not help.

Here it is what I get from the JS function:
<script>
error_color = '#FEFE00';
if (!minLength(formname.user,3,"Username must have at least 3 characters !")) return false;else
if (!IsEmpty(formname.name,"You forgot to enter your name !")) return false;else
if (!IsEmpty(formname.surname,"You forgot to enter your surname !")) return false;else
if (!isEmail(formname.email,"You must enter a valid email !")) return false;else
if (!isEmail(formname.email2,"You must enter a valid email2 !")) return false;else
if (!minLength(formname.pass,6,"Your password must have at least 6 characters !")) return false;else
if (!passwordMatch(formname.pass,formname.pass2,"Password don't match !")) return false;else
;
return true;};
function init(e)
{
	if ( validate(document.) == false ) 
	{
		if (!e) var e = window.event;
		if (e.preventDefault) {
		      e.preventDefault();
		      e.stopPropagation();
		} else {
		      e.returnValue = false;
		      e.cancelBubble = true;
		}		
		return false;
	} else
	{
		return true; 
	}
	//cancel submit if validate returns false;
}	

if (document.getElementById('').addEventListener)
{
  document.getElementById('').addEventListener('submit', init, false); 
} else if (document.getElementById('').attachEvent)
{
  document.getElementById('').attachEvent('onsubmit', init);
} else
{
	document.getElementById('').onclick = init;
}</script>

Would love to have it working!

Thanks in advance and keep doing this nice work.

Regards,

Raul S.




</description>
      <link>http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#9</link>
      <pubDate>2007-11-19 08:52:47</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#9</guid>
    </item>
    <item>
      <title>Jason</title>
      <description>The css version doesn't seem to function as per your example i.e. the first item in the menu has href link but should be just text?

Hope that makes sense - great tutorial though :-)

Regards

Jason</description>
      <link>http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#8</link>
      <pubDate>2007-10-05 16:02:58</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/How-to-display-infinite-depth-expandable-categories-using-php-and-javascript/#8</guid>
    </item>
    <item>
      <title>Hernan</title>
      <description>Useful class.  I will include it in my php resources collection :)</description>
      <link>http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#7</link>
      <pubDate>2007-11-19 08:52:30</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#7</guid>
    </item>
    <item>
      <title>ion gion</title>
      <description>There is indeed no purpose to use any template system in php. PHP itself is a template language, for example you can write the code above like this:

&lt?php if($name == 'Fred'): ?&gt;
 Welcome Sir. 
&lt?php elseif: ?&gt;
 Welcome Ma'am. 
&lt?php else: ?&gt;
 Welcome, whatever you are. 
&lt?php endif; ?&gt;

Remember that PHP also has an alternative syntax(so you can dismiss those curly brackets )

if:
//block
endif;

foreach($items as $k=>$v):
//block
endforeach;

and the list goes on(for/switch/do/while ...)

PHP itself is a fully fledged template language.
</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#6</link>
      <pubDate>2007-11-19 08:52:14</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#6</guid>
    </item>
    <item>
      <title>CodeAssembly</title>
      <description>Hi Michael, if your templates are not made by a designer, but by someone with php knowledge, I don't see the purpose of using smarty. I think that a designer's job is to make the template in psd or other graphics format, and the front end programmer should make the html + css from that template  and finally a php programmer should include the necessary php code to the template.
I think this approach is the best, because everybody does what he is good at.
I think is a very good idea to dump smarty, because there are no advantages in using it. You can try a template system based on php like <a href="http://phpsavant.com/yawiki/">phpsavant</a> or you can try a full featured mvc framework, the advantage of mvc is that it keeps your code really organized, keeping your business logic separated from your presentation logic.</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#5</link>
      <pubDate>2007-09-30 15:01:48</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#5</guid>
    </item>
    <item>
      <title>Notos</title>
      <description>Exlenet class but i whoul like to soo less alert and more in line alert ala DHTML</description>
      <link>http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#4</link>
      <pubDate>2007-11-19 08:51:57</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#4</guid>
    </item>
    <item>
      <title>kya</title>
      <description>nice codes.
it hep me a lot
expecting more like this
keep it up</description>
      <link>http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#3</link>
      <pubDate>2007-11-19 08:51:37</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#3</guid>
    </item>
    <item>
      <title>Michael Phipps</title>
      <description>I'm a long time user of Smarty Templates, but I've gotta say you raise some really good points.  Why do I use Smarty?  To separate business logic from presentation logic.  It used to be so designers could work with me, but I end up having to create the template myself anyway because web designers don't understand  templates.

I don't like having any HTML inside my PHP code.  Even though, unless you enforce it, Smarty still allows PHP code in templates - and one project I worked on I found another developer just writing PHP business logic straight into the Template Pages...  What's the point?

With the way I use Smarty, there's really no reason for me not to use plain old PHP instead.  In some cases I've used some pretty complicated template instructions to achieve something that would be much simpler to write in PHP.  

I have considered dumping smarty in the past.  Maybe it's time I actually tried working without smarty on one of my sites?</description>
      <link>http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#2</link>
      <pubDate>2007-11-19 08:51:27</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Why-template-systems-like-smarty-are-useless-and-sometimes-bad/#2</guid>
    </item>
    <item>
      <title>Michael Phipps</title>
      <description>Hi,

I just stumbled on your site through Furl, where i have a PHP search sent through to my feed reader.  From the articles I've already seen on your website (I'm commenting on this post after reading quite a number of your articles), I have added you to my feed reader, and will be very interested to see what you write about.

</description>
      <link>http://codeassembly.com/Hello-World-!/#1</link>
      <pubDate>2007-11-19 08:51:19</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Hello-World-!/#1</guid>
    </item>
    <item>
      <title>CodeAssembly</title>
      <description>I checked the example from your web server and I noticed that variables inside the heredoc from formvalidator class, are not parsed, it seems that there is a problem with new line characters between operating systems <a href="http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc">http://www.php.net/manual/en/language.types.string.php</a>. I'm using linux, I guess you are running windows for your web server, so the new line character is not the same and the heredoc does not parse correctly.
I replaced the heredoc with a double quoted string so now it should work on windows also.
You can download the new files and try it.
Thanks for the bug report.


</description>
      <link>http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#0</link>
      <pubDate>2007-11-19 08:53:22</pubDate>
      <guid isPermaLink="true">http://codeassembly.com/Validate-your-html-forms-with-javascript-and-php-with-a-simple-php-class-that-generates-everything/#0</guid>
    </item>
  </channel></rss>