Mar 30 2009

Rubrika: 1rapidshare-premiumz @ 11:26 am
30 March Premiumz

We want to provide you more! We're working on it. Just follow us then get your traffic!


Finished offers:

Reserve Your Traffic!

rapidshare.premiumz@gmail.com

(02.00-03.30) - (03.35-05.00)





Mar 29 2009

Rubrika: 1rapidshare-premiumz @ 8:32 am
29 March Premiumz

We want to provide you more! We're working on it. Just follow us then get your traffic!


Finished offers:

Choose your download time!

02.01-04.30 (Reserved) - 04.31-08.00 (Reserved)






Mar 28 2009

Rubrika: 1rapidshare-premiumz @ 7:58 am
28 March Premiumz

We want to provide you more! We're working on it. Just follow us then get your traffic!


Finished offers:

Choose your download time!

02.01-04.30 (Reserved) - 04.31-10.00 (Reserved)



08.30-09.59 (Reserved)



Total Traffic=50 GB!

rapidshare.premiumz@gmail.com





Mar 27 2009

Rubrika: 1rapidshare-premiumz @ 11:19 am
27 March Premiumz

We want to provide you more! We're working on it. Just follow us then get your traffic!


Finished offers:

Reserve your traffic! (TOTAL 50 GB)

02.01-04.00 - 2 Reserved

04.01-08.00 - 2 Reserved





Mar 26 2009

Rubrika: 1rapidshare-premiumz @ 11:20 am
26 March Premiumz

We want to provide you more! We're working on it. Just follow us then get your traffic!


Finished offers:

Send an e-mail now, get your traffic at 02.01! Limited 2 visitors! 1st: Mark 2nd: Alex!





Mar 25 2009

Rubrika: 1rapidshare-premiumz @ 10:49 am
25 March Premiumz

We want to provide you more! We're working on it. Just follow us then get your traffic!


Finished offers:

Send an e-mail now, get your traffic at 02.01! Limited 2 visitors! ok we've 2 visitors now! please wait for another offer...





Mar 24 2009

strlen vs isset in PHP

Rubrika: 1May Chan @ 8:34 am
When working with strings and you need to check that the string is either of a certain length you’d understandably would want to use the strlen() function. This function is pretty quick since it’s operation does not perform any calculation but merely return the already known length of a string available in the zval structure (internal C struct used to store variables in PHP). However because strlen() is a function it is still somewhat slow because the function call requires several operations such as lowercase & hashtable lookup followed by the execution of said function. In some instance you can improve the speed of your code by using an isset() trick.

<?
if (strlen($foo) < 5) { echo "Foo is too short"; } 
if (!isset(
$foo{5})) { echo "Foo is too short"; }
?>

Calling
isset() happens to be faster then strlen() because unlike strlen(), isset() is a language construct and not a function meaning that it’s execution does not require function lookups and lowercase. This means you have virtually no overhead on top of the actual code that determines the string’s length.


Mar 24 2009

40 Tips for optimizing your php code

