Posts Tagged ‘code

Inline function

In: Web Hosting

1 Sep 2010

What do you mean by inline function? lynxus replied: inline code? ie randomly in a php html file.. No idea other wise? Some html <?php echo "hello"; ?> Some html jwebhost replied: Wrong section of the forum? For more information click here.

Hey guys, my server is always loaded around 100-200 load always, dunno wats the problem. My server specs Code: Intel Dual Xeon Nehalem E5220 12GB RAM 1TB HDD M using worker module n fastcgi Settings: Code: MaxClients 1500 StartServers 150 MinSpareServers 50 MaxSpareServers 100 ThreadsPerChild 64 MaxRequestsPerChild 5000 Dis is affecting the load time of [...]

hi when i tried to log off the other user that’s in the server i got this message how can i fix this? and how did he do it anyway so people can’t log him off? net replied: Moved > Hosting Security and Technology. activelobby4u replied: Are you logging in as a user with non [...]

[root@dedi1 /]# mysql -u root -p Enter password: ERROR 1040 (HY000): Too many connections [root@dedi1 /]# how to solve the problem? My site also show this message. here /etc/my.cnf Code: [mysqld] #datadir=/var/lib/mysql #socket=/var/lib/mysql/mysql.sock user=mysql local-infile=0 skip-innodb query_cache_size=64M thread_cache_size=4 table_cache=768 join_buffer_size=8M key_buffer_size=64M # Disabling symbolic-links is recommended to prevent assorted security risks symbolic-links=0 # To enable [...]

I’ve got a really odd problem. I deleted about 400,000 small thumbnails from my server but didn’t gain any hard drive space back. Does anyone have any idea where the files may have gone to? Or something I should try to find out what happened to them? Thanks tix3 replied: How did you deleted them [...]

Hi there mysql techs. I have a q9550 server with 8GB RAM and 500×2 SATA. I’m running couple of busy websites on it ( Averaging 500K+ Hits per day. ) One of the website is a video sharing website which is using clipshare. It has video embed enabled and recently i have seen a huge [...]

Hi, How to convert this .htaccess file to lighttpd rewrite rule ? PHP Code: RewriteEngine on RewriteRule ^([^/.]+)$ $1.php [L] RewriteRule ^([^/.]+)-view/?$ category.php?id=$1 [L] RewriteRule ^files/([^/]+)/([^/]+)/$ - [F,L] RewriteRule ^files/([^/]+)/$ - [F,L] RewriteRule ^files(/?)$ - [F,L] RewriteRule ^([^/.]+)/([^/.]+)/([0-9]+)(/?)$ index2.php?files=$1&files=$2&page=$3 [L] RewriteRule ^([^/.]+)/([^/.]+)(/?)$ index2.php?files=$1&files=$2 [L] RewriteRule ^([^/.]+)(/?)$ index2.php?files=$1 [L]  For more information click here.

hi, i get udp ddos attack. tcpdump output Code: 04:54:26.034439 IP 147.35.58.30.50217 > myip.myport: UDP, length 5 04:54:26.034489 IP 107.23.3.57.54891 > myip.myport: UDP, length 5 .. tons like that sender ip and port are random. so i need to block lenght 5 , i try some iptables command but not drop that. Code: iptables -A [...]

Mostly I’d like to find out if other persons are experiencing the same difficulties as I am. I have been very happy about Hetzner for some time and I am associated with companies having a total of more than 15 servers at Hetzner.. But now there’s trouble and they pretty much refuse to help. One [...]