Archive for the ‘php’ Category

How to implement an online payment: First step (1/6)

In this series of articles we will see how it is possible to implement online payments in your own website through a credit card. We will be relying obviously on a company specialized in on-line transactions and in our case on PayPal. The choice fell on this company since it’s the most famous and already synonymous with reliability for everybody.
The setting on which we are going to work is the following:

In our website, we want to create a reserved area in which special contents will be available. We want that access to this area comes with a fee and that the contents are available immediately once the user has paid the fee (instant access).
In this particular case it will be about Your Inspiration Images, a website which collects images. In order to have them at a high resolution it is necessary to become users by paying a fee of 50 Euros. || Read more »

PHP Tips – Warning: Cannot modify header information. Let’s get things straight

PHP Tips – Warning: Cannot modify header information. Let’s get things straight

Tell me the truth: you have had to mix it up with this error at least once, haven't you? In this pill we'll get things straight, once and for all, how this error occurs, how to avoid it and, if...

7 comments

PHP tips & tricks – how to determine the operating system of the web server

PHP tips & tricks – how to determine the operating system of the web server

A question that I often hear is: How can I determine the operating system of the server? Many strange answers are given to this question, the most common one involves the application of improbable regular expressions to the variable $_SERVER[‘SERVER_SOFTWARE’]....

2 comments

PHP Tips – Manage correctly file inclusion

PHP Tips – Manage correctly file inclusion

In this article we’ll treat a quite simple argument but if badly managed can lead to big problems, the topic is the inclusion of files. According to my experience I established three golden rules that should be enough; if you...

8 comments

Elements of cryptography: Hashing algorithms

Elements of cryptography: Hashing algorithms

Don't be scared, keep reading! I decided to start the article in this way since reading on the same title words such as cryptography and hashing algorithms can be intimidating. My aim, in this series of articles dedicated to cryptography,...

2 comments

How to create chained select with PHP and jQuery?

select

In this article we'll talk about the chaining of  select also called   select cascade. It is a procedure  that we often find on the web and it consists in giving the user the possibility  to find a specific data through...

92 comments

How to build a dynamic and maintainable navigation

How to build a dynamic and maintainable navigation

In this article we will see how we can create a navigation that is able to highlight the current page in menu items like this example. As you can see, the style of the menu item applied to the page displayed is...

8 comments

Which is the best editor for writing your code? Here’s a list of those most used by web designers

editor

One of the most important tools for a web designer is without a doubt an editor (IDE – Integrated Development Environment) with which to create the code that gives life to your projects. These applications help us to draft code...

6 comments