Archive for Oct, 2009
PHP: file_get_contents timeout
by someone16 on Oct.30, 2009, under Programming
How to set timeout when fetching content from web site with file_get_contents?
It's a good idea to use it with timeout, because otherwise default timeout from php.ini will be used.
Leave a Comment
:php
more...
<?php
$context = stream_context_create(array('http' => array('timeout' > 1)));
echo file_get_contents("http://example.com/", 0, $context);
?>
It's a good idea to use it with timeout, because otherwise default timeout from php.ini will be used.
PayPal
by someone16 on Oct.29, 2009, under Life
PayPal is great. You can pay on the Internet without revealing your credit card information. I use it almost everywhere.
I just don't understand why the heck not every online shop supports it? Maybe they are worried about frauds? However, AFAIK PayPal can tell them if you are verified user or not. At least that's the case when using PayPal at GoDaddy.com.
With credit card, they get at least one information by which they can identify you ... and PayPal account can be opened by anyone. But on the other hand, one can easily steal credit card number, CCV and expiration date. So, it's PayPal really that insecure or is there actually no difference between those two?
BTW what's up with GoDaddy's $500 month limit?
Leave a Comment
:paypal godaddy credit card payment
more...

I just don't understand why the heck not every online shop supports it? Maybe they are worried about frauds? However, AFAIK PayPal can tell them if you are verified user or not. At least that's the case when using PayPal at GoDaddy.com.
With credit card, they get at least one information by which they can identify you ... and PayPal account can be opened by anyone. But on the other hand, one can easily steal credit card number, CCV and expiration date. So, it's PayPal really that insecure or is there actually no difference between those two?
BTW what's up with GoDaddy's $500 month limit?
RFM12B Module
by someone16 on Oct.28, 2009, under
In the following files you can find code for AVR micro controllers to use this modules.
Source (.c) file: hopeTx
Source (.c) file: hopeRx
PDF file: RFM12B
RFM12B and AVR - quick start
I found this tutorial when I searched for connecting this module to AVR.
You can download the tutorial at: PDF file: zenburn.net
My Experience
My attempts to get this module working were all unsuccessful.
3 comments
:rfm12b avr electronics
more...
Source (.c) file: hopeTx
Source (.c) file: hopeRx
PDF file: RFM12B
RFM12B and AVR - quick start
I found this tutorial when I searched for connecting this module to AVR.
You can download the tutorial at: PDF file: zenburn.net
My Experience
My attempts to get this module working were all unsuccessful.
Webmaster Tools
by someone16 on Oct.28, 2009, under Life
Google usually makes good stuff, but I only had problems with it so far.
If I understand right, this is how it goes:
- I own a site or domain
- I add site to my Dashboard
- I verify site by uploading a file to the server or add A record in domain's DNS server
- I can do a lot of things with my domain, see search queries, who is linking me, etc.
Everything is simple to point, where I don't want a "disk space wasting" file. I just want everything tidy and clean, so I always delete unnecessary data/code/files. But if I delete this thing, then Google says that my website isn't verified. WTF??
Can't Google remember, that it had verified my site already? Cause I don't want to go trough all of these steps to verify my site again, every time I use webmaster tools.
Apart from this, Webmaster Tools have other problems too. For example, you cannot use "Change of address" feature with .eu domains. What's wrong with this TLD, Google?
Why the heck do I need to verify www and non-www address? Isn't that the same thing? I know that you can have different content on those two subdomains, but still ... who uses that? The best practice is to redirect it to one or another, this is good for SEO too.
Leave a Comment
:Google Webmaster Tools domain tld dns
more...
If I understand right, this is how it goes:
- I own a site or domain
- I add site to my Dashboard
- I verify site by uploading a file to the server or add A record in domain's DNS server
- I can do a lot of things with my domain, see search queries, who is linking me, etc.
Everything is simple to point, where I don't want a "disk space wasting" file. I just want everything tidy and clean, so I always delete unnecessary data/code/files. But if I delete this thing, then Google says that my website isn't verified. WTF??
Can't Google remember, that it had verified my site already? Cause I don't want to go trough all of these steps to verify my site again, every time I use webmaster tools.
Apart from this, Webmaster Tools have other problems too. For example, you cannot use "Change of address" feature with .eu domains. What's wrong with this TLD, Google?
Why the heck do I need to verify www and non-www address? Isn't that the same thing? I know that you can have different content on those two subdomains, but still ... who uses that? The best practice is to redirect it to one or another, this is good for SEO too.