Rubrika: 1May Chan @ 7:59 am
  1. If a method can be static, declare it static. Speed improvement is by a factor of 4.
  2. echo is faster than print.
  3. Use echo's multiple parameters instead of string concatenation.
  4. Set the maxvalue for your for-loops before and not in the loop.
  5. Unset your variables to free memory, especially large arrays.
  6. Avoid magic like __get, __set, __autoload
  7. require_once() is expensive
  8. Use full paths in includes and requires, less time spent on resolving the OS paths.
  9. If you need to find out the time when the script started executing, $_SERVER[’REQUEST_TIME’] is preferred to time()
  10. See if you can use strncasecmp, strpbrk and stripos instead of regex
  11. str_replace is faster than preg_replace, but strtr is faster than str_replace by a factor of 4
  12. If the function, such as string replacement function, accepts both arrays and single characters as arguments, and if your argument list is not too long, consider writing a few redundant replacement statements, passing one character at a time, instead of one line of code that accepts arrays as search and replace arguments.
  13. It's better to use switch statements than multi if, else if, statements.
  14. Error suppression with @ is very slow.
  15. Turn on apache's mod_deflate
  16. Close your database connections when you're done with them
  17. $row[’id’] is 7 times faster than $row[id]
  18. Error messages are expensive
  19. Do not use functions inside of for loop, such as for ($x=0; $x <>
  20. Incrementing a local variable in a method is the fastest. Nearly the same as calling a local variable in a function.
  21. Incrementing a global variable is 2 times slow than a local var.
  22. Incrementing an object property (eg. $this->prop++) is 3 times slower than a local variable.
  23. Incrementing an undefined local variable is 9-10 times slower than a pre-initialized one.
  24. Just declaring a global variable without using it in a function also slows things down (by about the same amount as incrementing a local var). PHP probably does a check to see if the global exists.
  25. Method invocation appears to be independent of the number of methods defined in the class because I added 10 more methods to the test class (before and after the test method) with no change in performance.
  26. Methods in derived classes run faster than ones defined in the base class.
  27. A function call with one parameter and an empty function body takes about the same time as doing 7-8 $localvar++ operations. A similar method call is of course about 15 $localvar++ operations.
  28. Surrounding your string by ' instead of " will make things interpret a little faster since php looks for variables inside "..." but not inside '...'. Of course you can only do this when you don't need to have variables in the string.
  29. When echoing strings it's faster to separate them by comma instead of dot. Note: This only works with echo, which is a function that can take several strings as arguments.
  30. A PHP script will be served at least 2-10 times slower than a static HTML page by Apache. Try to use more static HTML pages and fewer scripts.
  31. Your PHP scripts are recompiled every time unless the scripts are cached. Install a PHP caching product to typically increase performance by 25-100% by removing compile times.
  32. Cache as much as possible. Use memcached - memcached is a high-performance memory object caching system intended to speed up dynamic web applications by alleviating database load. OP code caches are useful so that your script does not have to be compiled on every request
  33. When working with strings and you need to check that the string is either of a certain length you'd understandably would want to use the strlen() function. This function is pretty quick since it's operation does not perform any calculation but merely return the already known length of a string available in the zval structure (internal C struct used to store variables in PHP). However because strlen() is a function it is still somewhat slow because the function call requires several operations such as lowercase & hashtable lookup followed by the execution of said function. In some instance you can improve the speed of your code by using an isset() trick.
    Ex.
    if (strlen($foo) < 5) { echo "Foo is too short"; }
    vs.
    if (!isset($foo{5})) { echo "Foo is too short"; }
    Calling isset() happens to be faster then strlen() because unlike strlen(), isset() is a language construct and not a function meaning that it's execution does not require function lookups and lowercase. This means you have virtually no overhead on top of the actual code that determines the string's length.
    more about isset() vs strlen() here
  34. When incrementing or decrementing the value of the variable $i++ happens to be a tad slower then ++$i. This is something PHP specific and does not apply to other languages, so don't go modifying your C or Java code thinking it'll suddenly become faster, it won't. ++$i happens to be faster in PHP because instead of 4 opcodes used for $i++ you only need 3. Post incrementation actually causes in the creation of a temporary var that is then incremented. While pre-incrementation increases the original value directly. This is one of the optimization that opcode optimized like Zend's PHP optimizer. It is a still a good idea to keep in mind since not all opcode optimizers perform this optimization and there are plenty of ISPs and servers running without an opcode optimizer.
  35. Not everything has to be OOP, often it is too much overhead, each method and object call consumes a lot of memory.
  36. Do not implement every data structure as a class, arrays are useful, too
  37. Don't split methods too much, think, which code you will really re-use
  38. You can always split the code of a method later, when needed
  39. Make use of the countless predefined functions
  40. If you have very time consuming functions in your code, consider writing them as C extensions
  41. Profile your code. A profiler shows you, which parts of your code consumes how many time. The Xdebug debugger already contains a profiler. Profiling shows you the bottlenecks in overview
  42. mod_gzip which is available as an Apache module compresses your data on the fly and can reduce the data to transfer up to 80%
  43. Excellent Article about optimizing php by John Lim

Disclamer: This was article wasn't really mine, someone emailed this to me and I just found it useful. 


Mar 24 2009

$HTTP_SERVER_VARS

Rubrika: 1May Chan @ 7:13 am
Basic surfer information variables (from HTTP_SERVER_VARS)
<?php
$surfer_info
[ip] $HTTP_SERVER_VARS["REMOTE_ADDR"];
// $surfer_info[real_ip] will only contain something if the surfer used a transparent proxy
$surfer_info[real_ip] $HTTP_SERVER_VARS["X_FORWARDED_FOR"];
$surfer_info[port] $HTTP_SERVER_VARS["REMOTE_PORT"];
$surfer_info[browser_lang] $HTTP_SERVER_VARS["HTTP_ACCEPT_LANGUAGE"];
$surfer_info[user_agent] $HTTP_SERVER_VARS["HTTP_USER_AGENT"];
$surfer_info[request_path] $HTTP_SERVER_VARS["PATH_INFO"];
$surfer_info[request_query] $HTTP_SERVER_VARS["QUERY_STRING"];
$surfer_info[request_method] $HTTP_SERVER_VARS["REQUEST_METHOD"];
$surfer_info[http_referrer] $HTTP_SERVER_VARS["HTTP_REFERER"];
?>

It is just a row of variables, - it is up to you to decide how they are useful to your script and how to integrate them.
But if you want to see something happening any way, add

print_r($surfer_info);
to the bottom of the script (but before the closing ?>). Doing so will cause the script to show you what information the variables picked up.


Mar 23 2009

Important News

Rubrika: 1May Chan @ 2:33 am
user:dansenesac@gmail.com
pass:9b421a

left: Unlimited Expires: Lifetime

user: hawak9211@yahoo.com
pass: 45c76aac42dd5

user:wildchase_findingyou@hotmail.com
pass: 45c71b299aade


IMPORTANT NEWS TO ALL
The new system of RS is every 3 ips logged via 1 account they will auto reset the pass and sent it back to the owner so, there is no chance for u guys to use any account i post here, because 50+ ips will log to that account and no one would able to use it and the account will be locked, so the news is i'l post less RS accounts or may be i'l post u some PRIVATE accounts .
more info will be updated soon .

Pay Per Clicks

make money online:

Do you want to make money on line? If you wish, just try now! Using this true system which can generate anyone a great income working from home for simply Click the ads. Take a minute to read this - you'll thank me later!

At first you need to create a account : (its free)


1. Paypal
2. Alertpay
3. Moneybookers

2nd Steps:
ok, after u create your account u need to earn money. now what u will do?have many PTC sites on internet u can find. but they give very low amount like per click 1 cent or 10 cent. thats not good amount for you.
But I give u best money making ads in the world. just
click Here to see the ads.

Just 1 Click you earn lots of money.so, dont forgot to sign up.



TIPS: when you complete your sign up, you earn 100 euro. Thats your sign up bonus. when u log in your account u see inbox,paid to click title. thats your earning area. when u click inbox u got email, click the email, its open a new page, go last in page here is link for you,click the link,its tell you wait few second.wait untill they say your account has been credited.
Read more...
Posted by pay per click at 11:38 PM , 0 comments
Monday, March 9, 2009
Earn Money By Writing

Earn Money By Writing:

There are several ways of earn money online but write and earn money online is totally free, flexible, legitimate and also comfortable too. If you are a good writer you can earn a lot of revenue. You can earn money by writing research paper, document, term paper, public service article etc.

The earning platform of all the above is Academia Research ; That means

Click Here For The Site

How it works:
At first you need to fill up an application form online. Then you need to submit 2pic of writing in specific format as sample. After uploading your sample writing you should need to cheek that you have passed and if you pass your account will be activated. Then you will get access to the writers’ online panel. You will get the link of available orders in index page. You should need to click ` view and get` button on the left to get details of the orders listed. You can read details information and instructions, massage and download files sent by customer in a order page. You need to click ` get order` button to get an order. When you will click then should need wait for admin confirmation massage sent to your e-mail inbox. After confirmation letter receipt from the authority you need write only.

Requirements?
1. Your writing must be unique, standard and specific format.

2. You should avoid plagiarism. Always be honest about to name the source that you use of writing.

3. You must accept and adhere the terms and conditions of services.

4. Always you should do your job as a professional in the field of content and presentation.

Method of Payment:

Up to 20$ per page you may earn. You will always receive your payment twice a month. Your payment payable monthly via check, wires transfer, paypal.

Deadline of your work:

To complete your work/task/job you have a specific time limit. If you really want to enlarge your time you have to contact with them immediately with a request to extend the time.

Thanks for reading this article.
Read more...
Posted by pay per click at 8:42 AM , 0 comments
Sunday, March 8, 2009
How to create Paypal Account

How to create Paypal Account:

First, Go to Paypal and register. When ask which account do you want to make, Select Premier . When They ask for the credit card, uncheck the box, You don't need a Credit Card.






PayPal is the safer, easier way to pay and get paid online. The service allows anyone to pay in any way they prefer, including through credit cards, bank accounts, buyer credit or account balances, without sharing financial information.
PayPal has quickly become a global leader in online payment solutions with more than 164 million accounts worldwide. Available in 190 markets and 17 currencies around the world, PayPal enables global ecommerce by making payments possible across different locations, currencies, and languages.
PayPal has received more than 20 awards for excellence from the internet industry and the business community -most recently the 2006 Webby Award for Best Financial Services Site and the 2006 Webby People's Voice Award for Best Financial Services Site.Located in San Jose, California, PayPal was founded in 1998 and was acquired by eBay in 2002.

CITS Guilin is the FIRST as well as the LARGEST online tour operator to meet the strict standards to be allow to offer Paypal payment services to our foreign customers in China.
China Highlights was awarded by PayPal Company for the VIP merchant in 2007.


Nasledujúca strana »