[PHP] Constant Scope

2006-02-26 Thread Adrian Cid Almaguer
Can I give visibility to a class constan. some thing like this class foo { } -- *** Si se encuentra bien, no se preocupe. Se le pasarĂ¡.

[PHP] Constant Scope

2006-02-26 Thread Adrian Cid Almaguer
Can I give visibility to a class constant. something like this class foo { private const = "aaa"; protected const = "bbb"; public const = "ccc"; } I dont want the user of my class can access to the constant. and I cant use public static fields because I dont want the content can be modifie

[PHP] Call to Static Method PHP5

2005-08-19 Thread Adrian Cid Almaguer
Hi: I had the fallowing trouble while using a static method call on php5. Here's my solution, i will really apreciate if anyone else can find another way around.. The problem: I have a fuction wich get a parameter that's an objetc, and that objetc belongs to a class wich has a static method (

Re: [PHP] Computer name?

2005-08-26 Thread Adrian Cid Almaguer
You can find the IP and find with it the name. On 25/08/05, Chris Shiflett <[EMAIL PROTECTED]> wrote: > Gustav Wiberg wrote: > > Is it possible to retrieve (view) the computers name from the client in > > PHP? > > If you mean the client, then no - this is not a standard part of an HTTP > request.