background preloader

Programmierung

Facebook Twitter

PHP, eval, and HTTP response codes | tech.superhappykittymeow.com. The PHP eval() function is an odd beast. I've encountered this a few times before, wherein a site will display just fine, but Google won't index it, and if you review the headers for the page (using curl or telnet), you'll see that instead of the expected 200 OK response, you'll get a "HTTP/1.0 500 Internal Server Error" — bad juju for all of your hard SEO work. Taking a look at the site's error_log may reveal a PHP error — often a syntax error or some such. However, the line of code to which it refers is just an eval() statement for an included file.

If the eval'd code has an error, the code running the eval statement will work just fine; however, because of the error in the eval'd code, the response code header will return a 500. The ideal solution is to fix the code that is being eval'd. The hackish way, which I prefer because I'm lazy, is to do something terrible such as: The response code will now be 200 and Google will be happy; however, the problem isn't *really* solved…

Html

VBA. Top 50: Gratis-Tool von Microsoft - Bilder. Periodic Table of the Elements - Josh Duck. True Font Family - Use TrueType web fonts on any type of website without Flash using PHP, JavaScript and CSS. FAQ. How to install a font under Windows? How to install a font under Mac OS? How to install a font under Linux? How to use a new font with a software? How to use a font for a web site? Why the fonts don't show up in e-mails / instant messengers? How many fonts can be installed? Why aren't stressed characters or numbers included? Nothing is working! How to create my own font? I've submitted my font, how long will it take to be published? Can I download all the fonts of this website in a single zip? Are all the fonts free of charge? Your question isn't answered here? How to install a font under Windows?

Extract the files you have downloaded. There are some videos on YouTube if that helps. Tip (for Windows XP/Vista, not Windows 7/8): if you occasionally need a font, you don't need to install it. How to install a font under Mac OS? Mac OS X recognizes TrueType and OpenType fonts (.ttf and .otf) but not the PC bitmap fonts (.fon). How to install a font under Linux? How to use a new font with a software?

TYPO3

Javascript.