Basic PHP Programming

Your guide to basic PHP Programming

Keeping it Clean

without comments

Many experts say it again and again, to keep your pages consistent so your users do get the feel of professionalism and hard work that was placed into making your page. With the web and design becoming easier and easier it tends to slip the people making them that consistency is one of the factors that makes a web page great and one that is sure to keep users coming back.

Inconsistent design makes pages look gaudy and sways possible re-visits from happening. With the incursion of social media and other web components such as widgets that clutter up the place it makes for one messy page indeed. Keep it clean and organized, besides you end up having to weave through the clutter in the event of problems as you try to fix them.

Written by Bart

April 17th, 2015 at 1:12 am

Posted in Basics

Why PHP? 3

without comments

php2.jpg

What more benefits of using PHP? Can’t the list be longer? Okay, okay… I’m getting to it.

PHP is customizable. Again, a nod to its being open source. That fact allows programmers access to core elements of the language (to the point of letting them extend the language) to modify the PHP software as needed to suit their own needs. This way, PHP softwares are always getting improvements. Imagine, a thousand of programmers working on the PHP code making the program dynamic – just perfect for the constantly changing Web.

Whew. Is that it? The last three posts are just the base, and more of the icing on the next posts.

Written by Bart

April 9th, 2015 at 11:59 pm

Posted in Benefits

Tagged with ,

How XP benefits the customer

without comments

cd
XP or Extreme Programming is a software that includes the main aspects of software development such as specification, design, development and testing. It also addresses communication and planning as well as code management.

To put it straight, XP deals with the whole progress phase from the first stage through the testing, release and further development. This application is suited for projects that require speed or those which are bound to change during the duration of the project. With this, the client is benefited because he is likely to get more input. XP likewise promotes a dynamic association between everyone involved in the conceptualization of the whole process.

Written by editor

April 2nd, 2015 at 11:28 pm

Posted in Benefits

PHP – Now More Multitasker-Friendly

without comments

medium_3071055422Are you an incorrigible, incurable, hopeless case of a multi-tasker? I know I am. Multitaskers seem to want to get everything done all at the same time, and thus subject themselves – and their computer, smart phone, a combination of both, or even double of any, as in the picture – to dozens of opened web pages, a long tray of pinned web pages, and so. Much. Stress. You might be multitasking too much if you end up forgetting just why you kept certain web pages open or pinned, your computer develops this habit of hanging too frequently lately, or even your CPU start getting hot enough to fry an egg. (Although really, we don’t suggest you even try proving the last option. Seriously.)

Now, if you’re working on a network and unleashing your propensity to multitask on a network computer, you may notice that this one can specially withstand the stress you put it through. You can thank the combined effort of PHP and FastCGI for that. It keeps your server from crashing when you have lots of web pages up.

photo credit: Thomas Hawk via photopin cc

Written by Jonette

March 26th, 2015 at 11:01 pm

Posted in Versions

Tagged with , ,

PHP 5.2.8 is released!

without comments


PHP 5.2.7. is on its way out but 5.2.8. is on its way in!

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.

Good thing the previous version was taken out then.

Source

Written by editor

March 19th, 2015 at 10:15 pm

Posted in Versions

Learning PHP basics

without comments

girl looking at her work on computer
Here are some helpful basics on PHP: Begin, at all times, a PHP page with . (a period) and never neglect to use ; (semi colon) at the close of a variable. Secondly, before manually starting phpmyadmin to make your PHP program run properly, be ready to set up PHP, PHPTriad first. Next, to enable your php program to function, bring a php page in a .php wing. And lastly, don’t forget that security is the main requirement in using this type of PHP language. In developing a page with PHP, high level of security is necessary.

It is also very important to note that if you really want your program to operate, follow instructions to the letter. With this type of system, accuracy is the key.

Written by editor

March 12th, 2015 at 6:45 pm

Posted in Info

WordPress and PHP

without comments

In a previous post, it was discussed how Blogger uses PHP to help the blogger create great blog posts to syndicate throughout the Internet.
Blogger is a great platform to start your own blog. Thanks to its creators, programmers, and PHP, it provides the blogger with evertything one could possibly need to jump-start his or her own blog. It adds categories to posts, and these act as tags to make them pop up on a Google search easier and quicker. Embedding all sorts of encoded media is a breeze on Blogger. It also lets you customize the look of your blog, and allows you to create more pages to give it a real website feel.

However, migrating to WordPress with a domain of your own is something akin to “levelling up” for a blogger. WordPress provides you with all the tools you need, and more. You can now upload as many photos as you want on your own website without having to host them from somewhere else. You now also can use e-mail with your website name as your email domain. Lastly, all the PHP goodness you had on blogger can also be found on WordPress.

photo credit: Nikolay Bachiyski via photopin cc

Written by Jonette

March 5th, 2015 at 6:35 pm

Posted in Information

Tagged with , ,

Versions 4

without comments

php-booklet.jpg

Just so you’ll be aware of the different versions of PHP. This post features older versions:

Version 4.1.0 introduced the superglobal arrays. Because of this, there are scripts written in superglobals that will not run in versions prior to this particular version. If you’re using older versions of PHP, then you must use old style arrays such as the $HTTP_POST_VARS.

Version 4.2.0 is a little more complicated. This version of PHP changed the default setting for register_globals to Off. There are scripts developed under previous versions that depend on register_globals that are set to On. These particular scripts may stop running with the 4.2.0 setting. To solve this, change the coding of the scripts so that they can run with this version.

Important improvements were made to the CU version of PHP in Version 4.3.0. The CU is built automatically by default when the PHP is complied from source code. If one wishes for it not to be built, then it must be disabled with installation options.

Version 4.3.1 features a security fix to problems in 4.3.0.

More to come…

Written by Bart

February 26th, 2015 at 4:26 pm

Posted in Info,Versions

Tagged with

Why is PHP popular?

without comments

yehey.jpg

Let’s review why this free programming script is very popular.

1. It’s free!
2. It’s easy to learn! C-like syntax is used to make it easy for professional and non-professional programmers alike.
3. It’s versatile! It doesn’t matter which platform you use. It runs on Windows, Linux, MacOS X and even Unix.
4. It’s script-friendly! It can be mixed with HTML tags and code.
5. It’s multi-faceted! It has a plethora of functions and API’s.

Written by Bart

February 19th, 2015 at 3:43 pm

Posted in Benefits,Info

XP follows own programming patterns

without comments

man viewing pc applications
To ensure that all programs will run well, XP takes the following guides of programming organization: spike solutions, stand-up meetings, refactoring and testing.

The aspects of programming earlier mentioned can be used again in many other projects, and businesses. Though use of pure XP is not commonly done, they are nonetheless used by XP. Point solutions may not be most ideal but nevertheless give a competent choice. Paring the code base down then making full use of more meaningful and updated codes does work. The key here is getting rid of things that don’t work and even those that do work, and utilizing those which are more significant and usable.

Written by editor

February 12th, 2015 at 2:59 pm

Posted in Info