Wishlist 0 ¥0.00

phpMySearch站内搜索引擎

instruction manual

1. Introduction
2. Installation instructions
3. Administration Interface
4. Statistics Tool
5. Searching
6. Layout
7. Important information

1) Introduction

phpMySearch provides a search engine for your own web site. It is not meant to replace a powerful internet-wide search system like Google, Lycos or AltaVista.

phpMySearch provides the same full boolean search queries found in the 'big' search engines, e.g.: download +software or download OR software.

phpMySearch is very easy to install and this guide will take you through all the steps you need to set it up for your web site.

For the installation you do not need programmer or web server knowledge. The complete installation needs about 5 minutes and all you will need is a browser and an FTP program. The configuration can be changed at any time through a browser control panel.

The visual design of the search results are easily customised to match the rest of your site by use of templates. It's a simple process to modify the templates with an HTML editor to make unique layouts.

Documents can be searched in HTML, PDF, DOC or TXT format. Outdated documents are detected automatically and deleted from the data base. Therefore only the most current information is displayed to your visitors.

phpMySearch runs reliably on Linux, UNIX and Windows operating systems, and supports all the usual protocols: HTTP, HTTPS, FTP, FTPS. phpMySearch can be deployed on either internet or intranet-based web sites.

There is an online forum available at our web site where you can exchange ideas and support with other users of phpMySearch.

phpMySearch may be used privately as well as commercially, free of charge and without restrictions as long as the copyright notice on phpMySearch at the end of the search output is preserved. Support licenses are available to help you with larger and more complex projects.

2) Installation instructions

System Requirements:

Installation:

  1. Download phpMySearch from http://phpmysearch.web4.hm to your system. For *nix-systems download the phpMySearch.tar.gz file, for Windows systems download the phpMySearch.exe file.
  2. Windows: Double click on the phpMySearch.exe and follow the instructions to extract the contents.
    Unix: Extract phpMySearch under a Unix shell with: tar -xzf phpMySearch.tar.gz
  3. Copy all files from the newly generated folder phpMySearch to a folder on your web space which is accessible from web (e.g. http://www.example.com/phpMySearch/ ) After that execute with a browser the install.php (e.g. http://www.example.com/phpMySearch/install.php)
  4. Setup phpMySearch with admin.php from a browser window.

Support: you can get commercial support licenses at http://phpMySearch.web4.hm.

3) Administration Interface

To access the administrative interface run admin.php from the browser.

Default login and password are:

  • login: admin
  • password: admin

It is strongly recommended you change these to maintain security.

Table 1-1: Fields and buttons on the Administration page:

Field or button

Description

Search start URL's:

A list of URLs from which crawler will start to gather information. To add new URL to the list type it in the field below and push ADD button. To remove any of the URLs check the check boxes near URLs you'd like to delete and push REMOVE button. e.g.:
http://www.example.com
http://www.example.com/folder
http://www.example.com/folder/file.html

To add urls with (HTTP)-User-Identification you can add urls in this way: http://Username:This email address is being protected from spambots. You need JavaScript enabled to view it./file.html ftp://Username:This email address is being protected from spambots. You need JavaScript enabled to view it./pub/file.html
User identifications systems with html forms and with GET or POST submissions are not supported.

Number of attempts to retrieve the page:

If a document or server is not available phpMySearch will try to connect to it x times.

Not indexed URLs (Black list)

List of URLs, which will be ignored by crawler. To add new URL to the list type it in the field below and push ADD button. To remove any of the URLs check the check boxes near URLs you'd like to delete and push REMOVE button.

Document extensions to index

A list of document extensions which spider should try to index. To add new document extension to the list type it in the field below and push ADD button. To remove any of the extensions check the check boxes near extensions you'd like to delete and push REMOVE button.

Search depth

Search depth tells spider how much iteration he should follow links from the pages and proceed with crawling:
0 - don't follow any links
1 - follow links only from the first page
2 - follow links from the first page + 2
3 - follow links from the first page + 3.

Re parse all

If check box is checked spider will clean database and start to ramble, otherwise it will parse only pages that were updated. By default it is unchecked

Automatic spider start

Check this box if you have not access to crontab tool at *nix systems or task scheduler in Windows system. If it is checked each time visitor use search script, it will check whether it is time to start the crawler. If it finds it is time to start or the crawler was not started at specified time script will start the spider. It is recommended that you use system scheduling utilities (CRON) to start the spider.

Start time

Time to start the spider

Start spider each (days)

Period in days to restart the spider (in days)

Force crawling

