[PHP] $this = new Class();

2009-04-30 Thread Olivier Lalonde
', false); // dont chain, this returns a Book instance The point of all this is to keep the most friendly interface ! Cheers, Olivier -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [php] scheduled task in php

2009-04-02 Thread Michel OLIVIER
hi, with a cron and wget? 2009/4/2 Andrew Williams andrew4willi...@gmail.com: All, Please how can you run a timed php script file via window scheduled task. or how can u execute a php script on a a time interval for instance every 4minutes -- Best Wishes Andrew Williams -- PHP General

[PHP] non static function called as static one

2009-03-11 Thread Olivier Doucet
one not. Unfortunately, this can't be done (yet ?). What do you think ? What's your point of view on this ? I want your feedbacks before opening a bug ticket, as it is not strictly a bug... Olivier

Re: [PHP] non static function called as static one

2009-03-11 Thread Olivier Doucet
. [...] the pragmatic solution is to not call non-static functions using static syntax. Well, this is the answer I didn't want :) Thank you for your feedback ! Olivier

[PHP] Use of callback on a stream

2008-03-28 Thread Olivier Dupuis
of it, but the callback never gets called, does anyone know what I forgot ? Thanks, Olivier ?php // First we proc_open a ls //1 - we build the descriptor array $descriptorspec = array( 0 = array(pipe, r), // // stdin 1 = array(pipe, w), // stdout 2

[PHP] Use of callback on a stream

2008-03-28 Thread Olivier Dupuis
of it), but the callback never gets called, does anyone know what I forgot ? Thanks, Olivier ?php // Php5 used // we build the descriptor array $descriptorspec = array( 0 = array(pipe, r), // stdin 1 = array(pipe, w), // stdout 2 = array(pipe, w

[PHP] (macOSX,camino) problem : access denied to a file setup.php

2007-08-08 Thread olivier SAINT-EVE
Hello, a file named setup.php is in the root folder of my hard disk, and I wanted to open it from camino, with the address: http://localhost/setup.php;. But I have an error 403:access forbidden. Does someone know how to solve this problem? I specify I have installed PHP5 with macports.

[PHP] Backend selection (ADOdb lib)

2006-03-02 Thread Olivier Cant
Hi list, I'm writing some code at the moment, and I'm trying to make it as detached as possible from the database used behind. So I already found ADOdb abstraction layer, which I find conienient. But still the fact is that I need to connect to and select a database at the begining of somes

[PHP] setlocale() : missing named constant in french doc

2005-12-09 Thread Olivier BERAUD
! Could you add LC_MESSAGES constant in the french documentation of setlocale function ? Thanks Olivier -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: php, expect and screen

2005-10-24 Thread Olivier Cant
Actually I have to run it interactively, I can get this to work with perl and the expect module (which creates a terminal and provides two handle to read from it and to write to it) I am just wondering if there is some similar moddule in PHP? Le 18-oct.-05 à 19:19, Ben a écrit : Olivier

[PHP] php, expect and screen

2005-10-18 Thread Olivier Cant
Hi list, I'm wondering if any one has any experience at connecting to a screen session under linux with a PHP script, and reading the pty output (and maybe writing somme stuff as well) I have an interactive program runing under screen which give me some status info, and I may also issue

Re: [PHP] Arrays

2005-07-12 Thread olivier
Hello, You may try unset($product) in your loop if you want to delete this var. Your code $product=array(); must work too... Another way, must be to use something like this $product[id]=$product_id; But i dont think it's your real goal?! Could you give some more information about that? Olivier

Re: [PHP] variable object creating

2005-06-22 Thread olivier
); } Hope this help! Olivier Le Mercredi 22 Juin 2005 05:33, Eli a écrit : Hi, I want to create an object in a form that I get the class name and its parameters, and I need to create that object... How can this been done? i.e: $classname = MyClass; $construct_params = array(param1,param2

Re: [PHP] variable object creating

2005-06-22 Thread olivier
)) { // for php4 call_user_func_array(array(($className), Register), $construct_params); } else { die(Hack off mate.); } var_dump($obj); ## Love phpsec too ;-) Hope this finaly help! Olivier Le Mercredi 22 Juin 2005 11:38, Jochem

Re: [PHP] variable object creating

2005-06-22 Thread olivier
-- Message transmis -- Subject: Re: [PHP] variable object creating Date: Mercredi 22 Juin 2005 14:19 From: olivier [EMAIL PROTECTED] To: php-general@lists.php.net Sorry for typo error, just need my cup of cofee... Here is a good post for: http://fr.php.net/manual/fr

Re: [PHP] variable object creating

2005-06-22 Thread olivier
;-) Hope this finaly help! Olivier -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: post redirect

