[PHP] RE : RE : [PHP] 128M need in PHP5.2.5 instead of 8M in PHP5.1.4!

2008-01-25 Thread Luc Maltier
Thank you. You must be right about the memory_limit not enabled in 5.1.4 Windows binaries. It would be nice, for the Windows binary download, to provide details on parameters uised to compile it (and on extensions included: actually, using the "installer" package is supposed to be simpler, but it i

[PHP] RE : [PHP] 128M need in PHP5.2.5 instead of 8M in PHP5.1.4!

2008-01-24 Thread Luc Maltier
Thanks for this clue (ini_set). But I normally don't need this amount of memory anywhere, as 8M were OK in PHP5.1.4... I just want to understand what happens. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] 128M need in PHP5.2.5 instead of 8M in PHP5.1.4!

2008-01-24 Thread Luc Maltier
Hello! My first message: I've just updated PHP from 5.1.4 to 5.2.5 (to solve an Apache problem when double-clicking on links). This was successful, as the problem is now solved, but I now, sometimes, get a message stating that the memory is exhausted. I modififed php.ini and set memory_limit to

[PHP] mail problem - deadline!!!!! - SOLVED

2007-08-06 Thread Luc
into @mail($to,$subjectline,$body, "From: $contato_email"); -- Best regards, Luc Powered by The Bat! version 3.99.3 with Windows XP (build 2600), version 5.1 Service Pack 2 and using the best browser: Opera. "From St Paul's second letter to the Cori

Re[2]: [PHP] Sessions?

2007-07-26 Thread Luc
, trying to understand it all and plunge into it :-) -- Best regards, Luc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sessions?

2007-07-26 Thread Luc
uot;; foreach($contacter_form_error as $form_err) { print "$form_err\n"; } print ''."\n"; } ?> Todos os campos obrigatórios são marcados com asteriscos (*). Seus Dados Empresa * Contato * Número do telefone * Fax E-m

Re[2]: [PHP] Variable problem?

2007-07-25 Thread Luc
t; and that's something you may want to turn off in the first place. > Or consider checking if it's on in your code rather than assuming it's > on. magic_quotes_gpc is indeed on by default on my hosting server as i checked their php modules. -- Best regards, Luc -- P

Re: [PHP] Variable problem?

2007-07-24 Thread Luc
simple for a non-newbie lol. It works like a charm Daniel. I'm really, really grateful!!! -- Best regards, Luc _ Powered by The Bat! version 3.99.3 with Windows XP (build 2600), version 5.1 Service Pack 2 and using the best browser: Opera. "The pleasure of

[PHP] Variable problem?

2007-07-24 Thread Luc
E-mail * Produto * Origem * Destino * Quantidade * Peso * Comprimento * Altura * Largura * -- Best regards, Luc Powered by The Bat! version 3.99.3 with Windows XP (build 2600), version 5.1 Service Pack 2 and using the best browser: Opera

Re[8]: [PHP] Newbie seeks urgent help

2007-07-16 Thread Luc
raremos em contato em breve"; >$notification_subject = "Obrigado por sua mensagem > para $websitetitle."; >mail($contato_email, $notification_subject, > $notification_message, "From: $youremail"); I have that piec

Re[6]: [PHP] Newbie seeks urgent help

2007-07-13 Thread Luc
Hello Tijnema, Friday, July 13, 2007, 10:45:48 PM, you wrote: > You must have some unclosed single quote ( ' ) somewhere, on one of > these lines probably: > $youremail = > $websitetitle = > $thankyoupage = Found the problem :-) in the block: $body =<

Re[4]: [PHP] Newbie seeks urgent help

2007-07-13 Thread Luc
;) Thanks Tijnema But still get: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in / on line 14 So i still don't have a clue what i could have snipped and if i have everything in the correct order. -- Best regards,

Re[2]: [PHP] Newbie seeks urgent help

2007-07-13 Thread Luc
ax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in / on line 14 -- Best regards, Luc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Newbie seeks urgent help

