[PHP] Warning: Invalid argument supplied for foreach()

2003-07-06 Thread arnaud gonzales
Hi all, I am getting crazy, can't understand what i missed! Does anybody know? $champs = array (titre_art = h3 ,nom = bleu, prenom = green, resume = bold); foreach($champs as $key = $value) { echo td class='$value'$row($key))/td; } TIA. zeg

[PHP] How to disable cache, image headers?

2003-04-01 Thread Arnaud De Bruyn
on the screen. I understand NS is using a homemade cache system, so I tried the usual Pragma: no-cache header, but it didn't seem to work either... Any idea how I can force NS to update the image? Thanks, Arnaud PS: I don't want to use a trick like adding a random number at the end of the picture's url

[PHP] Re: [PEAR-DEV] ANNOUNCE: Metastorage object persistence API generator

2002-12-05 Thread Arnaud Limbourg
Where's the PEAR context within the marketing text? Please, don't start any troll/flame war. Arnaud. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] GD : Black background with imagecreatetruecolor

2002-11-21 Thread Arnaud
); imagedestroy($im); ? I'm getting a black image. My configuration is PHP 4.2.3 with gd2 running on Windows XP (I've also tested it on my web provider machine - Linux with PHP 4.2.2) Any help would be great. Thanks in advance Arnaud -- PHP General Mailing List (http://www.php.net

Re: [PHP] GD : Black background with imagecreatetruecolor

2002-11-21 Thread Arnaud
Yeah !!! It works Thanks Morgan Arnaud Morgan Hughes [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] On Thu, 21 Nov 2002, Arnaud wrote: Hi everyone, I'd like to use imagecreatetruecolor function in order to cut and paste JPG files on a white background. It seems

[PHP] getimagesize or loop pblm

2002-10-06 Thread arnaud gonzales
Hi all, Does anybody can tell me why i have this error :Fatal error: Maximum execution time of 5 seconds exceeded in photos2.php on line 28 whith this $tab_img = array(); $tab_img_size = array();

RE: [PHP] getimagesize or loop pblm

2002-10-06 Thread arnaud gonzales
So my code is clean ? There isn't a problem of infiny loop? My server is free.fr. How do u suggest i can cach the data? -Message d'origine- De : Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Envoye : lundi 7 octobre 2002 03:07 A : arnaud gonzales Cc : Php-General Objet : Re: [PHP

[PHP] Export email addresses from Outlook Express with PHP

2002-10-03 Thread Arnaud Castéran
Outlook Express, the site connect to Outlook and export addresses to add them in their address book Thanks for your help Arnaud Castéran -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-DEV] OOH Forms ?

2002-07-15 Thread Arnaud Limbourg
Hello, There is such a library, you can find it in PEAR. It needs some cleanup and improvements though. Arnaud. Hi there I came across with some reference indicating there was a library called OOH forms, wondering if anyone knows about the status of that lib, or has those features been

[PHP] fputs() pblm how write on a new line each time ?

2002-05-22 Thread arnaud gonzales
); fclose($fic); ? ? $tab = file(toto.txt); for($i=0;$icount($tab);$i++){ echo $tab[$i]; } ? TIA. arnaud. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] copy after upload pblm (?path?)

2002-05-19 Thread arnaud gonzales
Hi all, I' m trying to copy an uploaded file: if(!empty($fichier)) { $nom = $HTTP_POST_FILES[fichier][name]; $type = $HTTP_POST_FILES[fichier][type]; $taille = $HTTP_POST_FILES[fichier][size]; $nom_tmp =

[PHP] php fgets()

2002-05-14 Thread arnaud gonzales
line by line ? $fd = fopen (/tmp/inputfile.txt, r); while (!feof ($fd)) { $buffer = fgets($fd, 4096); echo $buffer; } fclose ($fd); Is this any max for one line?? TIA. arnaud G. -- PHP General

[PHP] Re: Can't add PHP4 module to Apache (win32)

2001-07-24 Thread Arnaud
try to move the php4ts.dll library in C:\winnt\system32 Andrew Kirilenko [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi All! Just installed PHP4 Apache. Apache has started well. Then I've added two strings from install.txt to the httpd.conf: LoadModule