Page 1 of 1

Suspended website because of a .php file :(

Posted: Fri Nov 18, 2011 1:13 pm
by andreysc7
Hi,

Recently my website was suspended because of a file called thumb.php . They said that this file have many requests on their server and it cause huge waste of bandwidth (even if they said that the bandwidth is unlimited - lies) . Can anyone help me to modify this file ? Please.

The website with this file is http://www.hainutze.com

here you have the php file http://pastebin.com/vBnNNb24

If this cannot be made from that file ? what should I do ? I need to use some images with a lower resolution ?

Re: Suspended website because of a .php file :(

Posted: Fri Nov 18, 2011 2:27 pm
by Benjamin
It's likely the cache directory doesn't exist or isn't writable. In this case the script would have been resizing every image requested on every page request. So, that's probably the problem.

Re: Suspended website because of a .php file :(

Posted: Sat Nov 19, 2011 3:12 am
by andreysc7
so, is there anything that I can do :-/ ?

Re: Suspended website because of a .php file :(

Posted: Sat Nov 19, 2011 5:07 am
by Benjamin
Fix it.

Re: Suspended website because of a .php file :(

Posted: Sat Nov 19, 2011 5:14 am
by andreysc7
how? I am a 3D designer, not a coder :( . If you know how to fix it , can you help me? I will pay you if its necessary

Re: Suspended website because of a .php file :(

Posted: Sat Nov 19, 2011 6:43 am
by Benjamin
In the same directory as the script, create a directory called cache, then use your FTP client to chmod the permissions to 777.

Re: Suspended website because of a .php file :(

Posted: Sat Nov 19, 2011 6:55 am
by andreysc7
there already is a directory called "cache" and the permission already was 777 :( . Do you have another solution ?