Tuesday 27 December 2016

The most important functions in PHP

Whether you are learning or new to porgramming in PHP there are a dozens of important php functions you should get hold of at first.

This will make your life lot easier if you know about these functions. And you should remember them by heart if you want to be very very good programmer because with time you could do the same with any other language.

Most of programmers who want to be serious in development field lack the courage to do the first step right, which is to be master in the basics functionality of any language. And believe me the easiest task on any programming language is basically connecting to a database, and execute some quries, list data etc.)

But when life becomes tougher, we encounter logic and write code for a very complex task, these functions are our babies which we should love most... Because, like a good child, these functions are going to save us the way our children do in our old-age.

Most important ARRAY functions in php

  • is_array() - Well name describe everything 
  • count($array) => returns the number of elements etc (if array is empty = it will return 1)
  • sizeof($array) => same as count()
  • empty($array) => whether or not an array is empty
  • end($array) => returns the last element in an array
  • array_diff($array1,$array2) => returns the difference in two arrays 
  • array-add($array1,$array2) => adds two arrays
Most important STRING functions in php

  • str_replace() => search and replace anything in a string
  • strpos() => find the position of a string if it exists.. (like checking if a word exists in a text)
  • substr() => get a portion of string by position
  • strstr() => get a portion of string as well.
  • strlen() =. find the length of string


Friday 10 July 2015

Resume huge size file uploads via Mozilla FileZilla

How to Upload Huge Sized File via FileZilla ?


Have you ever tried to upload 2.0 GB or even bigger file via Filezilla? Sometimes, even if your server supports resume, you can't upload bigger files. After being uploaded like some 60%-80% your server disconnects and it never resumes.

When you retry, it starts from ZERO again - that's really really disgusting for any programmer or developer who is trying to upload new website to his server.


What's Fix ? 
I did face the same issue, searched over internet but didn't get answer. Most people told me to just go away as it's Server problem. However, my server did have resume option. It resumed sometimes, but once it went beyond 1.0 GB , it never resumed. instead it created some TEMP file like ".pureftp" etc.

After trying manytime, i got an idea, i was trying to upload file "www.zip" via filezilla. which was like 3.65 GB of size. So, i actually went to filezilla, and renamed the temporary file (already uploaded of some 1.8 GB) to "www.zip".

After renaming the temporary file, i tried to upload www.zip and mozilla asked me if i want to replace file ? instead i checked on resume.

File transfer started  and it's started from 1.8 GB :) That was bit trickier but it actually worked. Now i 'm just praying that uploaded file is  uploaded successfully and completely.


Do you want to go to my other main website ? You can click here, or here or here. You can find it here and here as  well.

Sunday 14 December 2014

Get Simple Yet Powerful Dating Website in PHP

Dating Website Script in PHP for Free

Dating Website in PHP

Do you want to start you own dating website ?

It's simple and yet a powerful dating script developed in codeIgniter PHP to start your own dating website in no time. Here are some of the most powerful functionalities of PHP dating website

Simple Dating Website in PHP

Front End Functionality

  • Forget Password
  • User Registration
  • Profiles
  • Messages
  • Email Confirmation
  • Inappropriate Profile Notice
  • Contact us Page
  • Emails System
  • Signup Email Confirmation
  • Captcha
  • Image Upload for Profile
 Admin Functionality
  • View & Manage Users
  • View & Manage Profiles
  • View & Manage Messages
  • View & Manage Stats
  • View Messages from Users
  • Sending Notices / Messages 

Contact Form

Login Page

Dating Profile Preview Page

Member Register Form

Dating Search Form

Search Results


Customized solutions can be available on request. Just drop an email on ancientlahore@gmail.com with your requirements and i will get back to you with a fair estimate of duration & cost

Get Your own ecommerce website Up and Running in no time

eCommerce Solution / Website in $5.00 Only




A simple yet powerful ecommerce php script to create your own shopping cart website and receive payment of your order via PAYPAL.

An admin panel is included in it.

Front End Functionality

  • Create New User
  • Forget Password
  • Browse categories and Products
  • Select a Product
  • Checkout
  • Enter Order Details (Sender & Receiver)
  • Preview Order
  • Confirm Order
  • Paypal Payment
  • Simple Design
 Admin Functionality
  • View & Manage Users
  • View & Manage Categories
  • View & Manage Products
  • View & Manage Orders
This is not an open-source script, This is custom built shopping cart developed in CodeIgniter (PHP) . Click here for PHP Shopping Cart Solution now. Customized solutions can be available on request. Just drop an email on ancientlahore@gmail.com with your requirements and i will get back to you with a fair estimate of duration & cost

Tuesday 17 December 2013

Download Source Code of eKash.net / eKash.ca and eKash.us - A payment processor just like Paypal / Moneybookers

eKash.Net Source Code

eKash.net is an online credit card processing company. We are uploading all source files including Database, Libraries and Documentation about the website. How you can create your own website like ekash.net or use it to understand the flow and data structure of the payment processor.


The website is php/MySQL driven and the script contains all important functionality documentation as well. However, you will have to use ur own bank accounts to integrate with ekash.net and Bank's API. Currently, integration of 3 banks is already live.




Remember, This is Actual backup of eKash.net , ekash.info, ekash.ca by kashmart.com


DOWNLOAD FILES >> CLICK HERE



Remember, This is absolutely free source code of ekash.net. And this source code is neither hacked nor stolen by any means.


Enjoy