Discuz5.5.0 code highlighted + run code box merging plug-in download page 1/4

Main functions:1. almost all program codes can be highlighted in the following languages: actionscript, ADA, Apache Log, AppleScript, ASM, ASP, AutoIT, Backus-Naur form, Bash, BlitzBasic, C, C for Macs, C #, C ++, cad dcl, cadLisp, CFDG, CFDG,

Roughly calculate the online time. bug: the ip address is the same

/*Create table 'db _ online '('IP' char (20) default NULL,'Time' char (20) not null default '','Name' char (200) not null default 'tourists') TYPE = MyISAM*/// Roughly calculate the online time. If the ip address is the same (Lan> external network),

Use PHP to query the domain name status whois class

Copy codeThe Code is as follows:Class SearchDomain{Var $ domain = "";Function SetDomain ($ udomain){$ This-> domain = $ udomain;}//// Obtain whois and analyze the domain name status// OK is not registered// Non-null expiration time// Null value

Installation and configuration of Apache and PHP in Windows 9x/NT (2)

5. run Apache in Windows NTIf you are running a Windows NT System, you may want to run Apache as a service process of the system. Click Start, select Programs, Apache Web Server, and Insfall Apache as Service ". In this way, you can manage Apache

Code for user authentication using crypt () in PHP

Understanding crypt ()Anyone who has experience using a non-Windows platform may be familiar with crypt (). This function is called one-way encryption and can encrypt some plain codes, however, the password cannot be converted to the original

Detailed descriptions of the differences between passing a value and transferring a reference using five php instances

Haha, it will only be used in the preliminary stage. We need to understand the principle so that we can use it better.Pass value: if the value of the real parameter is assigned to the row parameter, the modification of the row parameter will not

Hong En online idiom dictionary thief program php version

The main function is file_get_contents. The main program is divided into two sections. Come with me and read it. (For the original code of the mortal blog, please note it ).Copy codeThe Code is as follows:Function escape ($ str ){Preg_match_all ('/[\

Core Technologies of PHP and Mysqlweb application development-Part 2 basics of Php-2 Introduction to php

The main topic isVariable Extension System in. php StringsMore data types available in. php. Type conversion. Input and use variables and constants. How to Build expressions and operators required to build expressions in php. Use the available

Function set disabled after security mode is enabled in php

Copy codeThe Code is as follows:Ini_set ("safe_mode", true );?> Table 42-2. Security mode restriction Functions Function Name Restrictions Dbmopen () Check whether the operated file or directory has the same

Can't create/write to file ''c: \ WINDOWS \ TEMP \... MYSQL error Solution

Error message: Error: Can't create/write to file 'C: \ WINDOWS \ TEMP \ # SQL _738_0.myd' (Errcode: 17) Errno.: 1 Problem Analysis: 1. The C: \ Windows \ TEMP folder has insufficient permissions. At least the readable and writable permissions of

PHP plot ECG shape curve statistical chart [source code]

Let's take a look at the final result: The following is the PHP code: /******************************** line chart generation function ***** * **********************/functionline_stats_pic ($ value_y, $ width, $ high, $ strong = 1, $ fix = 0 Let's

Several functions provided by php to prevent SQL injection

SQL injection attacks are the most common means for hackers to attack websites. If your site does not use strict user input tests, it is often vulnerable to SQL injection attacks. SQL injection attacks are usually implemented by submitting bad data

How to convert IP addresses to decimal numbers in PHP

In PHP, how do I convert an IP address to a decimal number? IP addresses are usually used in PHP, but these IP addresses are not in decimal format. In PHP, converting IP addresses to decimal numbers is a headache. the following two methods are

Sharing a php anti-SQL injection function is to use regular expressions to match the syntax of SQL injection.

The principle of a function to prevent SQL injection is to use regular expressions to match the syntax of SQL injection and add restrictions, which effectively limits SQL injection. The principle of a function to prevent SQL injection is to use

PHP image watermark function: supports adding watermarks to images and texts.

PHP image processing, PHP image text watermark, PHP how to add a watermark, PHP watermark function, PHP generate a watermark Today, I will share with you the source code of the function that is frequently used in PHP website development to add

Thinkphp image upload code, simple thinphp image upload example

I recently found that it was very difficult to upload thinkphp images, and the code was forgotten. Later, I found a code example for uploading images on the Internet and performing paging operations for you to refer to. Recently, I found that it was

Introduction to Sina Weibo API development-PHP Basics-user authorization

Now there are more and more people playing Weibo, and there are more and more third-party application development on weibo. by accident, I began to contact Sina Weibo API development. There are many resources for Sina Weibo API development, sina

Environment configuration for CakePHP learning

The preceding example sets all the website directories as Allowoverrideall. if it is all, the apache service will. htaccess is used to control the route. if it is set to none, the directory will not be processed. routing in htaccess (1) Introduction

Solution to wordpress background login failure

Today, I read my blog on my friends' computers and found an error in an article. I entered the wordpress background address/wp-admin as usual and saw the login page, enter the user name and password, and then click OK... However, I found a very

Implement data protection using php oop features

Use the OOP feature of PHP to implement data protection. Read the OOP feature of PHP to implement data protection. in PHP4, variable declaration usually uses var, while in PHP5, you can use the object-oriented programming (OOP) feature to customize

Total Pages: 12780 1 .... 1145 1146 1147 1148 1149 .... 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.