PHP && Drupal
共 6 篇文章
Apache Solr 架设搜索服务器 学习笔记
Solr 查询 * : * 查询所有文档 查询结果: <?xml version="1.0" encoding="UTF-8"? <response> <lst name="responseHeader"> response基本信息 <int name="status">0</int> 0表示成功 <int name="QTime">2</int> 运行时间 <lst name="params"> 查询参数 <str name="explainOther"/> <str name="fl">*</str> <str name="indent">on</str> <str name="star…
2011-03-02 15:39 · PHP && Drupal · Solr · 应用服务器 · 浏览器 · Apache · Qt
php solr client demo
<?php // make sure browsers see this page as utf-8 encoded HTML header('Content-Type: text/html; charset=utf-8'); $limit = 10; $query = isset($_REQUEST['q']) ? $_REQUEST['q'] : false; $results = false; if ($query) { // The Apache Solr Client library should be on the include path // which is usually…
2011-02-25 00:23 · PHP && Drupal · HTML · Solr · Apache · PHP
【转】PHP 文件上传
How to upload image file to remote server with PHP cURL In this example we learn how to upload static files to remote server using PHP cURL library. We must know following functionality before we continue this example PHP file upload functionality. cURL function reference. how to submit data to rem…
2010-10-26 18:58 · PHP && Drupal · PHP · Web
【转】PHP工程师面临成长瓶颈
作为 Web 开发 中 应用 最广泛的语言之一, PHP 有着大量的粉丝,那么你是一名优秀的程序员吗?在进行自我修炼的同时,你是否想过面对各种各样的问题,我该如何突破自身的瓶颈,以便更好的发展呢? PHP工程师面临成长瓶颈 先明确这里所指的PHP工程师,是指主要以PHP进行Web系统的开发,没有使用其的语言工作过。工作经验大概在3~4年,普通的Web系统(百万级访问,千成级数据以内或业务逻辑不是特别复杂)开发起基本得心应手,没有 什么 问题。但他们会这样的物点: ◆除了PHP不使用其它的语言,可能会点shell 脚本。 ◆对PHP的掌握不精(很多PHP手册都没有看完,库除外)。 ◆知识面比较…
2010-10-20 21:11 · PHP && Drupal · 算法 · 网络应用 · PHP · 数据结构 · Web
当前文件路经
转载: 如果 /home/web/config/config.php dirname(dirname( FILE )) = /home/web dirname( FILE ) = /home/web/config/ dirname(dirname( FILE ));得到的是文件上一层目录名 dirname( FILE );得到的是文件所在层目录名
2010-06-19 14:47 · PHP && Drupal · PHP · Web