Click on Start Spider button to start spider immediately

Number of links per page

Specify here number of links, which should be displayed on a single page.

Max pages block

Specify how many pages should be visible in pages menu

Proxy settings active

Check this box if you want the spider shell connect to proxy. Please note that this function is in BETA and for testing. If you have any problems with proxy support, we'll be glad for any response.

Proxy host

Fill in here the proxy host. (e.g. an IP 192.168.0.1 or a host). If you must use a special port you can type host:port

Proxy user and pass

Fill in here if you need a user and password for the proxy. Please fill in the following format: User:Password

Search Engine log file name

Enter path to the file where search engine will log its work.

Spider Engine log file name

Enter path to the file where spider will log its work

Admin Tool log file name

Enter path to the file where all changes will be logged in admin tool

Templates path

Enter path to template files

PHP Full Path: Fill in here the path to PHP. You can fill in PHP, sometime you must type in the full path to PHP e.g. PHP, /usr/bin/local/PHP or c:\PHP\php.exe. On Windows platforms you can use backslash forward slash.
Converter URLs:

Defines the URL to use when which will convert file types PDF, DOC and XLS in to HTML.

To transform PDF files into HTML you can use this url: http://access.adobe.com/perl/convertPDF.pl. The format for phpMySearch to convert a given URL is: http://access.adobe.com/perl/convertPDF.pl?url=http://www.yourdomain.com/yourfile.pdf.

For DOC or XLS files you can try to use the converters supplied with phpMySearch. These converters are in your phpMySearch folder, e.g.: ./converter/XLSConverter.php. These PHP scripts all use external converter tools.

To install these converters you need full ROOT or administrator rights on your server.

For the converters we use:

For any installation or questions for these tools look at their own homepages, forums and mailing lists. The phpMySearch Group can not give you any support for questions of the installations or troubleshooting of these tools.

Admin Login

Login name of administrator

Admin Password

Administrators password

Confirm Password

Confirmation of administrators password

Submit

By clicking on Submit button you save all changes

Logout

By clicking on Logout button you logout from the admin tool

 

4) Statistics Tool

This tool lets you store search terms into a database and lets you put your statistics into the search.php. First you'll have to activate this implement at the Admin-tool beside the Proxy settings. After that, you can decide how many outputs of your statistics you'd like to have shown into the search.php. With the clear-button next to "Clear Stats DB:" you are able to clear the stats table (for example if you want to show the most frequent search terms for this week or this month). When you've finished the settings press the submit-button.

Image admin

If you now start the search.php, the first term you enter will be stored into the database. By entering the second search term, the output of the database with your entered settings will be displayed.

Image search
 

5) Searching

If you want to search for a single word it is simple. Just execute the search.php in your browser. Now type the word you'd like to search for in the text field and press Submit.

You also can use Boolean logic to narrow your search. See table below for operators allowed.

Table 2-1:Search Boolean logic.

Operator

Description

AND +

Finds documents containing all of the specified words or phrases. Peanut AND butter finds documents with both the word peanut and the word butter.

OR &

Finds documents containing at least one of the specified words or phrases. Peanut OR butter finds documents containing either peanut or butter. The found documents could contain both items, but not necessarily.

AND NOT + -

Excludes documents containing the specified word or phrase. Peanut AND NOT butter finds documents with peanut but not containing butter. NOT must be used with another operator, like AND. Search engine does not accept 'peanut NOT butter'; instead, specify peanut AND NOT butter.

OR NOT & -

Finds documents containing one of the specified words or phrases or not containing other word. Peanut OR NOT butter finds documents which contain Peanut or not containing butter

" "

Quotation marks are used to denote exact phrases. For example, a search on "New York Times" will match only documents containing the words as an exact phrase. It will not find pages with the words used in a different order, such as "New times in York!"

{ }

Braces are used to denote folders. For example, a search on "CPAN/objects" will match only documents stored in www.servername.com/currentlocation/CPAN/objects

You also can navigate through the site folder structure. In the drop down box before Submit button you will see list of sub-folders of the current folder. By selecting the folder name you localize search to this folder and its sub-folders. '..' allows you to go one step up. [top]

6) Layout

You can make your own design by using the templates and a WYSIWIG Editor [eg. Dreamweaver]. You find the templates in the folder "templates" in your phpMyAdmin Directory, or when you change it in the admin panel, then in the "TemplatesPath" directory. All templates with the "adm" prefix are for the admin tool. All others [eg. main.tpl,body.tpl,body_docfrom.tpl,body_ok.tpl,refs.tpl.] are the search engine templates. Here you see an overview how the single templates are:

