Category: PHP

Solution for the “Denied access” problem when using Wamp server 2 on Windows 8

Step 01 First, open the httpd.conf file of your apache version by a text editor such as Notepad or Notepad++. It’s usually located at \wamp\bin\apache\<your apache version>\conf\httpd.conf or you can use the quick menu of Wamp manager to open it. Find these snippet before modify it: # First, we configure the “default” to be a […]


Object oriented concepts with PHP

Example: Here is an example which defines a class of Books type: Creating Objects in PHP Once you defined your class, then you can create as many objects as you like of that class type. Following is an example of how to create object using new operator. $physics = new Books; $maths = new Books; […]