If i have virus on my computer...and i upload those php files to webserver.. because of the virus is it possible that it eats up all the server resources and make the cpu goes 100%?
No. Unless the server computer has a virus (very rare). PHP files are not read in the same way as EXE files and thus a virus would just show up as plan text if it infected a PHP file.
Anything's possible given the right conditions. It's unlikely that there's a bonified virus piggybacking your PHP files, though stranger things have happened. If anything, it would probably be a purposely poor written script designed to run through endless, worthless loops creating and deleting megs worth of garbage data. If you save a copy of the file with all of the characters removed so essentually it should be an empty file, and then you look at that copy through something like Explorer and it has a non-zero filesize, there may be something piggybacking the file. If that size is only 3 bytes, it's probably just a UTF-8 signature though and no cause for concern. It would be nice to see a copy of the file in question, that way poorly written script can be ruled out.
the problem is any phpscript i upload to the dedicated server it reacts to it cpu goes high...... when they kill my account server goes to normal..... How to Deal with that?