]> Blog Marco - Programming on the Internet http://blog.photos2view.com.s6352.gridserver.com/taxonomy/term/76/0 en PayPal Instant Payment Notification Disabled http://blog.photos2view.com.s6352.gridserver.com/2010/03/01/paypal-instant-payment-notification-disabled.htm <p>How to stop "PayPal Instant Payment Notification Disabled" emails. Go to https://www.paypal.com/au/cgi-bin/webscr?cmd=_profile-ipn-notify and you'll find your offending Paypal setting. I turned my IPN off since I don't use that shopping cart anymore. "To stop receiving IPNs permanently, click Turn Off IPN." Usually the result of an abandoned shopping cart website development project of yours...</p> Programming on the Internet Mon, 01 Mar 2010 22:13:21 -0800 Can't open file: somefile.MYD (errno: 145) http://blog.photos2view.com.s6352.gridserver.com/2009/04/30/cant-open-file-somefile-myd-errno-145.htm <p>This website died for a few hours. Hopefully this information will help someone else with the same fail conditions. Some garbled error messages came up:</p> <p>MySQL Error: Can't open file: somefile.MYD (errno: 145)<br /> MySQL Error: Can't open file: node.MYD (errno: 145)</p> <p>...along with random mysql queries and other fail or fatal error messages. After scrambling for an answer browsing through help pages and forums I found that this error is a result of two things:<br /> 1) Database crashed and is corrupt. Solution: Use phpMyAdmin to repair tables.<br /> 2) Full disk, MySQL will crash if your disk is full. Solution delete stuff, geta bigger hard drive.</p> <p>So my host expanded my site space temporarily and I cleared my host hard drive space so MYSQL has more wiggle room. FIXED!</p> Programming on the Internet Thu, 30 Apr 2009 01:02:02 -0700 What is the Difference Between a Programmer and a Developer? http://blog.photos2view.com.s6352.gridserver.com/2009/01/24/what-is-the-difference-between-a-programmer-and-a-developer.htm <div class="flexinode-body flexinode-2"><div class="flexinode-textfield-3"><div class="form-item"> <label>Teaser:</label><br /> Learn the Difference Between a Programmer and a Developer </div> </div><div class="flexinode-image-5"><div class="form-item"> <label>Image:</label><br /> <img src="http://blog.photos2view.com.s6352.gridserver.com/files/programmer.jpg" alt="What is the Difference Between a Programmer and a Developer?" /> </div> </div><div class="flexinode-textarea-4"><div class="form-item"> <label>Body:</label><br /> <p>What is the difference between a Programmer and a Developer? Both occupations seem similar, so for those of you out there looking for a career in Information Technology (IT) here's the difference...</p> <p>In IT, programmers and developer belong in a world of building software solutions to the business world. Each piece of software, when properly assembled undergo 8 stages of development:<br /> 1) Project Initiation<br /> 2) Analysis (of the problem)<br /> 3) Design (of the solution)<br /> 4) Implementation (writing code)<br /> 5) Testing and Debugging Software<br /> 6) Documentation<br /> 7) Installation and Activation<br /> 8) Maintenance</p> <p>The programmer writes the codes from the planned solution provided by the business analyst. The programmer also writes the documentation, illustrating diagrammatically and technically the new software, describing how other users may use the program. The developer is the "customiser". They customise the software to fit the client's purpose - install the software as well as debug and fix incorrect software coding. The fine difference is that the programmer creates the orignal code and the developer modifies original code.</p> </div> </div></div> Programming on the Internet Sat, 24 Jan 2009 01:41:05 -0800 How to Hide Your Files: Hiding Secret Files in Photos http://blog.photos2view.com.s6352.gridserver.com/2009/01/18/how-to-hide-your-files-hiding-secret-files-in-photos.htm <p><img src="http://pimpedfiction.files.wordpress.com/2007/07/hide_and_seek.jpg"><br /> If you have some secret or special files that needs to be hidden from people, now you can hide your secret files in an jpg photo image or any other file you want using MS Command Prompt...</p> <p>You can watch this Youtube screen capture video on how to hide your files using this rar jpeg marriage combo technique...<br /> <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/FTRQs_dBVtk&amp;hl=en&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/FTRQs_dBVtk&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p> Programming on the Internet Sun, 18 Jan 2009 16:59:04 -0800 Drupal Installation Venting! http://blog.photos2view.com.s6352.gridserver.com/2008/04/07/drupal-installation-venting.htm <p>ARRRRGGGHHHH!!! I hate moving to new hosts. Something always goes wrong. Maybe it's me. So here's a venting blog entry about my recent ordeal with a Drupal Installation on HostGator which I just solved a few minutes ago. Call it a debrief on my experience and see what lessons I can learn from my mistakes. There isn't anything wrong with HostGator. I realise now what I was doing wrong. </p> <p>I always go about Drupal installations systematically. Actually I wasn't leaving my long time hosting service (MediaTemple). I just wanted another host and wanted to try out another service (and also to use them as a backup, in case anything happens).</p> <p>So I sign up to HostGator (which was painless except for the hip pocket - although their hosting prices are competitive). I bought a new domain name from GoDaddy and another from a company called IntaServe which offer registrations for *.com.au's. I've had experience with GoDaddy before - so that went smoothly - although for the uninitiated - you'll probably get lost in the jungle of promotions that they have. I'm slightly annoyed with Intaserve. I guess that's where my attitude started down a downward spiral. I came into the new project all optimistic and now this Australian registrar is screwing my workflow. Why? Because their business systems are screwed. I think they need to have a look at their registration systems: just a few tweaks with their wording in their emails and automated systems and they would be really good. But no, it took me a while, emails to Intaserve took a while to get answered. I was emailing HostGator at 11pm on a Sunday night in Australia and I was getting a response from them. So I had to give Intaserve a call to fix things. In five minutes the pain was all over. Thank God I don't have to deal with Intaserve again until the next time I need to renew my domain.</p> Programming on the Internet Drupal Websites Mon, 07 Apr 2008 04:45:28 -0700 Place a Live Digg Button on Your Website http://blog.photos2view.com.s6352.gridserver.com/2006/07/19/place-a-live-digg-button-on-your-website.htm <p>From the <a ref="http://diggtheblog.blogspot.com/2006/07/integrating-digg-within-your-website.html">Digg Blog</a>:<br /> Once your story has been successfully submitted you can now display the number of diggs and allow users to digg your content directly by using the following syntax:</p> <p><code ><br /> &#60;script&#62;<br /> digg_url = 'URLOFSTORY';<br /> &#60;/script&#62;<br /> &#60;script src="http://digg.com/api/diggthis.js"&#62;&#60;/script&#62;</code></p> Programming on the Internet Wed, 19 Jul 2006 00:38:01 -0700 Australia wins RoboCup 2006! http://blog.photos2view.com.s6352.gridserver.com/2006/06/19/australia-wins-robocup-2006.htm <p>An Australian Team from Newcastle University <a href="http://www.smh.com.au/news/technology/aussie-robot-dogs-are-world-champs/2006/06/19/1150569256168.html">wins RoboCup 2006</a>. RoboCup is a competition of Sony AIBO robotic dogs playing soccer without any human intervention during the game. Yes, it's all run with pre-programmed Artificial Intelligence (AI). In the final game - played overnight - the University of Newcastle's NUBots beat the University of New South Wales' rUNSWift team 7-3.</p> News by Marco Programming on the Internet Mon, 19 Jun 2006 05:17:45 -0700 Ciao Blog Marco! http://blog.photos2view.com.s6352.gridserver.com/2006/05/01/ciao-blog-marco.htm <div class="flexinode-body flexinode-2"><div class="flexinode-textfield-3"><div class="form-item"> <label>Teaser:</label><br /> Programming Boo Boo... Ciao Blog Marco </div> </div><div class="flexinode-image-5"><div class="form-item"> <label>Image:</label><br /> <img src="http://blog.photos2view.com.s6352.gridserver.com/files/ciao-blog-marco.jpg" alt="Ciao Blog Marco!" /> </div> </div><div class="flexinode-textarea-4"><div class="form-item"> <label>Body:</label><br /> <p>Check this basic website hack out <a href="http://www.abetterdeal.com.au/TNI/?type=holiday&amp;firstname=Blog%20Marco" rel="nofollow" target="_blank">here</a>. The programmers behind this promotional website made it too easy to mess around with the promo text: Just change the parameters for "firstname=" in the URL and you can get the nun to say virtually anything. In my opinion, they should have implemented basic encryption strategy to stop users from changing parameters - after all, it is a banking website and the impression of security to the webuser should be the utmost importance. Have fun with it while you can. Ciao Blog Marco!</p> </div> </div></div> Programming on the Internet Mon, 01 May 2006 02:38:05 -0700 Selling A Website for n00bs: Transfer Domain http://blog.photos2view.com.s6352.gridserver.com/selling-a-website-for-n00bs-transfer-domain.htm <div class="flexinode-body flexinode-1"><div class="flexinode-textfield-1"><div class="form-item"> <label>Teaser:</label><br /> It&#039;s the First Time I&#039;ve Sold a Website Online (and probably not the last) and The First Time I Transferred a Domain Name </div> </div><div class="flexinode-textarea-2"><div class="form-item"> <label>Body:</label><br /> <p>There comes a time in a webmaster's life when they lose the passion they once had in building, designing, promoting and maintaining a website. And that time came for BetterWeddingIdeas.com. One of my first websites other than this blog of mine. That passion was lost, I stopped updating the site and my baby started losing visitors. I didn't want that to happen so I sold it off on a <a href="http://forums.digitalpoint.com/showthread.php?t=56687">webmasters forum</a>. I set the auction going but it eventually sold just a few hours at BIN (Buy It Now) price. some may say I could have received a higher price for that website but I'm happy because the site is going to a trustworthy person who already owns a wedding website. The true purpose of the sale is to see my baby grow more, and with me it had no potential to do so, and now it has the chance to become a successful website. right now I'm in the process of finalising the transaction and transferring the domain name and the servers.</p> <p>Now, I've never transferred a website in my life before, but of course I'm always open to new experiences. First you need to transfer the domain name registrar. The process is initiated by the buyer, sending through a request for transfer. I (the seller) get an email. Before I click the approve transfer link (this is where I made a mistake - as the email didnt say anything about unlocking first), you need to unlock the name from your registrar first. then you click the transfer link. After that you should get an email from your registrar asking if you approve or disapprove the transfer. It should take 5 days to clear before the name transfer occurs. </p> </div> </div></div> Programming on the Internet Drupal Websites Fri, 10 Feb 2006 14:14:03 -0800 Yet another Firefox Extension - a Simple Ruler http://blog.photos2view.com.s6352.gridserver.com/yet-another-firefox-extension-a-simple-ruler.htm <div class="flexinode-body flexinode-1"><div class="flexinode-textfield-1"><div class="form-item"> <label>Teaser:</label><br /> Yet another Firefox Developer Extension - A simple Ruler that allows you to measure elements of your computer screen </div> </div><div class="flexinode-textarea-2"><div class="form-item"> <label>Body:</label><br /> <p><a href="http://blog.photos2view.com/i-am-a-convert-to-mozilla-firefox-stable-and-powerful-extensions.htm" target="_blank">Firefox Extensions</a> are simple the best. They allow so much extra functionality to the web surfer and better still for website developers. </p> <p>As a websurfer I love the AdBlock extension as it allows you to block any image/javascript on the page - I've effectively blocked out every advertisement on all the sites i frequent.</p> <p>Anyway I stumbled on yet another nifty firefox extension - a simple measuring tool for the computer screen - a ruler with units of pixels. Handy for any website developer. (Instead of using the old screenshot and ruler process to measure elements of the browser window/website)</p> <p><a href="http://www.kevinfreitas.net/extensions/measureit/" target="_blank">Download and Install the Ruler Extension.</a></p> </div> </div></div> Programming on the Internet The Internet Mon, 02 Jan 2006 08:14:13 -0800 PHP and Javascript: Logical Operators and Conditional Statements http://blog.photos2view.com.s6352.gridserver.com/php-and-javascript-logical-operators-and-conditional-statements.htm <div class="flexinode-body flexinode-1"><div class="flexinode-textfield-1"><div class="form-item"> <label>Teaser:</label><br /> A set of logical operators and conditional statements that can be used for Javascript or PHP: Addition, Subtraction, AND OR NOT </div> </div><div class="flexinode-textarea-2"><div class="form-item"> <label>Body:</label><br /> <p>Here are some mathematical operators that could be used for PHP and Javascript:<br /> + addition<br /> - subtraction<br /> * multiplication<br /> / division<br /> % modulus (this is the remainder when you divide something) </p> <p>Logical Operators could be used in IF statements in PHP and Javascript to control the flow of the program and can form part of conditional statements:<br /> &amp;& AND<br /> || OR<br /> ! NOT </p> <p>Comparison Operators could be used in IF statements in PHP and Javascript to control the flow of the program and can form part of conditional statements:<br /> &#62; Greater Than<br /> &#60; Less Than<br /> &#62;= Greater Than or equal to<br /> &#60;= Less Than or equal to<br /> == Equal to (remember, the "=" sign assigns a value to a variable, the "==" compares two values for equality.)<br /> != Not equal to </p> <p>You can use these Logical and Comparison Operators in the following fashion in coding PHP and Javascript:<br /> if (conditional statement)<br /> {<br /> JavaScript/PHP statements...<br /> }<br /> else<br /> {<br /> JavaScript/PHP Statements.....<br /> } </p> </div> </div></div> Programming on the Internet Tue, 20 Dec 2005 12:28:20 -0800 Javascript Bust out of frames from Google Image search http://blog.photos2view.com.s6352.gridserver.com/javascript-bust-out-of-frames-from-google-image-search.htm <p>Javascript Bust out of frames from Google Image search...</p> <p>It's simple: Just paste these lines in your code:</p> <p>if (parent.frames.length<br /> &gt; 0) top.location.replace(document.location);</p> <p>The main concern it that Google images can suck bandwidth from your website - and this technique eliminates any frame - especially for Google Images - So you can potentially monetize your visitor.</p> <p>The Sources: (They both seem to have the same content?)<br /> <a href="http://seoblackhat.com/2005/11/13/frame-buster-best-javascript-ever/" target="_blank" rel="nofollow">SEO Black Hat Black Hat SEO BlogFrame-Buster Best. Javascript. Ever.</a><br /> <a href="http://www.blogherald.com/2005/11/14/frame-busting-google-images/" target="_blank" rel="nofollow">Frame busting Google Images</a></p> Programming on the Internet Webmaster information Thu, 01 Dec 2005 16:46:57 -0800 PHP fetching and PHP wrapping content http://blog.photos2view.com.s6352.gridserver.com/php-fetching-and-php-wrapping-content.htm <p>Here are some links regarding PHP fetching and PHP wrapping content:</p> <p><a href="http://programmingpub.com/scripts/Free_PHP_Scripts/Content-Retrieval-PHP-Scripts-News-Headlines-Stock-Quotes-Weather-XML-RSS-Feeds/" target="_blank" rel="nofollow">Free PHP Scripts-Content Retrieval -PHP Scripts-News Headlines Stock Quotes Weather XML RSS Feeds-Free PHP Scripts</a></p> <p><a href="http://drupal.org/node/24405" target="_blank" rel="nofollow">Drupal: How to wrap content from another site in drupal: code snippet?</a></p> <p><a href="http://baheyeldin.com/drupal/code-snippet-wrapping-content-from-another-site-on-your-site.html" target="_blank" rel="nofollow">Content Wrapping Code Snippet</a></p> <p><a href="http://php.resourceindex.com/Documentation/Examples_and_Tutorials/Content_Retrieval/" target="_blank" rel="nofollow">The PHP Resource Index Documentation Examples and Tutorials Content Retrieval</a></p> <p><a href="http://www.google.com.au/search?hl=en&amp;safe=off&amp;rls=GGLD%2CGGLD%3A2005-15%2CGGLD%3Aen&amp;q=php+leech+content+-anti&amp;meta=" target="_blank" rel="nofollow">php leech content -anti - Google Search</a></p> <p><a href="http://www.tutorialized.com/tutorials/PHP/Web-Fetching/1" target="_blank" rel="nofollow">PHP Web Fetching Tutorials</a></p> Programming on the Internet Thu, 01 Dec 2005 16:42:44 -0800 How to hire great open source developers http://blog.photos2view.com.s6352.gridserver.com/how-to-hire-great-open-source-developers.htm <p>"Many companies have employment policies that stipulate that the company owns anything its employees develop. What happens </p> <p>when an employee works on an open source project? How is it possible for your employee to give away their developments while </p> <p>fulfilling the requirements of his or her employment agreement?"<br /> <a href="http://management.itmanagersjournal.com/management/04/02/27/2210254.shtml" target="_blank" rel="nofollow">How to hire great open source developers</a></p> Programming on the Internet Wed, 30 Nov 2005 23:34:18 -0800 Web Design Inspiration http://blog.photos2view.com.s6352.gridserver.com/web-design-inspiration.htm <h2>NewYorkCity.com</h2> <p>Site has a clear and simple web design, yet it delivers a lot of information in an effective manner.</p> <p>Features:<br /> - Text box input with sample text - disappears once clicked, but reappears if there was no input<br /> - Horizontal Header menu system<br /> - Banner top image<br /> - Unique front page with Adsense<br /> - Free Email @nyc.com<br /> - New Yorker Blogs<br /> - NYC Events and other info<br /> <a href="http://www.newyorkcity.com/" target="_blank" rel="nofollow">http://www.newyorkcity.com/</a></p> <h2>Eatability</h2> <p>Purple layout!<br /> Features:<br /> - Restaurant Review, ratings and listing for Sydney<br /> - Allows user input<br /> - Uses <a href="http://www.maporama.com/share/info.asp?ID=mapomap&amp;language=en" target="_blank" rel="nofollow">Maporama</a> </p> <p>for location maps of restaurant</p> <p><a href="http://www.eatability.com.au/public/locality_finder.jsp" target="_blank">http://www.eatability.com.au/</a><br /> Another Competitor:<a href="http://reviews.time2dine.com.au/" target="_blank" rel="nofollow">Time2Dine</a></p> <h2>Made for Adsense - Proverbs Website</h2> <p><a href="http://www.anvari.org/fortune/Proverbs/207.html" target="_blank" rel="nofollow">A proverbs site with Adsense galore </p> <p>and one proverb on the page</a> - "You can lead a horse to water, but you can't make him drink."</p> Programming on the Internet Websites of Interest Wed, 30 Nov 2005 23:32:10 -0800