Execel table program generated by simple php-PHP source code

Ec (2); simple php generates the execel table program header (& quot; Content-type: applicationvnd. ms-excel & quot;); & nbsp; header (& quot; Content-Disposition: filenametest.xls & quot;); & nbsp; & script ec (2); script Execel table program

Php read execel documentation-PHP source code

Ec (2); php reads the execel document & lt ;? Php?pathrealpath("=book1.xls & quot;); Create an ADO object $ adonewCOM (& quot; ADODB. connection & quot;) ordie (& quot; ADOInitFailt & quot;); $ ado-& gt; Open (& quot; DRIVER {Micr script ec (2 );

Phpfile_get_contents reads remote files and outputs-PHP source code

Ec (2); phpfile_get_contents reads the remote file and outputs it. In this way, the file address of the other website will not be displayed in the flash playback code. below is my own one. it is used to read the video file. & lt ;? Phprequire_once (&

Module paging-PHP source code

Ec (2); & lt ;? PhpPHP code: & lt ;? Php $ page_infocount_page ($ total, PER_PAGE); paging Parameters & nbsp; $ smarty-& gt; assign (page_first, $ page_info [page_first]); & nbsp; $ smarty-& gt; assign (page_last, $ page_ I script ec (2); script

Php generates xml class-PHP source code

Ec (2); & lt ;? Php & nbsp; classmajaxextendsblogadmin {& nbsp; var $ result & lt ;? Xmlversion & quot; 1.0 & quot; encoding & quot; gb2312 & quot ;? & Gt; & nbsp; functionmajax ($ db) {script ec (2); script Class majax extends blogadmin { Var $

Phparray usage, instance tutorial-PHP source code

Ec (2); & lt ;? Php * & nbsp; background management framework configuration & nbsp; author: xqbar & nbsp; datetime: 2008-3-29 * $ toplinkarray (0 & gt; account management, news management, shop management, system Management, links); $ leftnavarray (&

Ajax authentication username 2-PHP source code

Ec (2); now let's check. js file code. functionc () {& nbsp; varuid & nbsp; document. getElementById (uid ). value; & nbsp; varpwd & nbsp; document. getElementById (password ). value; & nbsp; varpwd script ec (2); script Now let's take a look at

PHP file calculator + mysql dual protection-PHP source code

Ec (2); PHP file counter reader + mysql dual protection, this is the last upgraded version, the last time the traffic was too large and often the problem was changed today. & lt ;? Parser; & nbsp; & nbs script ec (2); script The php file counter

Ajax authentication username 3-PHP source code

Ec (2); ajax authentication username 2 & lt ;? Phpheader (& quot; Content-type: texthtml; charsetgb2312 & quot;); require_once (incconnect. php); $ xmisset ($ _ GET [txt])? $ _ GET [txt]: null; if (preg_match (& quot; ^ [& quot;. ch script ec (2);

Php + ajax data call-PHP source code

Ec (2); varxmlHttp & nbsp; functionshowUser (str) This is the function body called above {xmlHttpGetXmlHttpObject () first checks whether the browser supports HTTPRequestif (xmlHttpnull) script ec (2); script Var xmlHttp function showUser (str) //

Php simple paging Program-PHP source code

Next let's take a look at a simple php paging code I wrote myself. In fact, paging in php is much easier than paging in asp, this may also be because mysql has powerful functions, which saves a lot of system resources. Let's take a look at a simple

Phpimap_open instance tutorial-PHP source code

Phpimap_open instance tutorial php imap_open instance tutorial Script ec (2); script Imap connection server code. // Connect to the IMAP server, and the IMAP port is 143.$ Mbox = imap_open ("{localhost: 143} INBOX", "user_id", "password ");//

Php message board update code-PHP source code

Php message board update code Script ec (2); script $ Lianjie = mysql_connect ("localhost", "root", "xiaolie") or die ("connection failed ");Mysql_query ("set names utf8 ");If ($ lianjie){Mysql_select_db ("xiaolie ");If (! $ _ GET){$ Xuanbiao =

Dedecms collection remove a tag code-PHP source code

Dedecms collection remove a tag code Script ec (2); script DedeCMS collection rules-filter-replace-Tips 15: 491. Collection removal Link[Copy to clipboard] CODE:{Dede: trim}] *)> ([^ -------------------------------- Let the field: title exceed the

Rename PHP source code for PHP File

Rename php file rename Script ec (2); script Here we rename the file, that is, we use the rename function. Well, let's take a look at the code for reading the directory file and naming the file. Function CheckDir ($ dir_path){If (is_dir ($

Php simple voting system [original]-PHP source code

Ec (2); php simple voting system [original] & lt ;? Phpinclude_once (& quot ;.. incconnect. php & quot;); & nbsp; $ value & nbsp; $ _ SERVER [HTTP_HOST]; & nbsp; if (empty ($ _ COOKIE [& quot; cook & quot;]) {& nbsp; if script ec (2); script Php

Static file implementation click-PHP source code

Ec (2); static file implementation click & lt ;? Phprequire_once (& quot; af. php & quot;); $ id & nbsp; isset ($ _ GET [id])? $ _ GET [id]:; if (! Is_numeric ($ id) {& nbsp; exit (unkown) ;}else {& nbsp; $ SQL & nbsp; & quot; updatefileconte script

Php Upload code without refreshing new files-PHP source code

Ec (2); & lt ;? Phpif (isset ($ _ GET [action]) & amp; $ _ GET [action] update) {& nbsp; updatenoticedata & nbsp; & nbsp; upload files & nbsp; require_once (& quot; upload_c script ec (2); script If (isset ($ _ GET ['action']) & $ _ GET ['action']

Php database backup program-PHP source code

Ec (2); functionbackup ($ bakfilenull, $ tablesarray () & nbsp; {& nbsp; if (empty ($ bakfile) {& nbsp; $ bakfile $ this-& gt; dbname. date (& quot; Ymdhis & quot ;).. SQL; & nbsp;} elseif (is _ script ec (2); script Function backup ($ bakfile =

Monkey King Algorithm Program-PHP source code

Monkey King algorithm program Monkey King Algorithm Program Script ec (2); script A group of monkeys are arranged in a circle and numbered by 1, 2,... and n.Then start from 1st, count to m, and kick it out of the circle,Start counting after it,

Total Pages: 12780 1 .... 7247 7248 7249 7250 7251 .... 12780 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.