|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
php-general-digest-help_at_lists.php.net
Date: Sun Jan 12 2003 - 06:39:48 CST
php-general Digest 12 Jan 2003 12:39:48 -0000 Issue 1818
Topics (messages 131287 through 131328):
Simple Form Processing
131287 by: Kyle Babich
131299 by: Justin French
131328 by: Kyle Babich
Some help on PHP & HTML please
131288 by: Denis L. Menezes
131289 by: Daniel Kushner
Sorry, PHP & HTML
131290 by: Denis L. Menezes
131294 by: Timothy Hitchens \(HiTCHO\)
131298 by: Larry Brown
Permission Denied
131291 by: Stephen
131295 by: Stephen
131300 by: jacob.keystreams.com
131321 by: Jason Wong
Re: php5 cvs
131292 by: electroteque
131315 by: electroteque
131317 by: Sean Malloy
131323 by: electroteque
131325 by: Zeev Suraski
131327 by: electroteque
Re: global to superglobal
131293 by: Greg Beaver
Re: fopen with nasty pathnames
131296 by: Gerald Timothy Quimpo
131324 by: Mat Harris
displaying in the table problem
131297 by: Denis L. Menezes
Re: rintones using php
131301 by: Justin French
Uploading images to a particular folder in the server
131302 by: Denis L. Menezes
131303 by: Rick Emery
131320 by: Jason Wong
Changing permissions with mkdir?
131304 by: Ben Cheng
131310 by: Timothy Hitchens \(HiTCHO\)
131319 by: Jason Wong
Format tables!!
131305 by: Karl James
131309 by: Justin French
Amount of data in the database
131306 by: Denis L. Menezes
131307 by: Timothy Hitchens \(HiTCHO\)
131311 by: Denis L. Menezes
131312 by: Timothy Hitchens \(HiTCHO\)
OOP for Web Programming Paradigm
131308 by: Victor
Re: version confusion - please help
131313 by: Jesse Cablek
Re: php-general Digest 27 Mar 2002 13:15:24 -0000 Issue 1251
131314 by: DCnFamily.aol.com
test
131316 by: Karl James
131318 by: Philip J. Newman
highlight keywords issue
131322 by: Hatem Ben
strip php tags from code ?
131326 by: David D
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscribe
lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscribe
lists.php.net
To post to the list, e-mail:
php-general
lists.php.net
----------------------------------------------------------------------
attached mail follows:
I just broke skin with php and I'm learning forms, which I'm not good
with at all. These are snippets from post.html:
<form method="get" action="process.php" enctype="multipart/form-data">
and
<input type="file" name="image1" maxlength="750" allow="images/*"><br>
<input type="file" name="image2" maxlength="750" allow="images/*"><br>
<input type="file" name="image3" maxlength="750" allow="images/*"><br>
but how would I pass the actual image on because when I do something like
this:
<?php echo "{$_GET[image1]}";
?>
as you could probably guess only the filename prints.
So how do I take the image instead of just the filename?
Thank you,
-- Kyle
attached mail follows:
Hi,
the files themselves are available in the $_FILES array, but it's not as simple as that.
may i recommend you start by copying the Examples 18-1 and 18-2 from this page: http://www.php.net/manual/en/features.file-upload.php
Once you've got THAT code working smoothly and understand what's happening, THEN start modifying it to a 3-file form.
I'd personally push forms through using POST method rather than get whenever possible -- especially when dealing with files... the manual does it this way too :)
Justin
on 12/01/03 12:18 PM, Kyle Babich (php
kyle.sent.com) wrote:
> I just broke skin with php and I'm learning forms, which I'm not good > with at all. These are snippets from post.html: > > <form method="get" action="process.php" enctype="multipart/form-data"> > and > <input type="file" name="image1" maxlength="750" allow="images/*"><br> > <input type="file" name="image2" maxlength="750" allow="images/*"><br> > <input type="file" name="image3" maxlength="750" allow="images/*"><br> > > but how would I pass the actual image on because when I do something like > this: > <?php echo "{$_GET[image1]}"; > ?> > as you could probably guess only the filename prints. > > So how do I take the image instead of just the filename? > > Thank you, > -- > Kyle
attached mail follows:
This is what I tried:
if (is_uploaded_file($HTTP_POST_FILES['image1']['image1']) { move_uploaded_file($HTTP_POST_FILES['image1']['image1'], "$DOCUMENT_ROOT/images/$file"); }
and also this:
if (is_uploaded_file($_FILES['image1']['image1']) { move_uploaded_file($_FILES['image1']['image1'], "$DOCUMENT_ROOT/images/$file"); }
and this:
if (is_uploaded_file($_FILES['image1']['image1'])) { copy($_FILES['image1']['image1'], "$DOCUMENT_ROOT/images"); }
,the image (which was within the size range) was never uploaded. I have a feeling that I am makeing 1 or 2 of the same mistakes in all three but through my experimenting and reading I am having no luck. I also bought Programming PHP but I trust it less and less as I even find simple mistakes like missing quotes in example code. So what's going wrong?
Thank you again, Kyle
On Sun, 12 Jan 2003 15:17:42 +1100, "Justin French"
<justin
indent.com.au> said:
> Hi,
>
> the files themselves are available in the $_FILES array, but it's not as
> simple as that.
>
> may i recommend you start by copying the Examples 18-1 and 18-2 from this
> page:
> http://www.php.net/manual/en/features.file-upload.php
>
> Once you've got THAT code working smoothly and understand what's
> happening,
> THEN start modifying it to a 3-file form.
>
> I'd personally push forms through using POST method rather than get
> whenever
> possible -- especially when dealing with files... the manual does it this
> way too :)
>
>
> Justin
>
>
>
> on 12/01/03 12:18 PM, Kyle Babich (php
kyle.sent.com) wrote:
>
> > I just broke skin with php and I'm learning forms, which I'm not good
> > with at all. These are snippets from post.html:
> >
> > <form method="get" action="process.php" enctype="multipart/form-data">
> > and
> > <input type="file" name="image1" maxlength="750" allow="images/*"><br>
> > <input type="file" name="image2" maxlength="750" allow="images/*"><br>
> > <input type="file" name="image3" maxlength="750" allow="images/*"><br>
> >
> > but how would I pass the actual image on because when I do something like
> > this:
> > <?php echo "{$_GET[image1]}";
> > ?>
> > as you could probably guess only the filename prints.
> >
> > So how do I take the image instead of just the filename?
> >
> > Thank you,
> > --
> > Kyle
>
>
attached mail follows:
HGello friends.
I have a database from which I take 2 variables as follows : $CompanyWebsite $CompanyLogo
I want to dynamically show two GIFs and when the user clicks on these, they should go to http://www.hotmail.com and http://www.yahoo.com respectively. I have problem only with the displaying(the error is parse error on the lines containing <a> tags), for which I use the folowing code. Please tell me where I am wrong.
<?php Print " Organisation address : ".$row[CompanyAddress]." <br>\n".""; Print " Organisation website : ".$row[CompanyWebsite]."<br>\n"." "; // I am displaying this when testing only. Print " Organisation logo : ".$row[CompanyLogo]."<br>\n"." ";?> // I am displaying this when testing only.
<a href="http://www.hotmail.com"><img src="logos/constr12.gif" width="100" height="100" border="0"></a> <a href="http://www.yahoo.com"><img src="logos/constr12.gif" width="100" height="100" border="0"></a> ?>
Thanks Denis
attached mail follows:
Hi Denis,
You should close the PHP tag (?>) before outputing HTML.
Regards, Daniel Kushner
_________________________________________ Need hosting? http://thehostingcompany.us
-----Original Message-----
From: Denis L. Menezes [mailto:menezesd
singnet.com.sg]
Sent: Saturday, January 11, 2003 8:25 PM
To: PHP general list
Subject: [PHP] Some help on PHP & HTML please
HGello friends.
I have a database from which I take 2 variables as follows : $CompanyWebsite $CompanyLogo
I want to dynamically show two GIFs and when the user clicks on these, they should go to http://www.hotmail.com and http://www.yahoo.com respectively. I have problem only with the displaying(the error is parse error on the lines containing <a> tags), for which I use the folowing code. Please tell me where I am wrong.
<?php Print " Organisation address : ".$row[CompanyAddress]." <br>\n".""; Print " Organisation website : ".$row[CompanyWebsite]."<br>\n"." "; // I am displaying this when testing only. Print " Organisation logo : ".$row[CompanyLogo]."<br>\n"." ";?> // I am displaying this when testing only.
<a href="http://www.hotmail.com"><img src="logos/constr12.gif" width="100" height="100" border="0"></a> <a href="http://www.yahoo.com"><img src="logos/constr12.gif" width="100" height="100" border="0"></a> ?>
Thanks Denis
attached mail follows:
Hello friends.
I have a database from which I take 2 variables as follows : $CompanyWebsite $CompanyLogo
I want to dynamically show two GIFs and when the user clicks on these, they should go to http://www.hotmail.com and http://www.yahoo.com respectively. I have problem only with the displaying(the error is parse error on the lines containing <a> tags), for which I use the folowing code. Please tell me where I am wrong.
<?php Print " Organisation address : ".$row[CompanyAddress]." <br>\n".""; Print " Organisation website : ".$row[CompanyWebsite]."<br>\n"." "; // I am displaying this when testing only. Print " Organisation logo : ".$row[CompanyLogo]."<br>\n"." ";?> // I am displaying this when testing only.
Print "<a href="http://www.hotmail.com"><img src="logos/constr12.gif" width="100" height="100" border="0"></a>"; Print "<a href="http://www.yahoo.com"><img src="logos/constr12.gif" width="100" height="100" border="0"></a>"; ?>
Thanks Denis
attached mail follows:
I don't see the problem I can run the script with one issue that the comments are outside of PHP parsing.
The other issue is that you are closing off for PHP but not opening up in the second block!!
** what are you errors exactly!! are they notices about variables???
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: tim
hitcho.com.au
> -----Original Message-----
> From: Denis L. Menezes [mailto:menezesd
singnet.com.sg]
> Sent: Sunday, 12 January 2003 11:32 AM
> To: PHP general list
> Subject: [PHP] Sorry, PHP & HTML
>
>
> Hello friends.
>
> I have a database from which I take 2 variables as follows :
> $CompanyWebsite
> $CompanyLogo
>
> I want to dynamically show two GIFs and when the user clicks
> on these, they should go to > http://www.hotmail.com and
> http://www.yahoo.com
> respectively. I have problem only with
> the displaying(the error is parse error on the lines
> containing <a> tags), for which I use the folowing code.
> Please tell me where I am wrong.
>
> <?php
> Print " Organisation address :
> ".$row[CompanyAddress]." <br>\n"."";
> Print " Organisation website :
> ".$row[CompanyWebsite]."<br>\n"." "; // I am
> displaying this when testing only.
> Print " Organisation logo :
> ".$row[CompanyLogo]."<br>\n"." ";?>
> // I am displaying this when testing only.
>
> Print "<a href="http://www.hotmail.com"><img
> src="logos/constr12.gif" width="100" height="100"
> border="0"></a>"; Print "<a href="http://www.yahoo.com"><img
> src="logos/constr12.gif" width="100" height="100" border="0"></a>"; ?>
>
> Thanks
> Denis
>
attached mail follows:
Your print line needs to have the quotes escaped. Unless print works different than echo the line should read...
print "<a href=\http://www.hotmail.com\><img src=\"logos/constr12.gif\" width=\"100\" height=\"100\" border=\"0\"></a>";
Larry S. Brown Dimension Networks, Inc. (727) 723-8388
-----Original Message-----
From: Denis L. Menezes [mailto:menezesd
singnet.com.sg]
Sent: Saturday, January 11, 2003 8:32 PM
To: PHP general list
Subject: [PHP] Sorry, PHP & HTML
Hello friends.
I have a database from which I take 2 variables as follows : $CompanyWebsite $CompanyLogo
I want to dynamically show two GIFs and when the user clicks on these, they should go to http://www.hotmail.com and http://www.yahoo.com respectively. I have problem only with the displaying(the error is parse error on the lines containing <a> tags), for which I use the folowing code. Please tell me where I am wrong.
<?php Print " Organisation address : ".$row[CompanyAddress]." <br>\n".""; Print " Organisation website : ".$row[CompanyWebsite]."<br>\n"." "; // I am displaying this when testing only. Print " Organisation logo : ".$row[CompanyLogo]."<br>\n"." ";?> // I am displaying this when testing only.
Print "<a href="http://www.hotmail.com"><img src="logos/constr12.gif" width="100" height="100" border="0"></a>"; Print "<a href="http://www.yahoo.com"><img src="logos/constr12.gif" width="100" height="100" border="0"></a>"; ?>
Thanks Denis
attached mail follows:
Why do I get this error whenever I try to CHMOD something in PHP or create a directory (in this case):
Warning: mkdir(packs/bob) [function.mkdir]: Permission denied in c:\inetpub\wwwroot\phpiw\classes\class.cp.php on line 20
Here's line 20 of class.cp.php:
mkdir('packs/'.$package, 0777);
Any help would be great!
Thanks, Stephen Craton http://www.melchior.us
"What's the point in appearance if your true love, doesn't care about it?" -- http://www.melchior.us
attached mail follows:
There's already a folder named packs but my problem was not having the / before it. One more question. How can I dynamically get the path to the current folder? Like your at http://www.bob.com/joe/index.php and you want to get the http://www.bob.com/joe/ bit and do it dynamically?
----- Original Message -----
From: "Chris Hayes" <chayes
antenna.nl>
To: "Stephen" <webmaster
melchior.us>
Sent: Saturday, January 11, 2003 8:49 PM
Subject: Re: [PHP] Permission Denied
: At 02:40 12-1-2003, you wrote: : >Why do I get this error whenever I try to CHMOD something in PHP or create : >a directory (in this case): : > : >Warning: mkdir(packs/bob) : >[<http://www.php.net/function.mkdir>function.mkdir]: Permission denied in : >c:\inetpub\wwwroot\phpiw\classes\class.cp.php on line 20 : > : >Here's line 20 of class.cp.php: : > : > mkdir('packs/'.$package, 0777); : : I suppose you have no dir creation rights in the dir in which you want to : add this. : : I also think you can only mkdir one directory at a time, if so you need to : make 'packs' first, then 'bob'. But that would need testing. : : :
attached mail follows:
The user/group (commonly nobody.nogroup or nobody.nobody) that your web server runs under probably does not have the permissions necessary to chmod those directories (ie: they are owned by someone else).
Quoting Stephen <webmaster
melchior.us>:
> Why do I get this error whenever I try to CHMOD something in PHP or create a > directory (in this case): > > Warning: mkdir(packs/bob) [function.mkdir]: Permission denied in > c:\inetpub\wwwroot\phpiw\classes\class.cp.php on line 20 > > Here's line 20 of class.cp.php: > > mkdir('packs/'.$package, 0777); > > Any help would be great! > > Thanks, > Stephen Craton > http://www.melchior.us > > "What's the point in appearance if your true love, doesn't care about it?" -- > http://www.melchior.us
----- End forwarded message -----
attached mail follows:
On Sunday 12 January 2003 10:10, Stephen wrote: > There's already a folder named packs but my problem was not having the / > before it. One more question. How can I dynamically get the path to the > current folder? Like your at http://www.bob.com/joe/index.php and you want > to get the http://www.bob.com/joe/ bit and do it dynamically?
print_r($_SERVER) will show you which bits you can use.
-- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development */* I'll show you MY telex number if you show me YOURS ... */
attached mail follows:
lol no , i am gonna try and upgrade my workfrom dinasour php3 to php 4.3, i
have a development box here
home i just upgraded to the 4.3 release from
rc3 and am gonna try out version 5 then it doesnt matter how stable it is at
home really :D
"Danny Shepherd" <danny
kyboshed.com> wrote in message
news:000b01c2b9d2$ae5e46c0$6400a8c0
DANNYS...
> It includes the latest CVS build of ZendEngine 2.0 - AFAIK it hasn't even
> reached beta status yet, so don't even think about using it for production
> work. That said, I didn't have any problems building it and it seems
pretty
> stable.
>
> A list of changes and features can be found at
> http://www.php.net/ZEND_CHANGES.txt.
>
> HTH
>
> Danny.
>
> ----- Original Message -----
> From: "electroteque" <daniel
electroteque.org>
> To: <php-general
lists.php.net>
> Sent: Saturday, January 11, 2003 6:50 PM
> Subject: [PHP] php5 cvs
>
>
> > hi guys just noticed php5 cvs in the snaps page , does this have the
zend
> > 2.0 engine ? more specific question has it got the proper OO built in
yet
> ?
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
attached mail follows:
hmm has the public and private function accessor changed ? i have been building my classes with test() and _test() to differentiate from public and private and have been waiting to try it out but i can still access both ! ??
"Electroteque" <daniel
electroteque.org> wrote in message
news:20030112014117.25347.qmail
pb1.pair.com...
> lol no , i am gonna try and upgrade my workfrom dinasour php3 to php 4.3,
i
> have a development box here
home i just upgraded to the 4.3 release from
> rc3 and am gonna try out version 5 then it doesnt matter how stable it is
at
> home really :D
>
> "Danny Shepherd" <danny
kyboshed.com> wrote in message
> news:000b01c2b9d2$ae5e46c0$6400a8c0
DANNYS...
> > It includes the latest CVS build of ZendEngine 2.0 - AFAIK it hasn't
even
> > reached beta status yet, so don't even think about using it for
production
> > work. That said, I didn't have any problems building it and it seems
> pretty
> > stable.
> >
> > A list of changes and features can be found at
> > http://www.php.net/ZEND_CHANGES.txt.
> >
> > HTH
> >
> > Danny.
> >
> > ----- Original Message -----
> > From: "electroteque" <daniel
electroteque.org>
> > To: <php-general
lists.php.net>
> > Sent: Saturday, January 11, 2003 6:50 PM
> > Subject: [PHP] php5 cvs
> >
> >
> > > hi guys just noticed php5 cvs in the snaps page , does this have the
> zend
> > > 2.0 engine ? more specific question has it got the proper OO built in
> yet
> > ?
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> >
>
>
attached mail follows:
try
private function() { }
-----Original Message-----
From: electroteque [mailto:daniel
electroteque.org]
Sent: Sunday, 12 January 2003 6:43 PM
To: php-general
lists.php.net
Subject: Re: [PHP] php5 cvs
hmm has the public and private function accessor changed ? i have been building my classes with test() and _test() to differentiate from public and private and have been waiting to try it out but i can still access both ! ??
"Electroteque" <daniel
electroteque.org> wrote in message
news:20030112014117.25347.qmail
pb1.pair.com...
> lol no , i am gonna try and upgrade my workfrom dinasour php3 to php 4.3,
i
> have a development box here
home i just upgraded to the 4.3 release from
> rc3 and am gonna try out version 5 then it doesnt matter how stable it is
at
> home really :D
>
> "Danny Shepherd" <danny
kyboshed.com> wrote in message
> news:000b01c2b9d2$ae5e46c0$6400a8c0
DANNYS...
> > It includes the latest CVS build of ZendEngine 2.0 - AFAIK it hasn't
even
> > reached beta status yet, so don't even think about using it for
production
> > work. That said, I didn't have any problems building it and it seems
> pretty
> > stable.
> >
> > A list of changes and features can be found at
> > http://www.php.net/ZEND_CHANGES.txt.
> >
> > HTH
> >
> > Danny.
> >
> > ----- Original Message -----
> > From: "electroteque" <daniel
electroteque.org>
> > To: <php-general
lists.php.net>
> > Sent: Saturday, January 11, 2003 6:50 PM
> > Subject: [PHP] php5 cvs
> >
> >
> > > hi guys just noticed php5 cvs in the snaps page , does this have the
> zend
> > > 2.0 engine ? more specific question has it got the proper OO built in
> yet
> > ?
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> >
>
>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
attached mail follows:
Fatal error caught: Call to private method class_test::echo_test() from context '' in /www/servers/electroteque/web/galleries/classtest.php on line 18
class Class_Test { function Class_Test() {
}
private function echo_test() { echo "test"; }
function echo_test2() { $this->echo_test(); } }
$class = new Class_Test();
$class->echo_test();
so are you saying the referencing has all been changed now ? i read the structure before and to prepare for zend 2 reference the functions like _test() and test(), means i'll have to rewrite my functions again :|
-----Original Message-----
From: Sean Malloy [mailto:sean
element.net.au]
Sent: Sunday, January 12, 2003 7:52 PM
To: electroteque; php-general
lists.php.net
Subject: RE: [PHP] php5 cvs
try
private function() { }
-----Original Message-----
From: electroteque [mailto:daniel
electroteque.org]
Sent: Sunday, 12 January 2003 6:43 PM
To: php-general
lists.php.net
Subject: Re: [PHP] php5 cvs
hmm has the public and private function accessor changed ? i have been building my classes with test() and _test() to differentiate from public and private and have been waiting to try it out but i can still access both ! ??
"Electroteque" <daniel
electroteque.org> wrote in message
news:20030112014117.25347.qmail
pb1.pair.com...
> lol no , i am gonna try and upgrade my workfrom dinasour php3 to php 4.3,
i
> have a development box here
home i just upgraded to the 4.3 release from
> rc3 and am gonna try out version 5 then it doesnt matter how stable it is
at
> home really :D
>
> "Danny Shepherd" <danny
kyboshed.com> wrote in message
> news:000b01c2b9d2$ae5e46c0$6400a8c0
DANNYS...
> > It includes the latest CVS build of ZendEngine 2.0 - AFAIK it hasn't
even
> > reached beta status yet, so don't even think about using it for
production
> > work. That said, I didn't have any problems building it and it seems
> pretty
> > stable.
> >
> > A list of changes and features can be found at
> > http://www.php.net/ZEND_CHANGES.txt.
> >
> > HTH
> >
> > Danny.
> >
> > ----- Original Message -----
> > From: "electroteque" <daniel
electroteque.org>
> > To: <php-general
lists.php.net>
> > Sent: Saturday, January 11, 2003 6:50 PM
> > Subject: [PHP] php5 cvs
> >
> >
> > > hi guys just noticed php5 cvs in the snaps page , does this have the
> zend
> > > 2.0 engine ? more specific question has it got the proper OO built in
> yet
> > ?
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> >
>
>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
attached mail follows:
Not sure what you mean by 'changed', but the way to denote private functions is by adding 'private' to the method declaration, and not by prefixing them with _.
You can do it using:
class bar { private function foo() { ... } ... };
Zeev
At 09:43 12/01/2003, electroteque wrote:
>hmm has the public and private function accessor changed ? i have been
>building my classes with test() and _test() to differentiate from public and
>private and have been waiting to try it out but i can still access both ! ??
>
>"Electroteque" <daniel
electroteque.org> wrote in message
>news:20030112014117.25347.qmail
pb1.pair.com...
> > lol no , i am gonna try and upgrade my workfrom dinasour php3 to php 4.3,
>i
> > have a development box here
home i just upgraded to the 4.3 release from
> > rc3 and am gonna try out version 5 then it doesnt matter how stable it is
>at
> > home really :D
> >
> > "Danny Shepherd" <danny
kyboshed.com> wrote in message
> > news:000b01c2b9d2$ae5e46c0$6400a8c0
DANNYS...
> > > It includes the latest CVS build of ZendEngine 2.0 - AFAIK it hasn't
>even
> > > reached beta status yet, so don't even think about using it for
>production
> > > work. That said, I didn't have any problems building it and it seems
> > pretty
> > > stable.
> > >
> > > A list of changes and features can be found at
> > > http://www.php.net/ZEND_CHANGES.txt.
> > >
> > > HTH
> > >
> > > Danny.
> > >
> > > ----- Original Message -----
> > > From: "electroteque" <daniel
electroteque.org>
> > > To: <php-general
lists.php.net>
> > > Sent: Saturday, January 11, 2003 6:50 PM
> > > Subject: [PHP] php5 cvs
> > >
> > >
> > > > hi guys just noticed php5 cvs in the snaps page , does this have the
> > zend
> > > > 2.0 engine ? more specific question has it got the proper OO built in
> > yet
> > > ?
> > > >
> > > >
> > > >
> > > > --
> > > > PHP General Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > >
> > >
> >
> >
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
attached mail follows:
its cool , i cant remember where i saw the reference , but it was claiming to prefix the functions with underscores to denote private functions in php 4 for the rollover of php5, it was a pretty legit resource i cant remember where though have too many bookmarks, oh well at least i know now , i think it meant to underscore them , to make the private functions recognisable so then the rewrite for the proper OO in php5 can be easy as adding private where the underscores are ??, i gave 5 a test, compiled with no problems except my ming extension didnt seem to load properly so will stick with for 4.3 for now. aparantly its still not true OO as you have to add the constructor of the base class inside the sub class constructor where other languages dont need to do this, i was told from my c++ flatmate of mine but correct me if i'm wrong but sadly i dont know much c++ apart from modding source code now and then :D
-----Original Message-----
From: Zeev Suraski [mailto:zeev
zend.com]
Sent: Sunday, January 12, 2003 11:13 PM
To: electroteque
Cc: php-general
lists.php.net
Subject: Re: [PHP] php5 cvs
Not sure what you mean by 'changed', but the way to denote private functions is by adding 'private' to the method declaration, and not by prefixing them with _.
You can do it using:
class bar { private function foo() { ... } ... };
Zeev
At 09:43 12/01/2003, electroteque wrote:
>hmm has the public and private function accessor changed ? i have been
>building my classes with test() and _test() to differentiate from public
and
>private and have been waiting to try it out but i can still access both !
??
>
>"Electroteque" <daniel
electroteque.org> wrote in message
>news:20030112014117.25347.qmail
pb1.pair.com...
> > lol no , i am gonna try and upgrade my workfrom dinasour php3 to php
4.3,
>i
> > have a development box here
home i just upgraded to the 4.3 release
from
> > rc3 and am gonna try out version 5 then it doesnt matter how stable it
is
>at
> > home really :D
> >
> > "Danny Shepherd" <danny
kyboshed.com> wrote in message
> > news:000b01c2b9d2$ae5e46c0$6400a8c0
DANNYS...
> > > It includes the latest CVS build of ZendEngine 2.0 - AFAIK it hasn't
>even
> > > reached beta status yet, so don't even think about using it for
>production
> > > work. That said, I didn't have any problems building it and it seems
> > pretty
> > > stable.
> > >
> > > A list of changes and features can be found at
> > > http://www.php.net/ZEND_CHANGES.txt.
> > >
> > > HTH
> > >
> > > Danny.
> > >
> > > ----- Original Message -----
> > > From: "electroteque" <daniel
electroteque.org>
> > > To: <php-general
lists.php.net>
> > > Sent: Saturday, January 11, 2003 6:50 PM
> > > Subject: [PHP] php5 cvs
> > >
> > >
> > > > hi guys just noticed php5 cvs in the snaps page , does this have the
> > zend
> > > > 2.0 engine ? more specific question has it got the proper OO built
in
> > yet
> > > ?
> > > >
> > > >
> > > >
> > > > --
> > > > PHP General Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > >
> > >
> >
> >
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
attached mail follows:
<pippo
bellnet.ca> wrote in message
news:5.1.0.14.2.20030111160116.00b98008
pop51.bellnet.ca...
> Most of the variables should be fairly obvious, I should think. So, it
> should not be too difficult to do some search & replace of stuff like the
> $_SERVER['DOCUMENT_ROOT'] stuff. I suppose I could then try to run the
> stuff with error reporting maxed out.
> Does that seem about right or should I start with the error reports and go
> at it one by one. Being terribly lazy, I suppose makes me want to find
> shortcuts.
> I understand laziness is also a sign of genius... :))
It will be best to start from the code and do search and replace (one by one, dont' try anything fancy or you might waste time undoing your "fixes"). Then finding things from error reports will be easier.
Take care, Greg
-- phpDocumentor http://www.phpdoc.org
attached mail follows:
On Sunday 12 January 2003 07:08 am, Mat Harris wrote: > Patti\ Smith/Horses\ \[1975\]/01-Gloria.mp3 > > but fopen will still refuse saying file not found. I have tried escaped > and unescaped amnd yes, I am very sure the file is there. > > How can I get fopen to accept a path like this?
$in=fopen("a filename with spaces in it.mp3","r");
works for me. how are you getting filenames? it might be that it's the directory reading functions that are giving you bad filenames. (although, i just tried (not copy-pasted, so close but not exactly what i tested):
$dir=opendir("."); while(($dd=readdir($dir))!=false) print("$dd\n"); closedir($dir);
and that works for a directory that has files with spaces in them. all filenames are printed, including the names that have spaces.
another possibility, are those backslashes just for displaying? or are they actually there in the filename on disk? if the backslashes are actual parts of the filename (they shouldn't be, but the world is weird) then you'll need to escape them. "\\".
tiger
--
Gerald Timothy Quimpo tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph
Public Key: "gpg --keyserver pgp.mit.edu --recv-keys 672F4C78"
Veritas liberabit vos.
Doveryai no proveryai.
attached mail follows:
Gerald Timothy Quimpo wrote: > On Sunday 12 January 2003 07:08 am, Mat Harris wrote: > >>Patti\ Smith/Horses\ \[1975\]/01-Gloria.mp3 >> >>but fopen will still refuse saying file not found. I have tried escaped >>and unescaped amnd yes, I am very sure the file is there. >> >>How can I get fopen to accept a path like this? > > > $in=fopen("a filename with spaces in it.mp3","r"); > > works for me. how are you getting filenames? it might be that it's > the directory reading functions that are giving you bad filenames. > (although, i just tried (not copy-pasted, so close but not exactly > what i tested): > > $dir=opendir("."); > while(($dd=readdir($dir))!=false) > print("$dd\n"); > closedir($dir); > > and that works for a directory that has files with spaces in them. > all filenames are printed, including the names that have spaces. > > another possibility, are those backslashes just for displaying? or > are they actually there in the filename on disk? if the backslashes > are actual parts of the filename (they shouldn't be, but the world > is weird) then you'll need to escape them. "\\". > > tiger >
not escaping the filename worked. weird. i spend a good hour writing a function to make sure they were properly escaped. i thought i tried it this way before, but never mind.
thanks
-- Mat Harrison Network Systems Administrator mat.harrisgenestate.com www.genestate.com
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (MingW32)
iD8DBQE+IU+3EsYvZsN9V9kRAjo9AJ9l2h9QDOum45M6R4RbO+wy3POQuQCgz+jf chtyFbj58l5IGUC7XP7INaY= =09zj -----END PGP SIGNATURE-----
attached mail follows:
Hello Firends.
I have the following code. I am getting the query results but they are not displaying in the table. I presume there is something wrong with a "}" in the "while" statement. Can someone please tell me where I am wrong?
Quote :
<html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head>
<body>
<p> </p> <p> </p> <?php require 'common.inc';
if(!($link=mysql_pconnect($DB_SERVER,$DB_LOGIN,$DB_PASSWORD))){ DisplayErrMsg(sprintf("internal error %d:%s\n", mysql_errno(),mysql_error())); return 0; } if ($link){ Print ""; } else { Print "No connection to the database"; } if (!mysql_select_db("MyDomain_com")){ Print "Couldn't connect database"; } else { Print ""."<br>\n"; }?> <table width="75%" border="1"> <tr bgcolor="#006600"> <td><strong><font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">Company's name</font></strong></td> <td><strong><font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">Company's address</font></strong></td> <td><strong><font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">Company's website</font></strong></td> <td><strong><font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">Company's logo</font></strong></td> </tr> <?PHP $sql="select * from CompanyData" ; if ($result=mysql_query($sql)) { $numofrows=mysql_num_rows($result); } while($row=mysql_fetch_array($result)){ ?> <tr> <td width="12%" align="center" height="6"><font face="Tahoma" color="#000000"><?php Print " $row[CompanyName]" ;?></font> </td> <td width="12%" align="center" height="6"><font face="Tahoma" color="#000000"><?php Print " $row[CompanyAddress]" ;?></font> </td> <td width="12%" align="center" height="6"><font face="Tahoma" color="#000000"><?php Print " $row[Companywebsite]" ;?></font> </td> <td width="12%" align="center" height="6"><font face="Tahoma" color="#000000"><?php Print " $row[Companytel]" ;?></font> </td> </tr> </table> <p> </p> </body> </html>
Unquote
Thanks very much denis
attached mail follows:
You'd need a server capable of sending them (I think it's an SMS gateway hardware device, or something like that), which I think is more of an issue than then PHP scripts involved...
Justin
on 12/01/03 6:57 AM, Arvindv (arvindv
kaashyapradiant.com) wrote:
> Hi, > > Were can i get scripts to send rintones/graphics to mobile phones using > php ?. > > Arvind > > > >
attached mail follows:
Hello Friends,
I am hiring a 200Mb server space and building the php/mysql website there. Going ok so far.
I need to let users upload their logos in GIF format to a particulat folder ../webroot/logos/ .
Can any of you give me some hints or links. I have 4 books on PHP and noe of them are telling this.
Thanks
attached mail follows:
in your HTML file: <INPUT type="hidden" name="MAX_FILE_SIZE" value="5000000"> <INPUT type=file name="picfile">
in PHP script: copy($HTTP_POST_FILES['picfile']['tmp_name'], "../images/newfilename.gif");
----- Original Message -----
From: "Denis L. Menezes" <menezesd
singnet.com.sg>
To: "PHP general list" <php-general
lists.php.net>
Sent: Saturday, January 11, 2003 10:50 PM
Subject: [PHP] Uploading images to a particular folder in the server
Hello Friends,
I am hiring a 200Mb server space and building the php/mysql website there. Going ok so far.
I need to let users upload their logos in GIF format to a particulat folder ../webroot/logos/ .
Can any of you give me some hints or links. I have 4 books on PHP and noe of them are telling this.
Thanks
attached mail follows:
On Sunday 12 January 2003 12:55, Rick Emery wrote: > in your HTML file: > <INPUT type="hidden" name="MAX_FILE_SIZE" value="5000000"> > <INPUT type=file name="picfile"> > > in PHP script: > copy($HTTP_POST_FILES['picfile']['tmp_name'], "../images/newfilename.gif");
Better still check out the example in the manual.
-- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development */* I don't remember it, but I have it written down. */
attached mail follows:
When I run mkdir("path to new dir", 0777); I get a directory that has owner and group set to "nobody" and drwxr-xr-x permission. How do I get the permission to be set to drwxrwxrwx?
-Ben
attached mail follows:
Hmm that is strange... chmod it after then:
http://www.php.net/manual/en/function.chmod.php
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: tim
hitcho.com.au
> -----Original Message-----
> From: Ben Cheng [mailto:kenshin
mac.com]
> Sent: Sunday, 12 January 2003 2:56 PM
> To: php-general
lists.php.net
> Subject: [PHP] Changing permissions with mkdir?
>
>
> When I run mkdir("path to new dir", 0777); I get a directory that has
> owner and group set to "nobody" and drwxr-xr-x permission. How do I
> get the permission to be set to drwxrwxrwx?
>
> -Ben
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
attached mail follows:
On Sunday 12 January 2003 12:56, Ben Cheng wrote: > When I run mkdir("path to new dir", 0777); I get a directory that has > owner and group set to "nobody" and drwxr-xr-x permission. How do I > get the permission to be set to drwxrwxrwx?
umask()
-- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development */* In America, any boy may become president and I suppose that's just one of the risks he takes. -- Adlai Stevenson */
attached mail follows:
Hello people I was wondering if anyone had a good tutorial or script that I can use To where I can take a database table and have it print in tables, and allow me to edit the color And insert check boxes. Thanks Karl
attached mail follows:
<table width="400"> <tr> <td><b>name</b></td> <td><b>address</b></td> <td><b>phone</b></td> </tr> <? // connect to database excluded // error checking and result checking excluded
$sql = "select id,name,address,phone from contacts"; $result = mysql_query($sql); while($myrow = mysql_fetch_array($result)) { echo "<tr>"; echo "<td>{$myrow['name']}</td>"; echo "<td>{$myrow['address']}</td>"; echo "<td>{$myrow['phone']}</td>"; echo "</tr>"; } ?> </table>
You haven't really said what you want the checkboxes to do, but including them in the while loop is easy, eg:
while($myrow = mysql_fetch_array($result)) { echo "<tr>"; echo "<td><input type="checkbox" name="{$myrow['id']}" value="true"></td>"; echo "<td>{$myrow['name']}</td>"; echo "<td>{$myrow['address']}</td>"; echo "<td>{$myrow['phone']}</td>"; echo "</tr>"; }
To alternate the row colour between two colours in the loop, you need to: a) initialise a counter $i b) increase it by one every iteration of the loop c) if $i is even, use colour a, else use colour b
<table width="400"> <tr> <td> </td> <td><b>name</b></td> <td><b>address</b></td> <td><b>phone</b></td> </tr> <? // connect to database excluded // error checking and result checking excluded $i = 0; $sql = "select id,name,address,phone from contacts"; $result = mysql_query($sql); while($myrow = mysql_fetch_array($result)) { $i++; if(is_int($i / 2)) { $col = "#FFFFFF"; } else { $col = "#CCCCCC"; } echo "<tr bgcolor='{$col}'>"; echo "<td><input type="checkbox" name="{$myrow['id']}" value="true"></td>"; echo "<td>{$myrow['name']}</td>"; echo "<td>{$myrow['address']}</td>"; echo "<td>{$myrow['phone']}</td>"; echo "</tr>"; } ?> </table>
Untested code of course :)
Season to taste.
Justin
on 12/01/03 6:57 PM, Karl James (karl.james
verizon.net) wrote:
> Hello people > > I was wondering if anyone had a good tutorial or script that I can use > To where I can take a database table and have it print in tables, and > allow me to edit the color > And insert check boxes. > > Thanks > Karl > >
attached mail follows:
Hello friends.
I have a need for checking how much data(in kb) exists of each of the user members in the MySQL so that when they upload more data I can restrict/warn them of the amount of data they have on the server at present.
can anyone please tell me how to check the amount of data on the mysql for each record?
thanks very much Denis
attached mail follows:
Give this a go.. for each of the databases use:
SHOW TABLE STATUS FROM xxxxxx;
That will return a huge amount of size etc data!!
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: tim
hitcho.com.au
> -----Original Message-----
> From: Denis L. Menezes [mailto:menezesd
singnet.com.sg]
> Sent: Sunday, 12 January 2003 2:58 PM
> To: PHP general list
> Subject: [PHP] Amount of data in the database
>
>
> Hello friends.
>
> I have a need for checking how much data(in kb) exists of
> each of the user members in the MySQL so that when they
> upload more data I can restrict/warn them of the amount of
> data they have on the server at present.
>
> can anyone please tell me how to check the amount of data on
> the mysql for each record?
>
> thanks very much
> Denis
>
attached mail follows:
Thanks Timothy.
I want to find the amount of data for each member in the database using PHP and displaying in a web page. I know how to query records of a member and also know to display. Only I need to know the command for finding the size(in bytes or kb) for each of these records :Something like seeing the file sizes of each email in hotmail.
Thanks
Denis
----- Original Message -----
From: "Timothy Hitchens (HiTCHO)" <hitcho
php.net>
To: "'Denis L. Menezes'" <menezesd
singnet.com.sg>; "'PHP general list'"
<php-general
lists.php.net>
Sent: Sunday, January 12, 2003 1:29 PM
Subject: RE: [PHP] Amount of data in the database
> Give this a go.. for each of the databases use:
>
> SHOW TABLE STATUS FROM xxxxxx;
>
> That will return a huge amount of size etc data!!
>
>
>
> Timothy Hitchens (HiTCHO)
> Open Platform Consulting
> e-mail: tim
hitcho.com.au
>
> > -----Original Message-----
> > From: Denis L. Menezes [mailto:menezesd
singnet.com.sg]
> > Sent: Sunday, 12 January 2003 2:58 PM
> > To: PHP general list
> > Subject: [PHP] Amount of data in the database
> >
> >
> > Hello friends.
> >
> > I have a need for checking how much data(in kb) exists of
> > each of the user members in the MySQL so that when they
> > upload more data I can restrict/warn them of the amount of
> > data they have on the server at present.
> >
> > can anyone please tell me how to check the amount of data on
> > the mysql for each record?
> >
> > thanks very much
> > Denis
> >
attached mail follows:
I haven't seen a way to get the size of an individual record.
What about using the max size of the fields in that table against number of records eg:
255 char = x bytes etc etc = 156KB per record max
Timothy Hitchens (HiTCHO)
Open Platform Consulting
e-mail: tim
hitcho.com.au
> -----Original Message-----
> From: Denis L. Menezes [mailto:menezesd
singnet.com.sg]
> Sent: Sunday, 12 January 2003 4:10 PM
> To: hitcho
php.net; 'PHP general list'
> Subject: Re: [PHP] Amount of data in the database
>
>
> Thanks Timothy.
>
> I want to find the amount of data for each member in the
> database using PHP and displaying in a web page. I know how
> to query records of a member and also know to display. Only I
> need to know the command for finding the size(in bytes or kb)
> for each of these records :Something like seeing the file
> sizes of each email in hotmail.
>
>
> Thanks
> Denis
> ----- Original Message -----
> From: "Timothy Hitchens (HiTCHO)" <hitcho
php.net>
> To: "'Denis L. Menezes'" <menezesd
singnet.com.sg>; "'PHP
> general list'" <php-general
lists.php.net>
> Sent: Sunday, January 12, 2003 1:29 PM
> Subject: RE: [PHP] Amount of data in the database
>
>
> > Give this a go.. for each of the databases use:
> >
> > SHOW TABLE STATUS FROM xxxxxx;
> >
> > That will return a huge amount of size etc data!!
> >
> >
> >
> > Timothy Hitchens (HiTCHO)
> > Open Platform Consulting
> > e-mail: tim
hitcho.com.au
> >
> > > -----Original Message-----
> > > From: Denis L. Menezes [mailto:menezesd
singnet.com.sg]
> > > Sent: Sunday, 12 January 2003 2:58 PM
> > > To: PHP general list
> > > Subject: [PHP] Amount of data in the database
> > >
> > >
> > > Hello friends.
> > >
> > > I have a need for checking how much data(in kb) exists of each of
> > > the user members in the MySQL so that when they upload
> more data I
> > > can restrict/warn them of the amount of data they have on
> the server
> > > at present.
> > >
> > > can anyone please tell me how to check the amount of data on the
> > > mysql for each record?
> > >
> > > thanks very much
> > > Denis
> > >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
attached mail follows:
Hello. I have this question. When I program, I try to create a class for each table. Example below.
Now what some complain about, and logically so, is that this might impose an overhead (I load all data even if I just need a counter and NOT description).
So I say we can make a STATIC version of each Accessor with $cid as argument; But then they say what if i want to load an array of all 2000 counters, for example. I say first get all the $cid's, then in an array, load a class for each one, etc.. That however makes lots of SQL calls instead of one big one. I suppose I can get all data and then load it into classes, but that seems like a bad approach, especially for calculated values.
What I am curious about is what paradigms do you guys use to address these issues? Is my paradigm good and it's worth to just provide static methods for frequently necessary fields to reduce overhead, or is there a better way of dealing with this stuff?
class Counter { var $db;
var $cid; var $counter; var $descr;
/**
* Default Constructor
*
param int $cid - Counter ID
*/
function Counter($cid=false)
{
global $db;
$this->db = &$db;
if (isset($cid) && $cid) $this->load($cid);
}
/**
* Description
*
param int $cid - Counter ID
*
return bool
*/
function load($cid=0)
{
if (!$cid) return false;
$q = "SELECT * FROM counter WHERE cid = $cid"; $r = $this->db->getRow($q); // Using PEAR here.
if (!DB::isError($r)) { $this->cid = $r["cid"]; $this->counter = $r["counter"]; $this->descr = $r["descr"]; return true; } return false; }
################################################################# # Accessor Methods ################################################################# function getCid() { return $this->cid; } function getCounter() { return $this->counter; } function getDescr() { return $this->descr; }
################################################################# # Mutator Methods ################################################################# function setCid($v) { $this->iaid = $v; } function setCounter($v) { $this->counter = $v; } function setDescr($v) { $this->descr = $v; }
// Many other methods, etc.... Static methods, etc... }
attached mail follows:
Christian Stalberg <mailto:noc
pharosweb.net> scribbled;
> what does debug_phpinfo.php read to get its information? >
Not sure.
> When I run debug_phpinfo.php in my browser it says version 4.2.3 >
Assuming a UNIX box running Apache, and assuming this is a PHP module, sounds right.
> But when I execute php -v at the command line I get 4.0.4pl1
Assuming the above would cause me to believe this is a separate CLI compilation, which CLI PHP probably wasn't rebuilt when 4.2.3 was installed.
mod_php != CLI PHP, they can be completely different versions.
Too many assumptions, best give more information about the setup.
-jesse
attached mail follows:
I am looking for an old friend - Ralph Friedman. I was doing an internet search and found this email address and am wondering if I may have found him here. The Ralph I knew was part of a nomadic Christian community in the '70's. We are looking for former members and have a yahoo email group. http://groups.yahoo.com/group/xbrethrengroup. Thanks, Katherine
attached mail follows:
test
attached mail follows:
this was a functional email
----- Original Message -----
From: "Karl James" <karl.james
verizon.net>
To: <php-general
lists.php.net>
Sent: Monday, January 13, 2003 12:24 AM
Subject: [PHP] test
> test >
attached mail follows:
Heya all,
I'm trying to highlight search keywords in a string, everything work expect when this keyword is inside a tag like this :
keyword (php) :
<a href="?go=php">php</a>
<img src="php.gif" border=0 alt="php.net">
will be highlighted to :
<a href="?go=<b style="color: black; background-color: #ffff66">php</b>"><b style="color: black; background-color: #ffff66">php</b></a>
<img src="<b style="color: black; background-color: #ffff66">php</b>.gif" border=0 alt="<b style="color: black; background-color: #ffff66">php</b>.net">
I have tryed to separate text from html, then highlight it then join html/text again, but this will be very long and not really usefull !
I'm using preg_replace :
preg_replace('|\b('.quotemeta($keyword).')\b|iU', '<b style="color: black; background-color: #ffff66">\\1</b>', $content);
Any help to fix that ?
Thanks; Hatem
attached mail follows:
I only want to keep html code of a page. I want to remove php tags. Some tell that strip_tags is not adapted.
sample of what i want to do: <html> na <?php echo 'na';?> </html> -> <html> na </html>
php tags can be : <? ?>or <?= ?> or <script language='php'></script> /i
Merci.
.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]