Category: Programing

Center image in fixed size div (Center Thumbnail Image) 0

Center image in fixed size div (Center Thumbnail Image)

This little script shrinks, and align image depending of their orientation. Image is rounded with div ho has fixed width and hight, and also a style set to overflow:hidden. The script actual recognize the image orientation and ad to image...

List folder files in html with php 0

List folder files in html with php

Sometimes we need to list files of some folder in our web page. This script will show you how you cam simply update your web page by adding new files in folder. It is done by...

showhide 1

Show/hide DIV with jQuery

It’s so simple to make show/hide div on click and it makes web pages even better. Be sure first to call initial jQuery script. Then we create click event listener which is triggered when...

Upload, Resize, write to mySQL  and get thumbnail from multiple images 32

Upload, Resize, write to mySQL and get thumbnail from multiple images

While ago i found this post and made some changes. I edit it so multiplie fields can be posted to PHP and all images can be saved to mySQL database. Function is uploading images and at same...

smsVOIP 3

Send SMS using PHP and VOIP service

In this post you can see how to send SMS message with VOIP service using PHP. Almost all VOIP service providers are using same technic to send SMS over https protocol like this: https://www.12voip.com/myaccount/sendsms.php?username=xxxxxxxxxx​&password=xxxxxxxxxx&from=xxxxxxxxxx&to=xxxxxxxxxx&text=xxxxxxxxxx