January 4th, 2009

イメージ提供:images.malwarehelp.org
HTTPまたはハイパーテキスト転送プロトコルは基本的に処理状態を把握しません。 あなたがリクエストしたページが送られて接続が終了した時、あなたが作ったデータはまた最初からやり直されます。 この問題を解決するために、開発者は問題に取り組みました。 初めのアイデアはネットスケープからで、クライアントに小さなデータを保存しておくというものでした。 彼らはこの問題の解決を「クッキー」として創造しました。 ネットスケープのブラウザーがクッキーを発明したのです。 これらはクライアントのコンピューターに存在する、あるウェブサイトの小情報です。 特定のページがリクエストされる都度、PCよりクッキーがウェブサイトに送り返されます。クッキーはそれを書いたウェブサイトにしか使用されません。 これはページ間のデータを保管する安全な方法です。 数年前、クッキーは否定的なニュースになりました。 当初、クッキーはPCにインストールされ、ユーザーの個人的情報をこっそり追跡すると考えられました。 そのため、ブラウジングをする際、クッキーを無効にするよう奨励されました。 最終的には人々はクッキーが存在する本当の理由を理解しました。クッキーは基本的には無害です。
Posted in
Imp @ja |
No Comments »
December 13th, 2008

It’s that time of the month to check if there’s a new update for PHP and (gasp!) there is one!
Due to a security bug found in the PHP 5.2.7 release, it has been removed from distribution. The bug affects configurations where magic_quotes_gpc is enabled, because it remains off even when set to on. In the meantime, use PHP 5.2.6 until PHP 5.2.8 is later released.
The PHP Development Team would like to announce the immediate availability of PHP 5.2.8. This release addresses a regression introduced by 5.2.7 in regard to the magic_quotes functionality, which was broken by an incorrect fix to the filter extension. All users who have upgraded to 5.2.7 are encouraged to upgrade to this release. Alternatively you can apply a work-around for the bug by changing “filter.default_flags=0″ in php.ini.
Go ahead and update this one right away as it will save your IT hide.
Source
Posted in
Information |
No Comments »
December 12th, 2008

画像提供:static.zend.com
PHPプログラマーを目指している方へ。 PHP Certificationは試験の一種で、選択問題が70問ある単独のテストに合格することで取得できます。 これはPHPの開発者によって作られ、 合格すると、Zend Certificate EngineerやZCEと呼ばれる次のレベルに挑戦する資格を得ることができます。
現在、 PHP5がテストの対象言語です。PHP5に関連した教材を集めましょう。
「何のことだろう?」と思う人もいるかもしれません。 基本的にこのテストはオンライン学位や資格の一種です。 このテストにおける最も重要な概念は、専門的認識にあります。 このテストを利用することで、PHPのプログラミングのキャリアを目指すことができます。
Posted in
Imp @ja |
No Comments »
November 25th, 2008

Image Source: filemaker.com
If you are new to programming, chances are you will be more likely intimidated by PHP. PHP is the newest scripting language that is gaining popularity across the globe. This is simply because it provides a very basic principle in programming. No complicated stuff that will get you lost along the way. In relation to this, your fear of PHP is due to the fact you might have a limited understanding on how it works. Because once you get to know the important details, you should have no problem programming your stuff in no time. The most important thing you should know before you come to like PHP is an extensive understanding of HTML. This is primarily because PHP and HTML wil supplement each other in your programming.
Posted in
Information |
No Comments »
October 6th, 2008

Image Source:images.malwarehelp.org
HTTP or Hyper Text Transfer Protocol is basically stateless. It simply means that any data that you have made starts from scratch again when the page that you requested has been sent and the connection between them is terminated. Developers worked on, to find a way to solve the problem. The first to come up with the idea of storing small data on the client was Netscape. They eventually created the “cookies” as the solution to that problem. The Netscape browser came up with cookies. These are small bits of information that a particular website on the client’s computer. These will then be sent back by the PC to the website every time that particular page was requested. a cookie can olny be used by the website that wrote them. It is a secure way to store data between pages. Cookies made some negative headlines a few years back. Initially it was thought that these cookies were employed and installed in the PCs to stalk users’ confidential infos. And came to a point that it was encouraged to disable cookies when browsing. But in the end, people got the real deal about the cookies and why its there. They’re basically harmless.
Posted in
Codes |
No Comments »
September 29th, 2008

