[PHP] Using PHP4 4.3.4 as a CGI

2004-05-12 Thread Mark Constable
Debian testing system with a recent update to php-cgi 4.3.4. I have been using the /usr/bin/php4 binary as a some.cgi with a shbang line of "#!/usr/bin/php4" which worked fine up until this recent 4.3.4 update. Now the new 4.3.4 php4 binary does not produce a "Content-type: index/html\n\n" header

Re: [PHP] default and another constructor

2004-05-12 Thread Mark Constable
On Wed, 12 May 2004 11:27 pm, Rudy Metzger wrote: > On Wed, 2004-05-12 at 15:18, Mark Constable wrote: > > You can at least make the below work by removing the first > > forum() instance and using > > > > function forum($naam=NULL,$tijd=NULL,$tekst=NULL) > > &g

Re: [PHP] default and another constructor

2004-05-12 Thread Mark Constable
On Wed, 12 May 2004 10:43 pm, Lieve Vissenaeken wrote: > Please ,could anybody help me ? I'm not so familiar with PHP. > > I've the following problem with my code when I try to make an object from > the class "forum" with the code "$test=new forum()". I always get a > warning on this: "Warning: M

Re: [PHP] parsing value by URL

2004-05-12 Thread Mark Constable
On Wed, 12 May 2004 09:42 pm, gowthaman ramasamy wrote: > I have a problem in passing the value to another PHP script from the > first one. can any one help me to debug it. > > ENCTYPE="text/plain"> > if(isset($_POST['submit'])) > { > does many things > > $detail_file='testrun_hetero_srtdou

Re: [PHP] Methods for instatiating an object

2004-05-12 Thread Mark Constable
On Wed, 12 May 2004 08:41 pm, Jordi Canals wrote: > A)$object = new MyClass; > B)$object =& new MyClass; > 1) In case A, PHP creates a new object and returns a Copy of this new > object, so really I will have the object two instances for the object in > memory ... > > 2) In case B, PHP cre

[PHP] Using PHP4 4.3.4 as a CGI

2004-05-12 Thread Mark Constable
Debian testing system with a recent update to php-cgi 4.3.4. I have been using the /usr/bin/php4 binary as a some.cgi with a shbang line of "#!/usr/bin/php4" which worked fine up until this recent 4.3.4 update. Now the new 4.3.4 php4 binary does not produce a "Content-type: index/html\n\n" header