to modify the Web site root directory. htaccess file
Add the following code
Header set Cache-control "Max-age=43200″
#cache css, JavaScript and text files for one week
Header set Cache-control "Max-age=604800″
#cache Flash and images for one month
Header set Cache-control "Max-age=2592000″
#disable Cache for script files
Header unset Cac
pornographic content, any violation of this agreement could result in ban, and immediate re Moval of content.
You'll not abuse Jpegr ' s upload form.
Any violation could result in permanent ban.
} else {if (Is_numeric ($_get[' image ')) {$q = mysql_query ("select * from ' uploads ' where ' id ' = ' $_get[image] ');$r = Mysql_fetch_assoc ($q);$root _ = ' http://'. $_server[' Http_host '. DirName ($_server[' php_self '). '/';?>
Here is your image
">click
According to foreign media reports, social networks such as MySpace allow netizens to express themselves and communicate with the outside world; bookmarking tools like del.icio.us help users save and share resources, while wikis allow a team to create a Web page together.
But in fact, these social tools can also be elevated to a higher level, allowing netizens to do things that can be brought into the offline life. In this way, they are not only a soc
malicious program installed.
It is reported that this loophole is an old loophole, Microsoft has issued a patch as early as last June, but some computer users have not patched up in time.
Thompson said that some users often through the status bar to view the URL to visit, which allows them to avoid some malicious attacks on the site, but on the Google site, the status bar does not show the URL of the link to the ads, which gives hackers the opportunity to create.
According to Thompson, Google h
Illustration: How XSS attacks work
Currently, of the top 1000 most popular websites with access traffic, 6% have become victims of XSS attacks.
Since the birth of modern Web development technology, cross-site scripting attacks and Web-based security vulnerabilities have been around us, that is, the XSS attacks we will introduce to you.
XSS attacks account for 12.75% of the total number of Web attacks today. About 70% of all reported vulnerabilities are related to XSS attacks. Almost 90% of webs
Add the Linux server side to IBM's new energy-saving method-Linux Enterprise Application-Linux server application information. The following is a detailed description. IBM has designed a new type of rack server specifically designed for companies with a high network load running Web 2.0 websites, such as Facebook and MySpace.
IDataPlex is designed to connect to unlicensed "white box" PCs-network companies connect thousands of such PCs to maintain net
for group sending. I have already been able to implement mass mailing of Baidu space and QQ space. It is not difficult to try it.
9. Data Synchronization and cluster processing problems
When one of our databaseservers is overwhelmed, we need to implement database-based load and clusters. At this time, it may be the most disturbing problem. Data delay is a terrible problem based on the different designs of the database for network transmission. In this case, we need another means to ensure e
it with YouTube.Web Server
For the sake of development speed, most of the Code is developed in Python. Some Web servers are Apache in FastCGI mode. Lighttpd is used for video content. As far as I know, some MySpace servers also use Lighttpd, but the amount is not large. YouTube is the most successful case of Lighttpd. (There are not many Lighttpd sites in China, and Douban is more comfortable to use. By fenng)Video
Video thumbnails (thumbnails) pose
implement mass mailing of Baidu space and QQ space. It is not difficult to try it. 9. Data Synchronization and cluster processing problems
When one of our databaseservers is overwhelmed, we need to implement database-based load and clusters. At this time, it may be the most disturbing problem. Data delay is a terrible problem based on the different designs of the database for network transmission. In this case, we need another means to ensure effective interaction within a few seconds or longer
Origin:Because I plan to develop a server similar to instant messaging, I need to plan the framework for future development. The most important solution is to connect the client to the server. As the number of customers increases (for example, 1 million), online and offline (for example, 10 thousand) at the same time will put a lot of pressure on the system. In addition, Server Load balancer should be considered.
Ideas:By learning the background load solution that MSN constantly improves when th
independently. When the database capacity is relatively large, if you back up the entire database at once, it will obviously take a lot of time. Although Oracle Database supports hot backup, it occupies a large amount of system resources during the backup process, resulting in a decline in database performance. Therefore, when the database capacity is relatively large, we need to set multiple tablespaces, and then plan the backup time of each tablespace to improve the backup efficiency of the e
V. Introduction to Node. js
Node. js is a platform based on Google's V8 engine. It uses the V8 engine and complies with the COMMONJS standard to implement an efficient and stable platform. Node. javascript web programming is based on data streams and can directly manipulate http streams. Thanks to this feature, we can easily customize the data sent to the client, at the same time, because Javascript is used and asynchronous, it is more suitable for the development of modern applications. At pres
exist in the school, nor can it implement what your program needs to display as needed. Therefore, Facebook chose to drop out of school. All his choices are based on his preferences. They are a manifestation of determination and perseverance, most people may choose to compromise on the temptation of earning hundreds of thousands of yuan a year at the age of 20. Many people will choose to continue to realize their Facebook dream and graduate from Harvard, or, while finishing his studies, he cons
Http://www.microsoft.com/web/
Microsoft Web platform is not only a group of powerful tools, servers and technologies, but also provides a complete ecosystem for the construction and hosting of websites, services and applications. Whether you want to establish your company image on the Internet or launch the next MySpace, We have products that make you a success. Microsoft Web platform is deeply trusted by the world's top five hundred companies, and m
Windows's expansion and optimization space is indeed limited compared with Linux, but this is also relatively limited.Moreover, "Limited" does not mean "not doing well". In fact, Windows + Asp.net has very reliable performance.Linux can be optimized to the extreme according to business characteristics, and windows can be tuned to 90%, which is generally enough.For example, if you want to consider the final 10% optimization and the cost, is it cost-effective compared with the return?In terms of s
The same is the current mainstream website development architecture. What are the technical features of Asp.net and PHP? Which environments are they applicable?
Advantages of Asp.net Architecture
First, the Asp.net architecture, because it is a compilation language, is relatively higher than PHP.
In addition, Asp.net can implement some parallel frameworks. For example, you can obtain and integrate data from different data sources concurrently when accessing a home. For example, the current my
nodes on the page according to the ID.Program code
If you cannot use JavaScript (for example, your BSP does not support it, such as MySpace), you can use the "embed" method to insert SWF.It should be noted that SWF may not be on this server, but if you need to use an XML playlist, there may be problems, because XML must be on the same server as SwF, otherwise, it will be organized due to security issues. MP3, JPG, and FLV may not be on this server.P
Facebook
Consumating
MySpace
Social tagging
Stumbleupon
Blinklist
Del. icio. us
Start pages
Pageflakes
Google start
Live.com
Trusted search
Rollyo
Swicki
Truveo
Video
Dailymotion
YouTube
Metacafe
Web Developme
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.