Re: [PHP] Re: Is it possible to create a global namespace alias?

2010-10-05 Thread David Harkness
On Tue, Oct 5, 2010 at 8:41 AM, Matt Palermo wrote: > I'm assuming there is no way to make a global alias. Can anyone > confirm/deny this? > I reread the documentation on namespaces, and from what I can tell this is no way to do it. Each file maintains its own active namespace *at compile time*

[PHP] Re: Is it possible to create a global namespace alias?

2010-10-05 Thread Matt Palermo
I'm assuming there is no way to make a global alias. Can anyone confirm/deny this? ""Matt Palermo"" wrote in message news:5e7b8989448b45dbbeeb6fb89b3f3...@rachet... Is it possible to create a global namespace alias in PHP or does the alias have to be defined in EVERY file that I use? H

[PHP] Re: Is it possible to get the name of the top most calling script?

2007-06-10 Thread Al
If the scripts are using a common file, [e.g., config, functions, etc.] you could define two constants. define("ORG_FILE", __FILE__); define("ORG_LINE", __LINE__); barophobia wrote: Hello, I know that __FILE__ and __LINE__ report on the file and line that they occur in. What I want is to be ab

[PHP] Re: Is it possible to use header() to POST form data?

2005-12-15 Thread Gustavo Narea
Hello. pw wrote: Does anyone know if it's possible to use the header() function to POST form data to a URL? If so what syntax needs to be used? I guess you cannot use the header() function in that way. Take a look at the header() documentation . What do you need to d

[PHP] Re: Is it possible to get the whole address (including http:// ) ?

2005-04-21 Thread Jason Barnett
Labunski wrote: > Hello, > > I know for example how to get http vars or basename, but this time I need to > get the whole address, including http:// . > > Is it possible? > > > Thanks in advance, > Lab. http://php.net/reserved.variables -- Teach a man to fish... NEW? | http://www.catb.org/~esr

[PHP] Re: Is it Possible?

2005-02-04 Thread Jason Barnett
Sagar C Nannapaneni wrote: I'm calling a php script with tag for ex: http://localhost/test.php?img=asfd";> and the test.php is as follows... test.php --- Theres no problem with this..its working fine. But i want to return some text(or Html

[PHP] Re: Is it possible...

2002-07-27 Thread Lars Olsson
No. Since PHP is executed on the server, the only thing that is sent to the browser is pure HTML (and client-sided scripts like JavaScript). This means you cannot just get the source code of a PHP page by just browsing it. /lasso ([EMAIL PROTECTED]) Apollo wrote: > Is it possible download p

[PHP] Re: Is it possible...

2002-07-27 Thread lallous
You can't download a script when it is being parsed. If it is not going to be parsed you can download it as text. as for php.net , they have got a button on their site called: showsource click it and have the source of any page you want, "Apollo" <[EMAIL PROTECTED]> wrote in message [EMAIL PR