Monday, October 26, 2009

Apple Safari error exception 0xc000000005

I tried to open Safari and it would close and give me an error. It would not stay open for more than 30 seconds.

Running XP SP3

To fix, I had to uninstall safari and delete all history, temp, source files from my harddrive. Uninstalling did not do this. I had to do it manually.

Afterwards, Safari works.

Thursday, October 22, 2009

PHP, Print all $_Post/$_Get Variables

To print all the (Post and Get) variables do...

print_r($_GET);
print_r($_POST);

Wednesday, October 14, 2009

PHP5 and Apache 2

Put the php.ini file in ../Apache2/;


php.ini

doc_root = "C:\Apache\Apache\htdocs\"


httpd.conf

LoadModule php5_module C:/php/php5apache2.dll
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps