+40 745 232 788

Online Solutions Development Blog   |  

RSS

Tag Archives: php

posted by ,
Categories: PHP
Tags , ,

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 few lines of php code that you can use to do that: In this context …

posted by ,
Categories: PHP
Tags , ,

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 able to use this script for a wide range of needs considering that it gives …

posted by ,
Categories: PHP
Tags , , ,

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 be the way to add attachments to the message using only this function and not …

posted by ,
Categories: PHP
Tags , , , , ,

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 on wikipedia. You will find yourself sometimes in need of an encryption algorithm that would …

posted by ,
Categories: JavaScript
Tags , , , ,

JSONP is the answer to two quite popular questions among the web developers: how can I make an asynchronous call to an script that is not on my server? how can I “hide” my ajax calls in the javascript console? What is JSONP? Short version: it’s an alternative to ajax. Long version(with example) below: I …