To remove depreciated messages form displays you can use the ~E_DEPRECATED value in the error_reporting function something like the following :
error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE);
To remove depreciated messages form displays you can use the ~E_DEPRECATED value in the error_reporting function something like the following :
error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE);
→ No CommentsTags: General PHP
In version PHP 5 there is a new warning state of E_STRICT
To remove there warning messages use :
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT);
Depreciated functions still exist and you get the warning. So they work as expected. However in a future version they might disappear.
→ No CommentsTags: General PHP
PHP-Register is a new PHP / mySQL application that is used to easily create forms that collect data from your visitors before they are directed to a page of your choice.
The application is easy to instal on on Linux type web server or Windows web server providing it has PHP and mySQL.
In the administration pages you can create forms with each form having input boxes of text, textarea, drop down lists, checkboxes or radio buttons. Each input may have validation allowing you to define the data that a visitor can enter.
For full details, refer to http://www.withinweb.com/phpregister/
→ No CommentsTags: General PHP · PHP-Register
Sometimes it may be necessary to use a different version of PHP on a web folder rather than the default. This may be when you have an application that only works on later versions of PHP as it contains functions that only work on later versions of PHP.
On some web servers this can be done using AddHandler in an htaccess file in the folder that you want a different version of PHP in.
So for version PHP 5.1
AddHandler application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
AddType application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
You should check with your hosting to make sure that this will work of course.
→ No CommentsTags: General PHP
In Object Orientated Programming, you may have an object called vehicle. You could create instances of that vehicle called car, bike, van and so on. Static classes cannot created instances so are really just like functions in programming languages like VB6. Static classes are useful where you know you do not need to create an instance.
→ No CommentsTags: Other
EasyPHP 12.1
If you install EasyPHP and find that it displays a blank page when you try to access the administration page, and it just sits there waiting for 127.0.0.1, then this may be caused by a bug in Internet Explorer when working with the particular version of Apache.
To overcome this, try the administration page http://localhost/home/ using FireFox or Chrome.
→ No CommentsTags: EasyPHP
When I downloaded EasyPHP and installed it on my Windows 8 laptop, it appeared to start correctly with the EasyPHP icon in the tray, but it would not load the web pages at http://127.0.0.1
This is how I solved it:
→ No CommentsTags: EasyPHP
Windows 8 is not initially intuitive to use, so some short cuts are useful to learn to allow you to switch modes.
Here is a short list of five shortcuts.
Note: In case you’re new to keyboard shortcuts, all of these involve holding down the Windows key (it’s to the left of the space bar), then tapping the appropriate letter or function key.
Windows-C Immediately brings up the Charms bar, for quick access to things like Search, Share, and Settings.
Windows-D Switches you to Desktop mode—a place I suspect many users will prefer to hang out, at least initially. Once you’re in that mode, pressing Windows-D again toggles between minimize/restore all windows, same as in Windows 7.
Windows-I Brings up the Settings charm, where you’ll find—among other things—the Power icon for shutting down the PC.
Windows-PrtSc This handy new feature instantly captures a screenshot and saves it (in PNG format) to a Screenshots subfolder in your Pictures folder.
Windows-X Pops up a decidedly old-school menu of Windows tools, including Power Options, Device Manager, Disk Management, and Command Prompt.
→ No CommentsTags: Other
If PHP returns messages saying that functions have depreciated, this is a warning to indicate that the code that you are running has functions in your installed version of PHP that will be removed at some time in the future by a later version of PHP.
This may occur if one day your web host suddenly decides to upgrade their servers to a new version of PHP. You should make sure that you are on the mailing lists for your hosting company so that you will be notified of changes that may cause issues.
Depreciated functions still exist and you get warnings. So they work as expected. However in a future version of PHP, they might disappear. It’s a way to signal changes to users which have code based on an older PHP version.
Normally the deprecated features get removed after some time, but it’s not predictable how long this takes.
So if you see these warnings, update the code. Most often the PHP documentation has more information why something has been deprecated and what to do. Most often it’s an improvement.
Changing to a new version of PHP will mean that you will have access to the latest features of the language, however, it may mean that older versions of an application will either fail or display warning messages.
You have to decide if you want your application to operate over different PHP platforms – if you do then you have to code with common functions that are in all versions of PHP.
→ No CommentsTags: General PHP
If you are developing a new web application, then take a look at Twitter Bootstrap that provides a set of layouts and functions using JQuery Javascript and css. Web page layout design is made easier by pre-set classes, menu drop downs can easily be added standardised layouts can be created.
The Bootstrap layouts are downloaded from
→ No CommentsTags: Site Design