[PHP] dynamic array in objects??

2002-04-16 Thread Giovanni Lenzi
How can i build a dynamic array as a member of a class?? I have the class SELECT and i want its attribute "VALUES" to be set like an array. It is possible?? Array would be built in the constructor of the class. This is my example: class Select { // ~ options separator^ v

[PHP] file_get_contents source??

2002-04-19 Thread Giovanni Lenzi
file_get_contents function is supposed to return the contents of a file in a binary safe manner. I tried it on two different servers which has different versions of APACHE+PHP but it still not works. The server give me this response: Fatal error: Call to undefined function: file_get_contents() in

[PHP] R: file_get_contents source??

2002-04-19 Thread Giovanni Lenzi
thanks very much. now i'll read the entire article. However my problem is that i want to transmit characters like : £ $ % & ^ § so file and readfile function don't work correctly. Can you say me something more?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

[PHP] R: file_get_contents source??

2002-04-19 Thread Giovanni Lenzi
ok thanks, i solved my problem. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] R: [PHP] getting at the server environment variables

2002-04-02 Thread Giovanni Lenzi
make a php file and fille it with save the file run it and look at all php and apache global variables. Unknown Sender <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED] > Andreas Pour wrote: > > > Hi, > > > > Have all server requests for domain.org point to this php script: > > > > > heade

[PHP] including file hosted by "www.a.com" on "www.b.com"

2002-04-02 Thread Giovanni Lenzi
I'm in trouble with include procedure. I have a file on host http://www.a.com that must be included by the file on the host http://www.b.com The code of the file to be included is as follows: included.php on http://www.a.com The code of the file which must include first file is as follows: mas