can insert Chinese or other methods to use chat;--View the character set of the database show variables like ' character \_set\_% '; Show variables like ' collation_% '; --Set database character encoding set names ' GBK '--so the Consle port view will not be garbled --drop table xxxx;--Modify Series--Add Head property ALTER TABLE Tb_user add He Ad varchar (20); --delete the data delete from Tb_userrs where friendID = "107865437"; --Update Tb_user set username= "Miao's World" where id= "64241990
grayscale images, 8-bit and 16-bit indexed images, 24-bit and 48-bit true color images.⑹gif (Graphics interchange Format): Any 1-bit to 8-bit exchangeable image.⑺HDF (hierarchial data Format): There are 8-bit, 24-bit raster image datasets.⑻ico (Windows Icon Resource): There are 1-bit, 4-bit, 8-bit uncompressed images.⑼cur (Windows Cursor Resource): There are 1-bit, 4-bit, 8-bit uncompressed images.⑽XWD (X Windows Dump): Includes 1-bit, 8-bit zpixmaps
index.php Copy the code code as follows: ICO icon online conversion body{background-color: #fff; color: #000000; font-family:arial;margin:30px;font-size : 12px;} table{border:0} td{line-height:16px;} Label{cursor:hand;} ico icon Online Conversion Please upload the image you want to convert support format png,jpg,gif n
1. Logo online generation of PHP online generated i
PHP checks whether the website can be opened normally. this is a PHP code that checks whether the website can be opened normally. the following code checks whether a website can be accessed normally, if it is normal, the value of http status code 200 will be returned. if it is other, it will not be normal. this code can be used in many places, such as cache the ICO icon of the link, check whether the website is normal when caching. if the website is n
Sort out the php file Upload suffix and file type table. The file type identified by php with the suffix of ie Firefox id
Ie
Firefox
Id
Suffix
File types identified by php
0
Gif
Image/gif
1
Jpg
Image/jpeg
2
Png
Image/png
3
Bmp
Image/bmp
4
Psd
Applicati
judgments based on different browsers when processing Post files. The most typical difference is the difference between IE and Firefox.
Php uploads image files (gif, jpg, bmp, png, psd, ico)
In history, the most complete oophper Pro test version of PHP file Upload corresponding to the file type table, ie, Firefox each copy.
Ie
Firefox
Id
Suffix
File types identified by php
This article mainly introduces the techniques for intercepting and cutting strings by using JavaScript. For more information, see the section on string cutting and intercepting, which may not be used in many cases, therefore, self-check is provided. Be prepared.
Since all of the previous tests were conducted in a demo, we apologize for any errors. Some other attributes can be added later.
1. function: split ()
Function: uses a specified separator to split a string and store it in an array.
Exa
(such as Photoshop), and the resolution of the icon is better than 32*32. The icon needs to be *ico or *png files. If you want to be lazy, go directly here (http://www.iconfinder.com/) download, a lot of good-looking free icons.Place the icon file you just generated in the Yourprojectfolder/resources/images directory, or anywhere a program can find it. It is a good idea to add the icon file to QRC for unified management, the QRC file is in the follow
/wKioL1fY9p_hBHOtAAAsHoyBIUI867.jpg-wh_500x0-wm_3 -wmp_4-s_885930064.jpg "title=" z.jpg "alt=" Wkiol1fy9p_hbhotaaashoybiui867.jpg-wh_50 "/>ICO can be obtained from the network (http://www.easyicon.net/1113660-Outline_Project_icon.html, must ico file)VBS source code is as followsSet shell = WScript.CreateObject ("Wscript.Shell") A = Shell.run ("Buildprojectlist.bat", 0)1, select all 3 files, right click "Add
output format files.
6) vidtomp3-this online tool can convert videos, music videos, mega videos, MySpace videos, Google videos or YouTube videos into MP3 formats.
7) cellsea-online video Conversion Tool, which converts the format required for video files.Media Converter-a web-based video conversion tool that supports direct conversion of files from YouTube. This tool can also help upload media files to the portal.
9) movavi-this online video conversion tool can convert multiple files. The
Interception of the use of strings more widely, there are many methods, this article rough collation of some, interested in the amount of friends can only refer to the nextUse substring () or slice ()Function: Split ()Function: Use a specified delimiter to store a string into an arrayExample:Str= "Jpg|bmp|gif|ico|png";Arr=thestring.split ("|");Arr is an array that contains the character values "JPG", "BMP", "GIF", "
()
:
5. Set the icon for the exe file in VS + qt
1. Create a file named *. rc in the project folder, such as myapp. rc.2. Write IDI_ICON1 icon discardable "myapp. ico" to the file. myapp. ico is the name of the ICON file.3. Copy the myapp. ico file to the project folder.4. In Solution Explorer, right-click the project and add myapp. rc and myapp.
JS intercepts strings and js intercepts
Function: Split ()Function: Use a specified separator to split a string and store it in an arrayExample:Str = "jpg | bmp | gif | ico | png ";Arr = theString. split ("| ");// Arr is an array containing character values "jpg", "bmp", "gif", "ico", and "png"
Function: John ()Function: Use the separator you selected to merge an array into a stringExample:Var delimit
function : Split ()function : Use a specified delimiter to store a string into an arrayExample:var thestring= "jpg|bmp|gif|ico| png "; var arr=thestring.split ("|"); // arr is an array that contains the character values "JPG", "BMP", "GIF", "ico", and "PNG"function : John ()function : Merges an array into a string using the delimiter of your choiceExample:var delimitedstring=Myarray.join (delimiter); var my
QT adds the program icon and window icon, and qt adds the icon windowProgram icon material preparation
Icon file: *. ico file, which is stored in the same directory as the source file, for example, "myapp. ico"
Write icon
Write "RC_ICONS = *. ico" into an independent row in the *. pro file, such as RC_ICONS = "myapp. ico
Summary of common techniques used to intercept and separate strings in JS, and to intercept and separate strings in js
This document describes common methods for intercepting and splitting strings in JavaScript. We will share this with you for your reference. The details are as follows:
You can use substring () or slice () to intercept strings in JS ()Function: substring ()
Definition: substring (start, end) indicates the string from start to end, including the start position but not the end pos
parameter without passing in any parameters$ ('Div # slide'). iFadeSlide ();// SAMPLE-B call --- Pass in the new parameter will overwrite the original parameter, the default value is not passed in$ ('Div # slide_ B '). iFadeSlide ({Field: $ ('div # slide_ B '),Icocon: $ ('div. ico_ B '),HoverCls: 'High _ B ',CurIndex: 2, // the index value starts from 0. Therefore, set it to 3rd highlighted items.Interval: 2000});// SAMPLE-C call --- Pass in the new parameter will overwrite the original paramet
function 1:split ()Function: To store a string partition into an array using a specified delimiter
For example:
Str= "Jpg|bmp|gif|ico|png";Arr=thestring.split ("|");Arr is an array that contains the character values "JPG", "BMP", "GIF", "ico", and "PNG"
function 2:john ()
Function: Merges an array into a string using the separator of your choiceFor example:
var delimitedstring=myarray.join (delimiter);
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.