Category Archives: PHP

Force file download using php

Categories: PHP

If you want to provide the ability to download some content (like a text from the database) or to be sure that the browser won’t open a file you gave a like to instead of downloading it here are the …

Tagged , ,

Generate gradient image with php

Categories: PHP

There are a lot of nice effects you can get using php’s gd library. The one I decided to show now is a very simple way to render an image with a gradient between any two colors. You will be …

Tagged , ,

Send email with attachments using php

Categories: PHP

Most people know about php’s mail function. Even if it’s not the only way to send emails it is very used because of its simplicity. One thing that is not very often found in tutorials but is very useful might …

Tagged , , ,

PHP RSA encryption and decryption

Categories: PHP

In this post I will give you a simple example of RSA encryption and decryption using php. I guess that if you searched for this you already know what RSA is. If you don’t there’s a great article on it …

Tagged , , , , ,

Update twitter status using php

Categories: PHP

After my first post about posting on facebook wall had some feedback I decided to create another tutorial for twitter since the system is very similar. Twitter also uses oauth, so you will need to ask for the user’s permission …

Tagged , , ,
Page 1 of 212