<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3367276027905504620</id><updated>2011-04-21T13:23:39.861-07:00</updated><title type='text'>Resources for webmasters and programmers</title><subtitle type='html'>Free Powerful PHP Scripts for webmasters and programmers to control and earn with your websites</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://freephpscripts.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://freephpscripts.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>eBooks Collector</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3367276027905504620.post-1371071760029149942</id><published>2007-06-17T19:15:00.000-07:00</published><updated>2007-06-17T19:16:45.156-07:00</updated><title type='text'>Do you know about .htaccess file? - Part 3</title><content type='html'>&lt;span style="font-family: verdana;font-family:Arial, Helvetica, sans-serif;font-size:100%;"  &gt;&lt;span style="color:#000099;"&gt;&lt;b&gt;Part III&lt;br /&gt;Introduction&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Although there are many uses of the .htaccess file, by far the most popular, and probably most useful, is being able to relaibly password protect directories on websites. Although JavaScript etc. can also be used to do this, only .htaccess has total security (as someone must know the password to get into the directory, there are no 'back doors')&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;b&gt;The .htaccess File&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Adding password protection to a directory using .htaccess takes two stages. The first part is to add the appropriate lines to your .htaccess file in the directory you would like to protect. Everything below this directory will be password protected:&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;&lt;br /&gt;AuthName "Section Name"&lt;br /&gt;AuthType Basic&lt;br /&gt;AuthUserFile /full/path/to/.htpasswd&lt;br /&gt;Require valid-user&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;There are a few parts of this which you will need to change for your site. You should replace "Section Name" with the name of the part of the site you are protecting e.g. "Members Area".&lt;br /&gt;&lt;br /&gt;The /full/parth/to/.htpasswd should be changed to reflect the full server path to the .htpasswd file (more on this later). If you do not know what the full path to your webspace is, contact your system administrator for details.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;b&gt;The .htpasswd File&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Password protecting a directory takes a little more work than any of the other .htaccess functions because you must also create a file to contain the usernames and passwords which are allowed to access the site. These should be placed in a file which (by default) should be called .htpasswd. Like the .htaccess file, this is a file with no name and an 8 letter extension. This can be placed anywhere within you website (as the passwords are encrypted) but it is advisable to store it outside the web root so that it is impossible to access it from the web.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;b&gt;Entering Usernames And Passwords&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Once you have created your .htpasswd file (you can do this in a standard text editor) you must enter the usernames and passwords to access the site. They should be entered as follows:&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;&lt;br /&gt;username:password&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;where the password is the encrypted format of the password. To encrypt the password you will either need to use one of the premade scripts available on the web or write your own. There is a good username/password service at the KxS site which will allow you to enter the user name and password and will output it in the correct format.&lt;br /&gt;&lt;br /&gt;For multiple users, just add extra lines to your .htpasswd file in the same format as the first. There are even scripts available for free which will manage the .htpasswd file and will allow automatic adding/removing of users etc.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;b&gt;Accessing The Site&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;When you try to access a site which has been protected by .htaccess your browser will pop up a standard username/password dialog box. If you don't like this, there are certain scripts available which allow you to embed a username/password box in a website to do the authentication. You can also send the username and password (unencrypted) in the URL as follows:&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;&lt;br /&gt;http://username:password@www.website.com/directory/&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;b&gt;Summary&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;.htaccess is one of the most useful files a webmaster can use. There are a wide variety of different uses for it which can save time and increase security on your website.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3367276027905504620-1371071760029149942?l=freephpscripts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://freephpscripts.blogspot.com/feeds/1371071760029149942/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3367276027905504620&amp;postID=1371071760029149942' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/1371071760029149942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/1371071760029149942'/><link rel='alternate' type='text/html' href='http://freephpscripts.blogspot.com/2007/06/do-you-know-about-htaccess-file-part-3.html' title='Do you know about .htaccess file? - Part 3'/><author><name>eBooks Collector</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3367276027905504620.post-5112154910373441106</id><published>2007-06-17T19:12:00.000-07:00</published><updated>2007-06-17T19:20:37.149-07:00</updated><title type='text'>Do you know about .htaccess file? - Part 2</title><content type='html'>&lt;span style="font-family: verdana;font-family:Arial,Helvetica,sans-serif;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;b&gt;Part II&lt;br /&gt;Introduction&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In the last part I introduced you to .htaccess and some of its useful features. In this part I will show you how to use the .htaccess file to implement some of these.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;b&gt;Stop A Directory Index From Being Shown&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Sometimes, for one reason or another, you will have no index file in your directory. This will, of course, mean that if someone types the directory name into their browser, a full listing of all the files in that directory will be shown. This could be a security risk for your site.&lt;br /&gt;&lt;br /&gt;To prevent against this (without creating lots of new 'index' files, you can enter a command into your .htaccess file to stop the directory list from being shown:&lt;br /&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;br /&gt;Options -Indexes&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;b&gt;Deny/Allow Certian IP Addresses&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In some situations, you may want to only allow people with specific IP addresses to access your site (for example, only allowing people using a particular ISP to get into a certian directory) or you may want to ban certian IP addresses (for example, keeping disruptive memembers out of your message boards). Of course, this will only work if you know the IP addresses you want to ban and, as most people on the internet now have a dynamic IP address, so this is not always the best way to limit usage.&lt;br /&gt;&lt;br /&gt;You can block an IP address by using:&lt;br /&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;br /&gt;deny from 000.000.000.000&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;where 000.000.000.000 is the IP address. If you only specify 1 or 2 of the groups of numbers, you will block a whole range.&lt;br /&gt;&lt;br /&gt;You can allow an IP address by using:&lt;br /&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;br /&gt;allow from 000.000.000.000&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;where 000.000.000.000 is the IP address. If you only specify 1 or 2 of the groups of numbers, you will allow a whole range.&lt;br /&gt;&lt;br /&gt;If you want to deny everyone from accessing a directory, you can use:&lt;br /&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;br /&gt;deny from all&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;but this will still allow scripts to use the files in the directory.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;b&gt;Alternative Index Files&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You may not always want to use index.htm or index.html as your index file for a directory, for example if you are using PHP files in your site, you may want index.php to be the index file for a directory. You are not limited to 'index' files though. Using .htaccess you can set foofoo.blah to be your index file if you want to!&lt;br /&gt;&lt;br /&gt;Alternate index files are entered in a list. The server will work from left to right, checking to see if each file exists, if none of them exisit it will display a directory listing (unless, of course, you have turned this off).&lt;br /&gt;&lt;br /&gt;DirectoryIndex index.php index.php3 messagebrd.pl index.html index.htm&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;b&gt;Redirection&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;One of the most useful functions of the .htaccess file is to redirect requests to different files, either on the same server, or on a completely different web site. It can be extremely useful if you change the name of one of your files but allow users to still find it. Another use (which I find very useful) is to redirect to a longer URL, for example in my newsletters I can use a very short URL for my affiliate links. The following can be done to redirect a specific file:&lt;br /&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;br /&gt;Redirect /location/from/root/file.ext http://www.othersite.com/new/file/location.xyz&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;In this above example, a file in the root directory called oldfile.html would be entered as:&lt;br /&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;br /&gt;/oldfile.html&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;and a file in the old subdirectory would be entered as:&lt;br /&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;br /&gt;/old/oldfile.html&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;You can also redirect whole directoires of your site using the .htaccess file, for example if you had a directory called olddirectory on your site and you had set up the same files on a new site at: http://www.newsite.com/newdirectory/ you could redirect all the files in that directory without having to specify each one:&lt;br /&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;br /&gt;Redirect /olddirectory http://www.newsite.com/newdirectory&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Then, any request to your site below /olddirectory will bee redirected to the new site, with the&lt;br /&gt;extra information in the URL added on, for example if someone typed in:&lt;br /&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;br /&gt;http://www.youroldsite.com/olddirecotry/oldfiles/images/image.gif&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;They would be redirected to:&lt;br /&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;br /&gt;http://www.newsite.com/newdirectory/oldfiles/images/image.gif&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;This can prove to be extremely powerful if used correctly.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3367276027905504620-5112154910373441106?l=freephpscripts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://freephpscripts.blogspot.com/feeds/5112154910373441106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3367276027905504620&amp;postID=5112154910373441106' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/5112154910373441106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/5112154910373441106'/><link rel='alternate' type='text/html' href='http://freephpscripts.blogspot.com/2007/06/do-you-know-about-htaccess-file-part-2.html' title='Do you know about .htaccess file? - Part 2'/><author><name>eBooks Collector</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3367276027905504620.post-5540361423526294810</id><published>2007-03-09T23:28:00.000-08:00</published><updated>2007-06-17T19:27:39.625-07:00</updated><title type='text'>Do you know about .htaccess file? - Part 1</title><content type='html'>&lt;span style="font-family: verdana;font-family:Arial,Helvetica,sans-serif;font-size:100%;"  &gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;span style="font-weight: bold;"&gt;Part 1&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Introduction&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In this tutorial you will find out about the .htaccess file and the power it has to improve your website. Although .htaccess is only a file, it can change settings on the servers and allow you to do many different things, the most popular being able to have your own custom 404 error pages. .htaccess isn't difficult to use and is really just made up of a few simple instructions in a text file.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;b&gt;Will My Host Support It?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is probably the hardest question to give a simple answer to. Many hosts support .htaccess but don't actually publicise it and many other hosts have the capability but do not allow their users to have a .htaccess file. As a general rule, if your server runs Unix or Linux, or any version of the Apache web server it will support .htaccess, although your host may not allow you to use it.&lt;br /&gt;&lt;br /&gt;A good sign of whether your host allows .htaccess files is if they support password protection of folders. To do this they will need to offer .htaccess (although in a few cases they will offer password protection but not let you use .htaccess). The best thing to do if you are unsure is to either upload your own .htaccess file and see if it works or e-mail your web host and ask them.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;b&gt;What Can I Do?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You may be wondering what .htaccess can do, or you may have read about some of its uses but don't realise how many things you can actually do with it.&lt;br /&gt;&lt;br /&gt;There is a huge range of things .htaccess can do including: password protecting folders, redirecting users automatically, custom error pages, changing your file extensions, banning users with certian IP addresses, only allowing users with certain IP addresses, stopping directory listings and using a different file as the index file.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;b&gt;Creating A .htaccess File&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Creating a .htaccess file may cause you a few problems. Writing the file is easy, you just need enter the appropriate code into a text editor (like notepad). You may run into problems with saving the file. Because .htaccess is a strange file name (the file actually has no name but a 8 letter file extension) it may not be accepted on certain systems (e.g. Windows 3.1). With most operating systems, though, all you need to do is to save the file by entering the name as:&lt;br /&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;br /&gt;".htaccess"&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;(including the quotes). If this doesn't work, you will need to name it something else (e.g. htaccess.txt) and then upload it to the server. Once you have uploaded the file you can then rename it using an FTP program.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;b&gt;Warning&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Before beginning using .htaccess, I should give you one warning. Although using .htaccess on your server is extremely unlikely to cause you any problems (if something is wrong it simply won't work), you should be wary if you are using the Microsoft FrontPage Extensions. The FrontPage extensions use the .htaccess file so you should not really edit it to add your own information. If you do want to (this is not recommended, but possible) you should download the .htaccess file from your server first (if it exists) and then add your code to the beginning.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;b&gt;Custom Error Pages&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The first use of the .htaccess file which I will cover is custom error pages. These will allow you to have your own, personal error pages (for example when a file is not found) instead of using your host's error pages or having no page. This will make your site seem much more professional in the unlikely event of an error. It will also allow you to create scripts to notify you if there is an error (for example I use a PHP script on Free Webmaster Help to automatically e-mail me when a page is not found).&lt;br /&gt;&lt;br /&gt;You can use custom error pages for any error as long as you know its number (like 404 for page not found) by adding the following to your .htaccess file:&lt;br /&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;br /&gt;ErrorDocument errornumber /file.html&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;For example if I had the file notfound.html in the root direct&lt;br /&gt;ory of my site and I wanted to use it for a 404 error I would use:&lt;br /&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;br /&gt;ErrorDocument 404 /notfound.html&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;If the file is not in the root directory of your site, you just need to put the path to it:&lt;br /&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;br /&gt;ErrorDocument 500 /errorpages/500.html&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;These are some of the most common errors:&lt;br /&gt;&lt;br /&gt;401 - Authorization Required&lt;br /&gt;400 - Bad request&lt;br /&gt;403 - Forbidden&lt;br /&gt;500 - Internal Server Error&lt;br /&gt;404 - Wrong page&lt;br /&gt;&lt;br /&gt;Then, all you need to do is to create a file to display when the error happens and upload it and the .htaccess file.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3367276027905504620-5540361423526294810?l=freephpscripts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://freephpscripts.blogspot.com/feeds/5540361423526294810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3367276027905504620&amp;postID=5540361423526294810' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/5540361423526294810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/5540361423526294810'/><link rel='alternate' type='text/html' href='http://freephpscripts.blogspot.com/2007/03/do-you-know-about-htaccess-file-part-1.html' title='Do you know about .htaccess file? - Part 1'/><author><name>eBooks Collector</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3367276027905504620.post-7753349706205043088</id><published>2006-10-01T21:45:00.000-07:00</published><updated>2006-10-01T22:26:20.168-07:00</updated><title type='text'>Increase Site Visitors</title><content type='html'>&lt;div  style="font-style: italic; text-align: right;font-family:arial;" class="ital"&gt;&lt;span style="font-size:100%;"&gt;Web traffic, the performance metrics of the 21&lt;sup style="font-size: 10px;"&gt;st&lt;/sup&gt; century.&lt;/span&gt;&lt;/div&gt;   &lt;span style="font-weight: bold;font-size:100%;" &gt;Increase Site Visitors&lt;/span&gt;   &lt;p  style="font-family:arial;"&gt;&lt;span style="font-size:100%;"&gt;See also: Increase Site Visitors; &lt;a href="http://freephpscripts.blogspot.com/2006/10/increase-website-hits.html" title="Learn how website hits are counted, and how you can increase hits."&gt;Increase Website Hits&lt;/a&gt;&lt;/span&gt;&lt;!--&lt;a href="http://www.seologic.com/web-traffic/increase/targeted-traffic.php" title="More Traffic or Better Traffic: The Dilemma"&gt;More Traffic or Better Traffic: The Dilemma&lt;/a&gt;; --&gt;&lt;/p&gt;   &lt;span style="font-style: italic; font-weight: bold;font-size:100%;" &gt;A-Z Tips to Increase Site Visitors&lt;/span&gt;&lt;p  style="font-family:arial;"&gt;&lt;span style="font-size:100%;"&gt;We said A-Z and we meant it. Here are 26 sure-fire ways to increase web traffic and site visitors to your website. Use some or all of them, and let us know which ones worked best for you.&lt;/span&gt;&lt;/p&gt;   &lt;ol  type="a" style="font-family:arial;"&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Optimize your site (&lt;acronym title="Search Engine Optimization"&gt;SEO&lt;/acronym&gt;).&lt;br /&gt;Win on the search engines when people search for keyword phrases related to your products or services.&lt;br /&gt;(More about search engine optimization.)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Get your site listed in directories.&lt;br /&gt;Submit your site to all the major web directories. This will generate traffic directly from the directories themselves and will also help to improve your link popularity.  That helps you win on Google!&lt;br /&gt;(More about web directories.)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Get listed in search engines.&lt;br /&gt;Submit your site to all the major search engines.&lt;br /&gt;(More about search engines.)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Get links to your site.&lt;br /&gt;Get people with complimentary sites to link to yours. You offer rental kayaks on the beach. Ask the local restaurant owners to link to you, and offer to link to them. Ask the local tour guides, the real estate agents, the night clubs, and everyone else. Links lead to clicks onto your website and help to improve your search engine rankings.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Buy links to your site.&lt;br /&gt;Buy text links on other websites. That means more spiders stopping by, more people clicking through, and better search engine rankings.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Buy banner ads.&lt;br /&gt;Buy banner ads on other websites. It helps to build brand recognition.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Participate in a banner exchange program.&lt;br /&gt;It won't cost you anything, and will lead to a few extra visitors.  Plus, you're spreading your brand all over the place.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Participate in a WebRing.&lt;br /&gt;Connect your site with other sites in your niche.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Pay for clicks to your site.&lt;br /&gt;Pay for clicks or inclusion on the search engines so that people will see your site in the sponsored links section of the search results when they search for keyword phrases related to your products or services.&lt;br /&gt;(More about pay per click.)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Set up an affiliate marketing program.&lt;br /&gt;With affiliate marketing, you can either pay per click or pay per customer acquired.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Use smart public relations (PR).&lt;br /&gt;Get news coverage of your business and your site. Approach online and traditional media. This will often lead to others placing links pointing to your website, which leads to more clicks and also to improved search engine rankings.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Use E-mail marketing.&lt;br /&gt;Ugly, but effective for the cost. Blast out your special offers, but be nice about it.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Use off-line marketing.&lt;br /&gt;Promote your site. Put your url on all your license plates. Paint it on your car. Buy newspaper and yellow pages ads with your url. Put up flyers and stickers. Sponsor a little league team. Do anything and everything to spread the word about your website around your city.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Run regular promotions.&lt;br /&gt;Stage regular giveaways and spread the word about it.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Get published.&lt;br /&gt;Write articles for publication on other websites. The author profile will link to your site. The article will show that you're an expert.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Publish yourself.&lt;br /&gt;Write articles for your own site regularly. This will help you to win on the search engines and gives your visitors a reason to come back over and over.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Ask for reviews.&lt;br /&gt;Ask for reviews of your self-published articles on other webmasters' websites. Ask for reviews of your website, your products, your software, your services. These will usually include links to your articles.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Write briefs.&lt;br /&gt;Write daily or weekly news briefs focusing in on your industry or specialty area. This keeps your site "fresh" in the eyes of the major search engines and helps you to spread a wide net when fishing for top search engine positions.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Create a newsletter.&lt;br /&gt;Ask your visitors to sign up for your newsletter, and encourage them to send it along to people they know. Send a newsletter regularly with teasers or lead-ins to your in-depth new articles or with special offers and the latest products.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Post in chat rooms.&lt;br /&gt;Become active in bulletin boards and chat rooms focusing on your industry. Leave inciteful comments, and people will click on your profile, then visit your site.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Give away free stuff.&lt;br /&gt;Offer something people want at your site. Give them a reason to come back and get more. Offer free downloads and update them regularly. Offer coupons or discounts. Content content content.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Give awards for excellent sites in your niche.&lt;br /&gt;This builds more links back to your site and establishes you as a credible reviewer, an expert in your space.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Run a contest and promote it.&lt;br /&gt;Photo contests, essay contests, goofy contests, random drawings, anything. Example: Messiest Garage in America contest on OfftheFloor.com.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Join your local business organizations.&lt;br /&gt;Chambers of Commerce and other organizations will often add your site to their member directory. That's an added advantage over the obvious business-building and networking opportunities.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Create an RSS feed.&lt;br /&gt;Give people another way to interact with your content.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;    Be accessible.&lt;br /&gt;Build your site so that it is accessible to all browsers and to PocketPC and Palm Pilot users. Don't forget, people with disabilities buy things too. Make your site Section 508 complaint. Your competition probably hasn't.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;/li&gt;&lt;span style="font-size:100%;"&gt;&lt;em&gt;We really couldn't stop at Z&lt;/em&gt;&lt;/span&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3367276027905504620-7753349706205043088?l=freephpscripts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://freephpscripts.blogspot.com/feeds/7753349706205043088/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3367276027905504620&amp;postID=7753349706205043088' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/7753349706205043088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/7753349706205043088'/><link rel='alternate' type='text/html' href='http://freephpscripts.blogspot.com/2006/10/increase-site-visitors.html' title='Increase Site Visitors'/><author><name>eBooks Collector</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3367276027905504620.post-850532899265049569</id><published>2006-10-01T21:32:00.000-07:00</published><updated>2006-10-01T21:44:55.905-07:00</updated><title type='text'>Increase Website Hits</title><content type='html'>&lt;p&gt;First, let's take a hypothetical tour of the process of measuring website traffic. Imagine Hypothetical Jim visiting the home page of a new website he learned about on Google.com. Hypothetical Jim visits the home page, then visits the &lt;span style="font-style: italic;"&gt;"About Us"&lt;/span&gt; page, which he bookmarks. Later, Hypothetical Stu visits the home page, then leaves the site. Later that evening, Hypothetical Jim returns to the &lt;span style="font-style: italic;"&gt;"About Us"&lt;/span&gt; page using his bookmark, and clicks on the link to the &lt;span style="font-style: italic;"&gt;"Contact Us"&lt;/span&gt; page. After looking over the page, he leaves the site. &lt;/p&gt;&lt;p&gt;From the text description above, you can determine that: (1) the site has had 2 unique visitors, Hypothetical Jim and Hypothetical Stu; (2) the site has had three unique visitor sessions (two for Jim and one for Stu); and (3) the site has had 5 pageviews (4 by Jim and 1 by Stu). You may wonder wether to count Hypothetical Jim's second visit to the &lt;span style="font-style: italic;"&gt;"About Us"&lt;/span&gt; page as a second pageview. Count it.&lt;/p&gt;   &lt;p&gt;What you cannot determine from the description above is the number of website hits. A hit is measured every time a specific unique file (HTML files, image files, script files, frames, etc.) is downloaded. In other words, many people refer to the total number of HTTP Requests a user makes as the number of hits the site receives. Since a single web page can be made up of any number of unique files (hundreds even), measuring hits is often meaningless in measuring the success of a website.&lt;/p&gt;   &lt;p&gt;In this hypothetical example, the homepage consists of 24 files, so web analysis software will count 24 hits every time a visitor downloads the home page. There are 21 total images, 1 script, and one CSS file (plus the index html file itself). The &lt;span style="font-style: italic;"&gt;"About Us"&lt;/span&gt; page consists of 14 files, so web analysis software will count 14 hits. There are 11 images, 1 script, and one CSS file (plus the about html file itself). The same goes for the &lt;span style="font-style: italic;"&gt;"Contact Us"&lt;/span&gt; page.&lt;/p&gt;   &lt;p&gt;As you can see, website hits do not consistently correlate with unique visitors, sessions, or pageviews. The only reason to look at hits is to measure the number of HTTP requests that a browser has to make in order to view your page. Generally speaking, the larger the hit count, the slower the download. For that reason, it is best to reduce the number of hits/page until the download speed is optimized.&lt;/p&gt;   &lt;p&gt;Savvy media buyers ignore webmasters who claim to have thousands of hits. They measure pageviews, user sessions, and unique and return visitors.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3367276027905504620-850532899265049569?l=freephpscripts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://freephpscripts.blogspot.com/feeds/850532899265049569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3367276027905504620&amp;postID=850532899265049569' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/850532899265049569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/850532899265049569'/><link rel='alternate' type='text/html' href='http://freephpscripts.blogspot.com/2006/10/increase-website-hits.html' title='Increase Website Hits'/><author><name>eBooks Collector</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3367276027905504620.post-4506529794984550075</id><published>2006-09-27T19:56:00.000-07:00</published><updated>2006-09-27T20:21:41.397-07:00</updated><title type='text'>Subdomain and .htaccess file</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;Subdomain Scripts&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;a href="http://freephpscripts.blogspot.com/2006/09/subdomain-and-htaccess-file.html#features"&gt;Features&lt;/a&gt;  &lt;span style="color: rgb(255, 102, 0);"&gt;♦&lt;/span&gt;  &lt;a href="http://www.esnips.com/doc/ef6adcfd-0f7b-4c3c-ba85-da11ff205838/subdomains.zip"&gt;Download&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;  &lt;span style="color: rgb(255, 102, 0);"&gt;♦&lt;/span&gt;  &lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;a href="http://freephpscripts.blogspot.com/2006/09/subdomain-and-htaccess-file.html#requirements"&gt;Requirements&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;  &lt;span style="color: rgb(255, 102, 0);"&gt;♦&lt;/span&gt;  &lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;a href="http://freephpscripts.blogspot.com/2006/09/subdomain-and-htaccess-file.html#install"&gt;Installing the script&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;  &lt;span style="color: rgb(255, 102, 0);"&gt;♦&lt;/span&gt;  &lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;a href="http://freephpscripts.blogspot.com/2006/09/subdomain-and-htaccess-file.html#faq"&gt;FAQ&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;  &lt;span style="color: rgb(255, 102, 0);"&gt;♦&lt;/span&gt;  &lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;a href="http://freephpscripts.blogspot.com/2006/09/subdomain-and-htaccess-file.html#copyright"&gt;Copyright, etc.&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;This free scripts can &lt;/span&gt;&lt;span style="font-size:85%;"&gt;add numerous sub domains to        your website. When the script has been installed, all you need to do to        create a new sub domain is a make a new directory. I.e., if you create the        directory &lt;b&gt;http://yoursite.com/newdir&lt;/b&gt; then the following sub domain        will automatically be added: &lt;b&gt;http://newdir.yoursite.com&lt;/b&gt;.&lt;br /&gt;&lt;/span&gt;&lt;h3&gt;&lt;span style="font-size:85%;"&gt;Features&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;No need            to edit any files when you want a new sub domain -- whenever you create            a new directory it will automatically function as a sub domain. &lt;/span&gt;          &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Works            even if the visitor enters "www." in front of the URL: &lt;b&gt;http://www.dir.yoursite.com&lt;/b&gt;            and &lt;b&gt;http://dir.yoursite.com&lt;/b&gt; will both redirect the visitor to            &lt;b&gt;http://yoursite.com/dir&lt;/b&gt;. &lt;/span&gt;          &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Case insensitive:            &lt;b&gt;http://Dir.YourSite.com&lt;/b&gt;, &lt;b&gt;http://DIR.YOURSITE.COM&lt;/b&gt;, and            &lt;b&gt;http://dir.yoursite.com&lt;/b&gt; will all redirect the visitor to &lt;b&gt;http://yoursite.com/dir&lt;/b&gt;.            &lt;/span&gt;          &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Can be            used with or without frames. If you use frames, the location bar in            the browser will not change -- i.e., if the visitor enters &lt;b&gt;http://dir.yoursite.com&lt;/b&gt;,            the location bar will still show this URL when the visitor has been            redirected to the new location (&lt;b&gt;http://yoursite.com/dir&lt;/b&gt;). If            you decide not to use frames, the location bar will change from &lt;b&gt;http://dir.yoursite.com&lt;/b&gt;            to &lt;b&gt;http://yoursite.com/dir&lt;/b&gt;. &lt;/span&gt;        &lt;/li&gt;&lt;/ul&gt;       &lt;span style="font-size:85%;"&gt;&lt;a name="requirements"&gt;&lt;/a&gt;&lt;/span&gt;        &lt;h3&gt;&lt;span style="font-size:85%;"&gt;Requirements&lt;/span&gt;&lt;/h3&gt;       &lt;span style="font-size:85%;"&gt;Before you get        too excited, you should know that only a minority of all web hosts meet        the requirements of this script. To use Subdomains, you need a web site        account with the following features: &lt;/span&gt;        &lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;Your            own domain&lt;/b&gt;, i.e. &lt;b&gt;yoursite.com&lt;/b&gt;. &lt;/span&gt;          &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;Wildcarded            DNS&lt;/b&gt;. The script will not function without this feature. To check            if your web host offers wildcarded DNS, you can perform the following            test: Start your browser, pick a random word (i.e. "asdf"), and enter            your domain name &lt;i&gt;with the random word in front of it&lt;/i&gt; like this:            &lt;b&gt;asdf.yoursite.com&lt;/b&gt;. If you can see the front page of your web            site in your browser now, your web host offers wildcarded DNS. However,            if the browser response is something like "unable to locate the server            asdf.yoursite.com", then your web host does not offer wildcarded DNS,            and you cannot use Subdomains (unless, of course, you move to a server            that offers this feature). &lt;/span&gt;          &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;a href="http://php.net/"&gt;PHP&lt;/a&gt;&lt;/b&gt;            (version 3 or later). Ask your web hosting company if you don't know            if they offer PHP. &lt;/span&gt;          &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;.htaccess&lt;/b&gt;.            In some cases it is necessary to edit the .htaccess file in order to            make the script work. This means that your web host must provide you            with the ability to use .htaccess files. If the name of the web server            software is Apache, then it is very likely that you can use .htaccess            files -- but ask your web hosting company if you are unsure.&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;       &lt;a name="install"&gt;&lt;/a&gt;&lt;/span&gt;        &lt;/li&gt;&lt;/ul&gt;       &lt;h3&gt;&lt;span style="font-size:85%;"&gt;Installing          the script&lt;/span&gt;&lt;/h3&gt;       &lt;ol&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;First            you need to change the file name of your front page. The front page            is the file that visitors to your web site see when they enter &lt;b&gt;http://yoursite.com&lt;/b&gt;.            The current name of this file is probably "index.html", "index.php",            "default.html", or "home.html", but you need to change the name to something            else, i.e. "welcome.html", "front_page.html", "page_1.html" or something            similar. &lt;/span&gt;          &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Load the            script (index.php) into a plain text editor such as KEdit (Linux) or            Notepad (Windows). Edit the variables at the top of the page.&lt;br /&gt;       The $domain variable should be set to the name of your domain. Do &lt;b&gt;not&lt;/b&gt;            include "www.". Do &lt;b&gt;not&lt;/b&gt; include any slashes ("/"). Just write            the domain name, i.e. "yourdomain.com". The $default_page variable should            be set to the file name of the front page of your web site. I.e., if            your front page is located at &lt;b&gt;http://yourdomain.com/welcome.html&lt;/b&gt;,            you should write "welcome.html" here. The $use_frames variable: If you            want to use frames, write "yes" -- otherwise write "no". Have a look            at the &lt;a href="http://www.webdesignhq.com/sitebuilder/manual/sub_readme.html#features"&gt;features&lt;/a&gt; section of this README file and            the &lt;a href="http://www.webdesignhq.com/sitebuilder/manual/sub_readme.html#faq"&gt;FAQ&lt;/a&gt; if you don't understand the difference between            redirection using frames and redirection without using frames. &lt;/span&gt;          &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Use a            FTP program to upload the index.php file to your web site account. The            file should be placed in the document root (this means that you should            be able to call the file by pointing your browser to &lt;b&gt;http://yoursite.com/index.php&lt;/b&gt;).            You don't need to chmod the script since it is not a CGI script. &lt;/span&gt;          &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Now you            can try it out. If it works, you're done. If it doesn't work, check            the &lt;a href="http://www.webdesignhq.com/sitebuilder/manual/sub_readme.html#faq"&gt;FAQ&lt;/a&gt;. &lt;/span&gt;          &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;When you            want to create a new sub domain, just make a directory in your document            root (i.e. &lt;b&gt;http://yoursite.com/newdir&lt;/b&gt;). This will automatically            work as a sub domain (&lt;b&gt;http://newdir.yoursite.com&lt;/b&gt;). Remember that            the name of the directory cannot include CAPITAL LETTERS. If you create            a directory named "Newdir", the sub domain thing won't work. If you            create a directory called "newdir", it will work.&lt;/span&gt;       &lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;         &lt;h3&gt;&lt;span style="font-size:85%;"&gt;FAQ&lt;/span&gt;&lt;/h3&gt;       &lt;span style="font-size:85%;"&gt;&lt;b&gt;When I enter        the URL to my web site, the browser shows a directory listing (a list of        all files in the current directory).&lt;/b&gt;&lt;br /&gt;   You need to add the following line to the .htaccess file:&lt;/span&gt;        &lt;p&gt; &lt;span style="font-size:85%;"&gt;&lt;i&gt;DirectoryIndex          index.php index.html index.shtml index.htm&lt;/i&gt;&lt;/span&gt;        &lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt; See the          .htaccess question in this FAQ if you don't know how to do this.&lt;/span&gt;        &lt;/p&gt;&lt;p&gt; &lt;span style="font-size:85%;"&gt;&lt;b&gt;When          I enter the URL to my web site, the browser shows a white page with a          lot of PHP code.&lt;/b&gt;&lt;br /&gt;     You need to add the following lines to the .htaccess file:&lt;/span&gt;        &lt;/p&gt;&lt;p&gt; &lt;span style="font-size:85%;"&gt;&lt;i&gt;AddType          application/x-httpd-php .php&lt;br /&gt;     AddType application/x-httpd-php3 .php&lt;/i&gt;&lt;/span&gt;        &lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt; See the          .htaccess question in this FAQ if you don't know how to do this.&lt;/span&gt;        &lt;/p&gt;&lt;p&gt; &lt;span style="font-size:85%;"&gt;&lt;b&gt;How do          I edit the .htaccess file?&lt;/b&gt;&lt;br /&gt;     Well, first of all you need to establish whether there's a .htaccess file          in your document root or not. This can be done be performing the following          test: Point your browser to &lt;b&gt;http://yoursite.com/.htaccess&lt;/b&gt; (note          the dot before "htaccess"). If you get a 404 error (File Not Found), there's          no .htaccess file in your document root. However, if you get a 403 error          ("Forbidden"), there's a .htaccess in your document root. If you don't          have a .htaccess file, you will need to make one. Open a text editor,          click "New" and write the necessary lines (the lines are shown elsewhere          in this FAQ). You should not write anything else besides these lines --          no HTML tags, no PHP tags, etc. When you're done writing the file, upload          it to the server and place it in the document root. Perform the test above          to make sure the file has been placed in the right location. If there's          already a .htaccess file in your document root, all you need to do is          load this file into a text editor and add the appropiate lines at the          bottom of the file (the lines you need to write are shown elsewhere in          this FAQ). &lt;/span&gt;        &lt;/p&gt;&lt;p&gt; &lt;span style="font-size:85%;"&gt;&lt;b&gt;What's          the advantages and disadvantages of using frames when redirecting?&lt;/b&gt;&lt;br /&gt;     There's one big advantage to using frames: The location bar in the browser          does not change. I.e., if the visitor enters &lt;b&gt;http://dir.yoursite.com&lt;/b&gt;,          this URL will remain in the location bar even though the real location          is &lt;b&gt;http://yoursite.com/dir&lt;/b&gt;. If you don't use frames, the URL in          the location bar will change to the actual location (&lt;b&gt;http://yoursite.com/dir&lt;/b&gt;          in this example). The disadvantage to using frames is the fact that the          title of the page will not be shown. Instead, the location will be shown          in the title bar. I.e., if the title of the index.html file at &lt;b&gt;http://yoursite.com/dir&lt;/b&gt;          is "My page", then this title will not be shown if you are using frames.          Instead the following title will be shown: "yoursite.com/dir". Another          disadvantage of using frames is the fact that visitors cannot bookmark          the sub pages of the main page. &lt;/span&gt;        &lt;/p&gt;&lt;p&gt; &lt;span style="font-size:85%;"&gt;&lt;b&gt;What's          the difference between the sub domains generated by the Subdomains script          and &lt;i&gt;real&lt;/i&gt; sub domains?&lt;/b&gt;&lt;br /&gt;     The price! "Real" sub domains are expensive. If you were to ask your web          hosting company to create a sub domain for you, the company would have          to change the web server configuration files as well as the DNS server          setup. This will of course cost you a lot of money. And this is just the          price of &lt;i&gt;one&lt;/i&gt; sub domain! With Subdomains you can create as many          sub domains as you want. However, "real" sub domains does have one big          advantage which those created by the Subdomains script don't: With "real"          sub domain, visitors to your web site can enter a URL like this: &lt;b&gt;http://subdomain.yoursite.com/somedir/somepage.html&lt;/b&gt;.          This will not work with the sub domains created by the script -- only          &lt;b&gt;http://subdomain.yoursite.com&lt;/b&gt; will work. If the visitor enters          the URL &lt;b&gt;http://subdomain.yoursite.com/somedir/somepage.html&lt;/b&gt;, he/she          will be redirected to &lt;b&gt;http://yoursite.com/somedir/somepage.html&lt;/b&gt;.      &lt;br /&gt;     &lt;a name="copyright"&gt;&lt;/a&gt;&lt;/span&gt;        &lt;/p&gt;&lt;h3&gt;&lt;span style="font-size:85%;"&gt;Copyright,          etc.&lt;/span&gt;&lt;/h3&gt;       &lt;span style="font-size:85%;"&gt;This script        is released under the terms of &lt;a href="http://www.gnu.org/copyleft/gpl.html" target="_blank"&gt;the        GNU General Public License&lt;/a&gt; (also known as "GPL").&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3367276027905504620-4506529794984550075?l=freephpscripts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://freephpscripts.blogspot.com/feeds/4506529794984550075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3367276027905504620&amp;postID=4506529794984550075' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/4506529794984550075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/4506529794984550075'/><link rel='alternate' type='text/html' href='http://freephpscripts.blogspot.com/2006/09/subdomain-and-htaccess-file.html' title='Subdomain and .htaccess file'/><author><name>eBooks Collector</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3367276027905504620.post-7152768076509045328</id><published>2006-09-21T20:00:00.000-07:00</published><updated>2006-09-21T20:01:10.935-07:00</updated><title type='text'>Website Thumbnail Creators (Website Snapshot Generators)</title><content type='html'>Nowadays a lot of webmasters are looking for a website snapshot tool in order to make data presentation more attractive to their visitors. Examples of usage could be target website thumbnail in the search results, on the product details page, etc. Making website thumbnail manually is a routine process, needs much time, and for big sites can lead to hiring someone dedicated mostly to making website thumbnails for their needs. Below we'll provide some suggestions on automating this process.  Automation can be done in few ways.  &lt;ul&gt;&lt;li&gt;&lt;h3&gt;&lt;span style="font-size:85%;"&gt;1. Grab website thumbnail images from other sites.&lt;/span&gt;&lt;/h3&gt; Some search engines, like http://www.alexa.com, http://www.exalead.com, etc. provide us with website snapshots. Special utility can be written in scripting language (like PHP, Perl, etc.) to grab website image from their search results.  Pros:  &lt;ul&gt;&lt;li&gt;cheap solution&lt;/li&gt;&lt;li&gt;small server load since you do not need to create thumbnails on your server&lt;/li&gt;&lt;/ul&gt; Cons:  &lt;ul&gt;&lt;li&gt;you become dependent on third-party servers&lt;/li&gt;&lt;li&gt;most likely you will only be able to get thumbnail for the top page only. These are not generating thumbnails for subpages.&lt;/li&gt;&lt;li&gt;may slow down your pages load if remote server is performing slow&lt;/li&gt;&lt;li&gt;some of them can ban your IP for this type of activity. Your tool can use anonymous proxies, but it will slow down page load&lt;/li&gt;&lt;li&gt;you will not be able to get website thumbnail if thumbnail was not generated yet on provider's site. This means you will   often receive "No thumbnail" images.&lt;/li&gt;&lt;li&gt;thumbnails are usually of predefined size which may not feet your needs&lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;li&gt;&lt;h3&gt;&lt;span style="font-size:85%;"&gt;2. Use existing website thumbnail creator services/tools.&lt;/span&gt;&lt;/h3&gt; Some website thumbnail/snapshot creator tools are currently available for free. You should place a block of  provided html on your page and it will show thumbnail (hopefully).  The example could be a PHP tool from artViper (&lt;a href="http://www.artviper.com/tools.php" target="_blank"&gt;http://www.artviper.com/tools.php&lt;/a&gt;). It is said that  it's a PHP script utilizing a C++ coded DLL to generate website thumbnail.  Another example of free website thumbnail creator service would be &lt;a href="http://www.websitethumbnails.net/" target="_blank"&gt;http://www.websitethumbnails.net&lt;/a&gt;  Pros: &lt;ul&gt;&lt;li&gt;free (only basic functionality)&lt;/li&gt;&lt;li&gt;small server load since you do not need to create thumbnails on your server&lt;/li&gt;&lt;/ul&gt; Cons:  &lt;ul&gt;&lt;li&gt;you become dependent on third-party servers (sometimes they can be even down)&lt;/li&gt;&lt;li&gt;most likely you will only be able to get thumbnail for the top page only. Mostly these are not generating thumbnails for subpages, need to pay for extra features.&lt;/li&gt;&lt;li&gt;may slow down your pages load if remote server is performing slow&lt;/li&gt;&lt;li&gt;you will not be able to get website thumbnail if thumbnail was not yet generated on provider's site. This means you will often receive "No thumbnail" images.&lt;/li&gt;&lt;li&gt;thumbnails are usually of predefined size which may not feet your needs&lt;/li&gt;&lt;li&gt;need to pay for extra features like true color thumbnails, image format, etc.&lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;li&gt;&lt;h3&gt;&lt;span style="font-size:85%;"&gt;3. Have your own website thumbnail generator utility.&lt;/span&gt;&lt;/h3&gt;  Solution would be to use/write a &lt;acronym title="in C++, Delphi, Python, Java, etc."&gt;custom program&lt;/acronym&gt; which would run on your hosting server, using some &lt;acronym title="IE, Firefox, Mozilla, Opera, etc"&gt;browser&lt;/acronym&gt; to render a website thumbnail. The process would look as follows. &lt;ul&gt;&lt;li&gt;Custom written tool receives request to generate website thumbnail for site-thumbnail.com&lt;/li&gt;&lt;li&gt;It opens browser (as a process invisible to your visitor) on your hosting server, and feeds it with site-thumbnail.com&lt;/li&gt;&lt;li&gt;Grabs website screenshot from browser (i.e. it gets website thumbnail), and saves it as thumbnail for later use.&lt;/li&gt;&lt;/ul&gt;  Pros: &lt;ul&gt;&lt;li&gt;you are not dependent on anyone, full control over thumbnail&lt;/li&gt;&lt;li&gt;fast, since you do not need to go to another server to get thumbnail&lt;/li&gt;&lt;li&gt;relatively cheap solution (think it would be more expensive than solution #1)&lt;/li&gt;&lt;li&gt;can create thumbnail for any page you want, topmost, subpage, etc.&lt;/li&gt;&lt;li&gt;possibility of making it payed service&lt;/li&gt;&lt;/ul&gt; Cons:  &lt;ul&gt;&lt;li&gt;may cause high server load since tool will create thumbnails on your server&lt;/li&gt;&lt;li&gt;may be incompatible with some hostings&lt;/li&gt;&lt;li&gt;hosting which allows such type of activity is usually more expensive&lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3367276027905504620-7152768076509045328?l=freephpscripts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://freephpscripts.blogspot.com/feeds/7152768076509045328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3367276027905504620&amp;postID=7152768076509045328' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/7152768076509045328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/7152768076509045328'/><link rel='alternate' type='text/html' href='http://freephpscripts.blogspot.com/2006/09/website-thumbnail-creators-website.html' title='Website Thumbnail Creators (Website Snapshot Generators)'/><author><name>eBooks Collector</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3367276027905504620.post-203083846104127869</id><published>2006-09-21T19:56:00.000-07:00</published><updated>2006-09-21T20:07:42.763-07:00</updated><title type='text'>Thumbnail Creator / Generator</title><content type='html'>PHP Thumbnail Creator is designed to generate thumbnails from JPG, GIF, or PNG images. Script can save rendered thumbnail as file on your server or output it directly to the browser.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;Requirements:&lt;/b&gt; &lt;ul&gt;&lt;li&gt;PHP 4.0.6&lt;/li&gt;&lt;li&gt;GD 2.0.1 or later&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;b&gt;Features:&lt;/b&gt; &lt;ul&gt;&lt;li&gt;JPG, PNG, GIF image type supported (depends on GD2 library)&lt;/li&gt;&lt;li&gt;Proportional image resize&lt;/li&gt;&lt;li&gt;Create thumbnails from files on the server or from remote images (by URL)&lt;/li&gt;&lt;li&gt;Save thumbnail as file on server, or output directly to the browser&lt;/li&gt;&lt;li&gt;You can override generated thumbnail type. All thumbnails can be of the same type (i.e. all JPG) regardless of the source image type &lt;/li&gt;&lt;li&gt;All thumbnail properties can be controlled via parameters&lt;/li&gt;&lt;li&gt;Supports custom default values (change default values in the script code)&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;b&gt;Sample usage:&lt;/b&gt; &lt;ul&gt;&lt;li&gt;Save created thumbnail on server&lt;br /&gt;http://www.domain.com/thumb.php?src=http://www.test.com/test.jpg&amp;dest=thumb.jpg&amp;amp;x=100&amp;y=50&lt;/li&gt;&lt;li&gt;Output created thumbnail to the browser&lt;br /&gt;http://www.domain.com/thumb.php?src=test.jpg&amp;amp;amp;amp;x=50&amp;y=50&amp;amp;f=0 &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Script can also help you if you need to show few thumbnails based on the same source image but in different sizes, when you cannot afford saving created thumbs on your server for some reason.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Parameters:&lt;/b&gt; &lt;ul&gt;&lt;li&gt;&lt;b&gt;src&lt;/b&gt; - path to source image&lt;/li&gt;&lt;li&gt;&lt;b&gt;dest&lt;/b&gt; - path to save created thumbnail (required only if saving generated thumb to file)&lt;/li&gt;&lt;li&gt;&lt;b&gt;x&lt;/b&gt; - max thumbnail width&lt;/li&gt;&lt;li&gt;&lt;b&gt;y&lt;/b&gt; - max thumbnail height&lt;/li&gt;&lt;li&gt;&lt;b&gt;q&lt;/b&gt; - thumbnail quality (applicable only to JPG, 1 to 100, 100 - best)&lt;/li&gt;&lt;li&gt;&lt;b&gt;t&lt;/b&gt; - thumb type. "-1" - same as source, 1 = GIF, 2 = JPG, 3 = PNG&lt;/li&gt;&lt;li&gt;&lt;b&gt;f&lt;/b&gt; - save to file (1) or output to browser (0).&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;b&gt;Note:&lt;/b&gt; this tool cannot create website snapshots. Read following article on how to generate website thumbnails: &lt;a href="http://freephpscripts.blogspot.com/2006/09/website-thumbnail-creators-website.html" title="Website Thumbnails Generation Services"&gt;Website Snapshot / Thumbnail Creators&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.esnips.com/doc/576de792-65eb-4e96-a378-0d456dd3de59/thumb.rar" title="Download sources" onclick="javascript:urchinTracker ('/downloads/thumbnail-generator.php'); "&gt;Download Thumbnail Creator / Generator&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;a href="http://www.text-link-ads.com/?ref=29333"&gt;&lt;img src="http://www.text-link-ads.com/images/text_link_ads_C_468x60.gif" alt="Text Link Ads" border="0" /&gt;&lt;/a&gt;&lt;/center&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3367276027905504620-203083846104127869?l=freephpscripts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://freephpscripts.blogspot.com/feeds/203083846104127869/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3367276027905504620&amp;postID=203083846104127869' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/203083846104127869'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/203083846104127869'/><link rel='alternate' type='text/html' href='http://freephpscripts.blogspot.com/2006/09/thumbnail-creator-generator.html' title='Thumbnail Creator / Generator'/><author><name>eBooks Collector</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3367276027905504620.post-5335239468814188894</id><published>2006-09-21T02:53:00.000-07:00</published><updated>2006-09-21T03:06:58.169-07:00</updated><title type='text'>cPanel Email Account Creator</title><content type='html'>Create new email accounts on cPanel based hosting with just typing all the required data in URL. No need to login to cPanel. Provide cPanel login and password once, and just use this script each time you need new email account.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Usage:&lt;/b&gt; &lt;ul&gt;&lt;li&gt;Update script with your cPanel login, password, skin (once)&lt;/li&gt;&lt;li&gt;When running script to create new email account, provide following data:&lt;/li&gt;&lt;li&gt; &lt;ul&gt;&lt;li&gt;user - new account name&lt;/li&gt;&lt;li&gt;pass - password for new email account&lt;/li&gt;&lt;li&gt;domain - email domain (optional)&lt;/li&gt;&lt;li&gt;quota - email quota in megabytes (optional)&lt;/li&gt;&lt;/ul&gt; &lt;/li&gt;&lt;/ul&gt;  &lt;b&gt;Sample:&lt;/b&gt;&lt;br /&gt;cpemail.php?user=newuser&amp;pass=password&amp;amp;quota=50&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.esnips.com/doc/5d64bbf6-15ff-40fd-9392-7af8928d3912/cpemail.rar"&gt;Download cPanel Email Account Creator&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3367276027905504620-5335239468814188894?l=freephpscripts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://freephpscripts.blogspot.com/feeds/5335239468814188894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3367276027905504620&amp;postID=5335239468814188894' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/5335239468814188894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/5335239468814188894'/><link rel='alternate' type='text/html' href='http://freephpscripts.blogspot.com/2006/09/cpanel-email-account-creator.html' title='cPanel Email Account Creator'/><author><name>eBooks Collector</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3367276027905504620.post-1507847188271663368</id><published>2006-09-21T02:39:00.000-07:00</published><updated>2006-09-21T02:47:53.648-07:00</updated><title type='text'>Smart File Download</title><content type='html'>Use Smart File Downloader to avoid direct files downloads (hide real file paths), and to limit downloads to only some set of file types.&lt;br /&gt;Features:&lt;br /&gt;&lt;br /&gt;    * customizable allowed file types for download&lt;br /&gt;    * predefined mime type settings for following extensions: zip, pdf, doc, xls, ppt, exe, gif, png, jpg, mp3, wav, mpeg, mpg, mpe, mov, avi&lt;br /&gt;    * Script can log downloads in plain text file. Log file includes: IP, date/time, filename. Can turn this feature on/off.&lt;br /&gt;    * automatic mime type detection (if Mimetype or Fileinfo extension installed on the server)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Usage:&lt;br /&gt;&lt;br /&gt;    * Unzip script to some folder&lt;br /&gt;    * Update download.php with your desired settings for base downloads folder, downloads log file name, allowed file types&lt;br /&gt;    * Use following syntax for downloads: download.php?f=FileName&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sample download link:&lt;br /&gt;_http://path/to/script/download.php?f=phptutorial.zip&lt;br /&gt;&lt;br /&gt;Note:&lt;br /&gt;Make sure you set write permissions on the folder where downloads log is saved if you turned downloads log feature on. Otherwise you may experience file access permissions issues (log file will not be created/updated).&lt;br /&gt;All files for download must be placed in the download folder you specified in the script settings.&lt;br /&gt;&lt;br /&gt;Download Code for &lt;a href="http://www.esnips.com/doc/d1c15dad-45d7-4439-849d-ea56ed94f54c/download.rar"&gt;SmartFile Download&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3367276027905504620-1507847188271663368?l=freephpscripts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://freephpscripts.blogspot.com/feeds/1507847188271663368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3367276027905504620&amp;postID=1507847188271663368' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/1507847188271663368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/1507847188271663368'/><link rel='alternate' type='text/html' href='http://freephpscripts.blogspot.com/2006/09/smart-file-download.html' title='Smart File Download'/><author><name>eBooks Collector</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3367276027905504620.post-2948819101752032162</id><published>2006-09-20T00:23:00.000-07:00</published><updated>2006-09-20T00:25:03.293-07:00</updated><title type='text'>cPanel Database Creator</title><content type='html'>cPanel does not allow you to create databases directly from MySQL/PhpMyAdmin on cPanel webhosting. You would have to login to cPanel and use its interface to create database each time you need a new one.&lt;br /&gt;cPanel Database Creator will make this process much easier. In order to create a database on your hosting server you just need to run this script from browser, shell, or cron job, passing database name as parameter.&lt;br /&gt;&lt;br /&gt;Before using this script you will need to update it with cPanel username, password, and host name (domain or IP).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Usage:&lt;/b&gt; cpanel_create_db.php?db=&lt;i&gt;database-name&lt;/i&gt;&lt;br /&gt;where &lt;i&gt;database-name&lt;/i&gt; should be replaced with a database name to be created on your hosting server.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Note:&lt;/b&gt; script requires cURL installation on the server. Default cURL path is set to /usr/bin/curl. Feel free to change it in the script code if cURL path is different on your hosting server.&lt;br /&gt;&lt;a href="http://www.esnips.com/doc/df15d4c3-dca3-4c56-803e-4828c73b8ad7/cPanel_create_db.rar"&gt;&lt;br /&gt;Download Source Code Create DB&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3367276027905504620-2948819101752032162?l=freephpscripts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://freephpscripts.blogspot.com/feeds/2948819101752032162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3367276027905504620&amp;postID=2948819101752032162' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/2948819101752032162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/2948819101752032162'/><link rel='alternate' type='text/html' href='http://freephpscripts.blogspot.com/2006/09/cpanel-database-creator.html' title='cPanel Database Creator'/><author><name>eBooks Collector</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3367276027905504620.post-1108009047991422645</id><published>2006-09-20T00:22:00.000-07:00</published><updated>2006-09-20T00:23:18.363-07:00</updated><title type='text'>Determining the cPanel Theme/Skin</title><content type='html'>Webmasters are often looking for cPanel tools like &lt;a href="http://freephpscripts.blogspot.com/2006/09/cpanel-database-creator.html" title="cPanel Database Creator"&gt;cPanel Database Creator&lt;/a&gt;,  or &lt;a href="http://freephpscripts.blogspot.com/2006/09/cpanel-subdomains-creator.html" title="cPanel Subdomains Creator"&gt;cPanel Subdomains Creator&lt;/a&gt;,  to simplify or automate some things on cPanel webhostings.&lt;br /&gt;&lt;br /&gt;Usually these tools require cPanel theme, and will not work correctly if wrong cPanel theme is specified. Mostly cPanel skin is "x", but yours may be different.&lt;br /&gt;&lt;br /&gt;Some scripts/tools will not even ask you for a cPanel theme/skin. They use some hard coded theme name, which may differ from the one you have installed on your hosting server. In this case you may edit script code. Its simple. Just find "/frontend/" string in such script and replace theme value (see below) with the correct one.&lt;br /&gt;&lt;br /&gt;Try following steps if you do not know what your current cPanel theme is.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Login to your cPanel account&lt;/li&gt;&lt;li&gt;Look at the URL in your browser. It would look somewhat similar to &lt;b&gt;http://www.yourdomain.com:2082/frontend/x/index.html&lt;/b&gt;&lt;/li&gt;&lt;li&gt;cPanel theme name is everything after the "/frontend/", and before the next "/". In above example cPanel theme is "x". It could be "x2", "rvblue", etc.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3367276027905504620-1108009047991422645?l=freephpscripts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://freephpscripts.blogspot.com/feeds/1108009047991422645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3367276027905504620&amp;postID=1108009047991422645' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/1108009047991422645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/1108009047991422645'/><link rel='alternate' type='text/html' href='http://freephpscripts.blogspot.com/2006/09/determining-cpanel-themeskin.html' title='Determining the cPanel Theme/Skin'/><author><name>eBooks Collector</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3367276027905504620.post-7946872975725409265</id><published>2006-09-19T17:33:00.000-07:00</published><updated>2006-09-19T17:35:33.204-07:00</updated><title type='text'>cPanel Subdomains Creator</title><content type='html'>&lt;b&gt;Input:&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;cPanel account username&lt;/li&gt;&lt;li&gt;cPanel account password&lt;/li&gt;&lt;li&gt;cPanel skin (see  &lt;a href="http://freephpscripts.blogspot.com/2006/09/determining-cpanel-themeskin.html" title="Determining your cPanel Theme/Skin"&gt;Determining your cPanel Theme/Skin&lt;/a&gt; for more info on how to determine cPanel skin)&lt;/li&gt;&lt;li&gt;list of subdomains to be created in the plain text file (if creating from file)&lt;/li&gt;&lt;li&gt;Parent domain (can create subdomains for different domains when creating from file)&lt;/li&gt;&lt;/ul&gt; Update program header with above settings and script is ready to use.  &lt;b&gt;Usage:&lt;/b&gt; (you can use this script in either way)&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Open script in browser and fill the form data&lt;/li&gt;&lt;li&gt;Pass all information via URL (form will not appear in this case)&lt;br /&gt;Example: cpanel_subdomains.php?cpaneluser=USER&amp;cpanelpass=PASSWORD&amp;amp;domain=DOMAIN&amp;subdomain=SUBDOMAIN &lt;/li&gt;&lt;li&gt;List all subdomains to be created in the plain text file&lt;/li&gt;&lt;/ul&gt;  &lt;b&gt;Note:&lt;/b&gt;  If script cannot find file with subdomains and no parameters passed via URL then it will show input form.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.esnips.com/doc/35e8f364-954f-45c1-a7ec-54cbc9b520d1/cpanel_subdomains.rar" title="Download sources"&gt;Download cPanel Subdomains Creator&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3367276027905504620-7946872975725409265?l=freephpscripts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://freephpscripts.blogspot.com/feeds/7946872975725409265/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3367276027905504620&amp;postID=7946872975725409265' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/7946872975725409265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3367276027905504620/posts/default/7946872975725409265'/><link rel='alternate' type='text/html' href='http://freephpscripts.blogspot.com/2006/09/cpanel-subdomains-creator.html' title='cPanel Subdomains Creator'/><author><name>eBooks Collector</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
