Showing posts with label create. Show all posts
Showing posts with label create. Show all posts

Saturday, June 25, 2016

How to Create Drop Down Menu using CSS3 and JQuery

Today i would like to show, How to Create Drop Down Menu using CSS3 and jQuery. Designing a Simple Drop Down Menu with HTML by Implementing CSS and jQuery is very easy to create. A simple horizontal menu that shows it’s sub menu on mouse hover. when you hover a mouse on main link it will show it’s sub menu. just take a look at this tutorial.
How to Create Drop Down Menu using CSS3 and JQuery
Read more »

Monday, June 13, 2016

How to Create Pagination with PHP PDO using OOP

In this tutorial we will see that how to create Pagination with PHP, PDO using OOP concept, when we have number of records in database then we must Paginate the data, this is very Simple tutorial using PDO and OOP without using Ajax or jQuery it is based on pure PHP, i have created one class file using that class file you can make Pagination of database records and this class file featured with next and previous links based on the page.
How to create Pagination with PHP, PDO using OOP
Read more »

Saturday, June 4, 2016

Aardvark Topsites PHP Create A Digg Like Voting Site With This PHP Script

A topsites list ranks a group of related sites by popularity. Webmasters join the topsites list and are given a button to put on their site and link back to the topsites list. Aardvark Topsites PHP is a free topsites script built on PHP and MySQL. It is licensed under the GNU General Public License so it will always remain completely free. Its functionality compares favorably with other free and commercial scripts, including these key features:

Stats

  •     Counts pageviews, hits in, and hits out
  •     Stats for individual members and overall stats for the entire list are easily accessible

Security
  •     Robust anti-cheating protection
  •     A security question, CAPTCHA, and other layers of protection thwart spambots

Easy to use and customize
  •     Simple 4-step installation process
  •     Control every aspect of the script from the secure admin area
  •     100% customizable skins using only HTML and CSS (no PHP knowledge is required)
  •     Members easily access their account and view statistics in an integrated control panel
  •     Works on nearly all commercial web hosting plans
  •     Having trouble? Try the detailed manual or the active support forum

Cool, innovative features
  •     Members ranks can be shown on their buttons, along with any other stat
  •     SEO-friendly links make your topsites list rank higher in Google and other search engines

Download Aardvark Topsites PHP Script

Wednesday, June 1, 2016

Top Site PHP Script Create a Top PHP Site With This PHP Script

This script lets you create a PHP top site easily.
Here is some characteristics of this top site:

  •     Easy Administration with the possibility to accept and reject web sites
  •     The visitors can vote one time per hour per web site
  •     You can reset votes
  •     Very Configurable
  •     Commented Source Code
  •     Using CSS3 Properties
  •     Valid (X)html strict 1.0
Demonstration Of A Top Site

Download PHP Top Site Script


Sunday, May 22, 2016

FPDF PHP Script To Create PDF On The Fly

FPDF is a PHP class which allows to generate PDF files with pure PHP, that is to say without using the PDFlib library. F from FPDF stands for Free: you may use it for any kind of usage and modify it to suit your needs.

FPDF has other advantages: high level functions. Here is a list of its main features:

  •     Choice of measure unit, page format and margins
  •     Page header and footer management
  •     Automatic page break
  •     Automatic line break and text justification
  •     Image support (JPEG, PNG and GIF)
  •     Colors
  •     Links
  •     TrueType, Type1 and encoding support
  •     Page compression
FPDF PHP Script requires no extension (except zlib to activate compression and GD for GIF support). It works with PHP 4 and PHP 5 (the latest version requires at least PHP 4.3.10).

 An Example...

Lets start with the classic example:

<?php
require(fpdf.php);

$pdf = new FPDF();
$pdf->AddPage();
$pdf->SetFont(Arial,B,16);
$pdf->Cell(40,10,Hello World!);
$pdf->Output();
?>


After including the library file, we create an FPDF object. The FPDF() constructor is used here with the default values: pages are in A4 portrait and the unit of measure is millimeter. It could have been specified explicitly with:

$pdf = new FPDF(P,mm,A4);

Its possible to use landscape (L), other page sizes (such as Letter and Legal) and units (pt, cm, in).

