<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2844052970545506101</id><updated>2011-04-21T20:24:17.041-07:00</updated><category term='addslashes() and stripslases()'/><category term='yahoo yui document page width'/><category term='php rss curl'/><category term='php and Javascript to rotate an image'/><category term='print HTML block inside code'/><category term='php'/><category term='cotentpaneopen'/><category term='php function to submit values to a form'/><category term='Joomla template components'/><category term='mysql privileges to only one database rather than global'/><category term='Google translate'/><category term='safari bug selectbox.options.add'/><category term='translate website language'/><category term='Cpanel email quota - error reads &quot;invalid maildirsize file&quot;'/><title type='text'>Nevis Design Digital</title><subtitle type='html'>The Nevis Design Digital blog for all technical information regarding their web development</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://nevisdesign.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://nevisdesign.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Admin</name><uri>http://www.blogger.com/profile/11194773503056314343</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>18</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2844052970545506101.post-7215301534807845299</id><published>2008-08-09T12:29:00.000-07:00</published><updated>2008-08-09T12:30:53.399-07:00</updated><title type='text'>change joomla title structure</title><content type='html'>edit includes/joomla.php and switch order of title&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844052970545506101-7215301534807845299?l=nevisdesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nevisdesign.blogspot.com/feeds/7215301534807845299/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2844052970545506101&amp;postID=7215301534807845299' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/7215301534807845299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/7215301534807845299'/><link rel='alternate' type='text/html' href='http://nevisdesign.blogspot.com/2008/08/change-joomla-title-structure.html' title='change joomla title structure'/><author><name>Admin</name><uri>http://www.blogger.com/profile/11194773503056314343</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844052970545506101.post-3639232277964955416</id><published>2008-04-21T03:57:00.000-07:00</published><updated>2008-04-21T04:00:03.991-07:00</updated><title type='text'>http://centricle.com/tools/html-entities/</title><content type='html'>The previous post used: http://centricle.com/tools/html-entities/ to search and replace the open tag brackets&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844052970545506101-3639232277964955416?l=nevisdesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nevisdesign.blogspot.com/feeds/3639232277964955416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2844052970545506101&amp;postID=3639232277964955416' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/3639232277964955416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/3639232277964955416'/><link rel='alternate' type='text/html' href='http://nevisdesign.blogspot.com/2008/04/httpcentriclecomtoolshtml-entities.html' title='http://centricle.com/tools/html-entities/'/><author><name>Admin</name><uri>http://www.blogger.com/profile/11194773503056314343</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844052970545506101.post-680491690481367005</id><published>2008-04-21T03:38:00.000-07:00</published><updated>2008-04-21T03:53:29.978-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='translate website language'/><category scheme='http://www.blogger.com/atom/ns#' term='Google translate'/><title type='text'>How to use Google Translate to offer your website in different languages</title><content type='html'>Here is the form details to submit to Google translate, you need to replace the image source in the text below:&lt;br /&gt;&lt;br /&gt;&amp;lt;form action=&amp;quot;http://www.google.com/translate&amp;quot; &amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;script language=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;document.write (&amp;quot;&amp;lt;input name=u value=&amp;quot;+location.href+&amp;quot; type=hidden&amp;gt;&amp;quot;)&lt;br /&gt;// --&amp;gt;&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input name=&amp;quot;hl&amp;quot; value=&amp;quot;en&amp;quot; type=&amp;quot;hidden&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input name=&amp;quot;ie&amp;quot; value=&amp;quot;UTF8&amp;quot; type=&amp;quot;hidden&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input name=&amp;quot;langpair&amp;quot; value=&amp;quot;&amp;quot; type=&amp;quot;hidden&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input name=&amp;quot;langpair&amp;quot; value=&amp;quot;en|fr&amp;quot; title=&amp;quot;French&amp;quot; src= &amp;quot;images/flags/fr.png&amp;quot; onclick=&amp;quot;this.form.langpair.value=this.value&amp;quot; type=&amp;quot;image&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input name=&amp;quot;langpair&amp;quot; value=&amp;quot;en|de&amp;quot; title=&amp;quot;German&amp;quot; src= &amp;quot;images/flags/de.png&amp;quot; onclick=&amp;quot;this.form.langpair.value=this.value&amp;quot; type=&amp;quot;image&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input name=&amp;quot;langpair&amp;quot; value=&amp;quot;en|it&amp;quot; title=&amp;quot;Italian&amp;quot; src= &amp;quot;images/flags/it.png&amp;quot; onclick=&amp;quot;this.form.langpair.value=this.value&amp;quot; type=&amp;quot;image&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input name=&amp;quot;langpair&amp;quot; value=&amp;quot;en|pt&amp;quot; title=&amp;quot;Portuguese&amp;quot; src= &amp;quot;images/flags/pt.png&amp;quot; onclick=&amp;quot;this.form.langpair.value=this.value&amp;quot; type=&amp;quot;image&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input name=&amp;quot;langpair&amp;quot; value=&amp;quot;en|es&amp;quot; title=&amp;quot;Spanish&amp;quot; src= &amp;quot;images/flags/es.png&amp;quot; onclick=&amp;quot;this.form.langpair.value=this.value&amp;quot; type=&amp;quot;image&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input name=&amp;quot;langpair&amp;quot; value=&amp;quot;en|ja&amp;quot; title=&amp;quot;Japanese&amp;quot; src= &amp;quot;images/flags/jp.png&amp;quot; onclick=&amp;quot;this.form.langpair.value=this.value&amp;quot; type=&amp;quot;image&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input name=&amp;quot;langpair&amp;quot; value=&amp;quot;en|ko&amp;quot; title=&amp;quot;Korean&amp;quot; src= &amp;quot;images/flags/kr.png&amp;quot; onclick=&amp;quot;this.form.langpair.value=this.value&amp;quot; type=&amp;quot;image&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input name=&amp;quot;langpair&amp;quot; value=&amp;quot;en|zh-CN&amp;quot; title=&amp;quot;Chinese Simplified&amp;quot; src= &amp;quot;images/flags/cn.png&amp;quot; onclick=&amp;quot;this.form.langpair.value=this.value&amp;quot; type=&amp;quot;image&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;input name=&amp;quot;langpair2&amp;quot; value=&amp;quot;en|ar&amp;quot; title=&amp;quot;Arabic&amp;quot; src= &amp;quot;images/flags/sa.png&amp;quot; onclick=&amp;quot;this.form.langpair.value=this.value&amp;quot; type=&amp;quot;image&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;/form&amp;gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844052970545506101-680491690481367005?l=nevisdesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nevisdesign.blogspot.com/feeds/680491690481367005/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2844052970545506101&amp;postID=680491690481367005' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/680491690481367005'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/680491690481367005'/><link rel='alternate' type='text/html' href='http://nevisdesign.blogspot.com/2008/04/how-to-use-google-translate-to-offer.html' title='How to use Google Translate to offer your website in different languages'/><author><name>Admin</name><uri>http://www.blogger.com/profile/11194773503056314343</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844052970545506101.post-7167440799934229368</id><published>2008-04-18T04:22:00.000-07:00</published><updated>2008-04-18T04:24:34.604-07:00</updated><title type='text'>Foreign Keys in Mysql</title><content type='html'>Here is a MYSQL statement to insert Foreign Keys:&lt;br /&gt;create table table1(lid int(11) not null, tid mediumint(9), tag text, FOREIGN KEY(lid) REFERENCES table2(lid) ON DELETE CASCADE, FOREIGN KEY(tid) REFERENCES table3(tid) ON DELETE CASCADE, PRIMARY KEY(lid,tid));&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844052970545506101-7167440799934229368?l=nevisdesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nevisdesign.blogspot.com/feeds/7167440799934229368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2844052970545506101&amp;postID=7167440799934229368' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/7167440799934229368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/7167440799934229368'/><link rel='alternate' type='text/html' href='http://nevisdesign.blogspot.com/2008/04/foreign-keys-in-mysql.html' title='Foreign Keys in Mysql'/><author><name>Admin</name><uri>http://www.blogger.com/profile/11194773503056314343</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844052970545506101.post-1277686650068802605</id><published>2008-04-18T04:07:00.000-07:00</published><updated>2008-04-18T04:09:03.009-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql privileges to only one database rather than global'/><title type='text'>mysql privileges to only one database rather than global</title><content type='html'>Here is the Mysql command for database specific user privileges rather than global:&lt;br /&gt;grant all on database.* to 'user'@'localhost' identified by 'password';&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844052970545506101-1277686650068802605?l=nevisdesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nevisdesign.blogspot.com/feeds/1277686650068802605/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2844052970545506101&amp;postID=1277686650068802605' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/1277686650068802605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/1277686650068802605'/><link rel='alternate' type='text/html' href='http://nevisdesign.blogspot.com/2008/04/mysql-privileges-to-only-one-database.html' title='mysql privileges to only one database rather than global'/><author><name>Admin</name><uri>http://www.blogger.com/profile/11194773503056314343</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844052970545506101.post-8586927212689332485</id><published>2008-04-11T06:43:00.000-07:00</published><updated>2008-04-11T06:49:12.085-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='print HTML block inside code'/><title type='text'>print HTML block inside code</title><content type='html'>Here is an old classic for printing HTML block inside PHP:&lt;br /&gt;$html = &lt;&lt;&lt; EOH&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;EOH;&lt;br /&gt;echo($html);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844052970545506101-8586927212689332485?l=nevisdesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nevisdesign.blogspot.com/feeds/8586927212689332485/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2844052970545506101&amp;postID=8586927212689332485' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/8586927212689332485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/8586927212689332485'/><link rel='alternate' type='text/html' href='http://nevisdesign.blogspot.com/2008/04/print-html-block-inside-code.html' title='print HTML block inside code'/><author><name>Admin</name><uri>http://www.blogger.com/profile/11194773503056314343</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844052970545506101.post-6261250552705663197</id><published>2008-04-08T03:36:00.000-07:00</published><updated>2008-04-08T03:39:50.894-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='yahoo yui document page width'/><title type='text'>yahoo yui document page width</title><content type='html'>Here are the page widths from the yahoo yui&lt;br /&gt;750px&lt;br /&gt;950px&lt;br /&gt;974px&lt;br /&gt;100%&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844052970545506101-6261250552705663197?l=nevisdesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nevisdesign.blogspot.com/feeds/6261250552705663197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2844052970545506101&amp;postID=6261250552705663197' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/6261250552705663197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/6261250552705663197'/><link rel='alternate' type='text/html' href='http://nevisdesign.blogspot.com/2008/04/yahoo-yui-document-page-width.html' title='yahoo yui document page width'/><author><name>Admin</name><uri>http://www.blogger.com/profile/11194773503056314343</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844052970545506101.post-4110853236585877338</id><published>2008-04-07T07:47:00.000-07:00</published><updated>2008-04-07T07:48:58.248-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='php and Javascript to rotate an image'/><title type='text'>php and Javascript to rotate an image</title><content type='html'>The random image rotator uses PHP to get a list of images in a specified directory. This listing is then used in combination with the JavaScript Rotate Images code and its Random Rotation component to randomly swap in these images on a timer. You can specify whether to include all the directory's images or limit the number.&lt;br /&gt;source &lt;a href="http://dyn-web.com/scripts/rotate-rand/"&gt;here&lt;/a&gt;&lt;br /&gt;and an example can be found here http://www.hanslips.com/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844052970545506101-4110853236585877338?l=nevisdesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nevisdesign.blogspot.com/feeds/4110853236585877338/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2844052970545506101&amp;postID=4110853236585877338' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/4110853236585877338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/4110853236585877338'/><link rel='alternate' type='text/html' href='http://nevisdesign.blogspot.com/2008/04/php-and-javascript-to-rotate-image.html' title='php and Javascript to rotate an image'/><author><name>Admin</name><uri>http://www.blogger.com/profile/11194773503056314343</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844052970545506101.post-5912754623177472196</id><published>2008-04-07T07:23:00.000-07:00</published><updated>2008-04-07T07:25:35.040-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='php rss curl'/><title type='text'>php to pull down rss feeds with cURL</title><content type='html'>Here is three lines of PHP to pull down RSS feeds:&lt;br /&gt;$ch = curl_init();&lt;br /&gt;curl_setopt($ch, CURLOPT_URL,&lt;br /&gt;'http://www.somewebsite.com');&lt;br /&gt;curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);&lt;br /&gt;$contents = curl_exec ($ch);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844052970545506101-5912754623177472196?l=nevisdesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nevisdesign.blogspot.com/feeds/5912754623177472196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2844052970545506101&amp;postID=5912754623177472196' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/5912754623177472196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/5912754623177472196'/><link rel='alternate' type='text/html' href='http://nevisdesign.blogspot.com/2008/04/php-to-pull-down-rss-feeds-with-curl.html' title='php to pull down rss feeds with cURL'/><author><name>Admin</name><uri>http://www.blogger.com/profile/11194773503056314343</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844052970545506101.post-2922960065655550670</id><published>2008-04-02T08:29:00.000-07:00</published><updated>2008-04-02T08:30:30.372-07:00</updated><title type='text'>mysql command for creating a primary index</title><content type='html'>here is a mysql command for creating a primary index for a table:&lt;br /&gt;id INT(11) NOT NULL PRIMARY KEY AUTO_INCREMENT&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844052970545506101-2922960065655550670?l=nevisdesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nevisdesign.blogspot.com/feeds/2922960065655550670/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2844052970545506101&amp;postID=2922960065655550670' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/2922960065655550670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/2922960065655550670'/><link rel='alternate' type='text/html' href='http://nevisdesign.blogspot.com/2008/04/mysql-command-for-creating-primary.html' title='mysql command for creating a primary index'/><author><name>Admin</name><uri>http://www.blogger.com/profile/11194773503056314343</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844052970545506101.post-3654011652417509988</id><published>2008-04-02T08:10:00.000-07:00</published><updated>2008-04-02T08:12:56.324-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='php function to submit values to a form'/><title type='text'>php function to submit values to a form</title><content type='html'>Here is a php function to submit values to a form:&lt;br /&gt;function hitForm($loginURL, $loginFields, $referer=”") {&lt;br /&gt;$ch = curl_init();&lt;br /&gt;curl_setopt($ch, CURLOPT_COOKIEJAR, “cookies.txt”);&lt;br /&gt;curl_setopt($ch, CURLOPT_COOKIEFILE, “cookies.txt”);&lt;br /&gt;curl_setopt($ch, CURLOPT_URL, $loginURL);&lt;br /&gt;curl_setopt($ch, CURLOPT_POST, 1);&lt;br /&gt;curl_setopt($ch, CURLOPT_REFERER, $referer);&lt;br /&gt;curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);&lt;br /&gt;curl_setopt($ch, CURLOPT_POSTFIELDS, $loginFields);&lt;br /&gt;$ret = curl_exec($ch);&lt;br /&gt;curl_close($ch);&lt;br /&gt;return $ret;&lt;br /&gt;}&lt;br /&gt;hitForm(”http://technorati.com/login.php”, “username=wagerank&amp;password=%pass%”);&lt;br /&gt;You can read the original &lt;a href="http://www.wagerank.com/2007/how-to-submit-forms-with-php/"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844052970545506101-3654011652417509988?l=nevisdesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nevisdesign.blogspot.com/feeds/3654011652417509988/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2844052970545506101&amp;postID=3654011652417509988' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/3654011652417509988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/3654011652417509988'/><link rel='alternate' type='text/html' href='http://nevisdesign.blogspot.com/2008/04/php-function-to-submit-values-to-form.html' title='php function to submit values to a form'/><author><name>Admin</name><uri>http://www.blogger.com/profile/11194773503056314343</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844052970545506101.post-696733061983929518</id><published>2008-03-30T07:07:00.000-07:00</published><updated>2008-03-30T07:09:06.438-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='addslashes() and stripslases()'/><title type='text'>inserting text into a database in php</title><content type='html'>I am using addslashes() and stripslases() to keep the dirty data out and stop the php from erroring out&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844052970545506101-696733061983929518?l=nevisdesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nevisdesign.blogspot.com/feeds/696733061983929518/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2844052970545506101&amp;postID=696733061983929518' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/696733061983929518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/696733061983929518'/><link rel='alternate' type='text/html' href='http://nevisdesign.blogspot.com/2008/03/inserting-text-into-database-in-php.html' title='inserting text into a database in php'/><author><name>Admin</name><uri>http://www.blogger.com/profile/11194773503056314343</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844052970545506101.post-2477723919095526123</id><published>2008-03-26T13:52:00.001-07:00</published><updated>2008-03-26T13:53:05.711-07:00</updated><title type='text'>foreign keys on a compound primary key</title><content type='html'>Here is the MYSQL command to create a compound primary key from two foreign keys:&lt;br /&gt;&lt;br /&gt; create table loc_title(lid int(11) not null, tid mediumint(9), tag text, FOREIGN KEY(lid) REFERENCES location(lid) ON DELETE CASCADE, FOREIGN KEY(tid) REFERENCES title(tid) ON DELETE CASCADE, PRIMARY KEY(lid,tid));&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844052970545506101-2477723919095526123?l=nevisdesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nevisdesign.blogspot.com/feeds/2477723919095526123/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2844052970545506101&amp;postID=2477723919095526123' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/2477723919095526123'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/2477723919095526123'/><link rel='alternate' type='text/html' href='http://nevisdesign.blogspot.com/2008/03/foreign-keys-on-compound-primary-key.html' title='foreign keys on a compound primary key'/><author><name>Admin</name><uri>http://www.blogger.com/profile/11194773503056314343</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844052970545506101.post-2132541387705515470</id><published>2008-03-13T12:51:00.000-07:00</published><updated>2008-03-13T12:54:17.414-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='safari bug selectbox.options.add'/><title type='text'>safari javascript bug work around - selectbox.options.add</title><content type='html'>I found a work around for the old safari bug selectbox.options.add when I replaced it with this: selectbox.options[selectbox.options.length] = new Option(optn.text,optn.value);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844052970545506101-2132541387705515470?l=nevisdesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nevisdesign.blogspot.com/feeds/2132541387705515470/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2844052970545506101&amp;postID=2132541387705515470' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/2132541387705515470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/2132541387705515470'/><link rel='alternate' type='text/html' href='http://nevisdesign.blogspot.com/2008/03/safari-javascript-bug-work-around.html' title='safari javascript bug work around - selectbox.options.add'/><author><name>Admin</name><uri>http://www.blogger.com/profile/11194773503056314343</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844052970545506101.post-3320030392858160514</id><published>2008-02-29T01:29:00.000-08:00</published><updated>2008-02-29T01:35:33.470-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cotentpaneopen'/><category scheme='http://www.blogger.com/atom/ns#' term='Joomla template components'/><title type='text'>Pesky Joomla component table</title><content type='html'>I found a fix for that spacing problem in the Joomla template where a component table is added "contentpaneopen" and it can add cellpadding and cellspacing to your template, this can be removed by editing components/com_content/content.html.php&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844052970545506101-3320030392858160514?l=nevisdesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nevisdesign.blogspot.com/feeds/3320030392858160514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2844052970545506101&amp;postID=3320030392858160514' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/3320030392858160514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/3320030392858160514'/><link rel='alternate' type='text/html' href='http://nevisdesign.blogspot.com/2008/02/pesky-joomla-component-table.html' title='Pesky Joomla component table'/><author><name>Admin</name><uri>http://www.blogger.com/profile/11194773503056314343</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844052970545506101.post-2554604378770219508</id><published>2008-02-27T05:30:00.000-08:00</published><updated>2008-02-27T05:31:08.651-08:00</updated><title type='text'>getting HTML pages to parse PHP</title><content type='html'>By adding this to my .htaccess file:&lt;br /&gt;AddType application/x-httpd-php .php .html&lt;br /&gt;I got my Browser to pick up my PHP includes in my HTML files&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844052970545506101-2554604378770219508?l=nevisdesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nevisdesign.blogspot.com/feeds/2554604378770219508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2844052970545506101&amp;postID=2554604378770219508' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/2554604378770219508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/2554604378770219508'/><link rel='alternate' type='text/html' href='http://nevisdesign.blogspot.com/2008/02/getting-html-pages-to-parse-php.html' title='getting HTML pages to parse PHP'/><author><name>Admin</name><uri>http://www.blogger.com/profile/11194773503056314343</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844052970545506101.post-1569528467048639962</id><published>2008-02-25T05:10:00.000-08:00</published><updated>2008-02-27T05:33:19.041-08:00</updated><title type='text'>still having problems with CSS in IE 7</title><content type='html'>Am still being forced to split out my CSS to take care of CSS in IE 7 for Joomla, which forces me to have a file I cannot edit from the CMS:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[if lte IE 6]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[if IE 7]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844052970545506101-1569528467048639962?l=nevisdesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nevisdesign.blogspot.com/feeds/1569528467048639962/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2844052970545506101&amp;postID=1569528467048639962' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/1569528467048639962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/1569528467048639962'/><link rel='alternate' type='text/html' href='http://nevisdesign.blogspot.com/2008/02/still-having-problems-with-css-in-ie-7.html' title='still having problems with CSS in IE 7'/><author><name>Admin</name><uri>http://www.blogger.com/profile/11194773503056314343</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844052970545506101.post-7884460973701537478</id><published>2008-02-25T01:23:00.000-08:00</published><updated>2008-02-25T01:26:26.081-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cpanel email quota - error reads &quot;invalid maildirsize file&quot;'/><title type='text'>Cpanel email quota - error reads "invalid maildirsize file"</title><content type='html'>I was having trouble with setting new quotas for mail directories in Cpanel, when I found that you can delete the text file that holds the quota information and it will re-create itself. This will get rid of any corruption/confusion that has caused the quota error, but make sure you delete the 'maildirsize' file for that user only.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844052970545506101-7884460973701537478?l=nevisdesign.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nevisdesign.blogspot.com/feeds/7884460973701537478/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2844052970545506101&amp;postID=7884460973701537478' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/7884460973701537478'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844052970545506101/posts/default/7884460973701537478'/><link rel='alternate' type='text/html' href='http://nevisdesign.blogspot.com/2008/02/cpanel-email-quota-error-reads-invalid.html' title='Cpanel email quota - error reads &quot;invalid maildirsize file&quot;'/><author><name>Admin</name><uri>http://www.blogger.com/profile/11194773503056314343</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
