Re: [PHP] Question about php.ini file

2007-11-04 Thread Cristian Vrabie
You must take in count that before php even gets to receive something, it all passes through the HTTP server (apache or something). for most of these settings there are equivalents in the config file of the server that you need to change accordingly. this might be the cause of the weird results.

Re: [PHP] How do I specify a local file for fopen()?

2007-11-04 Thread Cristian Vrabie
Server can't access files on clients computers as they wish or it would be madness. Nothing would be secure. However you can get to the file if you make it public in some way and with some restrictions. Therea are several methods: 1. (wich i think is best) install a ftp server and "share" the fi

Re: [PHP] mysql_fetch_array

2007-11-02 Thread Cristian Vrabie
this is most peculiar. your code should do exactly what you expect. have you initialized the $fotos_mostrar array before the while loop? $fotos_mostrar = array(); Eduardo Vizcarra wrote: I have a WHILE sentence to retrieve all records from a SELECT query in a database and am using mysql_fetch_

Re: [PHP] Compilers

2007-10-30 Thread Cristian Vrabie
Richard Heyes wrote: Wolf wrote: Anyone use compilers (linux based or Windoze) and which do you use? Looking for something free (best) or low cost as we are doing some > investigation on what methods are best for some of the stuff we have, and I'm thinking a compiled PHP app should run faster

Re: [PHP] moving over to php 5

2007-10-30 Thread Cristian Vrabie
Robin Vickery wrote: On 30/10/2007, Per Jessen <[EMAIL PROTECTED]> wrote: Larry Garfield wrote: On Monday 29 October 2007, Per Jessen wrote: Cristian Vrabie wrote: Hmm 117,223 hosts with php4 only support. Did you actually checked how many have php5 support

Re: [PHP] moving over to php 5

2007-10-29 Thread Cristian Vrabie
Per Jessen wrote: Hulf wrote: It is about time I made the jump to 5, however the only thing that is holding me back is the problem with hosts. How many hosts still run php 4 and am I going to have to spend hours and hours persuading them to upgrade before I can run my code? There are