Skip to content
  • Register
  • Login

LT BYTES

Learn Tech Bytes

  • Home
  • AWS
  • PHP

Uncategorized

Posted inUncategorized

days difference in php

by SuryaJuly 27, 20100

$date2 = ‘2010-06-20’;$date1 = ‘2010-06-24’;$days = (strtotime($date1) – strtotime($date2)) / (60 * 60 * 24);echo $days; some other ways are also there. can any one … days difference in phpRead more

Posted inUncategorized

Get extension of filename in php

by SuryaJuly 26, 20100

$path_info = pathinfo(‘lib.inc.php’); echo $path_info[‘extension’];

Posted inUncategorized

Validate Image Using Javascript

by SuryaJuly 19, 20100

function validate_image(){ frmobj = document.frmRegistration; //Here “frmRegistration” is Form name var image_file = frmobj.upload_file.value; /*Here “upload_file” is in this tag like input type=”file” name=”upload_file” */ … Validate Image Using JavascriptRead more

Posted inUncategorized

create dynamic images in php

by SuryaJuly 18, 20100

//Create Image By Url Method – 2function create_image_by_url2($url){ $path_parts = pathinfo($url); copy($url,$path_parts[‘basename’]); }create_image_by_url2($url);

Posted inUncategorized

create dynamic images using php

by SuryaJuly 18, 20100

$url = “http://technmarketing.com/wp-content/uploads/2009/03/twitter-wallpaper2.jpg”; //Create Image By Url Method – 1function create_image_by_url1($url){ $target_path = $url; $imgdir=””; $path_parts = pathinfo($url); $file_name = $path_parts[‘basename’]; $imgext = $path_parts[‘extension’]; if($imgext==’jpg’ … create dynamic images using phpRead more

Posted inUncategorized

Enable Htaccess in localhost AppServ

by SuryaJune 13, 20100

Open AppSer installed folder in that find conf folder and find httpd.conf file. In that file find below line(LoadModule rewrite_module modules/mod_rewrite.so) For Example In Windows: … Enable Htaccess in localhost AppServRead more

Posted inUncategorized

mysql command line windows

by SuryaJune 13, 20100

It is working for me like this Set the path in command line to mysqlbin i.e (in which directory mysql is installed) For eg: (I … mysql command line windowsRead more

Posted inUncategorized

wordpress mu installation in localhost

by SuryaDecember 25, 20090

I have installed the wordpress mu in localhost. I am using Appserv. Copy the wordpress-mu folder in your root directory with some name as “wpmu”. … wordpress mu installation in localhostRead more

Posted inUncategorized

Phpbb3 admin login problem

by SuryaNovember 21, 20090

Admin Login Page For Phpbb3: To Login into admin section you have to re-authenticate for admin account First you have to login from frontend with … Phpbb3 admin login problemRead more

Posted inUncategorized

check value exist or not in php array

by SuryaNovember 21, 20090

$os = array(“Novmber, 2009”, “NT”, “Irix”, “Linux”); if (in_array(“Novmber, 2009”, $os)) {echo “You found that value”;}

Posts navigation

1 2 Next

Recent Posts

  • Deploying AWS Lambda with Docker & Serverless Framework
  • Create and Update SNS Subscription Filter Policy using Python Boto3
  • Turn on errors in PHP
  • Php coding standards
  • WordPress plugin to save contact information to database

Recent Comments

No comments to show.

Archives

  • February 2025
  • January 2024
  • December 2023
  • March 2013
  • December 2012
  • April 2012
  • August 2011
  • April 2011
  • February 2011
  • January 2011
  • October 2010
  • July 2010
  • June 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009

Categories

  • All
  • AWS
  • Javascript
  • Joomla
  • Php
  • Python
  • Sql
  • Uncategorized
  • Wordpress
Copyright © 2025 LT BYTES.
Powered by WordPress and BNM.
  • Home
  • AWS
  • PHP