Image description

Here is a short list, which variables you can use. Remember that all searches are case sensitive and that all variables in the templates stand in braces [e.g. {VARIABLE} ].

Template variables

Description

{QUERY}

Search String

{PAGES}

Search Result

{ERROR}

Error Message

{OUT_CURR_PATH}

Search path


 

 

{URL}

Result URL

{pageDate} Result Date
{expiresDate} Expires Date
{title} Website Title
{description} META tag: Description
{keywords} META tag: keywords
{author} META tag: Author
{replyTo} META tag: replyTo
{publisher} META tag: Publisher
{copyright} META tag: copyright
{contentLanguage} META tag: language
{pageTopic} META tag: page Topic
{pageType} META tag: page type
{abstract} META tag: abstract
{classification} META tag: classification
{body_1} META tag: text from the website (first 255 chars)
{body_2} text from the website (all others)

When you change the drop down menus to check boxes, radio buttons or hidden fields, ensure the variable names are the same as in the default templates.

The search.php needs some variables to work [eg. page,currPath]. You can set this with hidden fields, too. The form action is always GET. If you have problems, have a look in the default templates.

If you want to send us your template or your link to your search we will consider putting it in the official templates list in the next version of phpMySearch! [top]

7) Important information

Please note if phpMySearch visits web sites and stores data into your database, you need the agreement from the web site owner to do this.

If the phpMySearch spider visits web sites which are not local and on the same web server, you may incur a lot of data transfer between both servers. Obviously this could result in great cost if you subsequently exceed your hosting limits.

To receive updates regarding phpMySearch you can subscribe to the newsletter service at http://phpMySearch.web4.hm. Also, all updates will be made available on this home page.

 


For more information on the phpMySearch Group and the phpMySearch project, please see http://phpMySearch.web4.hm.

phpMySearch is a project from:

Webagentur web4.hm
Pyrmonter Strasse 42
D-31789
Hameln
Germany.
Tel: +49-5151-609970-0
http://www.web4.hm
This email address is being protected from spambots. You need JavaScript enabled to view it.
 

phpMySearch logo

权威数据:西部数码域名注册量居全国第二,网站备案量居全国第三!

第六届中文域名创新应用论坛4月20日在北京召开,根据会议发布的最新统计数据显示,在国内通用顶级域名(gtlD)市场,阿里云与西部数码保有量分别位居全国第一、全国第二(如图一),其中西部数码的域名保有量为245万,超过了第三名新网以及第四名的腾讯云,是国内仅次于阿里云的域名注册商。

图片

排名 注册商名称 域名保有量(万) 市场占比
1 阿里云 731.1 45.40%
2 西部数码 245.5 15.20%
3 新网 139.6 8.70%
4 腾讯云 114.9 7.10%
5 时代互联 59.1 3.70%

(图一)国内前五域名注册服务机构保有量情况

而在新顶级域方面,根据中国信息通信研究院数据显示,截止2023年2月,全球前五的新顶级域名注册服务机构中,国内也仅有两家企业上榜,即依然是阿里云与西部数码(图二)。其中西部数码新顶级域名注册量为102万个,位居全球第五,全国第二。
全球排名 新gTLG域名注册服务机构 域名注册量(万个) 市场份额
1 GoDaddy.com,LLC(GoDaddy  Group) 443.4 14.72%
2 NameCheap,Inc. 409.4 13.59%
3 阿里云 169.4 5.62%
4 NameSilo,LLC 156.7 5.20%
5 西部数码 102 3.38%

(图二)全球新gTLD市场情况

