ould be to have a parameter that
enables/disables chaining.
$dorm->getBook('id', true); // chain (you now have to add ->load() at
the end of the chain)
$dorm->getBook('id', 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
hi,
with a cron and wget?
2009/4/2 Andrew Williams :
> 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 Mailing List (h
now. Although, that's not the highlighted
problem.
>
> [...]
>
> 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
r an error if a non static function is called
as a static one
3/ Create two functions with the same name, one static and the other 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
it), but the
callback never gets called,
does anyone know what I forgot ?
Thanks,
Olivier
array("pipe", "r"), // stdin
1 => array("pipe", "w"), // stdout
2 => array("pipe", "w") // stderr
it, but the
callback never gets called,
does anyone know what I forgot ?
Thanks,
Olivier
array("pipe", "r"), // // stdin
1 => array("pipe", "w"), // stdout
2 => array("pipe", "w") // stderr
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.
l
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
earch why doesn't that go !
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
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
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 c
tion about that?
Olivier
Ps: documentation for unset :
http://www.php.net/manual/en/function.unset.php
Le Mardi 12 Juillet 2005 13:34, [EMAIL PROTECTED] a écrit :
> Hi,
>
> How can i destroy an array?
> I mean i have a loop and for each new value in the loop i want to destroy
> the array. S
ssName)) { // 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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-- 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/man
)) { // 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 Maas
s
eval("$retrun = new $className($param)");
var_dump($return);
}
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..
hello,
I created little script in PHP 5 in which I entered the following line
the "hidden" input 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.
O
4028: Acquired the start mutex.
[Tue 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
Ol
anks
"Burhan Khalid" <[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 o
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 b
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 install
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
Than
simple method in PHP to translater something like this
"Ïðàâèëà" to something like this
Правила ?
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://www.php.net/)
To u
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 ssh"; flush();
$pgm = "ssh -fnl oracle diamond \"/home/oracle/myprog.sh &\" >/dev/null
2>/dev/null";
exec ($pgm, $output, $res);
The ssh ... goes well w
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 throu
y use 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 Ha
-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://phpwizar
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. [mailto
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 to
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 :
How can I do that ?
Should I just use echo ?
Help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
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 :
How can I do that ?
Should I just use echo ?
Help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
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 :
How can I do that ?
Should I just use echo ?
Help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
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 :
How can I do that ?
Should I just use echo ?
Help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
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 i
$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 fr
-recursive] 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 comman
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 ma
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 PROT
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 with Yahoo! Mail.
http://personal.mail.yahoo.com/
--
PHP
39 matches
Mail list logo