Basic PHP Programming

Your guide to basic PHP Programming

On restricting some users.

without comments

12.jpg

There are some website owners who wish to restrict the access of their webpage to certain individuals or groups. It is inconceivable since every website owner’s dream is for him or her to have more traffic. Perhaps because some spammers have infiltrated their website, or maybe they have personal reasons. Nevertheless, there is actually a way to restrict the access of a certain user/s to the website or a certain page in a website. Captcha is being used by most webmasters in preventing spammers to send and send information in their website, however, here is the trick to totally ban them from entering your site. The key? IP addresses. Yes, this number sequence means a lot. You can find the coding here for your reference.

Photo taken from http://www.css-design-yorkshire.com

Written by editor

January 29th, 2015 at 1:40 pm

Posted in Information

Quick glance at PHP

without comments

cd
For those of you browsing on this page and are not so knowledgeable about computer programming and whatnots, here is a bird’s eye view on PHP.

PHP stands for Hypertext Preprocessor. It is a computer scripting language basically intended to generate dynamic web pages. It can be derived from a command line interface or in independent graphical applications though focally, it is applied in server-side scripting.
The person behind the making of PHP is Rasmus Lerdorf. He designed this program in 1995. However it is now The PHP Group that acts as the de facto standard for PHP and is considered as a free software by the Free Software Foundation.

PHP, embeddable into HTML, has major use for all purposes in scripting language for web development. Operating on a web server, PHP code acts as the input and building web pages is the output. As a free software, it can be utilized in web servers on approximately all operating systems and platforms.

Written by editor

January 22nd, 2015 at 12:09 pm

Posted in Info

SQL Injections

without comments


A SQL injection is a form of security vulnerability that will let a hacker get into the database through the use of vulnerability that he finds in your code. There are many PHP programs that employ MySQL databases as a part of the whole program. By knowing what things can bring a level of vulnerability in your program you can make the proper plans on what to avoid and how to make the whole code more secure.
There is a useful SQL injection cheat sheet available online that contains a section where the vulnerabilities of the PHP and MySQL are listed. You can use this cheat sheet to see if you’re breaking anything, which will help in creating a more secure code.

Written by Bart

January 22nd, 2015 at 12:09 pm

Dynamic content web sites

without comments

global computer language
In learning PHP and MySQL you need to understand that one of the greatest uses of these programs is in the form of Content Management System (CMS). As you can see, CMS is the main support of a dynamic web site. In fact, successful publishing sytems like Drupal and WordPress utilize server side scripting and a database, in which the top choices are often PHP and MySQL.

But PHP and MySQL are not the only scripting languages and databases in the market. There are also others like Oracle and DB2 which sometimes offer better choice than the former. The reason why PHP and MySQL have become popular choices however is that PHP is more manageable while MySQL is a placed in a more established and secure Open Source database position.

Written by editor

January 15th, 2015 at 10:56 am

Posted in Info

Why PHP? 2

without comments

PHP & MySQL for Dummies

without comments

dummies.jpg

Research and Markets, in Ireland has recently stated that it would be launching its latest offering of desk references. The “PHP & MySQL Web Development All-in-One Desk Reference for Dummies” can be considered a valuable part of resources for webmasters and programmers who wish to learn more about the two popular open-source databases-PHP and MySQL. The reference is said to be composed of six mini books and will feature easy and understandable tutorials for beginners – which would endear the collection to well, PHP and mySQL dummies!

SOURCE: Businesswire

Written by Bart

January 1st, 2015 at 5:28 am

Posted in News

Create a game using PHP.

without comments

11.png

Who says php programmers can’t be game programmers? Of course they can! But do not expect them to create a Grand Theft Auto kind of game out of php coding. They can’t. All they can make are simple, yet fun games such as quizzes, sudoku and puzzles. LizQuiz is a downloadable snippet, wherein you can just change the variables you will use for the quiz you are making. You can configure the quiz using an XML file, so you don’t need a database to store your pool of questions. You can even add multiple answers to a single question if the question sees fit. You can get the snippet here.

Photo taken from http://www.sliver.com

Written by editor

December 25th, 2014 at 4:58 am

Posted in Information

PHP and Math

without comments

PHP at heart is a great language used to make high speed and massive number-crunching a cinch. This is how cashier machines rack up values for your groceries, and how your school administration computer system quickly racks up students’ scores and averages for the year. Sometimes, this is also how some sports writers make predictions on which athlete or team will come out on top by feeding the players’ stats into the system. This is also how your accountants sometimes get the lowdown on your taxes for the year. On a larger scale, this is also how some apps allow you to blog, upload and more.

Basic math operations like adding subtracting, multiplying and dividing just need a few lines of code to get computations running. All you need do is assign numerical values to the variables in the text string, and off you go! It can also get the average of a set of numbers, and make geometric computations.

photo credit: fdecomite via photopin cc

Written by Jonette

December 18th, 2014 at 1:18 am

PHP and the Web

without comments

php.jpg

PHP has many features that are designed particularly for Web site use. PHP interacts with HTML forms so that PHP can display on HTML and it also has the ability to process the information that users type in. PHP acts like a body-guard or bouncer of sorts and it secures Web pages. It allows the developer to create secure Web pages with features that requires users to enter a valid username and password before they can view the content. PHP also communicates with databases so they can both store and retrieve information from and to the users. Brilliant, isnt it?

Written by Bart

December 11th, 2014 at 1:03 am

Posted in Web

PHP programming language

without comments

PHP now known as “PHP Hypertext Preprocessor”, but originally “Personal Home Page Tools” is a widely used open-source programming language used primarily for server-side applications, to develop dynamic web content such as the MediaWiki software. It can be seen as an open source alternative to Microsoft’s Active Server Pages (ASP) system and to the CGI/Perl system.

Its ease of use and similarity with the most common structured programming languages, most notably C and Perl, allows most experienced programmers to start developing complex applications with a minimal learning curve. It also enables experienced developers to get involved with dynamic web content applications without having to learn a whole new set of functions and practices.

Written by Bart

December 3rd, 2014 at 11:39 pm

Posted in Info,Information