域名是互联网服务的入口,也是云计算的基础设施,是各大云企业必争之地,其竞争相当激烈,西部数码能在竞争如此激烈的云计算市场,夺得国内域名注册量第二的成绩,实属非常不易,这侧面印证了西部数码在域名注册领域有着自己独特的竞争力,即产品强大、价格实惠,操作便利,后缀丰富,服务及时,获得了用户及市场的高度认可。
自成为域名注册商以来,我们就非常注重域名产品的使用体验,努力打造不一样的域名产品,从域名注册环节、管理环节,使用环节以及售后环节,都不断的推陈出新,优化打磨,努力为用户提供一流的产品与服务,比如我们的域名支持批量注册、批量查询、解析模板、离线解析、批量过户、批量解析,域名停放、whois批量查询等多种特色功能,在域名交易方面,我们也建立了完善的配套服务,如域名抢注、一口价交易、域名带价PUSH交易、域名拍卖竞价交易、域名店铺展示等等各项功能。也就是从域名注册到域名使用最后再到域名交易,用户均可以在我们网站一站式完成。
除了在国内域名领域保持着巨大优势外,我司在网站托管(网站接入)领域,依然有着重要的影响力,据权威渠数据显示(图三),西部数码在工信部的网站备案总量位居全国第三,达到了22万个,仅次于排名第一的阿里云与排名第二的腾讯云,超过了华为云、百度云以及优刻得,要知道他们都是云计算行业巨头,在中国这个巨头云集,一片红海的云计算市场,也属于相当不错的优异成绩。
序号 单位名称 网站数量 所占百分比
1 阿里云计算有限公司 186.6万 46.44%
2 腾讯云技术(北京)有限责任公司 44万 10.96%
3 成都西维数码科技有限公司 22万 5.47%
4 郑州市景安网络科技股份有限公司 13.1万 3.27%
5 华为云计算技术有限公司 10.9万 2.73%
6 北京百度网讯科技有限公司 10.5万 2.62%
7 中企网动力(北京)科技有限公司 9.6万 2.40%
8 北京新网数码信息技术有限公司 8.4万 2.08%
9 优刻得科技股份有限公司 8.1万 2.01%
10 上海美橙科技信息发展有限公司 5.7万 1.42%
(图三)截止2023年3月全国接入商网站备案量情况
究其原因,依然与我司20年来不断深耕网站托管、云主机行业密不可分,我们相信归根结底云产品还是看重服务与品质,看重产品本身,虽在品牌影响力方面我司逊于巨头,但在产品以及服务方面,我们依然有自己的独特优势。
首先在易用性方面,我司的虚拟主机控制面板是行业标杆,是国内功能相当全面的虚拟主机控制面板。而在云主机方面,我司于2013年就推出了基于分布式存储的真正意义上的云主机产品,完全杜绝了单点故障,距今已有十年之久,这期间我司不断完善,不断优化,有些2013年购买的云主机,已持续稳定运行了十年,这充分证明了我司云计算系统的成熟性与可靠性,同时在行业中,我司的云主机具有极高的性价比,特别是独具特色的快照服务,深得用户喜欢,去年因某个ERP系统大面积漏洞造成国内大量云主机中勒索病毒用户数据全部损失,而我司则通过快照系统全部恢复,而此问题当时巨头也束手无策(因为没有默认为用户提供快照备份服务),这也充分证明了我司产品的独特性。
此外,在网站备案方面,我司也做得极为出色,我司是国内第一家推出电子化核验的服务商,我们让用户首次感受到了足不出户就完成网站备案的全新体验,且我司备案系统简洁大方,方便易用,流程清晰,备案人员专业高效,通过工单、电话、QQ等多种方式,全程协助用户高效完成备案,我司备案专员有十余年的备案经验,在行业中有口皆碑,这也是在竞争激烈的云计算市场,依然有大量用户选择我司的原因之一。
在服务方面,我司一直坚持快速、高质量地响应客户的问题,通常在10分钟左右就会回复用户的工单,这方面也与部分同行的响应时间有明显的优势。
近期我们在进一步优化备案系统和备案流程,尽全力做到我们的审核标准与管局的审核标准基本趋于一致,避免资料送到管局等20多天后因为一些小问题被退回来而延误20天甚至40多天的情况。而备案资料在我们平台“初审”通常只需要1天左右,用户的资料即使填的有问题,也可以及时退给用户修改后马上又提交上去。而网站备案因各省管局的审核标准不同,不同行业、不同营业执照经营范围导致的审核标准归纳起来可能有上百条逻辑,这也导致部分接入商因经验或能力不足,导致经常被管局通报或暂停上报接口,从而严重影响其他客户的备案进度。我司自主研发功能强大的备案系统,且持续优化流程,从而实现了相当高效、准确的备案效率,近年来备案通过率、备案量都名列前茅。
同时我们正在域名抢注、域名拍卖、域名批量查询等方面改进优化,敬请关注。
能取得今天的成绩,与用户的支持密不可分,西部数码也将再接再厉,不断的优化产品,虚心听取用户意见与建议,不断提高服务质量,完善产品,在域名主机这个市场,继续深入专研,推陈出新,让用户有更多的选择,更好的体验!
 
 

 

 

4种较为常见的PHP环境搭建工具

