[PHP] function and interface in parameter list?

2005-02-01 Thread Marco Schuler
Hi I found a function declaration in an open source project (in php5) and I could not find documantation for this. The function declaration is: public function registerComp(IComp $comp) Is it a kind of typecast? -- Cheers! Marco -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] function and interface in parameter list?

2005-02-01 Thread Marco Schuler
Hi Am Dienstag, 1. Februar 2005 15:50 schrieb Jochem Maas: Marco Schuler wrote: Hi I found a function declaration in an open source project (in php5) and I could not find documantation for this. The function declaration is: public function registerComp(IComp $comp) Is it a kind

Re: [PHP] function and interface in parameter list?

2005-02-01 Thread Marco Schuler
Am Dienstag, 1. Februar 2005 16:07 schrieb Marco Schuler: Am Dienstag, 1. Februar 2005 15:50 schrieb Jochem Maas: Marco Schuler wrote: Hi I found a function declaration in an open source project (in php5) and I could not find documantation for this. The function declaration

Re: [PHP] Re: PHPED PHP IDE (wasRe: [PHP] php editor)

2005-01-18 Thread Marco Schuler
Am Dienstag, 18. Januar 2005 16:49 schrieb Lester Caine: http://www.zend.com/store/products/zend-studio.php That's not PhpED either and it's not free. The debugger is an element a number of people use. We use it in PHPEclipse as well. Versions of the DEBUGGER are free, but there are also

Re: [PHP] PHP Debugger 4 Linux?

2004-06-04 Thread Marco Schuler
Am Fr, 2004-06-04 um 00.14 schrieb Nick Wilson: Hi everyone, Can anyone recommend a good debugger for *nix? Zend Studio Many thx! -- Nick W -- Regards Marco -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OR

2004-04-25 Thread Marco Schuler
Hi Am So, 2004-04-25 um 16.00 schrieb -{ Rene Brehmer }-: According to historical records, on Sun, 25 Apr 2004 17:14:13 +1000 Aidan Lister wrote about [PHP] OR: [...] || |! ! ^ being OR, AND, NOR, and NAND (believe NOR is actually called XOR, can't remember ...) Just to help your mind:

Re: [PHP] Best practice for creating mysql database structure for menus navigation

2004-04-19 Thread Marco Schuler
Hi Am Mo, 2004-04-19 um 15.22 schrieb dr. zoidberg: Hello, What will be the best database structure for creating web site navigation, menus with submenus (unlimited levels). If you are fine with oop, than maybe http://pear.php.net/package/DB_NestedSet would be worth a look. Renderers

[PHP] How to disable browser's back- and refresh-Button

2004-04-19 Thread Marco Schuler
Hi I want to prevent the user to use the browser's back-/refresh-button in my multipage registration form (as well as in other forms). How can I do this? Thanks for your help! -- Regards Marco -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] How to disable browser's back- and refresh-Button

2004-04-19 Thread Marco Schuler
Hi Am Mo, 2004-04-19 um 17.18 schrieb John Nichel: Marco Schuler wrote: Hi I want to prevent the user to use the browser's back-/refresh-button in my multipage registration form (as well as in other forms). How can I do this? Thanks for your help! You can't with PHP. It's

Re: [PHP] How to disable browser's back- and refresh-Button

2004-04-19 Thread Marco Schuler
Hi Am Mo, 2004-04-19 um 17.25 schrieb John W. Holmes: From: Marco Schuler [EMAIL PROTECTED] I want to prevent the user to use the browser's back-/refresh-button in my multipage registration form (as well as in other forms). How can I do this? You don't. I decide when I want to go back

Re: [PHP] How to disable browser's back button, refresh button and multiple clicks of submit buttons using PHP.

2004-04-19 Thread Marco Schuler
Hi James Thanks for your realy constructive post! I'll try that out and maybe come back with some questions (hopefully not) :-) -- Regards Marco Am Mo, 2004-04-19 um 19.42 schrieb James E Hicks III: This is the only way that I have been able to insure that the users can not use any of the

RE: [PHP] Advanced PHP Programming by George Schlossnagle

2004-03-17 Thread Marco Schuler
Hi Am Mi, 2004-03-17 um 18.12 schrieb Chris W. Parker: Filip de Waard mailto:[EMAIL PROTECTED] on Wednesday, March 17, 2004 7:20 AM said: Hey guys. hi. I instantly started to read and I'm very happy with the quality and level of the book. Of course I haven't read the

RE: [PHP] Advanced PHP Programming by George Schlossnagle

2004-03-17 Thread Marco Schuler
Am Mi, 2004-03-17 um 18.12 schrieb Chris W. Parker: Filip de Waard mailto:[EMAIL PROTECTED] on Wednesday, March 17, 2004 7:20 AM said: Hey guys. hi. I instantly started to read and I'm very happy with the quality and level of the book. Of course I haven't read the complete

RE: [PHP] Advanced PHP Programming by George Schlossnagle

2004-03-17 Thread Marco Schuler
Hi Am Mi, 2004-03-17 um 19.14 schrieb Chris W. Parker: Marco Schuler mailto:[EMAIL PROTECTED] on Wednesday, March 17, 2004 9:18 AM said: google, or in this case amazon, is your friend: yes i am well aware of google and amazon but i just wanted to get george some extra exposure

RE: [PHP] Anyway to access a class variable without using a return function?

2004-03-15 Thread Marco Schuler
Hi! Am Mo, 2004-03-15 um 13.02 schrieb Dave Starling: I think you could also do something like this: class MyClass { function MyClass { $this-var1=1; $this-var2=2; } function GetVar($var) { return $this-{$var}; } } $test = new

Re: [PHP] Anyway to access a class variable without using a return function?

2004-03-15 Thread Marco Schuler
Hi Am Mo, 2004-03-15 um 14.10 schrieb Tom Meinlschmidt: I mean using get_object_vars() is much better. and in the example I've seen there: you HAVE TO define all the variables you're using in a class scope. eg class myClass { var $var1; var $var2 = array(); function

[PHP] List of all defined constants

2004-03-15 Thread Marco Schuler
Hi How can I get a list of all constants defined with define()? -- GrĂ¼sse Marco -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Anyway to access a class variable without using a return function?

2004-03-15 Thread Marco Schuler
Am Mo, 2004-03-15 um 15.21 schrieb Tom Meinlschmidt: thank, sure. function name should be myClassGetVar() :) NoP! -- Regards Marco -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] List of all defined constants

