php

  • submit to reddit

Simple utility for copying data from MongoDB to MySql

http://my.sociopal.com/sociopaltech/post?id=simple_utility_for_copying_data_from_mongodb_to_mysql_this_is_a_simple_php_program_im_using_in_o_61755This is a...

0 replies - 63 views - 05/22/13 by Avi Kapuya in Uncategorized

PHP Checkbox Quiz problem

<html><form method='post' action='process.php' id='1'><ol>   <li>     <h3>Care este altitudinea maxima a...

0 replies - 977 views - 03/20/13 by Televizor Color in Uncategorized

Doing POST Request by Socket Connection

This example of code shows how to do a simple POST request in PHP to another web server by using a socket connection.

1 replies - 661 views - 02/12/13 by Chara Miteo in Uncategorized

Using Gravatars In Your Script

  With increasing of popularity of WordPress script, Gravatars have become a rellay quite popular. Now you may easy integrate them into...

1 replies - 383 views - 02/12/13 by Chara Miteo in Uncategorized

Compress multiple CSS files

  Usually when you're using different CSS files on your site, they might take a quite long to be loadedload. Using this PHP code, you can...

0 replies - 501 views - 02/12/13 by Chara Miteo in Uncategorized

Save any image from url using php

The above code snippet saves image from url into our local file system.imagecreatefromjpeg function is used for creating an image from file or URLAlso...

1 replies - 997 views - 01/13/13 by Rubin Porwal in Uncategorized

Toggling Elements with JavaScript

  This function allows you to pass two variables that represent ID of two elements on your page. What you click on one of them it hide it...

0 replies - 1798 views - 11/04/12 by Chara Miteo in Uncategorized

Download File with a Speed Limit in PHP

  This snippet allows you set a limitation for download rate of the file that visitors download from your site.

0 replies - 1698 views - 11/04/12 by Chara Miteo in Uncategorized

List Directory Contents in PHP

This code allows to list the contents of any given directory.

0 replies - 1339 views - 11/04/12 by Chara Miteo in Uncategorized

List Directory Contents in PHP

  This code allows to list the contents of any given directory.

0 replies - 1446 views - 11/04/12 by Chara Miteo in Uncategorized

Get File Extension in PHP

This code allows to pass filename in the $file_name variable and function will return file extension only.

1 replies - 1593 views - 11/04/12 by Chara Miteo in Uncategorized

CiviCRM Find code from Scheduled Jobs web interface

Note: CiviCRM revamped its Scheduled Jobs (cronjobs) system in version 4.1.  This snippet applies to post-4.1 code only. 

0 replies - 2133 views - 09/11/12 by J Tu in Uncategorized

CiviCRM Membership renewal reminder emails from Schedule Jobs

CiviCRM changed how it runs its scheduled jobs (cronjobs) in 4.1, deprecating the UpdateMembershipRecord.php cronjob.  Follow these instructions to enable...

0 replies - 2414 views - 09/11/12 by J Tu in Uncategorized

21 Windows Azure News Links from August

It's Friday again, I hope you're all enjoying the last few weeks of summer before we head into the cooler fall weather (at least here in the northern...

0 replies - 4194 views - 09/10/12 by Brian Swan in Articles

CiviCRM change QuickForm Cancel button's value

QuickForm automatically creates the Cancel button as part of the buttons array.  Use this code in the .php controller code if you want to change the HTML...

0 replies - 2991 views - 06/26/12 by J Tu in Uncategorized