PHP 是一种流行的服务器端脚本语言,许多网站和应用程序都使用它来处理动态内容。如果你想开始学习和使用 PHP,那么第一步就是要搭建一个 PHP 环境。本文将介绍几种较为常见的 PHP 环境搭建工具,供读者参考。

  1. XAMPP

XAMPP 是一个免费的开源工具,它包含了 Apache 服务器、PHP 解释器、MySQL 数据库和 Perl 解释器等组件。只需下载安装包,运行安装程序,即可轻松地将这些组件安装在你的计算机上。在安装完成后,你可以通过简单的配置来启动 Apache 和 MySQL 服务器,以及对 PHP 进行编程和测试。

XAMPP 适合那些想要搭建一个本地 PHP 环境,并且不想花费太多时间和精力在配置和安装上的开发者和学生。不过,如果你需要更加可定制的安装和配置选项,XAMPP 可能并不是最好的选择。

  1. WampServer

WampServer 是一个 Windows 平台下的 PHP 环境搭建工具。它包含了 Apache、PHP 和 MySQL 等组件,并提供了一个易于使用的界面来管理这些组件。WampServer 还提供了许多插件和工具,可以帮助你更轻松地搭建和管理 PHP 环境。

WampServer 适合那些想要在 Windows 系统下搭建 PHP 环境,并且需要更多的可定制选项的开发者。但是,由于 WampServer 只适用于 Windows 平台,如果你使用的是其他操作系统,那么你需要寻找其他的选择。

  1. MAMP

MAMP 是一种针对 macOS 操作系统设计的 PHP 环境搭建工具。它包含了 Apache、MySQL 和 PHP 组件,并提供了一个易于使用的界面来管理这些组件。MAMP 可以帮助开发者轻松地搭建和管理自己的 PHP 环境。

MAMP 适合那些在 macOS 操作系统中搭建 PHP 环境的开发者。但是,这种工具并不适用于 Windows 和 Linux 系统,因此不适用于所有开发者。

  1. EasyPHP

EasyPHP 是一种基于 Windows 系统的 PHP 环境搭建工具。它集成了 Apache、PHP 和 MySQL 等组件,并提供了一个易于使用的界面来管理这些组件。EasyPHP 还包括了许多附加工具和插件,可以帮助你更轻松地进行 PHP 开发和测试。

EasyPHP 适合那些正在使用 Windows 系统,并且想要快速搭建和管理自己的 PHP 环境的开发者。但是,类似于其他基于 Windows 平台的 PHP 环境搭建工具,EasyPHP 的定制选项相对较少。

结语

以上是几种主要的 PHP 环境搭建工具。每种工具都有其优点和缺点,你可以根据自己的具体需要选择最适合自己的工具。无论你选择哪种工具,只要足够熟练使用,都可以帮助你更加快速和高效地进行 PHP 开发和测试。

有哪些开源宾馆管理程序?

目前有许多开源的宾馆管理程序可供使用。这些程序中的大部分都是基于云计算技术开发的,可以轻松地在云服务器上部署和运行。以下是一些常见的开源宾馆管理程序:

  1. OpenHotel: OpenHotel是一款开源的、基于Web的宾馆管理系统,它提供了许多有用的功能,包括房间管理、预订管理、客户管理、收银管理和库存管理等。

  2. HotelDruid: HotelDruid是另一款基于Web的开源宾馆管理系统,它提供了类似于OpenHotel的功能,同时还支持多语言和多货币。

  3. Hoteldruid Mobile: Hoteldruid Mobile是一款基于移动设备的开源宾馆管理应用程序,它允许酒店管理人员使用智能手机或平板电脑管理宾馆。

  4. QloApps: QloApps是一款基于Web的免费开源的酒店管理软件,它提供了类似于OpenHotel和HotelDruid的功能,同时还支持许多付款网关和预订引擎。

这些程序都是开源的,你可以在GitHub等代码托管平台上找到它们的源代码。如果你有一些基本的编程技能,你可以自己安装和配置这些程序。如果你不想自己动手,你可以找一些云计算服务提供商,他们可以为你提供云服务器和软件安装服务。

About Us

Since 1996, our company has been focusing on domain name registration, web hosting, server hosting, website construction, e-commerce and other Internet services, and constantly practicing the concept of "providing enterprise-level solutions and providing personalized service support". As a Dell Authorized Solution Provider, we also provide hardware product solutions associated with the company's services.
 

Contact Us

Address: No. 2, Jingwu Road, Zhengzhou City, Henan Province

Phone: 0086-371-63520088 

QQ:76257322

Website: 800188.com

E-mail: This email address is being protected from spambots. You need JavaScript enabled to view it.