Image Source:static.zend.com
Want to become a PHP programmer? PHP Certification is a type of exam in which you are required to pass a single test containing about 70 multiple choice questions. It was developed by the creator of PHP himself. If you pass this exam, you will be qualified to the next level which they call
Zend Certificate Engineer or ZCE. Currently, the medium for learning is PHP5. Gather study materials that are already based on PHP5.
What is all this for? You might ask. Basically, its sort of an online degree or certificate. The most important concept of this program is professional recognition. You can then use this to pursue your PHP programming career.
Posted in
Information |
No Comments »
August 10th, 2008

Image Source: www.ariel.web.id
Looping statements, like Do-While looping statements, While looping statements, and For looping statements, makes programming very easy, even at making PHPs. But did you know that there is something that looping statements can’t loop? That’s right! There is something. Looping statements can’t loop If-Else statements. That’s because when the looping statement starts, it goes through the If-Else statement, and then, whatever the statement the If-Else statement supplies, it will be the new statement the looping statement loops, and the If-Else statement will be left aside. I’ve been creating PHPs in our school and I tell you, it’s very frustrating that your looping statements are not looping the whole statements you put inside it. Thus, your website will not work properly. The only solution that I find is that you have to use Switch statements. Switch statements are like If-Else statements, but the Switch statements are more specific. Try it! It works, even at other programming language
Posted in
Advanced Programming, Basic Programming, Codes, Comparisons, Information, PHP, PHP Accelerator, PHP editors, PHP jobs, Programming, Sample Code |
No Comments »
July 15th, 2008
As an example of secure PHP programming, the evolt PHP login system has a list of good features as follows:
Safety – Passwords are not saved in cookies
Levels – Users are identified by different levels (admin, user etc.)
Admin Center – As admin, you have full management of the users. View user profiles, delete and ban users, demote and upgrade user levels.
Tracking – You can now tell how many visitors and registered users are viewing your site. Also it will show how many users your site has.
Account Info – Registered users can edit and view their own information and also view other’s profile as well.
Error Form – If an error occurs, they are redirected to an error form page that they can fill out to inform that there is an error page and error that occurred are displayed.
Password – If users forget their password, they can have a new one generated and sent to their email.
Posted in
PHP |
No Comments »
June 4th, 2008
First of all what is a Function? A Function is a small set of statements defined by the programmer to do a specific action. They take input values in the form of ‘arguments‘ and return values after execution. They can be written anywhere in the program. They are used to reduce the programming complexity and to handle the programming structures easily. The function takes an input, performs some operation with it and returns a value after successful execution. Functions are basically of two types, namely:
- Functions with no return value
- Functions with return values
-Source
Posted in
PHP |
No Comments »
May 30th, 2008

Even without using mySQl, users can still password protect their files through .htaccess password protection.
The code can be divided into 3 if-else statements:
1. If the user has not been validated, use the PHP header and request for a username and password.
2. Else, if the user’s name is “webworld” and the password is “webworld”, log in. Here, all the code for the user will be placed.
3. Else say the user/password failed.
//1st part
if (!isset($PHP_AUTH_USER))
{
header("WWW-Authenticate: Basic realm=\"webworld Password.\"");
Header("HTTP/1.0 401 Unauthorized");
exit;
}
//2nd part
else if(($PHP_AUTH_USER=="webworld") && ($PHP_AUTH_PW=="webworld"))
{
echo "You are logged in...";
//put the code for the whole user page in here
//you can also create a redirect to the user page if you want
}
//3rd part
else
{
echo "
Failed entry”;
//fail try again
}
?>
Remember that the username and password will remain for the whole session as long as explorer windows is open.
Posted in
Basic Programming, Codes |
No Comments »