Posted in Uncategorized on Jul 31st, 2009
I tried for hours going crazy wondering why CURL would not load even though I checked php.ini many times and it's there. Well… it turned out you freaking got to copy 3 files to the system32 directory under Windows. ARGH…
In php.ini, you got to uncomment line
extension=php_curl.dll
Copy these 3 files to system32 directory.
libeay32.dll, ssleay32.dll and php5ts.dll
Read Full Post »
Posted in Uncategorized on Jul 28th, 2009
http://papermashup.com/caching-dynamic-php-pages-easily/
Read Full Post »
Posted in Uncategorized on Jul 27th, 2009
I just got a warning from Norton about an iframe going to http://q3c.ru:8080/index.php.
The site is trying to put a PDF file on my system called http://q3c.ru:8080/filez/readme.pdf.
Very dangerous… avoid at all cost.
Read Full Post »
Posted in Uncategorized on Jul 26th, 2009
I was trying to go to www.blackhatworld.com and Norton kept popping up "HTTP Malicious Toolkit Variant Activity 8" and I am wondering what that's about.
Read Full Post »
Posted in Uncategorized on Jul 26th, 2009
I built my own BBQ using parts from Lowes. Got these 80 cent concrete bricks from Lowes and then got the grills from Daiso for $1.50 and it's done. Just put them together in a box using wood. Looks beautiful and works amazingly well.
I normally use a aluminum pan on top of meats to cover [...]
Read Full Post »
Posted in Uncategorized on Jul 24th, 2009
http://businessguysonbusinesstrips.com/
Read Full Post »
Posted in Uncategorized on Jul 24th, 2009
There's www.techbargains.com, www.bensbargains.net, www.fatwallet.com, and many more. But I think the most useful one is www.bargainscent.com which aggregates all the bargain sites together and you can easily find the best deal sorted by price.
Read Full Post »
Posted in Health on Jul 21st, 2009
So I kept googling and find more scary things about eating off galvanized steel. Damn, at this point, I am scared. Wonder if I should drink a lot of milk to cleanse my body.
Read Full Post »
Posted in Uncategorized on Jul 21st, 2009
I wonder if they use galvanized steel to cook the food. Sometimes I suspect they do and that would lead to zinc poisoning. Although I am not sure if they use galvanized steel or not.
Read Full Post »
Posted in Uncategorized on Jul 21st, 2009
Now I am worried if I will live or die. I built my own BBQ grill just for the heck of it and was at Lowes and saw these vent screens made of galvanized steel. I thought these fit my grill. So next thing I am doing 3 pieces of chicken on it.
I just I [...]
Read Full Post »
Posted in Uncategorized on Jul 19th, 2009
http://www.reindel.com/five_javascript_tricks_jquery/
Read Full Post »
Posted in Uncategorized on Jul 19th, 2009
http://johannburkard.de/blog/programming/javascript/6-fast-jQuery-Tips-More-basic-Snippets.html
Read Full Post »
Posted in Uncategorized on Jul 19th, 2009
http://woodmanworld.com/jquery/creating-a-simple-delete-confirmation-dialog-with-jquery/
This is a great code to confirm a deletion using JQuery. It just requires you to add a class to the link. Brilliant.
Read Full Post »
Posted in Uncategorized on Jul 19th, 2009
http://nadiana.com/jquery-confirm-plugin
Read Full Post »
Posted in Uncategorized on Jul 19th, 2009
Turned out I didnt have enctype="multipart/form-data" in the <FORM> tag.
Read Full Post »
Posted in Uncategorized on Jul 19th, 2009
Stackoverflow.com is a very very good site for programmers.
Read Full Post »
Posted in Uncategorized on Jul 19th, 2009
http://www.elizabethcastro.com/html6ed/examples/forms/showform.txt
<?php
if (empty($_POST)) {
print "<p>No data was submitted.</p>";
} else {
foreach ($_POST as $key => $value) {
if (get_magic_quotes_gpc()) $value=stripslashes($value);
if ($key=='extras') {
if (is_array($_POST['extras']) ){
print "<tr><td><code>$key</code></td><td>";
foreach ($_POST['extras'] as $value) {
print "<i>$value</i><br />";
}
print "</td></tr>";
} else {
print [...]
Read Full Post »
Posted in Uncategorized on Jul 18th, 2009
Here's how to do mysql search and show the keyword followed by snippets of words to the left and right of the keyword. Rather than showing the entire result.
http://stackoverflow.com/questions/1148533/mysql-php-how-to-do-search-and-show-summary-rather-than-entire-result
Read Full Post »
Posted in Uncategorized on Jul 18th, 2009
http://www.devpapers.com/article/306
Read Full Post »
Posted in Uncategorized on Jul 18th, 2009
http://www.phpro.org/articles/Highlight-Search-Words.html
Read Full Post »
Posted in Uncategorized on Jul 18th, 2009
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/[^\.]+[^/]$
RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([a-zA-Z0-9_-]+)$ portfolio.php?user_name=$1
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([a-zA-Z0-9_-]+)/$ portfolio.php?user_name=$1
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^/]+)/([^?]*)\??(.*)$ $2?$3&user_name=$1 [QSA,L]
Read Full Post »
Posted in Uncategorized on Jul 18th, 2009
http://forums.devshed.com/apache-development-15/question-about-query-string-in-a-rewrite-url-htaccess-557476.html
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([a-zA-Z0-9_-]+)$ portfolio.php?user_name=$1
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([a-zA-Z0-9_-]+)/$ portfolio.php?user_name=$1
RewriteRule ^([^/]+)/([^?]*)\??(.*)$ $2?$3&user_name=$1 [QSA,L]
Read Full Post »
Posted in Uncategorized on Jul 18th, 2009
http://www.desiquintans.com/cleanurls
Read Full Post »
Posted in Uncategorized on Jul 18th, 2009
http://roshanbh.com.np/2008/03/url-rewriting-examples-htaccess.html
Read Full Post »
Posted in Uncategorized on Jul 17th, 2009
http://www.evolt.org/ultimate_htaccess_examples
Read Full Post »
Posted in Uncategorized on Jul 17th, 2009
http://justinblanton.com/2006/09/remove-those-trailing-slashes-from-your-uris
http://mdgreenfield.com/2008/11/27/removing-trailing-slashes-from-your-url/
Read Full Post »
Posted in Uncategorized on Jul 17th, 2009
http://css-tricks.com/simple-jquery-dropdowns/
Read Full Post »
Posted in Programming on Jul 17th, 2009
#tier2 li ul li a {z-index:100;text-decoration:none;}
#tier2, #tier2a, .storyMenu, #tier2 li ul, #tier2a li ul {padding:0; margin:0; list-style:none;}
#tier2 li ul, #tier2a li ul { display:none; padding:0; margin:0; position: absolute; top:21px; left:0;}
#tier2 li ul li, #tier2a li ul li {padding:0; margin:0}
#tier2 li, #tier2a li, .storyMenu li {background:#ffffff; position:relative; display: block; padding:0;}
.storyMenu li a, #tier2 li a, #tier2a [...]
Read Full Post »
Posted in Uncategorized on Jul 16th, 2009
http://www.tipsntutorials.com/tutorials/PHP/76/
Read Full Post »
Posted in Uncategorized on Jul 16th, 2009
http://stackoverflow.com/questions/1139349/how-to-remove-part-of-a-url-using-htaccess
Hi, I have a url like this.
/domains/details.php (NOTE: domains is dynamic and can be anything)
How do I remove the domains part from the URL using .htaccess so the actual lookup is:
/details.php
OR it'll be cool if I can get domains into the URL. /details.php?page=domains
===============================
RewriteEngine on
RewriteBase /
RewriteRule ^([^/]+)/details.php$ /details.php?page=$1 [R=301]
Leave off the [R=301] if you want an [...]
Read Full Post »
Posted in Uncategorized on Jul 14th, 2009
I really like Bensbargains and recently saw an article with what powers the site.
What was the impetus behind the switch from v. 2.0 to v. 3.0 and were there any adjustments you had to make to the back end? What is the current set up for the back end?
V2.0 was coded during Spring Break of [...]
Read Full Post »
Posted in Uncategorized on Jul 10th, 2009
Here's one..
https://www.visualcv.com/signup
Read Full Post »
Posted in Uncategorized on Jul 9th, 2009
I just learned more about this Quantum Healing and reasons not to do root canals. Wonder if I should get rid of my root canal.
Read Full Post »
Posted in Uncategorized on Jul 9th, 2009
I am looking at event properties and see this stuff about off2k7compatinstallv3.vbs and getkeysV5.vbs and I am sure these are virus or trojans.
Dont freaking know how I ended up with these viruses.
Read Full Post »
Posted in Uncategorized on Jul 9th, 2009
http://www.dnjournal.com/cover/2008/may.htm
This part was funny:
"Pretty soon I had thousands of reviews. Then I used my web hosting directory list to contact all the web hosting companies and offered them advertising for $30 a month. Surely I would get at least ten interested parties. No one was interested. I supposed they believed that if [...]
Read Full Post »
Posted in Uncategorized on Jul 9th, 2009
http://money.cnn.com/magazines/business2/business2_archive/2007/06/01/100050989/index.htm
Read Full Post »
Posted in Uncategorized on Jul 8th, 2009
I remembered watching a single episode of it on TV once and thought it was kind of cool. Then years later, I decide I want to watch the series.
Read Full Post »
Posted in Uncategorized on Jul 8th, 2009
This has got to be the crappiest movie of 2009 due to the amount of money it has raked in so far. I cannot believe so much money buys such crap. I cannot stand the designs of the transformers for one thing. None of them have character. They are all nothing more than junk metal [...]
Read Full Post »
Posted in Uncategorized on Jul 8th, 2009
I watch a lot of movies and think it's becoming a bit too much recently. Need to start spending time on my sites.
Read Full Post »
Posted in Uncategorized on Jul 8th, 2009
I think last few years have seen a resurgence in Hong Kong Films. I am excited again to see a few gems along the way. Such as Protege, Beast Stalker, and even I Hate You So. Man these are good.
Hope it continues.
Read Full Post »