View Single Post
Old 03-23-2009, 06:17 PM  
Tempest
Too lazy to set a custom title
 
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
Quote:
Originally Posted by V_RocKs View Post
This code used to work... Then my host upgraded my PHP and now it lo longer works... Pooh pooh!

Code:
if ($cmd == 'go' && ($url && $title && $blogs && $types))

The variables $url, $title, $blogs and $types all are arrays.

Again, this used to work yesterday.... Now it doesn't.

PHP was 5.2.5 and is now 5.2.9.
You should also write the code cleaner by using things like isset($url) instead of the way you're doing it.. Doing it the way you're doing it is going to be throwing a lot of errors you just don't see (unless you set the error reporting higher) but that could very well be being logged to the server error log. I learned that the hard way when I had a log filling up my disk space on a small virtual acount.

By the way.. If you ever want to source out your programming, I'd be interested in doing some of your stuff..
Tempest is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote