Posted in Uncategorized on Jan 30th, 2009
This site has some good info on ioncube error "requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator"
Read Full Post »
Posted in Uncategorized on Jan 27th, 2009
onClick="if($F(sandbox)) {$('customer_contact').show();} else {$('customer_contact').hide();}"
Read Full Post »
Posted in Uncategorized on Jan 23rd, 2009
onClick="this.parentNode.innerHTML='hihi'"
Read Full Post »
Posted in Uncategorized on Jan 21st, 2009
UPDATE demo_instances a, fullname bSET a.owner = b.usernameWHERE a.owner = b.fullname
Read Full Post »
Posted in Uncategorized on Jan 20th, 2009
http://www.brazencareerist.com/
Read Full Post »
Posted in Uncategorized on Jan 16th, 2009
Microsoft Clip Art has a free site with 150,000 free images and sounds. It's a great resource for designers or artists to find something quick and mess with it.
Read Full Post »
Posted in Uncategorized on Jan 16th, 2009
Trick is to include the Mark of the Web after doctype declaration.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!– saved from url=(0014)about:internet –>
Read Full Post »
Posted in Uncategorized on Jan 15th, 2009
<a href="[^>]*[>]
Read Full Post »
Posted in Uncategorized on Jan 15th, 2009
<!–(.|[\n\r])*.*–>
Read Full Post »
Posted in Uncategorized on Jan 15th, 2009
I was reading some articles about Yun Ye and find it fascinating. He is such a mysterious person who made over a hundred million with his domain portfolio. Just incredible story.
Read Full Post »
Posted in Uncategorized on Jan 14th, 2009
http://www.google.com/sktool
The new tool by Google makes it kind of useful for advertisers to find out search term popularity as well as suggested bidding. Might also be useful for publishers as well who use adsense.
Read Full Post »
Posted in Uncategorized on Jan 12th, 2009
It's fun and beautiful design. Check it out at http://www.typorganism.com/asciiomatic/
Read Full Post »
Posted in Uncategorized on Jan 12th, 2009
I really like the simpleness and execution. It allows you to preview patterns on your page.
Read Full Post »
Posted in Uncategorized on Jan 11th, 2009
Softpedia.comMajorGeeks.com
These 2 sites have some amazing way of making google ads look like their content.
Read Full Post »
Posted in Uncategorized on Jan 9th, 2009
I thought this article was interesting on finding related items using PHP and mySQL. I am thinking of building my own meme tracker. Sort of like techmeme in some ways but not tech related. And can be run on PHP shared hosting. Haha.. that's pretty hard I think but I think it might be fun [...]
Read Full Post »
Posted in Uncategorized on Jan 9th, 2009
When the purple "g" first came out, I always thought it was a bit to muted. Not enough contrast with other people's favicons when I have multiple tabs open on Firefox. But the new version… hmm… I think it's probably best not to be too negative these days. There is enough negativity in the press [...]
Read Full Post »
Posted in Uncategorized on Jan 8th, 2009
I just want to say one of the most useful sites on the Net is Microwavedisplay.com. I had some problems with my Kitchenaid KHMS155LSS and I emailed William E. Miller at Microwavedisplay.com and he emailed me back the next day with some really useful advice for my broken microwave.
Anyways, Microwavedisplay.com is a great place to [...]
Read Full Post »
Posted in Uncategorized on Jan 7th, 2009
I really enjoy the list of themes by Smashing Magazine.
Read Full Post »
Posted in Uncategorized on Jan 6th, 2009
It just stopped working for no reason. Not sure what happened. I am running Firefox 3.0.5 and when I type something in the search box and press ENTER, nothing happens. Anyone know?
Read Full Post »
Posted in Uncategorized on Jan 3rd, 2009
I found the solution to install Ioncube Loader on Dreamhost and it's quick and simple. Just run the PHP file and it does the rest and your script will automatically work. It's quite astonishing and brilliant!
You can find the original forum post here. The author is by sXI
But if somehow it's not there, I kept [...]
Read Full Post »
Posted in Uncategorized on Jan 3rd, 2009
found this somewhere on the net
function strip_all_HTML($content) { $search = array('/<\?((?!\?>).)*\?>/s'); $new = strip_tags(preg_replace($search, ", $content)); return $new;}
this function strips out everything STARTING with <a
function strip_starting_LINK($content) { $search = array('/\<a..*/s'); $new = preg_replace($search, ", $content); return $new.'…';}
Read Full Post »
Posted in Uncategorized on Jan 3rd, 2009
http://editplus.info/wiki/Search_and_Replace_Tricks
1 Suppress all empty lines
2 Suppress all non-empty lines
3 Comment out lines
4 Comment lines
5 Join lines
6 Split lines
7 Remove all leading spaces and tabs from every line
8 Remove all trailing spaces and tabs from every line
9 Remove consecutive spaces
10 Fix punctuation
11 Wrap a tag pair around a text
12 Delete everything inside a tag pair (keeping [...]
Read Full Post »
Posted in Uncategorized on Jan 1st, 2009
Sitepoint.com has a marketplace selling premium websites for $10K or above. I wonder how honest are these ads and sites. Has anyone experienced buying or selling a site there? Drop me a comment.
Read Full Post »
Posted in Uncategorized on Jan 1st, 2009
There's a great article on error handling in PHP.
Read Full Post »
Posted in Uncategorized on Jan 1st, 2009
Lets say you want to copy php.ini to all the domain directors in hostgator (but NOT the subfolders). Here's something that you can do. Just create a file called php_modifed.php and do your settings there. And copy that file and this file to the base directory and run the PHP script.
<?php function dirTree($dir) {
[...]
Read Full Post »
Posted in Uncategorized on Jan 1st, 2009
This post tells how to create php.ini symbolic links in all your domain folders and subfolders. But what if you want to get rid of them? I edited the script to delete them in case you dont want it anymore.
<?php
// File and path names for your host and website.$host_php_ini = "/usr/local/lib/php.ini"; // your host's php.ini [...]
Read Full Post »
Posted in Uncategorized on Jan 1st, 2009
PHP file_get_contents require allow_url_fopen to be ON in php.ini. Not a problem for hostgator since it is ON by default. But that might be dangerous (or not). Anyways, just to be safe, I turned it off in php.ini and wrote a function to replace it using curl. I got the code from this page and [...]
Read Full Post »