2004-03-15 Thread Marco Schuler
Hi Am Mo, 2004-03-15 um 15.52 schrieb Filip de Waard: On Mar 15, 2004, at 3:23 PM, Marco Schuler wrote: Hi How can I get a list of all constants defined with define()? Marco, Like the manual (http://nl2.php.net/constants) says: Use get_defined_constants() to get a list of all

Re: [PHP] Classes Objects.

2004-03-14 Thread Marco Schuler
Hi Am So, 2004-03-14 um 03.55 schrieb Elliot J. Balanza: Anybody knows a good on line tutorial for objects classes on PHP. Sure! Google is your friend or http://www.phppatterns.com/index.php/link/category/1/ for example. -- Regards Marco -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Web based php development tool

2004-03-14 Thread Marco Schuler
Hi Am So, 2004-03-14 um 00.34 schrieb Joseph Ross Lee: Anybody here who could recommend a web based php dev tool for editing php sources online? Thanks! I'm having a hard time finding a nice one. Thanks in advance guys! I have seen such a tool some time ago. Just don't remember its name.

Re: [PHP] Linux tools for PHP

2004-03-08 Thread Marco Schuler
Am Mo, 2004-03-08 um 17.46 schrieb Thiago Silva: Hello All. For all of you working with PHP on a GNU/Linux machine: What development tools (editors, debuggers, modeling tools, SGBDs) do you or your team use? Editor/debugger/profiler: http://www.zend.com/store/products/zend-studio.php

Re: [PHP] SWFShape HOW TO DRAW ELLIPSE????

2004-02-19 Thread Marco Schuler
Hi Am Mi, 2004-02-18 um 20.37 schrieb Rostislav Kerey: Hi all, How I can to draw ellipse with Ming functions? I have found how to draw circle but not ellipse :( Help me please!!! Not tested and just pseudo-code (from a mathematical view): for ($degree = 0; $degree = 360; $degree++) {

[PHP] Request for files

2004-01-30 Thread Marco Schuler
Hello Sorry for bothering you with that 'question'. There was an article about an authentication-system in the German version of the magazin 'php solutions' issue October/November 2003. Unfortunately, my CD that was provided with the magazin has got a lot of CRC-errors (scratches). Could somebody

[PHP] Debugging using dbg and ddd on linux

2003-12-23 Thread Marco Schuler
Hello I am looking for a way to debug my php scripts. On the web I found Dmitri Dmitrienko's dbg. I'd like to use it with ddd on my linux machine. Unfortunatly there is no howto on how to set up all that. I read about a patch for ddd but could not find any further information. As a nice to have

Re: [PHP] Best way to approach object construction errors?

2003-09-20 Thread Marco Schuler
Am Don, 2003-09-18 um 20.36 schrieb Mike Zornek: I've created a class called university, it has a constructor which can accept an id. If the id is sent during construction the constructor will connect to a MySQL db to set all of the objects member variables to the MySQl counterparts. I'd

[PHP] Object in session and include

2003-09-17 Thread Marco Schuler
Hi I have to serialize an object in a session. Generally there is no problem with this if the class-definition file(s) are included _before_ starting the session, as explained in the php-manual: quoting It is strongly recommended that you include the class definitions of all such registered

RE: [PHP] consistent PHP function names?

2003-09-17 Thread Marco Schuler
Am Mit, 2003-09-17 um 14.26 schrieb [EMAIL PROTECTED]: In practice, I find that all my code is wrapped up in custom functions and objects anyway - I name those quite carefully to avoid confusing myself and others, but don't need to worry too much about the naming conventions of the functions

Re: [PHP] Session Variables in a Class

2003-09-09 Thread Marco Schuler
Am Die, 2003-09-09 um 10.19 schrieb micro brew: Hi everyone, I've been experimenting with sessions. I can make them work just fine in a normal PHP page. But when I create a class and try to define a session variable within a method in the class it won't work. I've tried setting the

Re: [PHP] How do I get the result of a Division to 2 decimal places?

2003-09-09 Thread Marco Schuler
Hi Am Die, 2003-09-09 um 16.06 schrieb Shaun: Hi, I am dividing a number by another number and printing the result to the screen. How can I ensure that the number is rounded up to 2 decimal places? Use printf with format strings like printf(Value: %.2f, $value);

Re: [PHP] suggestion: recursive calls

2003-09-04 Thread Marco Schuler
Hi Am Don, 2003-09-04 um 12.40 schrieb Ronald van Raaphorst: I normally program in clarion (www.softvelocity.com) and an infinite recursive call will cause a heap overflow... As I only got a This page cannot be displayed page, an error must have occurred, but it's not displayed... A

Re: [PHP] Can Objects be passed to another page?

2003-09-03 Thread Marco Schuler
Hi there MuToGeN wrote: No, arrays can be passed (input name=array[2], for example), but not objects. And why does this work then? === SCRIPT === ?php error_reporting(E_ALL); class AClass { var $i = 0; function AClass ($i = 0) { //$this-display(); } function

Re: [PHP] Can Objects be passed to another page?

2003-09-03 Thread Marco Schuler
Hi MuToGeN wrote: I was saying about GET and POST, not sessions Could not see that out of your replay... sorry! -- Cheers! Marco MS Hi there MS MuToGeN wrote: No, arrays can be passed (input name=array[2], for example), but not objects. MS And why does this work then? MS

Re: [PHP] Can Objects be passed to another page?

2003-09-03 Thread Marco Schuler
Radu Manole wrote: using serialize might work The script works as it is quoted in my previous message. P.S.: It is sufficient to post your replay to the list. Thank you! -- Marco - Original Message - From: Marco Schuler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday

Re: [PHP] What does - mean?

2003-08-14 Thread Marco Schuler
Hi James Am Donnerstag, 14. August 2003 um 09:14 schrieb James Johnson: Hello, I've searched through Zend and php.net and can't find the answer. In the following code: $this-vendor = $vendor; What does the - mean or do? http://www.php.net/manual/en/language.oop.php -- Cheers! Marco