bloody error
hope something here may help you...
  • Home
  • Apache
  • C++
  • Linux
  • Mac OS X
  • Networking
  • PHP
  • Tips
  • Windows
Browse: Home / PHP

PHP

PHP : get Request protocol Http or HTTPS

By Jeevan on September 18, 2009

How to get Requested protocol Http or HTTPS in PHP? This function will return True if HTTPS when called… is_https() { return strtolower(substr($_SERVER["SERVER_PROTOCOL"],0,5))==’https’? true : false; } is_https() { return strtolower(substr($_SERVER["SERVER_PROTOCOL"],0,5))==’https’? true : false; }

Posted in PHP | Tagged code, PHP, protocol | Leave a response

Plesk 9.2.1 FastCGI Apache Error

By Jeevan on July 4, 2009

First of All This solution is for Linux based OS. I did it on centOS 4 x64 Running Plesk 9.2.1. Well, If you every come across the FastCGI issue with Plesk Apache and looking for a solution, I’m sure following could help you a lot. Problem occurs when you set-up a Domain to Run PHP [...]

Posted in Apache, Linux | Tagged administrator, Apache, PHP, PHP FastCgi, plesk, server | Leave a response

PHP URL Validate using RegEx

By Jeevan on June 6, 2009

After going through lots and lots of url validation scripts, I come across this wonderful and easy RegEx validation script works perfectly. This information has been posted in phpcentral by fqa. Amazingly author has also given detailed information for switching how a URL should be. For example, http://localhost is a VALID URL and you may [...]

Posted in PHP | Tagged PHP, RegEx, URL validate, URL validator | Leave a response



Recent Comments

  • Lola on Split & Concat Snow Leopard Error : (-2753) The variable thePanel is not defined
  • fares on Object doesn’t support this property or method
  • ashish on Installing Windows XP over Linux Fedora Core over Windows Vista
  • Cameron on Split & Concat Snow Leopard Error : (-2753) The variable thePanel is not defined
  • Jeevan on Unix shell command to Detect DDoS attack

Tags

.htaccess administrator Apache Apple Mac bootloader boot loader C++ command Dual boot Error Fedora Core GRUB hosts httpd IE8 install installation Internet Explorer Leopard Linux Mac OS X MBR MFC Microsoft moving domain network OS X PHP programming redirect RegEdit RegEx Rescue server shell Snow Leopard URL validate URL validator Vista Visual Studio VS VS 2005 Windows Wizard XP

Copyright © 2010 bloody error.