Tags » Php

Very Simple PHP Web Service

I will show you how to build a very simple web service using PHP and MySQL. First you need an example db, in this tutorial I used… 536 more words

PHP API

Red Hat collaborates with SAP to deploy Mobile Data Management Cartridge for SAP SQL Anywhere on OpenShift

Mumbai, India, October 21, 2014: Red Hat, the world’s leading provider of open source solutions, today announced new results of its collaboration with SAP to drive the next generation of mobile database development and synchronization. 11 more words

Breaking News

PHP, when Loop CSS and data, click events results is different with html source

i try to loop those data and set a edit, but when i use the code as below, the results is weird.
if only view the page results or html source, every thing is right. 401 more words

Stackoverflow

Codeigniter has a new home

I have been using Codeigniter for about a year now. To be honest I was concerned when I first started using it that it was about to die. 73 more words

PHP

Using APC(Caching Mechanism) with PHP.

What is PHP APC:

  • Alternative PHP Cache, one of the most popular caching mechanism for PHP’s op-code caching.
  • Once activated, it starts caching PHP codes automatically.
  • 662 more words
PHP

Content management system (CMS) - getting posts from database

I created a new folder for this test called ‘CMStest’. In this folder I created another folder called ‘include’ where I am going to store ‘connect.php‘ – connection to database/  ‘function.php‘ – file with function telling it to go and get all posts from selected table in database. 196 more words

Database

How To Download Files In Php

<?php
$file = ‘2.mp3′;
if (file_exists($file)) {
header(‘Content-Description: File Transfer’);
header(‘Content-Type: application/octet-stream’);
header(‘Content-Disposition: attachment; filename=’.basename($file));
ob_clean();
flush();
readfile($file);
exit;
}
?>

PHP