<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DkMFSHs_fCp7ImA9WhRUGE0.&quot;"><id>tag:blogger.com,1999:blog-32362353</id><updated>2012-01-28T18:33:39.544-08:00</updated><category term="paypalsandbox" /><category term="subquery" /><category term="mediawiki" /><category term="sox" /><category term="tools" /><category term="unix tools" /><category term="logs" /><category term="PCMCIA" /><category term="development" /><category term="SIP" /><category term="fonts" /><category term="instr" /><category term="routers" /><category term="analytics" /><category term="jpg" /><category term="eeepc" /><category term="mobility" /><category term="chrome" /><category term="suse" /><category term="onlineshop" /><category term="signup" /><category term="magpierss" /><category term="rss" /><category term="apps" /><category term="interesting tools" /><category term="xpath" /><category term="E72" /><category term="Mac OS X" /><category term="email" /><category term="unicode" /><category term="priority" /><category term="gii" /><category term="kudos" /><category term="pix" /><category term="easter eggs" /><category term="wget" /><category term="carbide" /><category term="scripting" /><category term="len" /><category term="paint" /><category term="tif" /><category term="eAccelerator" /><category term="EFI" /><category term="winbolic" /><category term="java" /><category term="ntfs" /><category term="PDF" /><category term="google analytics api" /><category term="UTF-8" /><category term="TC" /><category term="guid" /><category term="graphics" /><category term="putty" /><category term="ffmpeg" /><category term="networking" /><category term="wordpress" /><category term="libxml2" /><category term="rotate" /><category term="preview" /><category term="URLEncoder" /><category term="VBA" /><category term="interface builder" /><category term="j2me" /><category term="twhirl" /><category term="dns" /><category term="javac" /><category term="admob" /><category term="unique identifier" /><category term="cgsize" /><category term="pear" /><category term="mp3" /><category term="ubuntu" /><category term="zencart" /><category term="event log" /><category term="blogging" /><category term="enterprise linux" /><category term="desktop linux" /><category term="chinese" /><category term="Excel" /><category term="php5" /><category term="mail" /><category term="loop" /><category term="dom" /><category term="iframe" /><category term="macosx" /><category term="perl" /><category term="Ghostscript" /><category term="locale" /><category term="cname" /><category term="tooltips" /><category term="objective c" /><category term="tomcat" /><category term="png" /><category term="length" /><category term="tomcat6" /><category term="sqlite3" /><category term="dhtml" /><category term="interface" /><category term="internationalization" /><category term="content management" /><category term="symbolic links" /><category term="ios" /><category term="gimp" /><category term="importance" /><category term="firewall" /><category term="del" /><category term="mod_jk" /><category term="filezilla" /><category term="update" /><category term="hardware" /><category term="goosh" /><category term="text editors" /><category term="login" /><category term="sftp" /><category term="sqlite" /><category term="total commander" /><category term="remote" /><category term="opensource patents microsoft" /><category term="xslt" /><category term="file permissions" /><category term="linksys" /><category term="phpize" /><category term="apache2" /><category term="zen cart" /><category term="regex" /><category term="click" /><category term="jquery" /><category term="print" /><category term="blackberry" /><category term="paypal" /><category term="RTC" /><category term="sql" /><category term="wireless" /><category term="adsense" /><category term="twitter" /><category term="wav" /><category term="mod_rewrite" /><category term="server" /><category term="exception" /><category term="gcc" /><category term="junction points" /><category term="htaccess" /><category term="symfony" /><category term="cyberduck" /><category term="image processing" /><category term="writing" /><category term="ftp" /><category term="peacocks" /><category term="mobile" /><category term="JSP" /><category term="web" /><category term="snow leopard" /><category term="date" /><category term="insert" /><category term="terminal services" /><category term="pavophobia" /><category term="c#" /><category term="firefox" /><category term="cisco" /><category term="iphone" /><category term="bootproblems" /><category term="windows xp" /><category term="css" /><category term="ActiveX" /><category term="info.plist" /><category term="symbian" /><category term="cpanel" /><category term="shortcuts" /><category term="mod_proxy" /><category term="keyboard" /><category term=".net" /><category term="scp" /><category term="vim" /><category term="windows mobile" /><category term="strings" /><category term="cron" /><category term="Excel.Application" /><category term="asp" /><category term="file transfer" /><category term="xml" /><category term="windows server 2003" /><category term="MySQL" /><category term="midlet" /><category term="Nokia" /><category term="UIBarButtonItem" /><category term="webcam" /><category term="gsm" /><category term="bundle identifier" /><category term="regular expression" /><category term="bash" /><category term="text processing" /><category term="web authoring" /><category term="adobe illustrator" /><category term="flex" /><category term="rbac" /><category term="android" /><category term="xcode" /><category term="apache errors" /><category term="html" /><category term="digital signatures" /><category term="dropbox" /><category term="screenshot" /><category term="yii" /><category term="plugins" /><category term="capture" /><category term="modal" /><category term="midnight commander" /><category term="sandbox" /><category term="batch conversion" /><category term="cheat sheet" /><category term="dmoz" /><category term="hal.dll" /><category term="wiki" /><category term="javascript" /><category term="search engines" /><category term="old version" /><category term="NC" /><category term="joomla" /><category term="partitions" /><category term="ipad" /><category term="union query" /><category term="MacOS X" /><category term="forloop" /><category term="MAC" /><category term="RTCCORELib" /><category term="adobe air" /><category term="awstats" /><category term="cdo" /><category term="IVideoWindow" /><category term="find" /><category term="sdk" /><category term="cms" /><category term="telnet" /><category term="domain" /><category term="windows" /><category term="blackberry bold" /><category term="database" /><category term="DCOM" /><category term="ipn" /><category term="linux" /><category term="apache" /><category term="google analytics" /><category term="key" /><category term="commandline" /><category term="appstore" /><category term="E71" /><category term="vi" /><category term="php" /><category term="stream" /><category term="MacOS" /><category term="MC" /><category term="jvm" /><category term="ascii" /><category term="config" /><category term="blackberry bold 9700" /><category term="terminal" /><category term="SEO" /><category term="hacks" /><category term="file conversion" /><category term="drupal" /><category term="mono" /><title>Mark's Tech Stuff</title><subtitle type="html">Solutions to technical problems that I wish to share and keep for my own reference too.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://www.markstechstuff.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>149</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/blogspot/uCHmA" /><feedburner:info uri="blogspot/uchma" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;A0YBRH4-fSp7ImA9WhRRFUk.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-6540131295282672963</id><published>2011-11-28T22:45:00.000-08:00</published><updated>2011-11-28T22:45:55.055-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-28T22:45:55.055-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="paypal" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="paypalsandbox" /><category scheme="http://www.blogger.com/atom/ns#" term="ipn" /><title>HTTP/1.0 302 Found - PayPal IPN in PHP</title><content type="html">I was getting the error "HTTP/1.0 302 Found" when trying to configure some old PayPal IPN code that I had in PHP.&lt;br /&gt;
&lt;br /&gt;
So I found on &lt;a href='http://www.jomres.net/forum/General-discussion/10590-PayPal-IPN----IP-Address-Expansion'&gt;this forum&lt;/a&gt; that what I needed to do was open my paypal.inc.php file and change the following line:&lt;br /&gt;
&lt;br /&gt;
$fp= @ fsockopen($this-&gt;paypalurl,80,$errno,$errstr,30);&lt;br /&gt;
&lt;br /&gt;
to this one:&lt;br /&gt;
$fp = fsockopen('ssl://'.$this-&gt;paypalurl,"443",$err_num,$err_str,30);&lt;br /&gt;
&lt;br /&gt;
Looks like the PayPal IPN is not taking non SSL connections anymore?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-6540131295282672963?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xYgWlQPs0Fr__k5dJ1ssxtkpW0I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xYgWlQPs0Fr__k5dJ1ssxtkpW0I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xYgWlQPs0Fr__k5dJ1ssxtkpW0I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xYgWlQPs0Fr__k5dJ1ssxtkpW0I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/ZK0ob8o2yRE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/6540131295282672963/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/11/http10-302-found-paypal-ipn-in-php.html#comment-form" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/6540131295282672963?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/6540131295282672963?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/ZK0ob8o2yRE/http10-302-found-paypal-ipn-in-php.html" title="HTTP/1.0 302 Found - PayPal IPN in PHP" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><thr:total>3</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/11/http10-302-found-paypal-ipn-in-php.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0AASH8zeSp7ImA9WhRREk8.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-3562160913864025483</id><published>2011-11-25T06:02:00.000-08:00</published><updated>2011-11-25T06:02:29.181-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-25T06:02:29.181-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><category scheme="http://www.blogger.com/atom/ns#" term="UTF-8" /><category scheme="http://www.blogger.com/atom/ns#" term="chinese" /><category scheme="http://www.blogger.com/atom/ns#" term="strings" /><category scheme="http://www.blogger.com/atom/ns#" term="ascii" /><title>Removing Chinese or non ASCII Characters from the end of a string in MySQL</title><content type="html">Step 1. First make sure the string has Chinese or non ASCII characters in it:&lt;br /&gt;
&lt;br /&gt;
select asciiname from table1 &lt;br /&gt;
where asciiname regexp(concat('[',char(128),'-',char(255),']'));&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 2. If the Chinese name is definitely at the end of your field, you just need to trim the last occurrence of a space in your field. Confirm it is doing the right thing first:&lt;br /&gt;
&lt;br /&gt;
select asciiname, reverse(substring(reverse(asciiname), locate(' ', reverse( asciiname ) )+1))&lt;br /&gt;
from table1&lt;br /&gt;
where asciiname regexp(concat('[',char(128),'-',char(255),']'));&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 3. Execute:&lt;br /&gt;
&lt;br /&gt;
update table1&lt;br /&gt;
set asciiname = reverse(substring(reverse(asciiname), locate(' ', reverse( asciiname ) )+1))&lt;br /&gt;
where asciiname regexp(concat('[',char(128),'-',char(255),']'));&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
My sources for this were (I am very grateful to):&lt;br /&gt;
1. &lt;a href='http://stackoverflow.com/questions/461871/find-rows-with-non-ascii-values-in-a-column'&gt;http://stackoverflow.com/questions/461871/find-rows-with-non-ascii-values-in-a-column&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
2. &lt;a href='http://dev.mysql.com/doc/refman/5.1/en/string-functions.html'&gt;http://dev.mysql.com/doc/refman/5.1/en/string-functions.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-3562160913864025483?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/c3UhF3oMYv7fzg4tidjJOptPcqc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/c3UhF3oMYv7fzg4tidjJOptPcqc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/c3UhF3oMYv7fzg4tidjJOptPcqc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/c3UhF3oMYv7fzg4tidjJOptPcqc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/myM5fsn8tdA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/3562160913864025483/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/11/removing-chinese-or-non-ascii.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/3562160913864025483?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/3562160913864025483?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/myM5fsn8tdA/removing-chinese-or-non-ascii.html" title="Removing Chinese or non ASCII Characters from the end of a string in MySQL" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/11/removing-chinese-or-non-ascii.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0UAR3kycCp7ImA9WhRREk8.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-3799665828996576535</id><published>2011-11-25T05:54:00.000-08:00</published><updated>2011-11-25T05:54:06.798-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-25T05:54:06.798-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><category scheme="http://www.blogger.com/atom/ns#" term="update" /><title>Update from one mysql table to another</title><content type="html">Something I did a lot of today. Updating from one table in mysql to another:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
UPDATE table2 t2, table1 t1&lt;br /&gt;
SET t1.t2name = t2.name&lt;br /&gt;
WHERE &lt;br /&gt;
t1.id = t2.id&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-3799665828996576535?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/erxIkj30PVSEx9Ivo3FNxiqRxk4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/erxIkj30PVSEx9Ivo3FNxiqRxk4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/erxIkj30PVSEx9Ivo3FNxiqRxk4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/erxIkj30PVSEx9Ivo3FNxiqRxk4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/HJQDn4IKIXo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/3799665828996576535/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/11/update-from-one-mysql-table-to-another.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/3799665828996576535?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/3799665828996576535?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/HJQDn4IKIXo/update-from-one-mysql-table-to-another.html" title="Update from one mysql table to another" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/11/update-from-one-mysql-table-to-another.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkIGRnw8eip7ImA9WhRSGUo.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-6584511781071237689</id><published>2011-11-22T08:15:00.000-08:00</published><updated>2011-11-22T08:15:27.272-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-22T08:15:27.272-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="yii" /><category scheme="http://www.blogger.com/atom/ns#" term="rbac" /><category scheme="http://www.blogger.com/atom/ns#" term="snow leopard" /><category scheme="http://www.blogger.com/atom/ns#" term="gii" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="Mac OS X" /><title>Yii. Rbac. No such file or directory (trying to connect via unix:///var/mysql/mysql.sock</title><content type="html">To resolve the error in the title of this post:&lt;br /&gt;
&lt;br /&gt;
1. Set the following in "/etc/php.ini"&lt;br /&gt;
&lt;br /&gt;
pdo_mysql.default_socket=/tmp/mysql.sock&lt;br /&gt;
mysql.default_socket = /tmp/mysql.sock&lt;br /&gt;
mysqli.default_socket = /tmp/mysql.sock&lt;br /&gt;
&lt;br /&gt;
2. Comment out the following line in "/protected/config/main.php" of your app:&lt;br /&gt;
&lt;br /&gt;
'ipFilters'=&gt;array('localhost','::1'),&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Restart Apache:&lt;br /&gt;
&lt;br /&gt;
sudo apachectl restart&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-6584511781071237689?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/5zF-eONkmvGYRtab0AhmgYzyzMw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5zF-eONkmvGYRtab0AhmgYzyzMw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/5zF-eONkmvGYRtab0AhmgYzyzMw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5zF-eONkmvGYRtab0AhmgYzyzMw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/cWepmvUzh4s" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/6584511781071237689/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/11/yii-rbac-no-such-file-or-directory.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/6584511781071237689?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/6584511781071237689?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/cWepmvUzh4s/yii-rbac-no-such-file-or-directory.html" title="Yii. Rbac. No such file or directory (trying to connect via unix:///var/mysql/mysql.sock" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/11/yii-rbac-no-such-file-or-directory.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEQESHY9eCp7ImA9WhRSF0U.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-16426732374139913</id><published>2011-11-20T01:44:00.000-08:00</published><updated>2011-11-20T01:45:09.860-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-20T01:45:09.860-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ftp" /><category scheme="http://www.blogger.com/atom/ns#" term="cyberduck" /><category scheme="http://www.blogger.com/atom/ns#" term="apache errors" /><title>Upload with CyberDuck causing Internal Server Error</title><content type="html">I was getting the following error when trying to add a new file to my server with CyberDuck&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;"Internal Server Error&lt;br /&gt;
&lt;br /&gt;
The server encountered an internal error or misconfiguration and was unable to complete your request.&lt;br /&gt;
&lt;br /&gt;
Please contact the server administrator, webmaster@blahblahblahblah.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.&lt;br /&gt;
&lt;br /&gt;
More information about this error may be available in the server error log.&lt;br /&gt;
&lt;br /&gt;
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
When I took a closer look at my logs, I saw the error:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;Blah blah blah&lt;/i&gt; is writeable by group&lt;br /&gt;
&lt;br /&gt;
So then I realised the way to resolve this is:&lt;br /&gt;
&lt;br /&gt;
In CyberDuck:&lt;br /&gt;
&lt;br /&gt;
1. Right click on your file. Find the menu item 'info.' Click on it.&lt;br /&gt;
&lt;br /&gt;
2. Change your file's permissions to 644.&lt;br /&gt;
&lt;br /&gt;
Done&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-16426732374139913?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/N7Rbl4Py_DdOuiox-8WKEn1x2xg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/N7Rbl4Py_DdOuiox-8WKEn1x2xg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/N7Rbl4Py_DdOuiox-8WKEn1x2xg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/N7Rbl4Py_DdOuiox-8WKEn1x2xg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/jVnovlH6SXA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/16426732374139913/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/11/upload-with-cyberduck-causing-internal.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/16426732374139913?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/16426732374139913?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/jVnovlH6SXA/upload-with-cyberduck-causing-internal.html" title="Upload with CyberDuck causing Internal Server Error" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/11/upload-with-cyberduck-causing-internal.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0cCQX8-eip7ImA9WhRSEE4.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-5609680528303035686</id><published>2011-11-11T09:04:00.001-08:00</published><updated>2011-11-11T09:04:20.152-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-11T09:04:20.152-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="php" /><title>PHP Warning: session_start() [function.session-start]: Cannot send session cache limiter</title><content type="html">session_start() must go on the very first line of your php file.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-5609680528303035686?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2kB7lcP5tBYdQyQlG4M9ZuEYCKM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2kB7lcP5tBYdQyQlG4M9ZuEYCKM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2kB7lcP5tBYdQyQlG4M9ZuEYCKM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2kB7lcP5tBYdQyQlG4M9ZuEYCKM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/QXcrhlrds8c" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/5609680528303035686/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/11/php-warning-sessionstart.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/5609680528303035686?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/5609680528303035686?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/QXcrhlrds8c/php-warning-sessionstart.html" title="PHP Warning: session_start() [function.session-start]: Cannot send session cache limiter" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/11/php-warning-sessionstart.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0ENQHw5eyp7ImA9WhdVE04.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-7334426910112383193</id><published>2011-09-18T00:41:00.000-07:00</published><updated>2011-09-18T00:41:31.223-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-18T00:41:31.223-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="wordpress" /><category scheme="http://www.blogger.com/atom/ns#" term="plugins" /><category scheme="http://www.blogger.com/atom/ns#" term="adsense" /><title>How to put Google Adsense inside a WordPress Blog Entry or a Page</title><content type="html">1. Download Adsense Deluxe from this page: &lt;a href='http://www.acmetech.com/blog/adsense-deluxe/'&gt;http://www.acmetech.com/blog/adsense-deluxe/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
2. Install the plugin by uploading it to your WordPress installation.&lt;br /&gt;
&lt;br /&gt;
3. Follow these instructions on my previous post: &lt;a href='http://www.markstechstuff.com/2011/09/adsense-deluxe-plugin-for-wordpress-you.html'&gt;http://www.markstechstuff.com/2011/09/adsense-deluxe-plugin-for-wordpress-you.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-7334426910112383193?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-puQJReXmNy6MK8FCgSJOghS7mc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-puQJReXmNy6MK8FCgSJOghS7mc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-puQJReXmNy6MK8FCgSJOghS7mc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-puQJReXmNy6MK8FCgSJOghS7mc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/NKE3RyoWF7k" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/7334426910112383193/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/09/how-to-put-google-adsense-inside.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/7334426910112383193?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/7334426910112383193?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/NKE3RyoWF7k/how-to-put-google-adsense-inside.html" title="How to put Google Adsense inside a WordPress Blog Entry or a Page" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/09/how-to-put-google-adsense-inside.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0MHRnc7eip7ImA9WhdVE04.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-8189964226486348713</id><published>2011-09-18T00:37:00.000-07:00</published><updated>2011-09-18T00:37:17.902-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-18T00:37:17.902-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="wordpress" /><category scheme="http://www.blogger.com/atom/ns#" term="plugins" /><category scheme="http://www.blogger.com/atom/ns#" term="adsense" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><title>AdSense-Deluxe Plugin for WordPress: You do not have sufficient permissions to access this page.</title><content type="html">I tried installing the AdSense-Deluxe Plugin for Wordpress and I was getting the error:&lt;br /&gt;
&lt;br /&gt;
"You do not have sufficient permissions to access this page."&lt;br /&gt;
&lt;br /&gt;
What I did to solve this was:&lt;br /&gt;
&lt;br /&gt;
1. Open the file "adsense-deluxe.php"&lt;br /&gt;
&lt;br /&gt;
2. Search for the line: "add_action('admin_head', 'add_adsense_deluxe_menu');"&lt;br /&gt;
&lt;br /&gt;
3. Place the following line before it:&lt;br /&gt;
&lt;br /&gt;
add_action('admin_menu', 'add_adsense_deluxe_menu');&lt;br /&gt;
&lt;br /&gt;
4. Find any place where the variable $action_url is used. Replace it with:&lt;br /&gt;
&lt;br /&gt;
adsense-deluxe_wp_plugin_v0.8/adsense-deluxe.php&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then it should work properly. Woo...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-8189964226486348713?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/08GC0OtGWaEsCnI__uj837yOiM0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/08GC0OtGWaEsCnI__uj837yOiM0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/08GC0OtGWaEsCnI__uj837yOiM0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/08GC0OtGWaEsCnI__uj837yOiM0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/M_F5vewx_Vw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/8189964226486348713/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/09/adsense-deluxe-plugin-for-wordpress-you.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/8189964226486348713?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/8189964226486348713?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/M_F5vewx_Vw/adsense-deluxe-plugin-for-wordpress-you.html" title="AdSense-Deluxe Plugin for WordPress: You do not have sufficient permissions to access this page." /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/09/adsense-deluxe-plugin-for-wordpress-you.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkABSH0-cSp7ImA9WhdWFko.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-6978056812037552294</id><published>2011-09-10T11:08:00.000-07:00</published><updated>2011-09-10T11:19:19.359-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-10T11:19:19.359-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="domain" /><category scheme="http://www.blogger.com/atom/ns#" term="cname" /><category scheme="http://www.blogger.com/atom/ns#" term="dns" /><title>Custom domain for blogger.com blog with Moniker</title><content type="html">After years and years of thinking about it, I just registered a domain for this blog with Moniker.com.&lt;br /&gt;
&lt;br /&gt;
It probably doesn't do anything for SEO at all... all it does it give me the options to perhaps host a classifieds or a Q&amp;A site on subdomains of this blog (thinking thinking).&lt;br /&gt;
&lt;br /&gt;
Blogger is pretty good... I managed to get it up and running within minutes. Moniker on the other hand, is the most non-obvious and clunky thing ever (mostly undocumented by Google too!).&lt;br /&gt;
&lt;br /&gt;
1. At moniker, click on 'Domain Manager'&lt;br /&gt;
&lt;br /&gt;
2. Click the checkbox next to your domain then click on 'Zone Records: IP, MX, etc.'&lt;br /&gt;
&lt;br /&gt;
3. Click on your domain name.&lt;br /&gt;
&lt;br /&gt;
4. Click on the checkboxes for the records that are already existing and then click 'Save' to delete them (kinda weird).&lt;br /&gt;
&lt;br /&gt;
5. Add the CNAME ghs.google.com by selecting 'CNAME' from the 'record type' box, put 'www' in the 'address' box then click 'Add'&lt;br /&gt;
&lt;br /&gt;
6. One-by-one, Add the A records by selecting 'A(Address)' from the 'record type' box, put '*' in the 'address' box then click 'Add' for the following four addresses:&lt;br /&gt;
&lt;br /&gt;
216.239.32.21&lt;br /&gt;
216.239.34.21&lt;br /&gt;
216.239.36.21&lt;br /&gt;
216.239.38.21&lt;br /&gt;
&lt;br /&gt;
That's the Moniker part over and done with.&lt;br /&gt;
&lt;br /&gt;
7. Next, go to your existing blogger account and click on 'Settings' then 'Publishing'&lt;br /&gt;
&lt;br /&gt;
8. From there you can go to 'Advanced Settings' and enter the domain name that you bought and check the 'Redirect blahblahblah.com to www.blahblahblah.com'&lt;br /&gt;
&lt;br /&gt;
Then you're done!&lt;br /&gt;
&lt;br /&gt;
The good thing about this is that any links to your old blahblahblah.blogspot.com will be redirected to your new domain. So all backlinks to your site should still work. Woo hoo!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-6978056812037552294?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/gmTZJc1il8lncadC19w-mqe6Ajc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gmTZJc1il8lncadC19w-mqe6Ajc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/gmTZJc1il8lncadC19w-mqe6Ajc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gmTZJc1il8lncadC19w-mqe6Ajc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/465G6lRU_yI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/6978056812037552294/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/09/custom-domain-and-bloggercom-with.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/6978056812037552294?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/6978056812037552294?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/465G6lRU_yI/custom-domain-and-bloggercom-with.html" title="Custom domain for blogger.com blog with Moniker" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/09/custom-domain-and-bloggercom-with.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D08ESXgzfSp7ImA9WhdWFko.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-2272858788426707376</id><published>2011-09-10T10:30:00.000-07:00</published><updated>2011-09-10T10:30:08.685-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-10T10:30:08.685-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="png" /><category scheme="http://www.blogger.com/atom/ns#" term="image processing" /><category scheme="http://www.blogger.com/atom/ns#" term="jpg" /><category scheme="http://www.blogger.com/atom/ns#" term="MAC" /><category scheme="http://www.blogger.com/atom/ns#" term="batch conversion" /><category scheme="http://www.blogger.com/atom/ns#" term="tif" /><title>Batch convert tif to jpg on Mac</title><content type="html">I found a pretty neat tool on the App Store called &lt;a href='http://itunes.apple.com/us/app/batchconverter/id456747336?mt=12#'&gt;batchConverter&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
The only problem I found is that when I converted directly from tiff to jpg the image was getting messed up. Another thing was that batchConverter didn't list tif as an input format... only tiff. (However the author responded to my email almost immediately to say he'd add the feature request into newer versions).&lt;br /&gt;
&lt;br /&gt;
Anyway... here's what I did:&lt;br /&gt;
&lt;br /&gt;
1. Used muCommander to batch rename my files from tif to tiff.&lt;br /&gt;
&lt;br /&gt;
2. Did a batch conversion from tiff to png using batchConverter.&lt;br /&gt;
&lt;br /&gt;
3. Did a batch conversion from png to jpg.&lt;br /&gt;
&lt;br /&gt;
Saved me a lot of time!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-2272858788426707376?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/O5mwZhLpUdHNaBq79yPv2nY0XgE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/O5mwZhLpUdHNaBq79yPv2nY0XgE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/O5mwZhLpUdHNaBq79yPv2nY0XgE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/O5mwZhLpUdHNaBq79yPv2nY0XgE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/0YRZ2so0h70" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/2272858788426707376/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/09/batch-convert-tif-to-jpg-on-mac.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/2272858788426707376?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/2272858788426707376?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/0YRZ2so0h70/batch-convert-tif-to-jpg-on-mac.html" title="Batch convert tif to jpg on Mac" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/09/batch-convert-tif-to-jpg-on-mac.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D08NRHc5eyp7ImA9WhdRE0s.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-3810327964825935515</id><published>2011-08-03T03:04:00.000-07:00</published><updated>2011-08-03T03:04:55.923-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-03T03:04:55.923-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="google analytics" /><category scheme="http://www.blogger.com/atom/ns#" term="google analytics api" /><category scheme="http://www.blogger.com/atom/ns#" term="analytics" /><title>Where do I find the Google Analytics table id?</title><content type="html">Your table id should be in the format of "ga:PROFILE_ID"&lt;br /&gt;
&lt;br /&gt;
Which brings us to the next question. How do you find the profile ID?&lt;br /&gt;
&lt;br /&gt;
The profile ID should be accessible by clicking on 'Edit' in the 'Actions' column of your website profiles overview (in the old interface).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-3810327964825935515?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/EVs0HmvRg5djYqpXOFzsjTNduCM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/EVs0HmvRg5djYqpXOFzsjTNduCM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/EVs0HmvRg5djYqpXOFzsjTNduCM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/EVs0HmvRg5djYqpXOFzsjTNduCM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/YELekDazKU4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/3810327964825935515/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/08/where-do-i-find-google-analytics-table.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/3810327964825935515?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/3810327964825935515?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/YELekDazKU4/where-do-i-find-google-analytics-table.html" title="Where do I find the Google Analytics table id?" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/08/where-do-i-find-google-analytics-table.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8HRnc8cCp7ImA9WhdTE0o.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-4397305430435849764</id><published>2011-07-11T03:07:00.000-07:00</published><updated>2011-07-11T03:07:17.978-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-11T03:07:17.978-07:00</app:edited><title>Google Weirdness</title><content type="html">This reminds me of that scene from 'Dumb &amp; Dumber'&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-v33fuAAMO44/ThrLMx9TBPI/AAAAAAAAAK0/bBGraXu2nZU/s1600/google_weirdness_au.png" imageanchor="1" style="margin-left:1em; margin-right:1em"&gt;&lt;img border="0" height="125" width="320" src="http://3.bp.blogspot.com/-v33fuAAMO44/ThrLMx9TBPI/AAAAAAAAAK0/bBGraXu2nZU/s320/google_weirdness_au.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-4397305430435849764?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/cvKg1NMdxyfBQXmKykej90BANDQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cvKg1NMdxyfBQXmKykej90BANDQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/cvKg1NMdxyfBQXmKykej90BANDQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cvKg1NMdxyfBQXmKykej90BANDQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/oOg2Hc2uu2o" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/4397305430435849764/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/07/google-weirdness.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/4397305430435849764?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/4397305430435849764?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/oOg2Hc2uu2o/google-weirdness.html" title="Google Weirdness" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-v33fuAAMO44/ThrLMx9TBPI/AAAAAAAAAK0/bBGraXu2nZU/s72-c/google_weirdness_au.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/07/google-weirdness.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkYNSH48eip7ImA9WhdTEkQ.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-4015162434004600505</id><published>2011-07-10T03:36:00.000-07:00</published><updated>2011-07-10T03:36:39.072-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-10T03:36:39.072-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="joomla" /><category scheme="http://www.blogger.com/atom/ns#" term="cms" /><category scheme="http://www.blogger.com/atom/ns#" term="drupal" /><category scheme="http://www.blogger.com/atom/ns#" term="SEO" /><category scheme="http://www.blogger.com/atom/ns#" term="content management" /><category scheme="http://www.blogger.com/atom/ns#" term="web authoring" /><category scheme="http://www.blogger.com/atom/ns#" term="web" /><title>Four reasons to use a CMS</title><content type="html">I get a lot of traffic on this blog from people searching for help with Joomla issues. So I thought this might be relevant to some of my readers.&lt;br /&gt;
&lt;br /&gt;
Question: Should you really use a content management system for your web project?&lt;br /&gt;
&lt;br /&gt;
Some advantages involve ease of setup, ease of administration, adding new posts etc. Which are often a key selling point, especially when developing a website for users who deem themselves to be non-technical and don't want to mess around editing HTML and the likes.&lt;br /&gt;
&lt;br /&gt;
Anyway, I just read this in something I was reading and would like to share it here:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Four Reasons to Use a Content Management System&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;1. Do you need to update your website's content more than once a month?&lt;/li&gt;
&lt;li&gt;2. Do you plan to have a &lt;b&gt;regularly updated&lt;/b&gt; blog on the site? (Note: Regularly updated = someone will be responsible for it. Blog posts don't come out of nowhere.)&lt;/li&gt;
&lt;li&gt;3. Will non-technical/non-web developers be writing posts, updating the site, etc?&lt;/li&gt;
&lt;li&gt;4. Will you need the ability to update/manage/maintain the site from any location, without using special software like an FTP client etc?&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
If you answered 'Yes' to any of those questions, then you're likely to need one. If you didn't, then why not consider just making a static website?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-4015162434004600505?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/awzFv-kkiXhq5fDLSFXDEwidSIU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/awzFv-kkiXhq5fDLSFXDEwidSIU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/awzFv-kkiXhq5fDLSFXDEwidSIU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/awzFv-kkiXhq5fDLSFXDEwidSIU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/qllOGTmhxH8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/4015162434004600505/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/07/four-reasons-to-use-cms-and-one-not-to.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/4015162434004600505?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/4015162434004600505?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/qllOGTmhxH8/four-reasons-to-use-cms-and-one-not-to.html" title="Four reasons to use a CMS" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/07/four-reasons-to-use-cms-and-one-not-to.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkMER344eip7ImA9WhdUEkw.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-3339685719912200800</id><published>2011-07-08T22:01:00.001-07:00</published><updated>2011-09-28T04:46:46.032-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-28T04:46:46.032-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="sql" /><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><title>MySQL Create Table Syntax Example</title><content type="html">Quick one:&lt;br /&gt;
&lt;br /&gt;
CREATE TABLE mytable&lt;br /&gt;
(&lt;br /&gt;
myid INT NOT NULL AUTO_INCREMENT, &lt;br /&gt;
unique_name VARCHAR(255), &lt;br /&gt;
full_name VARCHAR(255), &lt;br /&gt;
phone_number VARCHAR(255),&lt;br /&gt;
loyalty_points INT,&lt;br /&gt;
PRIMARY KEY(myid,full_name)&lt;br /&gt;
);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-3339685719912200800?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/zs-IUvQ1dc8Yexn-KWtDtn2vr30/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zs-IUvQ1dc8Yexn-KWtDtn2vr30/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/zs-IUvQ1dc8Yexn-KWtDtn2vr30/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zs-IUvQ1dc8Yexn-KWtDtn2vr30/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/B8GQzIVChP4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/3339685719912200800/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/07/mysql-create-table-example.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/3339685719912200800?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/3339685719912200800?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/B8GQzIVChP4/mysql-create-table-example.html" title="MySQL Create Table Syntax Example" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/07/mysql-create-table-example.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk4AR306eip7ImA9WhZaGU4.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-5288977184396943629</id><published>2011-07-05T23:49:00.000-07:00</published><updated>2011-07-05T23:49:06.312-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-05T23:49:06.312-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="keyboard" /><category scheme="http://www.blogger.com/atom/ns#" term="Excel" /><category scheme="http://www.blogger.com/atom/ns#" term="shortcuts" /><title>Excel: Copy and paste the actual number rather than the formula</title><content type="html">1. CTRL + C (to copy the number)&lt;br /&gt;
&lt;br /&gt;
2. Move to the cell you wish to copy it to.&lt;br /&gt;
&lt;br /&gt;
3. ALT+E, then S&lt;br /&gt;
&lt;br /&gt;
4. Select 'Values' and click 'OK'&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-5288977184396943629?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/AORUFaoVAERU3UcPZawLUcrDSM0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AORUFaoVAERU3UcPZawLUcrDSM0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/AORUFaoVAERU3UcPZawLUcrDSM0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AORUFaoVAERU3UcPZawLUcrDSM0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/ucGdNplqp0g" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/5288977184396943629/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/07/excel-copy-and-paste-actual-number.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/5288977184396943629?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/5288977184396943629?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/ucGdNplqp0g/excel-copy-and-paste-actual-number.html" title="Excel: Copy and paste the actual number rather than the formula" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/07/excel-copy-and-paste-actual-number.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEcBSHY6fCp7ImA9WhZbGUU.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-3922116543816726518</id><published>2011-06-25T00:14:00.000-07:00</published><updated>2011-06-25T00:14:19.814-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-25T00:14:19.814-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="magpierss" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="rss" /><title>Suppress "Warning: MagpieRSS: Failed to parse RSS file."</title><content type="html">If for some reason you really want to suppress this error:&lt;br /&gt;
&lt;br /&gt;
1. Find the file rss_fetch.inc. In my case it was inside the folder "/magpierss-0.72/"&lt;br /&gt;
&lt;br /&gt;
2. Search for the text "Failed to parse RSS file" &lt;br /&gt;
&lt;br /&gt;
3. Comment out the following line:&lt;br /&gt;
&lt;br /&gt;
error($errormsg);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That should do the trick. A dirty fix, but a fix nontheless.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-3922116543816726518?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/otPpdPeigpdAGajA3c9JYVjIQm0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/otPpdPeigpdAGajA3c9JYVjIQm0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/otPpdPeigpdAGajA3c9JYVjIQm0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/otPpdPeigpdAGajA3c9JYVjIQm0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/vOJ--xl78Pk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/3922116543816726518/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/06/suppress-warning-magpierss-failed-to.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/3922116543816726518?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/3922116543816726518?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/vOJ--xl78Pk/suppress-warning-magpierss-failed-to.html" title="Suppress &quot;Warning: MagpieRSS: Failed to parse RSS file.&quot;" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/06/suppress-warning-magpierss-failed-to.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkQCQHk9fip7ImA9WhZRGU4.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-5071781537180517860</id><published>2011-04-15T23:11:00.000-07:00</published><updated>2011-04-15T23:12:41.766-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-15T23:12:41.766-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="xcode" /><category scheme="http://www.blogger.com/atom/ns#" term="ios" /><category scheme="http://www.blogger.com/atom/ns#" term="ipad" /><title>Hide Status Bar in iPhone</title><content type="html">In applicationDidFinishLaunching:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[[UIApplication sharedApplication] setStatusBarHidden:YES];&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-5071781537180517860?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/LB5DIoEwGz_uqrP8fi1Snbs4r3I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/LB5DIoEwGz_uqrP8fi1Snbs4r3I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/LB5DIoEwGz_uqrP8fi1Snbs4r3I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/LB5DIoEwGz_uqrP8fi1Snbs4r3I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/BwEc2ed_iPA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/5071781537180517860/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/04/hide-status-bar-in-iphone.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/5071781537180517860?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/5071781537180517860?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/BwEc2ed_iPA/hide-status-bar-in-iphone.html" title="Hide Status Bar in iPhone" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/04/hide-status-bar-in-iphone.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUAERHoyeip7ImA9WhZRGU4.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-2767056046196087325</id><published>2011-04-15T22:59:00.000-07:00</published><updated>2011-04-15T23:01:45.492-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-15T23:01:45.492-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="xcode" /><category scheme="http://www.blogger.com/atom/ns#" term="ios" /><category scheme="http://www.blogger.com/atom/ns#" term="iphone" /><category scheme="http://www.blogger.com/atom/ns#" term="ipad" /><category scheme="http://www.blogger.com/atom/ns#" term="admob" /><title>GADRequest Test Mode (isTesting)</title><content type="html">To set the GADRequest into test mode you are told to set 'isTesting.' This can be done by loading your GADBannerView like so:&lt;br /&gt;&lt;br /&gt;  GADRequest *r = [[GADRequest alloc] init];&lt;br /&gt;  r.testing = YES;&lt;br /&gt;  [bannerView_ loadRequest:r];&lt;br /&gt;&lt;br /&gt;Apparently you don't need to care about this when you submit you app, since AdMob will never be in test mode when deployed on a real device.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-2767056046196087325?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0y41a2toaV2YtjvcM874ELxrSd4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0y41a2toaV2YtjvcM874ELxrSd4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0y41a2toaV2YtjvcM874ELxrSd4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0y41a2toaV2YtjvcM874ELxrSd4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/ZY5r0_FEpGc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/2767056046196087325/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/04/gadrequest-test-mode-istesting.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/2767056046196087325?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/2767056046196087325?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/ZY5r0_FEpGc/gadrequest-test-mode-istesting.html" title="GADRequest Test Mode (isTesting)" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/04/gadrequest-test-mode-istesting.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU8NRnszfip7ImA9WhZRFE4.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-7004381690068608658</id><published>2011-04-10T04:04:00.000-07:00</published><updated>2011-04-10T04:11:37.586-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-10T04:11:37.586-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="len" /><category scheme="http://www.blogger.com/atom/ns#" term="Excel" /><category scheme="http://www.blogger.com/atom/ns#" term="find" /><category scheme="http://www.blogger.com/atom/ns#" term="length" /><category scheme="http://www.blogger.com/atom/ns#" term="instr" /><title>Select rows in excel based on criteria without FIND and nasty #VALUE errors</title><content type="html">So I want to get rid of all fields in an Excel spreadsheet that contain the value "{". The way I would think to do something like this in any programming language would be to use an 'instr' type of function and delete records accordingly.&lt;br /&gt;&lt;br /&gt;The problem with Excel is that you need to use a function like FIND. The problem with FIND is that it returns that nasty &lt;b&gt;"#VALUE"&lt;/b&gt; if there is no such field.&lt;br /&gt;&lt;br /&gt;I came across this solution on the _interwebs_ that is pretty nifty. The way it works is to get the length of a string where you have replaced (or substituted) the character "{" and compare that with a string that has not been replaced. If the string lengths are different, then boom... you can show/not show that field. I approve of this!&lt;br /&gt;&lt;br /&gt;Here's an example:&lt;br /&gt;&lt;br /&gt;=IF(LEN(SUBSTITUTE(D5,"{",""))=LEN(D5),D5,"")&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Enjoy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-7004381690068608658?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/fpfRZOlOtapJu5oaAUhn0IcrdOY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fpfRZOlOtapJu5oaAUhn0IcrdOY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/fpfRZOlOtapJu5oaAUhn0IcrdOY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fpfRZOlOtapJu5oaAUhn0IcrdOY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/faBTyVqErMA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/7004381690068608658/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/04/select-rows-in-excel-based-on-criteria.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/7004381690068608658?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/7004381690068608658?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/faBTyVqErMA/select-rows-in-excel-based-on-criteria.html" title="Select rows in excel based on criteria without FIND and nasty #VALUE errors" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/04/select-rows-in-excel-based-on-criteria.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QBRXw9eip7ImA9WhZRFE4.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-1419005539840437327</id><published>2011-04-10T03:26:00.000-07:00</published><updated>2011-04-10T03:29:14.262-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-10T03:29:14.262-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="info.plist" /><category scheme="http://www.blogger.com/atom/ns#" term="sqlite3" /><category scheme="http://www.blogger.com/atom/ns#" term="xcode" /><category scheme="http://www.blogger.com/atom/ns#" term="ios" /><category scheme="http://www.blogger.com/atom/ns#" term="bundle identifier" /><title>Sqlite database not accessible after change of bundle identifier</title><content type="html">Noticed the strangest behavior today.&lt;br /&gt;&lt;br /&gt;After I changed the bundle identifier in my XCode project, the sqlite database no longer had the tables I'd created before. Changing the bundle identifier back made the tables accessible again. Even from the command line interface they had disappeared.&lt;br /&gt;&lt;br /&gt;The way to resolve it was to re-enter the data :\&lt;br /&gt;&lt;br /&gt;Not sure why this happened or how it could be easier to migrate the data over yet. I need to investigate this more.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-1419005539840437327?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZwGWM22zrgqo20yjGaZDINXuy1U/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZwGWM22zrgqo20yjGaZDINXuy1U/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZwGWM22zrgqo20yjGaZDINXuy1U/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZwGWM22zrgqo20yjGaZDINXuy1U/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/0QvZSN1x7DM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/1419005539840437327/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/04/sqlite-database-not-accessible-after.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/1419005539840437327?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/1419005539840437327?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/0QvZSN1x7DM/sqlite-database-not-accessible-after.html" title="Sqlite database not accessible after change of bundle identifier" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/04/sqlite-database-not-accessible-after.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8CRH8-cCp7ImA9WhZRE0k.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-7801951658385874863</id><published>2011-04-09T04:33:00.000-07:00</published><updated>2011-04-09T04:34:25.158-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-09T04:34:25.158-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="xcode" /><category scheme="http://www.blogger.com/atom/ns#" term="ios" /><category scheme="http://www.blogger.com/atom/ns#" term="rotate" /><category scheme="http://www.blogger.com/atom/ns#" term="iphone" /><category scheme="http://www.blogger.com/atom/ns#" term="ipad" /><title>iPhone force rotate to portrait</title><content type="html">[[UIDevice currentDevice] setOrientation:UIInterfaceOrientationPortrait];&lt;br /&gt;&lt;br /&gt;//Probably works for iPad too&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-7801951658385874863?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/gtRuEiZCtU0uHqYKpJZRcfqJw8c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gtRuEiZCtU0uHqYKpJZRcfqJw8c/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/gtRuEiZCtU0uHqYKpJZRcfqJw8c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gtRuEiZCtU0uHqYKpJZRcfqJw8c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/s5uWHrelcfQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/7801951658385874863/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/04/iphone-force-rotate-to-portrait.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/7801951658385874863?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/7801951658385874863?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/s5uWHrelcfQ/iphone-force-rotate-to-portrait.html" title="iPhone force rotate to portrait" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/04/iphone-force-rotate-to-portrait.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkAFRHk8fyp7ImA9WhZSEUs.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-24973465406233746</id><published>2011-03-26T10:53:00.001-07:00</published><updated>2011-03-26T12:45:15.777-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-26T12:45:15.777-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="web authoring" /><category scheme="http://www.blogger.com/atom/ns#" term="chrome" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="iframe" /><title>Unsafe JavaScript attempt to access frame with URL</title><content type="html">Getting a "Unsafe JavaScript attempt to access frame with URL" message in Chrome when trying something dodgy across domains or subdomains with iframes?&lt;br /&gt;&lt;br /&gt;It is pretty much a browser security feature. So there's no way it is going to work.&lt;br /&gt;&lt;br /&gt;Eventually I settled for doing everything from within an iframe.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-24973465406233746?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qt_41gEL2xQn_Tykim2-_ADruoE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qt_41gEL2xQn_Tykim2-_ADruoE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/qt_41gEL2xQn_Tykim2-_ADruoE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qt_41gEL2xQn_Tykim2-_ADruoE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/Dr7meNig6b0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/24973465406233746/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/03/unsafe-javascript-attempt-to-access.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/24973465406233746?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/24973465406233746?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/Dr7meNig6b0/unsafe-javascript-attempt-to-access.html" title="Unsafe JavaScript attempt to access frame with URL" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/03/unsafe-javascript-attempt-to-access.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUYBSX4yeSp7ImA9WhZTFkw.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-8334331290798407785</id><published>2011-03-20T02:24:00.000-07:00</published><updated>2011-03-20T02:25:58.091-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-20T02:25:58.091-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="web authoring" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><title>Cannot access empty property PHP</title><content type="html">Don't use the '$' when accessing a member variable. i.e.:&lt;br /&gt;&lt;br /&gt;Wrong:&lt;br /&gt;$MYTHING-&gt;$dbhost = 'localhost';&lt;br /&gt;&lt;br /&gt;Correct:&lt;br /&gt;$MYTHING-&gt;dbhost = 'localhost';&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-8334331290798407785?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/IFzCIWT7clZ02KhCCugl5XhRTGc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/IFzCIWT7clZ02KhCCugl5XhRTGc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/IFzCIWT7clZ02KhCCugl5XhRTGc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/IFzCIWT7clZ02KhCCugl5XhRTGc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/2NFiPkPZ4mk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/8334331290798407785/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/03/cannot-access-empty-property-php.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/8334331290798407785?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/8334331290798407785?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/2NFiPkPZ4mk/cannot-access-empty-property-php.html" title="Cannot access empty property PHP" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/03/cannot-access-empty-property-php.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEUHQ3cycSp7ImA9WhZQFUk.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-8801271308552104759</id><published>2011-03-14T21:32:00.000-07:00</published><updated>2011-04-23T00:03:52.999-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-23T00:03:52.999-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="sandbox" /><category scheme="http://www.blogger.com/atom/ns#" term="paypal" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="paypalsandbox" /><category scheme="http://www.blogger.com/atom/ns#" term="ipn" /><title>PayPal IPN not working in sandbox</title><content type="html">So I was testing the IPN with the PayPal Sandbox and it was just refusing to trigger the IPN at all.&lt;br /&gt;&lt;br /&gt;In the end, after some hardcore Googling, I realized that it was because the test account I created in the Sandbox was not 'Verified.'&lt;br /&gt;&lt;br /&gt;So I tried verifying the email by looking at the sandbox emails under the link 'Test Email.' However, that didn't accept my password. &lt;br /&gt;&lt;br /&gt;I had to take another step, which was to 'automatically' verify the US account by adding a bank account to the account. &lt;br /&gt;To do this: &lt;br /&gt;&lt;br /&gt;1. I logged on to the sandbox by using the test account&lt;br /&gt;&lt;br /&gt;2. Clicked on 'profile-&gt;add bank account' (a set of fake bank account numbers should be autofilled).&lt;br /&gt;&lt;br /&gt;3. Verified the account by entering two random digits into the verification screen. (I entered 0.01 and 0.01).&lt;br /&gt;&lt;br /&gt;4. Then I was able to test my transaction and the IPN worked from the sandbox. Great stuff.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-8801271308552104759?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/TUkeoxbY1WigJe6LNgTfPaQwAA8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TUkeoxbY1WigJe6LNgTfPaQwAA8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/TUkeoxbY1WigJe6LNgTfPaQwAA8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TUkeoxbY1WigJe6LNgTfPaQwAA8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/dM6Zn9VmTrg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/8801271308552104759/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/03/paypal-ipn-not-working-in-sandbox.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/8801271308552104759?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/8801271308552104759?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/dM6Zn9VmTrg/paypal-ipn-not-working-in-sandbox.html" title="PayPal IPN not working in sandbox" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/03/paypal-ipn-not-working-in-sandbox.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C04GR3Y-fyp7ImA9WhZTEEo.&quot;"><id>tag:blogger.com,1999:blog-32362353.post-1828681197008890622</id><published>2011-03-13T18:45:00.000-07:00</published><updated>2011-03-13T20:05:26.857-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-13T20:05:26.857-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="web authoring" /><category scheme="http://www.blogger.com/atom/ns#" term="strings" /><title>ReplaceAll in Javascript Example</title><content type="html">ReplaceAll in Javascript Example:&lt;br /&gt;&lt;br /&gt;Instead of:&lt;br /&gt;&lt;br /&gt;mynicestring = mynicestring.replace("find","replacement");&lt;br /&gt;&lt;br /&gt;Use:&lt;br /&gt;&lt;br /&gt;mynicestring = mynicestring.replace(/find/g,"replacement");&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32362353-1828681197008890622?l=www.markstechstuff.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/XFQ4HiajlbdNq7Z3TmYCLZmggXM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XFQ4HiajlbdNq7Z3TmYCLZmggXM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/XFQ4HiajlbdNq7Z3TmYCLZmggXM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XFQ4HiajlbdNq7Z3TmYCLZmggXM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/uCHmA/~4/40QG1JUOkYU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.markstechstuff.com/feeds/1828681197008890622/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.markstechstuff.com/2011/03/replaceall-in-javascript.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/1828681197008890622?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/32362353/posts/default/1828681197008890622?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/uCHmA/~3/40QG1JUOkYU/replaceall-in-javascript.html" title="ReplaceAll in Javascript Example" /><author><name>Mark</name><uri>http://www.blogger.com/profile/04556772785759586264</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://4.bp.blogspot.com/_X9Yy0eKIDA0/TRoTI1Hov5I/AAAAAAAAAI8/Z9-wuQg-NGc/S220/markBB.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.markstechstuff.com/2011/03/replaceall-in-javascript.html</feedburner:origLink></entry></feed>

