Hello, I'm new to PHP and I have several PHP pages that were working fine until the admins changed register_globals = On to register_globals = Off. Now all of my PHP pages are broken. I looked through all of my PHP reference books and did a google search, but I couldn't find anything helpful. So I thought I'd ask here. Below is an example PHP page that is broken, can someone show me how to fix? That way I can see the changes in something I somewhat understand.
---cut-here--- <? $agent_info = $HTTP_USER_AGENT . "\t" . $REMOTE_ADDR . "\t" . date("M d, Y H:i:s") . "\n"; $fp = fopen("/home/rbf/public_html/output.txt", "a"); fwrite($fp,$agent_info); fclose($fp); ?> ---cut-here--- This is just a simple bit of PHP that logs the users web browser and ip address. TIA! Ron -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]