Re: [PHP] Global or include?

2011-01-06 Thread Sándor Tamás
In that case you should use include_once in every script. But if you are absolutely sure that all scripts will be processed, you can include it only in one of them, because PHP - in short terms - does a file include, so it will look like as the included file is part of the script. The global ke

Re: [PHP] export from one server to another

2010-06-15 Thread Sándor Tamás
I'd use the POST method in HTTP. With this, on a simple page you can read the XML file, and through the POST method, you can reach it. You can put the XML in a POST variable, but you can also use File input control in HTML to read and upload the file. You don't have to use FTP. SanTa 2010.06.

Re: [PHP] Execution order of PHP

2010-03-10 Thread Sándor Tamás
2010.03.10. 14:41 keltezéssel, Bob McConnell írta: From: Auke van Slooten In a hobby project I'm relying on the order in which the following piece of PHP code is executed: $client->system->multiCall( $client->methodOne(), $client->methodTwo() ); Currently PHP always