Posts tagged file

WORD FREQUENCY PHP COUNT ON TEXT FILE?

Hi There,

I’m running a search engine for media files and I am trying to script a box with the 50 most popular search terms. My search engine currently has a text file which the site writes to each time someone searches a term. So all I need is a code to count the frequency of the terms in the text file and the 50 most popular need to be written (automatically) into the homepage of my site. Any help?

Read More >>

I’M USING A SCRIPT IN MY .HTACCESS FILE WHICH POINTS ALL LINKS FROM MY “NON-WWW” SITE TO MY WWW SITE.

I’m using:

# Start non-www page protection #

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.mysite\.com [NC]
RewriteRule ^(.*)$ http://www.mysite.com/$1 [L,R=301]

# End non-www page protection #

Is this the correct format, and will all links now point just to the www version just from the time that I do this and upload the new .htaccess file, or will all links (and the page rank boost associated with it) become retrospective? Will I see a boost in rank immediately?

I’ve also heard that the search engines see a www.mysite.com version and a www.mysite.com/ version. Will my script take care of this as well, or do I have to add something else? (I cannot see whether the script does this or not as I am not a coder!)

For .co.uk domains do I just alternative .co.uk for .com in each case?

Read More >>

HOW CAN I CREATE A SEARCH ENGINE FOR MY HTML FILE?

it is not linked to the internet

Read More >>

PHP SCRIPT FOR MAKING A FILE SEARCH ENGINE?

I need a PHP script that can search for a specific file (with a box to type in criteria) within a certain web directory (just one directory) on my server. Are there any FREE or cheap search engines that i can use and customize to fit my needs?