2005-04-20 Thread Olivier GOEGEL
helped me to keep the rep_source variable with the same value in the next page than in the new page. I'm not a specialist but it has been working well until today. Olivier energize! -Message d'origine- De : Matthew Weier O'Phinney [mailto:[EMAIL PROTECTED] Envoyé : mercredi 20 avril 2005

Re: [PHP] Page cannot be displayed

2003-10-01 Thread Olivier Simah
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Olivier Simah wrote: Hi, I have just installed PHP 4.3.3, Apache 2.0.47 and MySQL 4.0.15a under Windows XP. When I try to see a HTML pages, everything is ok but when it comes to PHP pages nothing works I have this message with IE

[PHP] Page cannot be displayed

2003-10-01 Thread Olivier Simah
Sep 30 20:05:58 2003] [notice] Child 4028: Starting 250 worker threads. [Tue Sep 30 20:05:58 2003] [debug] child.c(695): Child 4028: Worker thread 0 starting. [Tue Sep 30 20:05:58 2003] [debug] child.c(695): Child 4028: Worker thread 1 starting. HELP Thanks Olivier -- PHP General Mailing List

[PHP] Page cannot be displayed

2003-09-30 Thread Olivier Simah
Hi, I have just installed PHP 4.3.3, Apache 2.0.47 and MySQL 4.0.15a under Windows XP. When I try to see a HTML pages, everything is ok but when it comes to PHP pages nothing works I have this message with IE : The page cannot be displayed with Opera 7, Mozilla : nothing HELP Thanks Olivier

Re: [PHP] Page cannot be displayed

2003-09-30 Thread Olivier Simah
The problem is that I do not have the log right now, I send you an answer tonight Thanks Martin Clarke [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Tue, Sep 30, 2003 at 11:56:23AM +0200, Olivier Simah wrote: Hi, I have just installed PHP 4.3.3, Apache 2.0.47 and MySQL 4.0.15a

Re: [PHP] Page cannot be displayed

2003-09-30 Thread Olivier Simah
Yes this is done, PHP is installed as a module of Apache Olivier Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] I have just installed PHP 4.3.3, Apache 2.0.47 and MySQL 4.0.15a under Windows XP. When I try to see a HTML pages, everything is ok but when it comes

[PHP] multi languages pages - string 2 hexa ????

2003-09-11 Thread olivier
is there a simple method in PHP to translater something like this Ïðàâèëà to something like this #1055;#1088;#1072;#1074;#1080;#1083;#1072; ? Is it the right solution? Is there other solution? Does anybody have exerience about this? Thanks for your help. Cheers. Olivier. -- PHP General Mailing List (http

[PHP] Exec submits prog 2 times !!!

2003-08-29 Thread Olivier Lepretre
Hi all, I need to execute a command that will remotely exec another one on another server. Here is the code (really simple) : print Launching sshbr; flush(); $pgm = ssh -fnl oracle diamond \/home/oracle/myprog.sh \ /dev/null 2/dev/null; exec ($pgm, $output, $res); The ssh ... goes well when

[PHP] exec problem in php (2 times execution)

