Tutorials to .com

Tutorials to .com » Php » Others » php other

php other Articles


81: More than one example of file upload (original)
<? / / filename: multi_upload.php if ($ ifupload) ( $ path = AddSlashes (dirname ($ PATH_TRANSLATED)). "\ \ upload \ \"; for ($ i = 1; $ i <= 8; $ i + +) ( $ files = "afile". $ i; if ($ ($ files)! = "none"...

82: File Upload in php security issues
Can be read / etc / passwd! Period. . [Upload] PHP automatically support the RFC 1867-based file upload, we see the following examples: <FORM METHOD="POST" ENCTYPE="multipart/form-data"> <INPUT TYPE="FILE"...

83: PHP error interface
In the web of all the common mistakes is one of the link is invalid. Once emerged from the other site links invalid, you will re-arrange your site. People they like the site will be saved as bookmarks, again in three months if the visit is only foun...

84: More complete version of the file upload system
<? Php / / More complete version of the file upload system / / Powerful can upload any number of documents to control whether the coverage include ("../ include / common.inc "); $ title = "upload multiple documents procedures&q...

85: File Upload Class
The use of examples: upload.php <? php include_once "upload.class.php"; if ($ Submit! ='') ( $ fileArr [ 'file'] = $ file; $ fileArr [ 'name'] = $ file_name; $ fileArr [ 'size'] = $ file_size; $ ...

86: PHP Programming Online Tour
1, PHP Introduction Quote PHP (Hgpertext Preprocessor or Personal Home Page Tools) official definition of the www.php.net site, PHP is a server-side, cross-platform, HTML embedded scripting language. In fact, it is known as the ASP is a commonly us...

87: LDAP server connection using PHP
This article will demonstrate how to use PHP to connect an LDAP server. A specific example is connected to a public server and the LDAP search. This example is a simulation of Netscape Communicator 4 .*, through their own address book to connect to ...

88: On the download doc, xls file approach (java source)
res.setContentType ( "application / x-msdownload"); res.setHeader ( "Content-Disposition", "attachment; filename = report.xls"); __________________ The rise of a staticalone on a rainy night, I gradually stopped Is ...

89: PHP network link to achieve a ban on the way to view Web pages Web site
/ / Prohibit the network link (eg search engine) to view web content if (! empty ($ _SERVER [ 'HTTP_REFERER'])) ( preg_match ("/^( http: \ / \ /)?([^ \ /]+)/ i ", $ _SERVER [ 'HTTP_REFERER'], $ matches); $ host = $ matc...

90: PHP How to connect Oracle
$ oraUser = "username"; $ oraPass = "password"; $ oraDB = "(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = database ip) (PORT = 1521))) (CONNECT_DATA = (SID = database SID )))"; $ Conn = ocilogon (...

91: PHP Web site to set up a series of personal stress (a)
Click here to set up personal websites to exchange experience. Inappropriate, please correct me! A debugging environment editor local editor win98 debugging, Shuang of sorts? Before the next Omnihttpd Proffesinal V2.06, loaded, there can be a PHP4...

92: PHP Web site to set up a series of personal stress (b)
Home Press Release III, allows you to make it easier to update (I) -------- Each page to add a message, plus two sentences, you must upload the whole page again, really not worth! So blue as the wind that would like a lazy way to once and for all, ...

93: PHP Web site to set up a series of personal stress (c)
Home Press Release III, allows you to more easily update (middle) The last time we had a document first (As for the end of a document, please do, is assumed to be tail.php), a function of the module, now we come to the realization of a basic functi...

94: PHP Web site to set up a series of personal stress (d)
Home Press Release III, allows you to more easily update (below) ----- Previous speakers, we have achieved the top of the basic functions of press releases. In this talk, we give it a building block to make it more powerful functions. (One-to-use s...

95: PHP online survey systems
PHP online survey systems This is a simple voting procedure, for just learning PHP and friends is a very good entry procedures. Here to brief you on the hope that it can be helpful to friends. The system is composed of the following four documents...

96: Function of time
PHP has a function of time in so many: (1) date Usage: date (format, [time]); If there is no time parameter, then use the current time. Format is a string, of which the following characters have special meanings: U replaced by a start time (lik...

97: Directory traversal function
The directory traversal PHP functions have been also very common, but it has a kind of "object-oriented" form, it also mention: (1) dir, opendir Usage: $ d = dir ( "directory name"); $ handle = opendir ( "directory name&...

98: File Operation Function
PHP3.0 function of file operations in general and C similar, but there are some expansion, especially in addition to supporting the To visit the local paper, but also support for the HTTP and FTP access to the URL, so long as such URL as the file n...

99: Regular expression functions
PHP and other cross-platform language (perhaps Java is not listed.:)) Similar to, but also features regular expressions. PHP3.0 course of the regular expression feature is far less than Perl, but still sufficient, the main function of such a more: ...

100: String manipulation functions
PHP3.0 functional operation of the string is more important to have the following: (1) echo, print, printf, sprintf For the output string. String variable name if its value was replaced. The latter two functions similar to C function of the same n...


Page 5 of 9
[1]   [2]   [3]   [4]   [5]   [6]   [7]   [8]   [9]