Every Programmer and developer likes to discuss their favorite code snippets, especially when PHP developers spend several hours coding for webpages or creating applications, they know the importance of these codes. To save coding time, I collected some useful code snippets to help developers improve their work efficiency. Every Programmer and developer likes to discuss their favorite code snippets, especially when PHP developers spend several hours coding for webpages or creating applications,
found that the file php_mbstring.dll is not copied to the directory where php. ini is located.
In Linux:
When the following problem occurs:
PHP 1. {main} ()/home/xu/web/whois/AB .cn. php: 0PHP 2. base_func-> is_exist ()/home/xu/web/whois/AB .cn. php: 21PHP 3. strftime ()/home/xu/web/whois. mysql. php: 46AB. cnis existPHP Fatal error: Call to undefined function m
Whois
Function Description: search for and display user information.
Syntax: whois [Account name]
Note: The whois command will search for and display the user information of the specified account, because it is found in the WHOIS database of Network Solutions, so the account name must be registered above for retrieval,
logged on to the desktop with the user ddpp. If I want to delete the user named ddpp, it cannot be deleted. The correct method is to log out of ddpp, log on to the desktop with root, and then delete ddpp.
Run the sudo userdel username command to delete the ubuntu user. After the user is deleted successfully, no prompt is displayed.
PS: (Other commands)
Userconf
Function Description: sets a program for a user account.Syntax: userconf [-- addgroup Note: userconf is actually a symbolic connection
()
Later in this article, you'll learn how to use PHP to pass parameters to these scripts. Now you can see it as a way to run the shell command, but remember that you can only view standard output. If there is an error in the command or script, you will not see the standard error (STDERR) unless you add it to stdout through a vertical bar.
Website reference
Define ("__used_chars__", "abcdefghijklmnopqrstuvwxyz0123456789");Define ("__case_sensitive__", true); Use string above or use Upperc
The source code recently often see someone ask how to query the domain name in ASP is registered, so wrote this component, the main principle is to the Gopher site whois server to send WHOIS request, because not too much time, so very simple, at present can only realize to cnnic query, And the returned information is not processed, if you want to use, clear in the ASP to deal with it yourself. Later if ther
The source code recently often see someone ask how to query the domain name in ASP is registered, so wrote this component, the main principle is to the Gopher site whois server to send WHOIS request, because not too much time, so very simple, at present can only realize to cnnic query, And the returned information is not processed, if you want to use, clear in the ASP to deal with it yourself. Later if ther
Window): displays the running records of LockDown 2000 (2 ). For example, when the system is started, it will show which modules are activated, which modules are disabled, and when a trojan is scanned. There are three Options buttons in the window, from top to bottom, which are used to set the trojan scanner, ICQ bomb/Trojan monitoring module, and automatic hacker path tracking. In addition, there are two buttons on the Right To save and clear window information from top to bottom.Net Utilities
Summary of the ports in the Linux operating system-Linux Enterprise Application-Linux server application information. Famous Port
1 tcpmux TCP port service multiplexing
5. Objective E Remote job portal
7. echo Service
9 discard is an empty service used for connection Testing
11 systat is used to list the system status of the connected port.
13 daytime send date and time to the Request Host
17 qotd sends daily aphorism to connected hosts
18. msp message sending protocol
19 chargen charac
= php_mbstring.dll, remove the semicolon before the extension line,If it does not exist, add extension = php_mbstring.dll to the next line of other extension =,Remember to save the php. ini file.5. Restart your Apache server
I just found that the file php_mbstring.dll is not copied to the directory where php. ini is located.
In Linux:
When the following problem occurs:
PHP 1. {main} ()/home/xu/web/whois/AB .cn. php: 0PHP 2. base_func-> is_exist ()/ho
examples of this.In some negotiation methods, such a request will not be sent, but both parties know when the other party will disconnect. Generally, the client connects to and sends a request, and then receives the message returned from the server. When the client does not send a clear request, the Protocol stipulates that the connection must be disconnected after the request and response. This is an example of some time protocols.
With Single Disconnect, one side just disconnects. the other s
Stay up, Baidu is not powerful enough, and many tools Baidu cannot come out;
1. Footprinting)
Purpose: Takes the initiative to obtain information and intelligence, and determines the target domain name system, network address range, namespace, and key system settings, such as the gateway email server;
Related Technologies: Source Query, Whois, whois web interface, Arin
The following articles provide some good ideas for network penetration.
I. Click
Click here to learn basic security information about the target host and network, including;
1. Administrator contact information, telephone number, telephone number;
2. IP address range;
3. DNS server;
4. email server.
Related search methods:
1. Search for webpages.
Determine the target information 1 to prepare for dictionary and Trojan intrusion. Search for comments andHide the domain to find the "form" mark in th
Originally written by Ipwhois class
/*** Class:ip Whois Verson 1.0* Info:get IPs Information Form 4 whois server* author:php (as the current mainstream development language) up Studio* date:12/12/2004* Www.acnow.net**/Class Ipwhois{var $server = whois.arin.net;var $target;var $timeout = 10;var $msg;function Ipwhois ($target){$this->target = $target;}function Showinfo (){if ($this->_checkip ($this->targ
Whois
Function Description: search for and display user information.Method: whois [Account name]Note: The whois command will search for and display the user information of the specified account, because it is found in the WHOIS database of network solutions, so the account name must be registered above for retrieval, t
traceroute
The tracepath command is similar to the traceroute command, but does not require the root permission. The traceroute command is not pre-installed in Ubuntu. Tracepath traces the network path of the specified destination address and provides each hop on the path ). If your network is faulty or slow, tracepath can find out where the network is broken or slow.
Tracepath example.com
4. mtr
The mtr command combines the ping command with the tracepath command. Mtr continuously sends p
Common Linux ports nbsp; famous ports nbsp; 1tcpmuxTCP port service multiplexing nbsp; 5e E remote job portal nbsp; 7echoEcho Service nbsp; 9discard: Null service used for connection testing nbsp; 111_at is used to list connected terminals
Common Linux ports
Famous Port
1 tcpmux TCP port service multiplexing
5. objective E remote job portal
7. echo service
9 discard is an empty service used for connection testing
11 systat is used to list the system status of the connected port.
13 daytime
ultricies elit lacus quis ante. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam pretium ullamcorper urna quis iaculis. Etiam ac massa sed turpis tempor luctus. Curabitur sed nibh eu elit mollis congue. Praesent ipsum diam, consectetur vitae ornare a, aliquam a nunc. In id magna pellentesque tellus posuere adipiscing. Sed non mi metus, at lacinia augue. Sed magna nisi, ornare in mollis in, mollis sed nunc. Etiam at justo in leo congue mollis. Nullam in
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.