note 101699 added to language.variables.scope

From: Date: Wed, 05 Jan 2011 23:39:08 +0000
Subject: note 101699 added to language.variables.scope
Groups: php.notes 
Request: Send a blank email to php-notes+get-175472@lists.php.net to get a copy of this message
I think the below post also applies to some versions of Zend AMF. I was struggling forever to figure this out and finally tried the $GLOBALS["filename"] = $filename approach, and it worked for me. This happens on one of my machines, on which I installed Zend AMF a few months before my most recent machine. The globals worked fine when calling the PHP script directly from a browser, but when I called the function from my Flash project, which uses Zend AMF to interface with the PHP script, I was seeing this problem, but the below solution solved it for me. ---- Server IP: 69.147.83.197 Probable Submitter: 72.240.63.227 ---- Manual Page -- http://www.php.net/manual/en/language.variables.scope.php Edit -- https://master.php.net/note/edit/101699 Del: integrated -- https://master.php.net/note/delete/101699/integrated Del: useless -- https://master.php.net/note/delete/101699/useless Del: bad code -- https://master.php.net/note/delete/101699/bad+code Del: spam -- https://master.php.net/note/delete/101699/spam Del: non-english -- https://master.php.net/note/delete/101699/non-english Del: in docs -- https://master.php.net/note/delete/101699/in+docs Del: other reasons-- https://master.php.net/note/delete/101699 Reject -- https://master.php.net/note/reject/101699 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#175472) next »