2007-07-13 Thread Luc
age"); } } ?> 0){ print 'Algo está errado:'."\n"; print ''."\n"; foreach($contacter_form_error as $form_err) { print "$form_err\n"; } print ''."\n"; } ?> Todo

[PHP] XML Downstream

2004-12-02 Thread Luc Pascal
how to get a datastreama into files? Thank you very much for help Pascal Luc --- Pascal Luc Client/System Support (Applicationdeveloping) SSZ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Decrypting data with GnuPG

2003-06-01 Thread Pierre-Luc Soucy
Just for the record, adding the --batch argument to the GnuPG command solved the problem. Regards, Pierre-Luc Pierre-Luc Soucy wrote: Hi, I would like to decrypt data encoded with GnuPG without including the private key passphrase in the command to prevent people from viewing it with &qu

Re: [PHP] Decrypting data with GnuPG

2003-05-30 Thread Pierre-Luc Soucy
to/homedir/.gpgkeys/temp/testtext.asc"; $passphrase = 'MY_PASSPHRASE'."\n"; $fp = popen($command, 'w+'); fputs($fp, $passphrase); fputs($fp, $passphrase); pclose($fp); print "Done"; exit; ?> Regards, Pierre-Luc Evan Nemerson wrote: Are you append

Re: [PHP] Decrypting data with GnuPG

2003-05-30 Thread Pierre-Luc Soucy
nd so the passphrase should normally be read from stdin (according to the docs), but it still does not work. Any idea? I am unfortunately not familiar with C code, so I can difficultly find solutions to my problems by reading the GnuPG source. Thanks! Pierre-Luc Evan Nemerson wrote: GnuPG doesn&

Re: [PHP] Decrypting data with GnuPG

2003-05-29 Thread Pierre-Luc Soucy
Hi, Does that mean that there is no way to achieve this with PHP and that I should rather use the --passphrase-fd argument? Thanks, Pierre-Luc Evan Nemerson wrote: GnuPG doesn't use stdin to read the password, which is where you're sending it. It uses a more low-level interface (che

[PHP] Decrypting data with GnuPG

2003-05-29 Thread Pierre-Luc Soucy
prompt, but that doesn't seem to be the case - the command does not create the output.txt file when ran by the PHP program (which is running as a CGI under my user BTW) while it works when ran from the shell. Any idea why? Thanks! Pierre-Luc Soucy -- PHP General Mailing List (http://

[PHP] PHP OpenSSL question

2003-03-04 Thread Pierre-Luc Soucy
et_write (when communicating with a server) but the server disconnects me when I attempt to read its output with socket_read: Warning: socket_read() unable to read from socket [54]: Connection reset by peer Any idea why? To what I understand, I might need to do a SSL handshake first? How can that be

[PHP] Stream does not support seeking

2003-02-06 Thread Pierre-Luc Soucy
when people use URLs in the include function, but have no idea why, espcially since allow_url_fopen is on. Any suggestions? Thanks, Pierre-Luc Soucy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Editors

2003-01-07 Thread Pierre-Luc Soucy
Do you know any good equivalent with similar features for Linux? Thanks, Pierre-Luc Soucy > PHPEdit i use it personally www.phpedit.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem with make test

2003-01-06 Thread Pierre-Luc Soucy
t do I need to do to fix that? Thanks, Pierre-Luc Soucy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Page display of query resuts using ODBC

2002-12-10 Thread Luc Roettgers
looked at many sites to find such a script without luck so far... Thanks in advance for your help, -Luc

[PHP] Using odbc_pconnect function

2002-12-09 Thread Luc Roettgers
ge but how do I resuse the variable $connectionstring on other pages since I make calls like: $queryexe = odbc_do($connectionstring, $query); Hope this is not confusing. Also, can I make the persistant connection expire after there have been no calls to the DB for a certain time? Many Thanks, -Luc

[PHP] Can't recover data in php posted with a form tag.

2002-11-29 Thread Luc Roettgers
I have 2 files runQuery.php and doSQL.php, where the first one is posting data entered by the user to the second page and displaying it but the data never arrives. Any idea why this would not work, maybe some configuration issue?? Any help is really appreciated...   

RE: [PHP] help with undefined variables, please

2002-05-14 Thread Luc Saint-Elie
At 21:57 14/05/2002 +0200, Luc Saint-Elie wrote: > > 4.1 => isset() returns false if the variable is not set OR if the > variable is empty typo.. wanted to say : > 4.1 isset() returns true if the variable is set ORT if the variable is empty Luc -- PHP General Mai

RE: [PHP] help with undefined variables, please

2002-05-14 Thread Luc Saint-Elie
s. last time i did that : > 4.1 => isset() returns false if the variable is not set OR if the variable is empty So for example For php > 4.1 foo is ALWAYS set (it can be empty if no value is typed, but it exists so it is set) If you want to know is the user typed something you must

RE: [PHP] register_globals in php4

2002-05-10 Thread Luc Saint-Elie
Mike, Both of your bit of code are not equal. On my ISP in 4.0.6 isset returned false if the variable was not existing OR empty in 4.2 isset returns true if the variable exists but is empty, so you may want to check with empty instead of isset Luc At 12:16 10/05/2002 +0100, Ford, Mike

[PHP] Question about fsockopen

2002-05-06 Thread Luc Saint-Elie
down) php pages are often down (because mySQL problem or PHP problems) So I'd like to be able to control if a specific url is OK and not only the hostname. How can I do that ? Thanks in advance Luc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

