Web Masters Site All For Web Masters

29Apr/080

PHP File Upload

This is small example for beginners, how to upload files with PHP, this method is very simple and it can be used at every server which supports PHP. We will use 2 files upload.html, and upload.php, by default files uploaded in /upload directory, make sure that upload directory is writable.

upload.html

<html>
<body>
 
      <form action='upload.php' method='post' enctype='multipart/form-data' />
      <input type='file' name='filename' /><br />
      <input type='submit' value='submit' /><br />
      </form>
 
</body>
</html>

upload.php

<?
//Test file size which must not be more then 3MB
if($_FILES['filename']['size'] > 1024*3*1024)
{
echo "File is more then 3MB!";
exit;
}
 
//Test File Input
if($_FILES['filename']['name'] == ''){ 
 
echo "You must browse the file!";
 
}else{
 
//If file pointed start Upload In /upload Path
 
if(move_uploaded_file($_FILES['filename']['tmp_name'], "upload/" .$_FILES['filename']['name'])){ 
         	echo "File Uploaded!";
}else{
        	echo "Can't upload file!";
}// End of Upload Code
 
}
 
?>
Filed under: PHP, Programming No Comments
21Apr/080

Why Dedicated Hosting?

If you're reading this article, you might be interested in getting a dedicated server, or simply learning more about dedicated hosting services.

First of all, please note, that a dedicated server is rather expensive service, and you shouldn't waste your money if you don't plan to use it in full measure.

But if you really have a serious website, and want to run a successful business - you cannot do it without a dedicated server.

Of course it's just mere words, so let's enumerate the facts!

Freedom and security

Dedicated server will give you a freedom. You will not need to share it with other websites. It will also give you additional 3rd party security for your site and emails. A dedicated server will allow you deep access to your server to configure and optimize your server anyway you need. You're able to choose the software to install.

Power and functionality

With a dedicated server you get on average 50-100 Gb of hard drive, plus about 1,000 Gb of data transfer. You may customize the configuration and choose any CPU, RAM, or whatever you need. A dedicated server reduces your dependency on the web host; and bypasses time delays and possible expenses incurred from these.

Respectability

You simply CAN NOT run a popular website on a shared hosting. It's not serious.

Summary

If your website turned into a popular and reliable resource; if you have tons of daily visitors; if you work B2B; if you need additional security and functionality, power and freedom - go ahead and buy a dedicated server. Don't be sorry about the money you spent! Think about the future!

11Apr/080

Unlimited Web Hostings

Many people needs good hosting for his small or big business, I needed it too and was searching for unlimited web hosting and I found several good companies which presenting unlimited web hosting plans. I have tested several of them and i will write what I think lets start

6Apr/080

Coppermine Photo Gallery 1.4.16

Coppermine is a multi-purpose fully-featured and integrated web picture gallery script written in PHP using GD or ImageMagick as image library with a MySQL backend.

Filed under: Scripts Continue reading
6Apr/082

Adsense Banned Me

There are many web masters which is banned by adsense system. I have not been banned but I know peoples who has been banned, of curse they are telling that they have not made anything illegal, but how I know google will not bane you with no reasons, thousand of web masters are registered in adsense program and they are working with them with no problems. I know people who uses adsense many years. I'll tell you how to protect yourself from account cancellation and what you must to do if your account banned...

Filed under: Adsense Continue reading
2Apr/080

WordPress 2.5

New version of popular blog system, fully changed Administration design.

Filed under: Scripts Continue reading
31Mar/080

Good Keywords v2.01

This software searching key words which is most popular in search engines, it is total free, if you want to find some most searched keywords, this soft will help you.

Filed under: SEO Continue reading
31Mar/080

Ultimate Web 2.0 Layer Styles

This is pack of web 2.0 layer styles, you can use it to create logos, headers, buttons and much more, there are 131 ready layers. Enjoy

Filed under: Web 2.0 Continue reading
30Mar/080

Flash & W3C

W3C & Flash

Few days ago, I was worked on design of my site, I wanted to include flash slide show into it, I added flash normally. my work was perfect, everything worked fine, but W3C has founded some error in my site, this errors were because of flash <embed> element, later I have read this blog http://alistapart.com/articles/flashsatay, here is written about, one of the most used and popular technique, how to add flash movie in your content with W3C specification.
This technique is simple, <embed> element was created by Netscape, it’s not part of the XHTML specification and because of that W3C has found there errors. We can remove <embed> element and all will be ok there will be no errors, but movie will be displayed only in IE, not in Mozilla or Netscape what to do ? here is example

29Mar/083

PR (Page Rank)

If you starter web master and you don't know what is PR(Page Rank), here is minimal description of it, PR is popularity of web site, which measured from 1 to 10 ,if some other site linking at your site, your popularity will growing and with him Page Rank. this is like a vote, if you want for the president one of the candidate you will vote for him, this vote will help your candidate to win, like this is PR, if at your site linking web pages they are voting for you at Google.

The name PageRank is a trademark of Google. this system is most popular in search engines, If you get high listing in Google, you'll get high listing at other search engines to. this is small review of PR if you will have some questions feel free to comment and I will be glad to help you…

Filed under: SEO 3 Comments