Theres no page at the moment, so we have to add one with AddPage(). The origin is at the upper-left corner and the current position is by default set at 1 cm from the borders; the margins can be changed with SetMargins().

Before we can print text, its mandatory to select a font with SetFont(), otherwise the document would be invalid. We choose Arial bold 16:


$pdf->SetFont(Arial,B,16);

We could have specified italics with I, underlined with U or a regular font with an empty string (or any combination). Note that the font size is given in points, not millimeters (or another user unit); its the only exception. The other standard fonts are Times, Courier, Symbol and ZapfDingbats.

We can now print a cell with Cell(). A cell is a rectangular area, possibly framed, which contains a line of text. It is output at the current position. We specify its dimensions, its text (centered or aligned), if borders should be drawn, and where the current position moves after it (to the right, below or to the beginning of the next line). To add a frame, we would do this:


$pdf->Cell(40,10,Hello World !,1);

 To add a new cell next to it with centered text and go to the next line, we would do:


$pdf->Cell(60,10,Powered by FPDF.,0,1,C);

Remark: the line break can also be done with Ln(). This method additionnaly allows to specify the height of the break.

Finally, the document is closed and sent to the browser with Output(). We could have saved it to a file by passing the desired file name.

Caution: in case when the PDF is sent to the browser, nothing else must be output by the script, neither before nor after (no HTML, not even a space or a carriage return). If you send something before, you will get the error message: "Some data has already been output, cant send PDF file". If you send something after, the document might not display.


Download PHP Script (FPDF) To Create PDF 

 If you like this script, then consider subscribing to our blog below so that we can send you all updates from our blog directly in your email.

Thanks for taking interest in our PHP blog.

Enjoy!


Monday, May 9, 2016

Website Thumb Generator PHP Script Create Website Thumbnails With This PHP Script

Website Thumb Generator php script can be used to create website thumbnails for your needs, or start your own website thumbnail generation service.

Requirements:

  •     Windows hosting
  •     PHP GD library (installed on most hostings)
  •     Permissions to execute third-party applications (i.e. exe files)
  •     Permissions to execute Internet Explorer


How it works:
  •     Website Thumbnail Generator checks if it already has website image in the cache, and shows it in the browser.
  •     If no cached image then IECapt would be run from the script.
  •     IECapt would run Internet Explorer, grab full sized website screenshot from it, and save image into the folder you specified in script settings.
  •     Then Website Thumbnail Generator would resize image, and show it in the browser.


Installation:
  •     Download IECapt from http://iecapt.sourceforge.net or from our site: IECapt. Place it in some folder on your server.
  •     Download Website Thumbnail Generator using link below, and unzip it to the same folder.
  •     Update webthumb.php with your settings for thumbnails folder, cache time, default thumbnail size, etc.
Download Website Thumbnail Generator PHP Script

Friday, May 6, 2016

cPanel Email Forwarder Creator Create Email Forwarders On cPanel Based Hosting In PHP

Create email forwarders on cPanel based hosting. No need to login to cPanel. Provide cPanel login and password once, and use this script each time you need to create email forwarder.
Can be run in either way:
- Parameters passed via URL (see example below)
- If no parameters passed via URL then will show email forwarder parameters entry form

Usage:
  • Update script with your cPanel login, password, skin (once)
  • When running script to create email forwarder, provide following data:
    • Username - create email forwarder for this username(sample: john)
    • Domain - create email forwarder for this domain (sample: mysite.com)
    • Redirect to - forward emails to address (sample: jimm@site2.com) 
Sample parameters passing via url: 

cpanel_email_forwarder.php?euser=john&edomain=site1.com&eforward=johny@site2.com 

Download cPanel Email Forwarder Creator PHP Script

Wednesday, May 4, 2016

Watermark Image PHP Script Create A Watermark Image In PHP Using Another Image

The php script will watermark image using another image. A simple approach to put your company logo or copyright notice on the image, thus protect it from stealing.

Package contains example for watermarking all the jpg images in a folder. Can be easily changed to process gif and png images.

How to use:

  • Unpack php  files, and save them on the server where you have images for watermarking.
  • Update watermark_image_example.php to match your requirements: set images folder and watermarked images folder.
  • Open the file in browser, and it will generate watermarked images according to your settings.
Download Watermark Image PHP Script