Re: [PHP] PHP compared to JSP

2002-05-04 Thread Luc Saint-Elie
, Both have nothing reallyr elated (as strange as it sounds) Does PHP compile : NO Does the user loading same page for 2nd time gets better response : YES it can if caching is provided Luc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] get ip of visitors

2002-04-23 Thread Luc Saint-Elie
hostname; } } else { $user_data['machine'] = getenv("REMOTE_HOST "); } // Browser $user_data['navigateur']= getenv("HTTP_USER_AGENT"); // HTTP Refer $user_data[

Re: [PHP] How to get Specific Data from an CSV format file to PHP

2002-04-18 Thread Luc Saint-Elie
Jack You may want to have a look at : http://cvs.php.net/cvs.php/pear/File Hope this helps Luc At 20:41 18/04/02 +0800, Jack wrote: >Dear all >I had tried to fetch the data from CSV file by using PHP, what i did is >fetch the whole file content! >But now i only want specific da

RE: [PHP] Multiple browser instances - is it possible to determine which browser

2002-03-04 Thread LuC .
Create a frame set. if your page opens without frameset the did something wrong, at least not allowed. (like open in a new window) If the main page, containing the frameset is loaded, the page is opened in a new window or they pressed f5(reload). === We've considered using javascript

[PHP] keeping the dot

2002-03-04 Thread LuC .
Try thinking :? :? Just add a dot. $filename = ereg_replace("[^a-zA-Z0-9.]", "",$filename); = I have a file that is being uploaded, but I need to remove all the characters in the filename except letters, numbers, and the '.' (dot). Example would be 'where_i_go.

Re: [PHP] Looking for optimal coding

2002-02-15 Thread LuC .
for($i=1;$i<=50;$i++) { if ((!empty($content) && $row[$content] == $states[$i]) || ($dstate == $states[$i])) $selected="SELECTED"; else $selected=""; printf("%s", $states[$i], $selected, $nstates[$i]); } I always prefer to use printf to

[PHP] PHP Job database

2001-02-16 Thread Luc
This is a free service for the PHP Community. Job seekers can search the latest PHP related positions. Companies can post their Jobs with EASE for FREE! http://www.phpcareer.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

[PHP] IIS4 problem

2001-01-10 Thread VALLET, Luc
int $allOutput; for ($index = 0; $index < count($AllOutput); $index++) { print("$AllOutput[$index] \n"); } print ("\n"); print("return value : $ReturnValue\n"); ?> Thanks in advance if someone had a similar problem Luc -- PHP General Mailing List (h