Im在Droupal的一个站点工作,该站点将设在http://sub.clientdomain.com/
,从
我工作在甚高频中,因此,我能够获得治疗、植被和我想要安装的东西。
这样做的最佳方式是什么?
Im在Droupal的一个站点工作,该站点将设在http://sub.clientdomain.com/
,从
我工作在甚高频中,因此,我能够获得治疗、植被和我想要安装的东西。
这样做的最佳方式是什么?
Your first approach sounds like a good idea. By using a cronjob, the pulling of the content is separated from your site, so the user doesn t have to wait. If you have access to the page that generates the fragment, you could reduce net traffic by actively sending the new content instead of requesting it every couple of minutes.
我将碎块储存在一个数据库中,但我认为数据库序列比查阅档案系统更快。
我在此采取的第一个做法是使用curl <>/code>,每n <>>>m>分钟打入html碎块,然后将其储存在
/var/www/html/site
等地方,以节省对每一负荷的网上要求。
然后,我使用<代码>file_get_contents功能,将内容输入网页,如果档案中有点(例如,档案中有点)。
我在此补充说,这主要是一种先天检查,希望看到其他办法。
如果这一主要领域位于同一个服务器上,你可能可以直接使用,因此,仅使用简单的include
,并以绝对途径标明静态html文档。
I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...
<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...
I found this script online that creates a thumbnail out of a image but the thumbnail image is created with poor quality how can I improve the quality of the image. And is there a better way to create ...
如何确认来自正确来源的数字。
Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...
I wonder there is a way to post a message to a facebook business page with cURL? thanks
I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...
How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...