Home
Jul 31
Saturday
Error
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.

simple

develop and production server on same php file
Thursday, 22 July 2010 09:21
// same mysql connection file for development and production, or more servers
// can you use the global $_SERVER['HTTP_HOST'] to identify your current active server, simple huh??
// this simple scrip identify your server by address
// if you want more serves, just add a elseif clause


//first - your development server
if ($_SERVER['HTTP_HOST'] == "127.0.0.1")
{
$hostname_content = "localhost";
$database_content = "YOUR_DATABASE";
$username_content = "YOUR_USER";
$password_content = "YOUR_PASS";
$conn = mysql_pconnect($hostname_content, $username_content, $password_content) or trigger_error(mysql_error(),E_USER_ERROR);
}
//second- your production server
else
{
$hostname_content = "YOUR_PRODUTION_SERVER";
$database_content = "YOUR_PRODUCTION_DATABASE";
$username_content = "YOUR_PRODUCTION_USER";
$password_content = "YOUR_PRODUCTION_PASS";
$conn = mysql_pconnect($hostname_content, $username_content, $password_content) or trigger_error(mysql_error(),E_USER_ERROR);
}
?>

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/pYhxkJaY3mY/11925

 
Hyperfire 1.0
Thursday, 22 July 2010 04:00
About Hyperfire
An arcade shooter than reminisces of days of old, this simple game is very well put together. The objective is simple: shoot as many UFOs as you can. The authenticity of the title is quite impressive, and you’ll remember the 1980s just from picking it up.

Read more: http://www.apple.com/downloads/macosx/games/action_adventure/hyperfire.html

 
LightFrame 1.5
Wednesday, 21 July 2010 04:00
About LightFrame
Powerful and flexible image framer. LightFrame is based on core Mac OS technologies, it contains various material types and built-in textures library and provides simple frames as well as fully customizable unique frame defined by vector paths.

Read more: http://www.apple.com/downloads/macosx/imaging_3d/lightframe.html

 
Quiet Read 1.4.5
Wednesday, 21 July 2010 04:00
About Quiet Read
Sometimes, when I am browsing the web, I want to store a link for later. There are note taking applications and everything-buckets to do that, but I wanted something light and simple. Simple as dragging a link onto a menu bar item to store it. Quiet Read is available in Traditional Chinese, Polish, Greek, French, German, Italian, Japanese, Korean, Dutch and Spanish.

Read more: http://www.apple.com/downloads/macosx/internet_utilities/quietread.html

 
ReelNQ 1.7
Tuesday, 20 July 2010 04:00
About ReelNQ
Batch video converter allowing you to convert a list of videos automatically without having to manually process each file. Supports iPhone, iPod, Apple TV and more. Simple drag and drop support for adding movies to the batch queue.

Read more: http://www.apple.com/downloads/macosx/video/reelnq.html

 
<< Start < Prev 1 2 Next > End >>

Page 1 of 2
Taxonomy by Zaragoza Online
Home