Well the title says it all. The reason I ask is b/c I am studying PHP via a text book for PHP 5.0.. I am using text wrangler as my editor. I noticed that when I plug in some codes from the book I get errors like this:
Notice: Undefined index: add in /Library/WebServer/Documents/test/untitled.php on line 35
Notice: Undefined index: update in /Library/WebServer/Documents/test/untitled.php on line 49
Notice: Undefined index: clear in /Library/WebServer/Documents/test/untitled.php on line 65
However, when I upload it to my hosting account via Just Host's cpanel, I do not get the errors. I know Just Host's current PHP version installed on the server is 5.2.14. I am assuming I must be running something older on my mac. Any help with this and how to ugrade it to the latest version would be great. I have an iMac that is only about 1 1/2 years old. Currently running version 10.5.8. Figured I needed to note that. Thanks
Notice: Undefined index: add in /Library/WebServer/Documents/test/untitled.php on line 35
Notice: Undefined index: update in /Library/WebServer/Documents/test/untitled.php on line 49
Notice: Undefined index: clear in /Library/WebServer/Documents/test/untitled.php on line 65
However, when I upload it to my hosting account via Just Host's cpanel, I do not get the errors. I know Just Host's current PHP version installed on the server is 5.2.14. I am assuming I must be running something older on my mac. Any help with this and how to ugrade it to the latest version would be great. I have an iMac that is only about 1 1/2 years old. Currently running version 10.5.8. Figured I needed to note that. Thanks