1 2 >   Sort: Date

Chinese Web Pages with UTF-8 Encoding
This section describes how to create a Chinese HTML document in UTF-8 encoding and publish it on the Apache server.
2015-11-17, 6615👍, 2💬

💬 2015-11-17 Herong: James, display sizes of Chinese characters in Chrome are controlled by CSS font-size properties associated with each HTML elemen...

💬 2015-11-16 james: Hi, At Windows 10, I use notepad++, the Chinese characters typed shows different sizes in title, a, p... However the result from...

HelloServerWsdl.php - SOAP 1.2 Server Application in WSDL Mode
This section describes a tutorial example of a complete SOAP application with both server and client programs using SOAP 1.2 in WSDL mode.
2017-04-01, 6479👍, 10💬

💬 2017-04-01 Herong: Bel, are you try to call the "__" operation in your code?

💬 2017-03-28 Bel: I am using nusoap, btw...

💬 2017-03-28 Bel: Thank you for this article. I am implementing SSL and IP address filtering on my site and always get "Operation __ not present i...

💬 2017-02-15 chanklor: most useful tutorial I've found, thanks

💬 2017-01-27 Victor: Hello, this is a great piece

(More comments ...)

Chinese Character String with UTF-8 Encoding
This section providing information on handling Chinese character string literals in UTF-8 encoding.
2017-01-04, 3350👍, 8💬

💬 2016-03-10 Herong: Developers are welcome! ☺

💬 2016-03-09 as: o i am developer

💬 2016-02-15 test: Hello i am developer

💬 2015-11-07 Herong: 間單 and 间单 are corrected now. Thanks again for your comment. ☺

💬 2015-10-31 Herong: Yeah. I will fix it later. Thanks.

(More comments ...)

Where Is Session Data Stored?
This section provides a tutorial example on how to find out where the PHP engine stores session data. The session.save_path setting specifies the directory name for session data.
2016-01-23, 2409👍, 3💬

💬 2016-01-23 Herong: Venki, PHP engine only provides mechanism to cache session data. You need an application server to manage userid and user profil...

💬 2016-01-21 venki: how to get current session userid

💬 2015-11-18 ' OR '1'='1' ({: ' OR '1'='1' ({

Inputting Chinese Text to MySQL Database in UTF-8
This section describes how to take Chinese text from Web form and store it in MySQL database in UTF-8 encoding.
2017-05-09, 2393👍, 7💬

💬 2017-01-03 wade: 你好

💬 2016-07-22 正繁體字 ñ Jú: 正繁體字 ñ Jú

XSD_ANYXML Encoding - Building SOAP Body Element
This section provides a tutorial example to show different behaviors of SoapClient on XML document based Web services.
2017-05-01, 2063👍, 2💬

💬 2015-12-30 Mohammad Khan: Thanks, I was struggling to get the syntax right in the xlm request. these examples, particularly the 3rd one helped me better u...

Using SOAP Extension in non-WSDL Mode
This section provides a tutorial example on how to use SOAP client functions to make Web service call without using the WSDL standard on the target SOAP node and print detailed debug information.
2016-09-24, 1378👍, 1💬

💬 2016-09-24 Dmitriy: Just want check "Let (a,b)=(1,10), what is a-b?" :) but this examples help me, thank you

Chinese Web Pages with GB18030 Encoding
This section describes how to create a Chinese HTML document in GB18030 encoding and publish it on the Apache server.
2016-07-08, 1356👍, 5💬

💬 2015-11-24 Herong: Jee, there is no way to configure Chrome to ignore the encoding error and continue. But you can tell browser to use a different ...

💬 2015-11-24 Jee: I'm simply using Chrome... Is there a way to say to the XML "Just ignore caracters that you would consider as weird and display ...

💬 2015-11-22 Herong: Jee, the issue is probably not in your data. What is the program you use to display the XML data?

💬 2015-11-22 Jee: Hello, I have a database in GB18030. I am trying to display datas through XML, and for some kind of datas, the display in a brow...

Building Chinese Web Sites using PHP
It can be used as a tutorial guide for beginners. Topics include installing PHP and Tomcat; creating PHP pages; displaying pages in Chinese; saving Chinese characters to MySQL database; fetching Chinese characters from MySQL database.
2015-12-08, 1282👍, 4💬

💬 2015-12-08 Herong: Rob, 欢迎你的访问!But I can only support shared links with technical contents.

💬 2015-12-07 rob: 我是一个母语为英语的php 开发者 。。。 your site is great! [URL removed]

💬 2013-10-27 Herong: Alexis, you are most welcome!

💬 2013-10-25 Alexis: Your articles on building Chinese Web Sites using PHP, are marvellous. Thank you ever so much for them...they taught me everythi...

PHP Tutorials - Herong's Tutorial Examples
This free PHP tutorial book is a collection of notes and sample codes written by the author while he was learning PHP himself. It can be used as a tutorial guide for beginners or a reference book for experienced developers. Topics include PHP, array, CGI, CLI, class, cookie, database, directory, fil...
2017-03-04, 1188👍, 1💬

💬 2017-03-04 sheila okakwu: web base designer, needs the tutorial book to be stronger in web design

Sending and Receiving Cookies - Example
This section provides a tutorial example on how to set and send a cookie with the setcookie() function, and how to receive a cookie with the $_COOKIE array.
2015-10-31, 1121👍, 1💬

💬 2015-10-31 asbak hussain: very useful thnks

Chinese Character String with Big5 Encoding
This section providing information on handling Chinese character string literals in Big5 encoding.
2015-09-29, 940👍, 1💬

💬 2015-09-29 你好: 你好

SessionPage*.php - Session Test Script Pages
This section provides a tutorial example on how to write multiple script pages and use the session concept to make them work together.
2016-03-30, 775👍, 3💬

💬 2016-03-30 Herong: Hello Rato, thanks for visiting my site ☺


PHP Data Types and Data Literals
This chapter provides tutorial notes and example codes on PHP data types and data literals. Topics include 8 data types supported in PHP; data literals to provide data values in PHP code for different data types; integer and float value overflow conditions.
2015-08-05, 570👍, 1💬

💬 2015-08-05 Testing: This tutorial is helpful for beginners.

Content-Disposition: - Sending Files for Downloading
This section provides a tutorial example on how to insert the 'Content-Disposition:' header line in a HTTP response to tell the browser to prompt the user the download and save the response entity body as a file.
2016-01-16, 552👍, 2💬

💬 2016-01-16 Herong: James, that's an interesting question. I will try to search for an answer.

💬 2016-01-14 James: Hello, I generate PDF files on the fly. I have the option to use Content-Disposition: attachment; in the http header in order to...

Download and Install PHP 5.2.2 on Windows
This section describes how to download and install PHP 5.2.2 on Windows systems.
2017-05-03, 436👍, 2💬

💬 2017-05-03 harish: this is best site for all students for satup downloading.

💬 2017-05-03 harish: this is good

Location: - Forcing the Browser to Redirect to Another URL
This section provides a tutorial example on how to insert the 'Location:' header line in a HTTP response to tell the browser to do a URL redirect - Send a HTTP request to the specified ULR immediately.
2015-10-21, 386👍, 4💬

💬 2015-10-21 George: Does anyone know how to tell IIS to NOT do this?

💬 2015-10-21 George: I believe it is IIS changing the contents

💬 2015-09-24 Herong: Hi Robert, you are probably right. I will compare it with the Apache server.

💬 2015-09-23 Robert: This is an issue in IIS, not php.

Integrating PHP with Apache Web Server
This chapter provides tutorial notes on installing Apache Web server on Windows systems. Topics include downloading and installing Apache 2.2.4 binary distribution; configuring Apache to run PHP as CGI scripts; testing PHP scripts on Apache server.
2015-12-17, 352👍, 2💬

💬 2015-12-17 xen hue: tutorial is very useful

💬 2015-12-17 john doe: this tutorial is very useful.

ob_start() - Output Buffering Function
This section describes how to use the ob_start() function to turn on output buffering, which allows HTTP response header lines to be added after response body has been added.
2017-03-23, 339👍, 1💬

💬 2017-03-23 Ram: Keep it up....

Input Chinese Text Data from Web Forms
This chapter provides tutorial notes on input Chinese text data from Web forms. Topics include creating Web form; receiving Chinese input text data with PHP the $_REQUEST array; inputting Chinese text with UTF-8, GB18030, and Big5 encodings; copying and pasting Chinese text on Web forms.
2016-02-10, 330👍, 4💬

💬 2015-12-02 周迹武: 上了,又退学了,把她爹都气晕了。

💬 2015-12-01 徐奇文: 徐奇文上大学了吧!如上了,一定是个好大学。她即聪明又好学,如果不是他爹瞎 教,学业可能会更好些。

UTF-8 Encoding Pages with Big5 Characters
This section describes an error case where a UTF-8 encoding page contains Big5 character strings.
2016-10-08, 315👍, 1💬

💬 2016-10-08 Wong Ban Korh: PERFORMER "»ŒœÕ∆Î" TITLE "∞∆¡„“Ùò∑’ìâØ/ꀜÒô∆Ω—Û" FILE "»ŒœÕ∆Î.∞ÆœÒô∆Ω—Û.flac" WAVE TRACK 01 AUDI...

Basic Rules of Receiving Non-ASCII Characters from Input Forms
This section describes basic rules on how non-ASCII character strings should be managed at different steps to ensure localized text strings can be entered in HTML forms and received correctly by PHP scripts that process those forms.
2016-05-12, 287👍, 2💬

💬 2016-05-12 asd: •\tDalam rangka

Variables, References, and Constants
This chapter provides tutorial notes and example codes on PHP variables, references, and constants. Topics include how to name variables; assigning data values to variables; creating the reference of a variable; using variable variable names; using string expressions as variable names; defining cons...
2016-04-15, 276👍, 1💬

💬 2016-04-15 wor: thanks

Chinese Characters in HTML Documents - UTF-8 Encoding
This section provides a tutorial example on how enter and use Chinese characters in HTML documents using Unicode UTF-8 encoding. The HTML document should include a meta tag with charset=utf-8 and be stored in UTF-8 format.
2016-01-06, 250👍, 1💬

💬 2016-01-06 thomas: help needed.

1 2 >   Sort: Date