Category : webserver

So, i’ve uploaded the simpliest form possible for debugging, and i’ve come to the conclusion there’s something wrong with my webserver in hostgator. I have the following form: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> <form action="backend.php" method="post"> <input name="name" type="text" placeholder="Nome"> <input name="lastName" type="text" ..

Read more

The example.org.za site is down, yesterday I just spoke to the hosting company and they say too many PHP slots are open. They restarted the site, but the PHP process fills up immediately. Which slots effect in my webserver or Opencart(PHP). I don’t know. How is it’s the possible solution for me Thank you Source: ..

Read more

I have a virtual random image using .htaccess file: # .htaccess <Files random.jpg> RewriteEngine On RewriteRule ^(.+)$ /random-image.php [QSA,L] </Files> and the following PHP: <?php // random-image.php $images=glob("images/*.jpg"); $image=imagecreatefromjpeg($images[array_rand($images)]); header(‘Content-Type: image/jpeg’); imagejpeg($image); ?> and in HTML: <img src="random.jpg"> This works well enough, but the browser has an annoying habit of caching the images, so I ..

Read more