Re: [PHP-WIN] header functions and ... ?

2002-12-23 Thread Nicola Delbono
>i cannot use header because the headers are already sent. You can use content buffering look at ob_start() with that, you can print or echo whatever you want and, at the middle or end of the script you can send any header you like because in fact you have not send any data to the browser

[PHP-WIN] mssql on linux

2002-07-25 Thread Nicola Delbono
o any nested query also.. Any help is gold.. Nicola Delbono /// Il notiziario dei notiziari http://www.notiziarioweb.it/ /// www.smscitta.com | www.musicalbox.it www.filosofo.it | www.bollicine.com -- PHP Windows Ma

Re: [PHP-WIN] Re: "weeks" via date function

2002-07-22 Thread Nicola Delbono
gt;> today's date (19 July 2002) it should return "29" (this being the >> 29th week of 2002). Nicola Delbono /// Il notiziario dei notiziari http://www.notiziarioweb.it/ /// www.smscitta.com | www.mu

Re: [PHP-WIN] Mysql socket error :\

2002-06-22 Thread Nicola Delbono
rd to "admin"? Can you connect via console? (dos prompt) NB: Php 4.1.2 is crackable. Upgrade to 4.2! Occhio che il php 4.1.2 รจ buggato. Nicola Delbono /// Il notiziario dei notiziari http://www.notiziarioweb.it/ ///

Re: [PHP-WIN] PEAR Library?

2002-05-14 Thread Nicola Delbono
try c:/php4/PEAR >Is there a particular directory that is considered the PEAR library in the Nicola Delbono /// Il notiziario dei notiziari http://www.notiziarioweb.it/ /// www.smscitta.com | www.musicalbox

[PHP-WIN] preg_replace or ereg_replace.. or something

2002-05-11 Thread Nicola Delbono
would become [1]Hello, [2]this is my [3]first [4]brilliant [5]page on the web. Hey [6]what an [7]amazing [8]thing. I'm getting crazy with escapes and tags.. Thanks Nicola Delbono /// Il notiziario dei notiziari http://www.not

RE: [PHP-WIN] String reduce

2002-04-12 Thread Nicola Delbono
", "", $str); Mot1_;Mot2_;Mot3_;Mot4_;Mot5_;Mot6 then becomes $str = str_replace("_;", ";", $str); Mot1;Mot2;Mot3;Mot4;Mot5;Mot6 It's horrible but it works... ( yet I didn't test it ) Bye *** REPLY SEPARATOR ***

Re: [PHP-WIN] String reduce

2002-04-12 Thread Nicola Delbono
: >Hi all, > >how can I replace the n ; with only one > >Mot1;;Mot2;Mot3;;Mot4;;;Mot5Mot6 >==> >Mot1;Mot2;Mot3;Mot4;Mot5;Mot6 > >So that I can explode it in an array. > >Thanks for your help >Horst > > > >-- >PHP Window

RE: [PHP-WIN] random elements of an array

2002-03-26 Thread Nicola Delbono
: [EMAIL PROTECTED] >>> >Subject: [PHP-WIN] random elements of an array >>> > >>> > >>> >Hi, >>> > >>> >My problem is: if I have an array (e.g. 1, 2, 3, 4, 5, 6, 7, >>> >8, 9), how I can "shake" the array and get randomized order