2003-06-27 Thread Lepretre Olivier
Hi all, I have a php code that tries to execute an rexec function for a at command. For this I coded it in this way : $str = exec (rexec -l usr1 -p usr1 myserver at now + 2minutes -f input file; the rexec function in itself is running fine in shell mode but whene I try to execute it through

[PHP] Re: [PHP-WIN] Create Thumbnails from image

2002-09-22 Thread Olivier Hubert
ImageCopyResampled which uses interpolation to resize the image, thus creating a thumbnail of much better quality. HTH Olivier PS: to get the image's height and width, use ImagesY and ImagesX respectively, once you have opened/created the image. At 18:09 2002-09-22 +0300, Kjell Hansen wrote

RE: [PHP] How to backup records in mySQL DB?

2001-12-20 Thread Olivier Masudi
Personnaly i use this method with phpMyAdmin. I make a dump of each table Structure and data.copy and paste it into a txt file. You can also use de csv format. Hope you don't hae a lot of table :=) I know it's very simple but it work. -Message d'origine- De : Thomas Edison Jr.

TR: [PHP] How to backup records in mySQL DB?

2001-12-20 Thread Olivier Masudi
-Message d'origine- De : Olivier Masudi [mailto:[EMAIL PROTECTED]] Envoyé : jeudi 20 décembre 2001 09:24 À : Thomas Edison Jr. Objet : RE: [PHP] How to backup records in mySQL DB? I think thirs you have to install phpMYAdmin in your server you can find it here : http://phpwizard.net

[PHP] session destroy ??

2001-12-19 Thread Olivier Masudi
In my online store i use session. I use a script to check that a user dont make 2 order during the same session using the back button for that i put his sessionid in the db and check it before processing the order. My probleme is how can i give a new session_id to the person when he goes back

[PHP] HELP XML XML XML HELP

2001-12-06 Thread Olivier Masudi
http://www.test.com/test.php?orderid=xyz test.php has to make a request to DB mysql and return a xml page like this : DOCTYPE= orderID=xyz amount=1234 currency=BEF How can I do that ? Should I just use echo ? Help -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] HELP XML XML XML HELP

2001-12-05 Thread Olivier Masudi
http://www.test.com/test.php?orderid=xyz test.php has to make a request to DB mysql and return a xml page like this : DOCTYPE= orderID=xyz amount=1234 currency=BEF How can I do that ? Should I just use echo ? Help -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] TR: HELP XML XML XML HELP

2001-12-05 Thread Olivier Masudi
http://www.test.com/test.php?orderid=xyz test.php has to make a request to DB mysql and return a xml page like this : DOCTYPE= orderID=xyz amount=1234 currency=BEF How can I do that ? Should I just use echo ? Help -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] HELP XML XML XML HELP

2001-12-05 Thread Olivier Masudi
http://www.test.com/test.php?orderid=xyz test.php has to make a request to DB mysql and return a xml page like this : DOCTYPE= orderID=xyz amount=1234 currency=BEF How can I do that ? Should I just use echo ? Help -- PHP General Mailing List (http://www.php.net/) To

[PHP] best way to handle a form with 60 fields !!!

2001-12-02 Thread Masudi Olivier
What is the best way to handle a form with 60 fields ? Is it a maximum number of var that i can regisister in a session ? is it possible to configure this number in php.ini ? I dont'host my web site I use a hoste company where my site is hosted on an linux/apache server with php4. Is it a good

[PHP] HELP URGENT VARS !!!

2001-11-30 Thread Olivier Masudi
$name1=a; $name2=b; I want to do this for($i=0;$i$nbname;$i++) echo \$name$i; output : a b where \$name$i= $name1 , $name2 , $name3 .. I try to print tha value of the vars $name1,. not the string $name1, Is it possible REM : The vars $name1, com from a

[PHP] php 4 installation error

2001-08-28 Thread Olivier VIGAND
] Error 1 thanks Olivier VIGAND TEXA Services Le Naurouze - hall b Rue CARMIN - bp 304 31313 LABEGE Cedex Tél : 05.62.48.40.23 Fax : 05.62.48.40.11 e-mail : [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] PHP on Digital Unix

2001-03-23 Thread Olivier, Dave
Folks, I am in the process of trying to install PHP 4.0.4pl1 on my Digital Unix 5.1 machine. I follow the instructions from php.net and in the install instructions. I can do everything right but, after I run the ./configure --with-mysql --with-apache=../apachex --enable-track-vars, I run the

[PHP] problem with pack function

2001-02-15 Thread Olivier ZILLER
Hello, I need to generate the value '0A 00 00 00' with the pack function. How to do this? TIA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

[PHP] effect of --enable-trans-sid

2001-01-17 Thread Olivier Guieu
?PHPSESSID=hqsgqsgsqg. Could someone tell me whether this behaviour is correct and if not, if it has been corrected in 4.0.4 pl1 ? (I could not find anything relevant in the BUG DB). Thanx in advance, Olivier __ Do You Yahoo!? Get email at your own domain