|
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 22 Sep 2003 06:00:31 -0000 Issue 2311
php-general-digest-help
lists.php.net
Date: Mon Sep 22 2003 - 01:00:31 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
php-general Digest 22 Sep 2003 06:00:31 -0000 Issue 2311
Topics (messages 163364 through 163408):
Re: Need help with a regex
163364 by: Adam Zey
163392 by: Curt Zirzow
Re: Setting Up PHP
163365 by: Shadow
163368 by: zerof
Re: Problem's addign a script to my web page.
163366 by: Stratis Aftousmis
Re: Class inheritance behaviour
163367 by: Gerard Samuel
163369 by: Robert Cummings
Re: forcing variable expansion
163370 by: Rich Fox
Re: php|cruise
163371 by: Becoming Digital
163372 by: Robert Cummings
163373 by: NukedWeb.aol.com
163374 by: John W. Holmes
163375 by: NukedWeb.aol.com
163376 by: Becoming Digital
163377 by: Becoming Digital
163385 by: Karen Lubrecht
163386 by: Curt Zirzow
163387 by: Ryan A
search result
163378 by: phpu
163379 by: phpu
163380 by: Chris Shiflett
163381 by: phpu
163382 by: phpu
advise on new class of mine
163383 by: jsWalter
Q on class failure...
163384 by: jsWalter
163400 by: Raditha Dissanayake
Q on accessing properties of parent from child class...
163388 by: jsWalter
regexp help please!
163389 by: Justin French
[php] formmail.pl formmail.php
163390 by: John Taylor-Johnston
163391 by: Tom Rogers
non-php issue
163393 by: Wang Feng
163394 by: mek2600-php
163395 by: mek2600-php
163396 by: Raditha Dissanayake
163397 by: andu
163398 by: mek2600-php
163399 by: Peter James
163401 by: Raditha Dissanayake
163402 by: Robert Cummings
163403 by: Robert Cummings
163404 by: John Nichel
163405 by: Peter James
163406 by: Wang Feng
163407 by: Peter James
163408 by: Cody Phanekham
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:
Thanks, that did the trick :)
Only thing was I had to modify it for newline support:
<tr><td class='newsitemtitle-td'>([^<]*)<\/td><td
class='newsitemposter-td'><span
class=([^>]*)>([^<]*)<\/span>([^<]*)<\/td><\/tr> <tr><td
class='newsitemcontent-td' colspan=2>((.|\n)*?)<\/td><\/tr>
Regards, Adam.
"Esctoday.Com | Wouter Van Vliet" <wouter
esctoday.com> wrote in message
news:20030921172226.95E2C77B8B
smtp6.wanadoo.nl...
> Pretty easy, just make the regex stuff a little less greedy .. ;)
>
>
> class='newsitemcontent-td' colspan=2>(.*?)<\/td><\/tr>/
>
> That would catch it .. And yes, the question mark is both correct and
> confusing. But it doesn't mean "maybe" in here. Now let's hope that your
> post doesn't include <td></tr> ..
>
> Wouter
>
> Ps. I'm assuming you use perl compatible regexes (preg_*) and not POSIX
> (ereg_*), don't know if this works for POSIX as well
>
> -----Original Message-----
> From: Adam Zey [mailto:guspaz
gus.ath.cx]
> Sent: Sunday, September 21, 2003 7:07 PM
> To: php-general
lists.php.net
> Subject: [PHP] Need help with a regex
>
> I'm using the following regex:
>
> /<tr><td class='newsitemtitle-td'>([^<]*)<\/td><td
> class='newsitemposter-td'><span
> class=([^>]*)>([^<]*)<\/span>([^<]*)<\/td><\/tr> <tr><td
> class='newsitemcontent-td' colspan=2>([^<]*)<\/td><\/tr>/
>
> Everything works well, except I've ran into one problem. In the last text
> field, the bulk of the newsitem, sometimes the poster includes some HTML
> tags (Like "<br \>", but others could be inserted). What I need to do is
> modify that last submatch "([^<]*)" so that instead of matching until it
> reaches a "<" (It catches on the br tag and ruins the match), it will
match
> until it reaches the entire <\/td> tag. Can somebody help me out with
this?
> I'm completely stumped about how to go about doing a "match until string"
as
> opposed to a "match until character".
>
> Regards, Adam.
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.520 / Virus Database: 318 - Release Date: 18/09/2003
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.520 / Virus Database: 318 - Release Date: 18/09/2003
attached mail follows:
* Thus wrote Adam Zey (guspaz
gus.ath.cx):
> Thanks, that did the trick :)
>
> Only thing was I had to modify it for newline support:
>
> <tr><td class='newsitemtitle-td'>([^<]*)<\/td><td
> class='newsitemposter-td'><span
> class=([^>]*)>([^<]*)<\/span>([^<]*)<\/td><\/tr> <tr><td
> class='newsitemcontent-td' colspan=2>((.|\n)*?)<\/td><\/tr>
For new line support look at the 's' modifier.
http://php.net/manual/en/pcre.pattern.modifiers.php
Curt
--
"I used to think I was indecisive, but now I'm not so sure."
attached mail follows:
That's Windows security you should be checking......did you look at
directory permissions?
Shadow
attached mail follows:
Please see this useful article:
http://www.macromedia.com/devnet/mx/dreamweaver/articles/php_iis.html
----
zerof
----
"Dalton Seymour" <daltonseymour
direcway.com> escreveu na mensagem
news:000001c38065$e4779400$a4e8020a
direcway.com...
> I'm trying to setup PHP support on an small 2 station Intranet for development purposes.
I'm using PWS under Win98 SE. I believe I'm experiencing a common problem, but I seem to
be unable to work my way around
------------------------
attached mail follows:
--- Marek Kilimajer <kilimajer
webglobe.sk> wrote:
> Do you have shell access(ssh)? You can use that.
> Other way is to ask
> your ISP to change the parmissions or to enable
> chmod command.
I had a feeling i might have to ask my ISP, they seem
cool they might do it,
unless there is a security concern about changing the
permisson's of said
directory. I seriously doubt they will enable the
'chmod' command, i think that
would be a security concern. No i don't have ssh
access. I will ask them to
change the permission's, if that doesn't work, i will
keep working on it.
Thank's for the reply marek, your a life saver, and a
*time saver*.
stratis.
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
attached mail follows:
Robert Cummings wrote:
>Are you looking to create a single point of access to any libraries your
>application may wish to use
>
Yes. Instead of juggling 5-6 objects, just move around one object.
> and to subsequently base this on a singleton
>pattern (only one instance of the object may exist?)?
>
Yes. Currently in my code, there is the ADODB object, which is used as
normal.
I pass this object by reference to Smarty so its plugins can access the
DB if neccessary,
and two other classes that need DB access. Im going on the assumption,
that
if one doesn't have to pass by reference, then dont do it, especially
large objects,
and having multiple copies of them.
All of this is just a thought. Whether its feasable, is another story
for my app....
attached mail follows:
On Sun, 2003-09-21 at 14:10, Gerard Samuel wrote:
> Robert Cummings wrote:
>
> >Are you looking to create a single point of access to any libraries your
> >application may wish to use
> >
> Yes. Instead of juggling 5-6 objects, just move around one object.
>
> > and to subsequently base this on a singleton
> >pattern (only one instance of the object may exist?)?
> >
> Yes. Currently in my code, there is the ADODB object, which is used as
> normal.
> I pass this object by reference to Smarty so its plugins can access the
> DB if neccessary,
> and two other classes that need DB access. Im going on the assumption,
> that
> if one doesn't have to pass by reference, then dont do it, especially
> large objects,
> and having multiple copies of them.
>
> All of this is just a thought. Whether its feasable, is another story
> for my app....
This may be seem like a shameless plug but I think it's relevant. In the
InterJinn framework i created I had a similar issue. PHP has the
horrible issue that when passing objects around it copies them (this is
fixed in PHP5 from what I hear). This causes extra processing to copy
large objects which have big data sets, and makes it extremely difficult
to properly implement a singleton pattern. In the InterJinn framework
what I did was create a wrapper class, but rather than having other
classes extend it, I have a core loader service which takes a string
name as a parameter and returns the associated object (database,
session, cache, etc.). The returned object however is not the actual
object, but rather an instance of the wrapper class with a single
instance variable called do, the do variable is a reference to the real
object. Thus if someone copies the returned object they only copy the
wrapper, and the internal reference is maintained. It makes for slightly
odd syntax:
$dbManager->do->getConnection( 'default' );
but the cost of the intermediate lookup is extremely small and it
prevents issues where copies of an expected singleton are made. In cases
where a user wants to optimize and actually work with the references,
they can always do:
$dbManager = &$this->getServiceRef( 'databaseManager' )
$db = $dbManager->getConnection( 'default' );
instead of the nanoscopically slower:
$dbmanager = $this->getService( 'databaseManager' );
$db = $dbManager->do->getConnection( 'default' );
Anyways maybe that will help you with your own problem.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'
attached mail follows:
That's not Eugene from the dojo is it?
Rich
"Eugene Lee" <list-php
fsck.net> wrote in message
news:20030919204130.GB22491
localhost.Earthlink.net...
> If I have a block of text saved in an external text file, e.g.:
>
> All {$badstuff} and no {$goodstuff} makes {$name} a dull {$type}.
>
> after reading the text into a string, is there a way to force variable
> expansion? In a sense, it's like having a heredoc for multiline strings
> with variable expansion while not having the heredoc embedded in PHP code.
attached mail follows:
> I think this is the ONLY PHP conference she'd ever
> agree to going to.
I think this is also the ONLY cruise on which single guys won't find a fling. I smell a sausage party! ;)
Edward Dudlik
Becoming Digital
www.becomingdigital.com
wishes | www.amazon.com/o/registry/EGDXEBBWTYUU
----- Original Message -----
From: "John W. Holmes" <holmes072000
charter.net>
To: "John Nichel" <jnichel
by-tor.com>
Cc: <php-general
lists.php.net>
Sent: Sunday, 21 September, 2003 11:40
Subject: Re: [PHP] php|cruise
John Nichel wrote:
> John W. Holmes wrote:
>
>> Is anyone planning on going to this?
>>
>> http://www.phparch.com/cruise/
>>
>> I'm trying to go. It would be nice to put a face to the name with a
>> few people out there. Let me know.
>>
[snip]
> The wife has been
> bugging me to bring her on a cruise for years now
Yeah, same here. I think this is the ONLY PHP conference she'd ever
agree to going to. :)
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
attached mail follows:
On Sun, 2003-09-21 at 15:25, Becoming Digital wrote:
> > I think this is the ONLY PHP conference she'd ever
> > agree to going to.
>
> I think this is also the ONLY cruise on which single guys won't
> find a fling. I smell a sausage party! ;)
While I'm not gay myself, I think you've overlooked an obvious category
of "fling".
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'
attached mail follows:
> > I think this is the ONLY PHP conference she'd ever
> > agree to going to.
>
> I think this is also the ONLY cruise on which single guys won't find a
> fling. I smell a sausage party! ;)
Oh I dunno bout that. There's more PHP chicks out there than you'd believe!
I've talked to many, and I'm sure there are many more. =)
attached mail follows:
Becoming Digital wrote:
>>I think this is the ONLY PHP conference she'd ever
>>agree to going to.
>
>
> I think this is also the ONLY cruise on which
> single guys won't find a fling. I smell a sausage party! ;)
I wouldn't be worried about that. THe PHP conference goers are only
about 300 out of 1500 people total on the boat... if I remember my
numbers correctly.
Besides... you're a programmer... you should know you can't pick up women!
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
attached mail follows:
> Besides... you're a programmer... you should know you can't pick up women!
Then there's the rest of us who're multi-talented, with strong social skills,
that can write a mean script while still having the women offer US money...
:-D
attached mail follows:
> Besides... you're a programmer... you should know you can't pick up women!
Whoa there. I'm a CEO. I just happen to program, too. lol
Edward Dudlik
Becoming Digital
www.becomingdigital.com
wishes | www.amazon.com/o/registry/EGDXEBBWTYUU
----- Original Message -----
From: "John W. Holmes" <holmes072000
charter.net>
To: "Becoming Digital" <subs
becomingdigital.com>
Cc: <php-general
lists.php.net>
Sent: Sunday, 21 September, 2003 15:31
Subject: Re: [PHP] php|cruise
Becoming Digital wrote:
>>I think this is the ONLY PHP conference she'd ever
>>agree to going to.
>
>
> I think this is also the ONLY cruise on which
> single guys won't find a fling. I smell a sausage party! ;)
I wouldn't be worried about that. THe PHP conference goers are only
about 300 out of 1500 people total on the boat... if I remember my
numbers correctly.
Besides... you're a programmer... you should know you can't pick up women!
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
attached mail follows:
> While I'm not gay myself, I think you've overlooked an obvious category
> of "fling".
A valid point.
Edward Dudlik
Becoming Digital
www.becomingdigital.com
wishes | www.amazon.com/o/registry/EGDXEBBWTYUU
----- Original Message -----
From: "Robert Cummings" <robert
interjinn.com>
To: "Becoming Digital" <subs
becomingdigital.com>
Cc: "PHP-General" <php-general
lists.php.net>
Sent: Sunday, 21 September, 2003 15:28
Subject: Re: [PHP] php|cruise
On Sun, 2003-09-21 at 15:25, Becoming Digital wrote:
> > I think this is the ONLY PHP conference she'd ever
> > agree to going to.
>
> I think this is also the ONLY cruise on which single guys won't
> find a fling. I smell a sausage party! ;)
While I'm not gay myself, I think you've overlooked an obvious category
of "fling".
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'
attached mail follows:
Hmm! I wonder if that is the reason I've been getting Viagra spam! :-)
You know, I guess I've been too focused on the code to have looked at
the names. Gentlemen, there is at least one lady here. Maybe no longer a
chick, but female none the same. I'm sure there are many others who may
be lurking and would enjoy the cruise.
Karen
-----Original Message-----
From: NukedWeb
aol.com [mailto:NukedWeb
aol.com]
Sent: Sunday, September 21, 2003 3:29 PM
To: php-general
lists.php.net
Subject: Re: [PHP] php|cruise
> > I think this is the ONLY PHP conference she'd ever
> > agree to going to.
>
> I think this is also the ONLY cruise on which single guys won't find a
> fling. I smell a sausage party! ;)
Oh I dunno bout that. There's more PHP chicks out there than you'd
believe!
I've talked to many, and I'm sure there are many more. =)
attached mail follows:
* Thus wrote Karen Lubrecht (ckccnslt
ckcconsultants.com):
> Hmm! I wonder if that is the reason I've been getting Viagra spam! :-)
>
> You know, I guess I've been too focused on the code to have looked at
> the names. Gentlemen, there is at least one lady here. Maybe no longer a
> chick, but female none the same. I'm sure there are many others who may
> be lurking and would enjoy the cruise.
I can name three others that regularly post here :)
Curt
--
"I used to think I was indecisive, but now I'm not so sure."
attached mail follows:
Hey hey hey,
watch your language....who are you calling "gentlemen"?
I guess you must be on the wrong list or something :-D
Cheers,
-Ryan
We will slaughter you all! - The Iraqi (Dis)information ministers site
http://MrSahaf.com
----- Original Message -----
From: "Karen Lubrecht" <ckccnslt
ckcconsultants.com>
To: <php-general
lists.php.net>
Sent: Monday, September 22, 2003 2:35 AM
Subject: RE: [PHP] php|cruise
> Hmm! I wonder if that is the reason I've been getting Viagra spam! :-)
>
> You know, I guess I've been too focused on the code to have looked at
> the names. Gentlemen, there is at least one lady here. Maybe no longer a
> chick, but female none the same. I'm sure there are many others who may
> be lurking and would enjoy the cruise.
>
> Karen
> -----Original Message-----
> From: NukedWeb
aol.com [mailto:NukedWeb
aol.com]
> Sent: Sunday, September 21, 2003 3:29 PM
> To: php-general
lists.php.net
> Subject: Re: [PHP] php|cruise
>
>
>
> > > I think this is the ONLY PHP conference she'd ever
> > > agree to going to.
> >
> > I think this is also the ONLY cruise on which single guys won't find a
> > fling. I smell a sausage party! ;)
>
> Oh I dunno bout that. There's more PHP chicks out there than you'd
> believe!
> I've talked to many, and I'm sure there are many more. =)
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
attached mail follows:
Hi,
I have this code that search an specify word in the database. This search is working. The only problem that I have is that I wanna show only 7 rows per page. When I wanna jump to the next page with results it shows all records in the database(7 rows per page).
How can i do to show only the records that match with the search word?
$rows_per_page = 7;
$sql = "SELECT * FROM products";
$rezultat = mysql_query($sql);
$total_records = mysql_num_rows($rezultat);
$pages = ceil($total_records / $rows_per_page);
mysql_free_result($rezultat);
mysql_close($conectare);
if (!isset($pagina))
$pagina = 0;
$start = $pagina * $rows_per_page;
$sql="SELECT id_products, name_product FROM products WHERE name_product LIKE '%".$word."%' LIMIT $start, $rows_per_page ";
$result=mysql_query($sql);
if (mysql_num_rows($result) == 0)
{
print '<i>Product not found</i>';
}
while ($row=mysql_fetch_array($result))
{
some code here
}
if ($pagina > 0) {
$url = "product.php?pagina=" . ($pagina - 1);
echo "<a href=\"$url\">Previous</a>\n";
}
for ($i = 1; $i < $pages; $i++) {
$url = "product.php?pagina=" . $i;
echo " <a href=\"$url\">$i</a> ";
}
if ($pagina < ($pages-1)) {
$url = "product.php?pagina=" . ($pagina + 1);
echo "<a href=\"$url\">Next</a>\n";
}
attached mail follows:
Sorry but i'm new to php and i don't know how to do that. Can you help me, please?
----- Original Message -----
From: NukedWeb
aol.com
To: phpu
go.ro
Sent: Monday, September 22, 2003 1:00 AM
Subject: Re: [PHP] search result
whwen you jump to the next page, make sure there's a parameter that contains the original search term in each search result page you're loading....either by including it in a URL (for a link) or hidden field for a "Next" button.
attached mail follows:
--- phpu <phpu
go.ro> wrote:
> How can i do to show only the records that match with the search word?
Use a where clause. Read this:
http://www.mysql.com/doc/en/SELECT.html
Hope that helps.
Chris
==Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/
attached mail follows:
I have tried but didn't work. I think i'm going crazy. I don't know how to
do it...
$rows_per_page = 7;
$sql = "SELECT * FROM products";
$rezultat = mysql_query($sql);
$total_records = mysql_num_rows($rezultat);
$pages = ceil($total_records / $rows_per_page);
mysql_free_result($rezultat);
mysql_close($conectare);
if (!isset($pagina))
$pagina = 0;
$start = $pagina * $rows_per_page;
$sql="SELECT id_products, name_product FROM products WHERE name_product LIKE
'%".$word."%' LIMIT $start, $rows_per_page ";
$result=mysql_query($sql);
if (mysql_num_rows($result) == 0)
{
print '<i>Product not found</i>';
}
while ($row=mysql_fetch_array($result))
{
some code here
}
if ($pagina > 0) {
$url = "product.php?pagina=" . ($pagina - 1);
echo "<a href=\"$url\">Previous</a>\n";
}
for ($i = 1; $i < $pages; $i++) {
$url = "product.php?pagina=" . $i;
echo " <a href=\"$url\">$i</a> ";
}
if ($pagina < ($pages-1)) {
$url = "product.php?pagina=" . ($pagina + 1);
echo "<a href=\"$url\">Next</a>\n";
}
attached mail follows:
Finally I got it.
Thanks a lot
----- Original Message -----
From: "phpu" <phpu
go.ro>
To: <php-general
lists.php.net>
Sent: Monday, September 22, 2003 1:36 AM
Subject: Re: [PHP] search result
> I have tried but didn't work. I think i'm going crazy. I don't know how to
> do it...
>
attached mail follows:
I'm in the process of building my first "real" class.
43 methods, 23 properties, nearly 1000 lines of codes.
What I would like to know...
Is it better to keep al this in a single file? Or break it up into
sub-classes?
This does have logical sections, so a breakup would be possible, but then
I'm not sure how I would piece it back together.
Also...
Many properties are not required at object instantiation, but I define them
none-the-less. Many are derived from multiple others.
It is better to define all properties, many may never be used, or simply
define them as they are called?
I define them all now, so there is a (ever so) slight hit on cycles for
this.
If I define them as they are called, then each needs a conditional to
process to run each time that GETTER is called.
Or is this "6 of one and half-dozen of another"?
Now, this gets broken up, many of the properties correspond the different
sections. then he properties should be defined as called, because their
package would only be loaded when called.
Am I talking in circles here?
Does anyone have any advise?
Thanks
Walter
attached mail follows:
I found this in the docs...
If you want your constructor to possibly not create the object
class A
{
function A()
{
// ...
// some error occurred
$this = null;
return;
}
}
I tested it, it works great.
Then I read on...
Setting $this to null isn't available in PHP 4.3.3R3 anymore. Maybe in
version below also.
Great! :/
I have 4.3.2, so I guess it would work for me.
If this "feature" has been removed, can someone show me a good way to
indicate a failure on object instantiation?
Thanks
Walter
attached mail follows:
hi,
It's generaly considered that constructors are supposed return an
instance of that class. Use a factory instead if you want to return nulls;
jsWalter wrote:
>I found this in the docs...
>
> If you want your constructor to possibly not create the object
>
> class A
> {
> function A()
> {
> // ...
> // some error occurred
> $this = null;
> return;
> }
> }
>
>I tested it, it works great.
>
>Then I read on...
>
> Setting $this to null isn't available in PHP 4.3.3R3 anymore. Maybe in
>version below also.
>
>Great! :/
>
>I have 4.3.2, so I guess it would work for me.
>
>If this "feature" has been removed, can someone show me a good way to
>indicate a failure on object instantiation?
>
>Thanks
>
>Walter
>
>
>
--
http://www.radinks.com/upload
Drag and Drop File Uploader.
attached mail follows:
I've read the entire manual on classes, and I did not see an answer to my
question.
I see how to access methods of a parent from the child...
parentName::foo();
or
parent::foo();
but I would like to gain access to read and/or modify properties from the
parent.
Yes, I built getters that work, but I was wondering about a more direct
method.
Thanks
Walter
attached mail follows:
I'm writing a PHP script inspired by smartypants and textile (but for
PHP), which among other things does smart quoting.
However, I want to avoid smart quotes inside all tags (all quotes
inside < and >). Since there are numerous functions accounting for
numerous special cases, AND the fact that there will be very few tags
with quotes (<a> is all so far), I'm thinking it's be easiest to go
back through the converted text and replace all converted smart
characters back to stupid ones
something like
$out =
preg_replace("/<(.*?)[“|”](.*?)>/","<\\1\"\\2>",$in); //
doubles
$out = preg_replace("/<(.*?)[’|̵](.*?)>/","<\\1'\\2>",$in);
// singles
would be nice, but it isn't working, and I think this is stretching my
skills in preg's waaay too far.
simularly, I'd like to preserver / de-convert any text contained with
<pre></pre> tags
Any hints would be great!
Justin French
attached mail follows:
Not that formmail.pl was the most secure idea, but it could take any variable off any form and mail the contents to a vriable on that form. Does anyone know of such a critter in existence for PHP, a script that will read in all variable on any form and email them. Something already created? Any use of formmail.pl these days would need updating to protect it from spamming. Anything available?
--
John Taylor-Johnston
-----------------------------------------------------------------------------
"If it's not open-source, it's Murphy's Law."
' ' ' Collège de Sherbrooke:
ô¿ô http://www.collegesherbrooke.qc.ca/languesmodernes/
- Université de Sherbrooke:
http://compcanlit.ca/
819-569-2064
attached mail follows:
Hi,
Monday, September 22, 2003, 11:34:25 AM, you wrote:
JTJ> Not that formmail.pl was the most secure idea, but it could take any
JTJ> variable off any form and mail the contents to a vriable on that form. Does
JTJ> anyone know of such a critter in existence for PHP, a script that will read
JTJ> in all variable on any form and email them. Something already created? Any
JTJ> use of formmail.pl these days would need updating to protect it from
JTJ> spamming. Anything available?
JTJ> --
JTJ> John Taylor-Johnston
JTJ> -----------------------------------------------------------------------------
JTJ> "If it's not open-source, it's Murphy's Law."
JTJ> ' ' ' Collège de Sherbrooke:
JTJ> ô¿ô http://www.collegesherbrooke.qc.ca/languesmodernes/
JTJ> - Université de Sherbrooke:
JTJ> http://compcanlit.ca/
JTJ> 819-569-2064
Here is a class I use to get you started
<?
class doFormsClass {
var $text = '';
var $vars = array();
var $emailto = '';
function doFormsClass(){
if(!empty($_POST['EmailTo'])){
$this->emailto = $_POST['EmailTo'];
$today = Date("d/m/Y H:i:s");
$this->text = "Form submitted on $today\n\n"; //$text holds the email message
$this->vars['vars']['header'] = 'Form submitted on '.$today;
$x = 0;
while (list($k, $v)=each($_POST)) { //loop through all the variables sent
switch($k){ //and break on keywords
case("EmailTo"):
$this->vars['vars']['mailto'] = $v;
break;
case 'Quiet':
case 'PHPSESSID':
case 'Email2':
case 'FormBackground':
case 'FormBottomMessage':
case 'FormTopMessage':
case 'FormSubject':
case 'FormRedirect':
case 'submit':
case 'MAIL':
break; //drop all of these
default: //otherwise not a keyword
$k = ereg_replace("_"," ",$k); //get rid of _ and replace with a space
if($v == "BR"){ //if BR add a carriage return,used for making blank line
$this->vars['blocks']['submit'][$x]['dropif']['break'] = ' ';
$this->text .= "\n";
}else{
$this->vars['blocks']['submit'][$x]['vars']['name'] = $k;
$this->vars['blocks']['submit'][$x]['vars']['value'] = $v;
$this->text .= "$k : $v\n"; //add the variable name and value to email
}
$x++;
break;
}
}
}
if(isset($_POST['FormSubject'])){
$subject = $_POST['FormSubject'];
}else{
$subject = "Form submitted $today";
}
$this->vars['vars']['subject'] = $subject;
if(isset($_POST['Email']) || isset($_POST['email'])){
if(isset($_POST['Email'])):
$tail = "FROM: ".$_POST['Email'];
else:
$tail = "FROM: ".$_POST['email'];
endif;
}
else{
$tail = "FROM: Unknown";
}
mail($_POST['EmailTo'],$subject,$this->text,$tail); //send the email
if(isset($_POST['Email2'])){
mail($_POST['Email2'],$subject,$text,$tail); //send CC if needed
}
}
function getVars(){
return $this->vars;
}
}
The form would start like this
<?
if(isset($_POST['EmailTo'])){
$df = new doforms(){ //will send the form off by mail
//display form answers/thankyou message here
}else{
?>
<form action="<?echo $_SERVER['PHP_SELF']?>" method="post">
<input type="hidden" name="EmailTo" value="email adress of who gets the form">
<input type="hidden" name="FormSubject" value="Test form">
.
real form inputs here
.
</form>
<?}?>
If you are getting an email address for replying to call it name="Email" and the
replyto gets filled in properly.
--
regards,
Tom
attached mail follows:
hi everyone, could someone recommend a security mailing list, please?
or you may like to answer my question below:
i'm currently using outlook express 6 on WinXP Pro, and something strange happened:
everytime when i start the computer, some messages pop up and attempts to sending the replies of the emails (in the
inbox) in behalf of me.
my anti-virus software doesn't work at all. what's the problem. how can i fix it?
please help!!!!
cheers,
feng
attached mail follows:
*This message was transferred with a trial version of CommuniGate(tm) Pro*
First off, disconnect your computer from the Internet- RIGHT NOW. You
do have a virus and you're gonna infect more people. Odds are the virus
broke your scanner, so either reinstall it or go get another one. The
best bet (since I don't know how your virus works) if to scan the hdd
from another PC to remove the problems.
Other people might have better ideas, but mine should be sufficient.
Either way get off the Net, now. :)
MK
-----Original Message-----
From: Wang Feng [mailto:u3926286
anu.edu.au]
Sent: Sunday, September 21, 2003 11:05 PM
To: php-general
lists.php.net
Subject: [PHP] non-php issue
hi everyone, could someone recommend a security mailing list, please?
or you may like to answer my question below:
i'm currently using outlook express 6 on WinXP Pro, and something
strange happened:
everytime when i start the computer, some messages pop up and attempts
to sending the replies of the emails (in the
inbox) in behalf of me.
my anti-virus software doesn't work at all. what's the problem. how can
i fix it?
please help!!!!
cheers,
feng
attached mail follows:
*This message was transferred with a trial version of CommuniGate(tm) Pro*
Yeah, disconnect from the Internet for starters. :) Put the bad HDD
into a non-bad PC and scan that way. Also, update your definitions.
MK
-----Original Message-----
From: Wang Feng [mailto:u3926286
anu.edu.au]
Sent: Sunday, September 21, 2003 11:16 PM
To: mek2600-php
Subject: Re: [PHP] non-php issue
*This message was transferred with a trial version of CommuniGate(tm)
Pro* thanks. but i didn't install any anti-virus software untill the
machine got infected. and i tried to install Norton, but failed to do
that for some reason. --- no idea why.
any other suggestions?
cheers,
feng
----- Original Message -----
From: "mek2600-php" <mek2600-php
onionology.com>
To: <php-general
lists.php.net>
Sent: Monday, September 22, 2003 2:07 PM
Subject: RE: [PHP] non-php issue
> *This message was transferred with a trial version of CommuniGate(tm)
> Pro*
>
> First off, disconnect your computer from the Internet- RIGHT NOW. You
> do have a virus and you're gonna infect more people. Odds are the
> virus broke your scanner, so either reinstall it or go get another
> one. The best bet (since I don't know how your virus works) if to
> scan the hdd from another PC to remove the problems.
>
> Other people might have better ideas, but mine should be sufficient.
> Either way get off the Net, now. :)
>
> MK
>
> -----Original Message-----
> From: Wang Feng [mailto:u3926286
anu.edu.au]
> Sent: Sunday, September 21, 2003 11:05 PM
> To: php-general
lists.php.net
> Subject: [PHP] non-php issue
>
>
> hi everyone, could someone recommend a security mailing list, please?
>
>
> or you may like to answer my question below:
>
> i'm currently using outlook express 6 on WinXP Pro, and something
> strange happened:
>
> everytime when i start the computer, some messages pop up and attempts
> to sending the replies of the emails (in the
> inbox) in behalf of me.
>
> my anti-virus software doesn't work at all. what's the problem. how
> can i fix it?
>
> please help!!!!
>
>
> cheers,
>
> feng
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
attached mail follows:
You can fix all of your problems by formatting your computer and
installing a linux distribution.
Wang Feng wrote:
>hi everyone, could someone recommend a security mailing list, please?
>
>
>or you may like to answer my question below:
>
>i'm currently using outlook express 6 on WinXP Pro, and something strange happened:
>
>everytime when i start the computer, some messages pop up and attempts to sending the replies of the emails (in the
>inbox) in behalf of me.
>
>my anti-virus software doesn't work at all. what's the problem. how can i fix it?
>
>please help!!!!
>
>
>cheers,
>
>feng
>
>
>
>
--
http://www.radinks.com/upload
Drag and Drop File Uploader.
attached mail follows:
On Monday, September 22, 2003, at 12:34 AM, Raditha Dissanayake wrote:
> You can fix all of your problems by formatting your computer and
> installing a linux distribution.
I'm getting all these security patches in my email from "Microsoft
Corporation" lately, maybe you want to use them since I run linux and
have no use for them :).
>
> Wang Feng wrote:
>
>> hi everyone, could someone recommend a security mailing list, please?
>>
>> or you may like to answer my question below:
>>
>> i'm currently using outlook express 6 on WinXP Pro, and something
>> strange happened:
>>
>> everytime when i start the computer, some messages pop up and
>> attempts to sending the replies of the emails (in the
>> inbox) in behalf of me.
>>
>> my anti-virus software doesn't work at all. what's the problem. how
>> can i fix it?
>>
>> please help!!!!
>>
>>
>> cheers,
>>
>> feng
>>
>>
>>
>
>
> --
> http://www.radinks.com/upload
> Drag and Drop File Uploader.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
attached mail follows:
*This message was transferred with a trial version of CommuniGate(tm) Pro*
Man, once again- Outlook is not the problem. Get the PC off the
internet and scan it until it's found. Put the drive in another PC, use
one of the systems available for removing viruses with a boot CD/disk,
etc, but don't half-ass this. You're now a menace and youneed to fix
things. If it's harsh, tough. Get it fixed by scanning like I said or
doing a complete wipe. Besides, why save your Outlook stuff when it has
a freakin' virus in it?
Oh, and to Raditha Dissanayake who suggested Linux- do you actually
think this guys needs/can handle Linux? :)
MK
-----Original Message-----
From: Wang Feng [mailto:u3926286
anu.edu.au]
Sent: Sunday, September 21, 2003 11:41 PM
To: mek2600-php
Subject: Re: [PHP] non-php issue
thanks. i might try to delete the outlook and re-install it to see what
happen.
btw, do you know how to retrieve the old emails if i delete the outlook?
cheers,
feng
----- Original Message -----
From: "mek2600-php" <mek2600-php
onionology.com>
To: <php-general
lists.php.net>
Sent: Monday, September 22, 2003 2:27 PM
Subject: RE: [PHP] non-php issue
> Yeah, disconnect from the Internet for starters. :) Put the bad HDD
> into a non-bad PC and scan that way. Also, update your definitions.
>
> MK
>
> -----Original Message-----
> From: Wang Feng [mailto:u3926286
anu.edu.au]
> Sent: Sunday, September 21, 2003 11:16 PM
> To: mek2600-php
> Subject: Re: [PHP] non-php issue
>
>
> *This message was transferred with a trial version of CommuniGate(tm)
> Pro* thanks. but i didn't install any anti-virus software untill the
> machine got infected. and i tried to install Norton, but failed to do
> that for some reason. --- no idea why.
>
> any other suggestions?
>
>
> cheers,
>
> feng
>
>
> ----- Original Message -----
> From: "mek2600-php" <mek2600-php
onionology.com>
> To: <php-general
lists.php.net>
> Sent: Monday, September 22, 2003 2:07 PM
> Subject: RE: [PHP] non-php issue
>
>
> > *This message was transferred with a trial version of
> > CommuniGate(tm)
> > Pro*
> >
> > First off, disconnect your computer from the Internet- RIGHT NOW.
> > You
>
> > do have a virus and you're gonna infect more people. Odds are the
> > virus broke your scanner, so either reinstall it or go get another
> > one. The best bet (since I don't know how your virus works) if to
> > scan the hdd from another PC to remove the problems.
> >
> > Other people might have better ideas, but mine should be sufficient.
> > Either way get off the Net, now. :)
> >
> > MK
> >
> > -----Original Message-----
> > From: Wang Feng [mailto:u3926286
anu.edu.au]
> > Sent: Sunday, September 21, 2003 11:05 PM
> > To: php-general
lists.php.net
> > Subject: [PHP] non-php issue
> >
> >
> > hi everyone, could someone recommend a security mailing list,
> > please?
> >
> >
> > or you may like to answer my question below:
> >
> > i'm currently using outlook express 6 on WinXP Pro, and something
> > strange happened:
> >
> > everytime when i start the computer, some messages pop up and
> > attempts
>
> > to sending the replies of the emails (in the
> > inbox) in behalf of me.
> >
> > my anti-virus software doesn't work at all. what's the problem. how
> > can i fix it?
> >
> > please help!!!!
> >
> >
> > cheers,
> >
> > feng
> >
> > --
> > 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:
You guys running Linux sure are cocky about these sorts of things. I have
no doubt that Linux' time will come, and then it will be the MacOS X users,
or FreeBSD users, or [insert random-os-that-still-remains-under-the-radar
here] users that think they are "untouchable".
If Linux enjoyed the same type of (often less-than-computer-literate) user
base that Windows does, there'd be plenty for virus writers and
vulnerability exploiters to do. Linux is not necessarily more secure...
just not a honeypot of large numbers of gullible users.
But that's just my 2 cents (for which I will almost certainly earn the title
of troll).
----- Original Message -----
From: "andu" <php
archeopterix.com>
To: "Raditha Dissanayake" <jabber
raditha.com>
Cc: "Wang Feng" <u3926286
anu.edu.au>; <php-general
lists.php.net>
Sent: Sunday, September 21, 2003 10:46 PM
Subject: Re: [PHP] non-php issue
>
> On Monday, September 22, 2003, at 12:34 AM, Raditha Dissanayake wrote:
>
> > You can fix all of your problems by formatting your computer and
> > installing a linux distribution.
>
> I'm getting all these security patches in my email from "Microsoft
> Corporation" lately, maybe you want to use them since I run linux and
> have no use for them :).
>
> >
> > Wang Feng wrote:
> >
> >> hi everyone, could someone recommend a security mailing list, please?
> >>
> >> or you may like to answer my question below:
> >>
> >> i'm currently using outlook express 6 on WinXP Pro, and something
> >> strange happened:
> >>
> >> everytime when i start the computer, some messages pop up and
> >> attempts to sending the replies of the emails (in the
> >> inbox) in behalf of me.
> >>
> >> my anti-virus software doesn't work at all. what's the problem. how
> >> can i fix it?
> >>
> >> please help!!!!
> >>
> >>
> >> cheers,
> >>
> >> feng
> >>
> >>
> >>
> >
> >
> > --
> > http://www.radinks.com/upload
> > Drag and Drop File Uploader.
> >
> > --
> > 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:
relax guys,
I have been dying to say "You can fix all of your problems by
formatting your computer and installing a linux distribution." On this
list for ages :-)
but the fact remains that an out of the box installation of any of the
linux distros are far more secure than anything putout by that redmond
company.
Peter James wrote:
>You guys running Linux sure are cocky about these sorts of things. I have
>no doubt that Linux' time will come, and then it will be the MacOS X users,
>or FreeBSD users, or [insert random-os-that-still-remains-under-the-radar
>here] users that think they are "untouchable".
>
>If Linux enjoyed the same type of (often less-than-computer-literate) user
>base that Windows does, there'd be plenty for virus writers and
>vulnerability exploiters to do. Linux is not necessarily more secure...
>just not a honeypot of large numbers of gullible users.
>
>But that's just my 2 cents (for which I will almost certainly earn the title
>of troll).
>
>----- Original Message -----
>From: "andu" <php
archeopterix.com>
>To: "Raditha Dissanayake" <jabber
raditha.com>
>Cc: "Wang Feng" <u3926286
anu.edu.au>; <php-general
lists.php.net>
>Sent: Sunday, September 21, 2003 10:46 PM
>Subject: Re: [PHP] non-php issue
>
>
>
--
http://www.radinks.com/upload
Drag and Drop File Uploader.
attached mail follows:
On Mon, 2003-09-22 at 01:09, Raditha Dissanayake wrote:
> relax guys,
>
> I have been dying to say "You can fix all of your problems by
> formatting your computer and installing a linux distribution." On this
> list for ages :-)
>
> but the fact remains that an out of the box installation of any of the
> linux distros are far more secure than anything putout by that redmond
> company.
All security advantages aside, I prefer linux because everytime I
install a new program or service I don't need to reboot :)
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'
attached mail follows:
On Mon, 2003-09-22 at 01:08, Robert Cummings wrote:
> On Mon, 2003-09-22 at 01:09, Raditha Dissanayake wrote:
> > relax guys,
> >
> > I have been dying to say "You can fix all of your problems by
> > formatting your computer and installing a linux distribution." On this
> > list for ages :-)
> >
> > but the fact remains that an out of the box installation of any of the
> > linux distros are far more secure than anything putout by that redmond
> > company.
>
> All security advantages aside, I prefer linux because everytime I
> install a new program or service I don't need to reboot :)
Yeeek, that should say "ONE of the reasons I prefer linux....". There
are in actual fact many, many, many, many more reasons :)
Rob
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'
attached mail follows:
Peter James wrote:
> You guys running Linux sure are cocky about these sorts of things. I have
> no doubt that Linux' time will come, and then it will be the MacOS X users,
> or FreeBSD users, or [insert random-os-that-still-remains-under-the-radar
> here] users that think they are "untouchable".
>
> If Linux enjoyed the same type of (often less-than-computer-literate) user
> base that Windows does, there'd be plenty for virus writers and
> vulnerability exploiters to do. Linux is not necessarily more secure...
> just not a honeypot of large numbers of gullible users.
Not as cut and dry as that. By design, Linux IS more secure. Great
deal of that security lies in the fact that it IS a true multi-user
system (like just about every other non-MS OS out there), with a real
permission / user / group mindset.
> But that's just my 2 cents (for which I will almost certainly earn the title
> of troll).
Not a troll, just misinformed.
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
attached mail follows:
Not saying that there aren't lots of reasons to like and run Unix. I run
FreeBSD as my webserver, for instance, because I think its the right OS for
the job. I run WinXP on my desktop, though, because it has the applications
I want to use, is familiar and comfortable to me, and I have the hardware to
make it an enjoyable experience. I run the dreaded Outlook Express, and I
(usually) love the integration present in Windows. Sure, that integration
makes it easier to do stoopid things, but remember it's people that kill
people, not guns.
Because I use FreeBSD, I know a lot of BSD gurus--you know the type: long
hair, longer beard, eyes that look like pissholes in the snow. You should
hear what these guys have to say about Linux. It's just a big daisy-chain
of supposed superiority.
I'm not trying to stand on a soap box and defend Windows... I just think
that mocking others for using what they like/know/have is not a good idea,
whether it's Windows, Linux, BSD, whatever. And in this case, mocking
someone who has AIDS is probably not as useful as helping him to prevent
spreading it, which is sorta what he was asking (IINM). Though this is
probably not the venue for his question...
Cheers,
Pete.
----- Original Message -----
From: "Robert Cummings" <robert
interjinn.com>
To: "Raditha Dissanayake" <jabber
raditha.com>
Cc: "Peter James" <petej
interbaun.com>; "PHP-General"
<php-general
lists.php.net>
Sent: Sunday, September 21, 2003 11:08 PM
Subject: Re: [PHP] non-php issue
> On Mon, 2003-09-22 at 01:09, Raditha Dissanayake wrote:
> > relax guys,
> >
> > I have been dying to say "You can fix all of your problems by
> > formatting your computer and installing a linux distribution." On this
> > list for ages :-)
> >
> > but the fact remains that an out of the box installation of any of the
> > linux distros are far more secure than anything putout by that redmond
> > company.
>
> All security advantages aside, I prefer linux because everytime I
> install a new program or service I don't need to reboot :)
>
> Cheers,
> Rob.
> --
> .------------------------------------------------------------.
> | InterJinn Application Framework - http://www.interjinn.com |
> :------------------------------------------------------------:
> | An application and templating framework for PHP. Boasting |
> | a powerful, scalable system for accessing system services |
> | such as forms, properties, sessions, and caches. InterJinn |
> | also provides an extremely flexible architecture for |
> | creating re-usable components quickly and easily. |
> `------------------------------------------------------------'
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
attached mail follows:
Hey, man. This is NOT AIDS. And it will be fixed anyway. :-)
----- Original Message -----
From: "Peter James" <petej
interbaun.com>
To: "PHP-General" <php-general
lists.php.net>
Sent: Monday, September 22, 2003 3:33 PM
Subject: Re: [PHP] non-php issue
> Not saying that there aren't lots of reasons to like and run Unix. I run
> FreeBSD as my webserver, for instance, because I think its the right OS
for
> the job. I run WinXP on my desktop, though, because it has the
applications
> I want to use, is familiar and comfortable to me, and I have the hardware
to
> make it an enjoyable experience. I run the dreaded Outlook Express, and I
> (usually) love the integration present in Windows. Sure, that integration
> makes it easier to do stoopid things, but remember it's people that kill
> people, not guns.
>
> Because I use FreeBSD, I know a lot of BSD gurus--you know the type: long
> hair, longer beard, eyes that look like pissholes in the snow. You should
> hear what these guys have to say about Linux. It's just a big daisy-chain
> of supposed superiority.
>
> I'm not trying to stand on a soap box and defend Windows... I just think
> that mocking others for using what they like/know/have is not a good idea,
> whether it's Windows, Linux, BSD, whatever. And in this case, mocking
> someone who has AIDS is probably not as useful as helping him to prevent
> spreading it, which is sorta what he was asking (IINM). Though this is
> probably not the venue for his question...
>
> Cheers,
> Pete.
>
> ----- Original Message -----
> From: "Robert Cummings" <robert
interjinn.com>
> To: "Raditha Dissanayake" <jabber
raditha.com>
> Cc: "Peter James" <petej
interbaun.com>; "PHP-General"
> <php-general
lists.php.net>
> Sent: Sunday, September 21, 2003 11:08 PM
> Subject: Re: [PHP] non-php issue
>
>
> > On Mon, 2003-09-22 at 01:09, Raditha Dissanayake wrote:
> > > relax guys,
> > >
> > > I have been dying to say "You can fix all of your problems by
> > > formatting your computer and installing a linux distribution." On
this
> > > list for ages :-)
> > >
> > > but the fact remains that an out of the box installation of any of the
> > > linux distros are far more secure than anything putout by that redmond
> > > company.
> >
> > All security advantages aside, I prefer linux because everytime I
> > install a new program or service I don't need to reboot :)
> >
> > Cheers,
> > Rob.
> > --
> > .------------------------------------------------------------.
> > | InterJinn Application Framework - http://www.interjinn.com |
> > :------------------------------------------------------------:
> > | An application and templating framework for PHP. Boasting |
> > | a powerful, scalable system for accessing system services |
> > | such as forms, properties, sessions, and caches. InterJinn |
> > | also provides an extremely flexible architecture for |
> > | creating re-usable components quickly and easily. |
> > `------------------------------------------------------------'
> >
> > --
> > 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:
> Hey, man. This is NOT AIDS.
Oh, sorry... wrong list. :-)
attached mail follows:
heres my 2cents
If you know what your doing, it is possible to secure a windows machine. It depends on the user, i keep my windows machine upto date, plus ive got a firewall running on it just incase. I havent had a virus or been compromised (not that i know of) since i bought my laptop.
Dont get me wrong linux is good if your the tinkering type (I use linux/netbsd at work), but use win2k at home. The reason why? the easy of use, installing hardware is a piece of cake. plus use it to play games as a stress relief.
I remember talking to my friend (who is a linux zealot) about the new sound card he just purchased. It took him freaking 3-5 days of tinkering to get it to work as there werent any linux drivers out for it at the time.
I can think of 101 better things to do than waste time installing a new hardware.
PS. Preach on Peter! :)
> -----Original Message-----
> From: Peter James [mailto:petej
interbaun.com]
> Sent: Monday, 22 September 2003 15:34
> To: PHP-General
> Subject: Re: [PHP] non-php issue
>
>
> Not saying that there aren't lots of reasons to like and run
> Unix. I run
> FreeBSD as my webserver, for instance, because I think its
> the right OS for
> the job. I run WinXP on my desktop, though, because it has
> the applications
> I want to use, is familiar and comfortable to me, and I have
> the hardware to
> make it an enjoyable experience. I run the dreaded Outlook
> Express, and I
> (usually) love the integration present in Windows. Sure,
> that integration
> makes it easier to do stoopid things, but remember it's
> people that kill
> people, not guns.
>
> Because I use FreeBSD, I know a lot of BSD gurus--you know
> the type: long
> hair, longer beard, eyes that look like pissholes in the
> snow. You should
> hear what these guys have to say about Linux. It's just a
> big daisy-chain
> of supposed superiority.
>
> I'm not trying to stand on a soap box and defend Windows... I
> just think
> that mocking others for using what they like/know/have is not
> a good idea,
> whether it's Windows, Linux, BSD, whatever. And in this case, mocking
> someone who has AIDS is probably not as useful as helping him
> to prevent
> spreading it, which is sorta what he was asking (IINM).
> Though this is
> probably not the venue for his question...
>
> Cheers,
> Pete.
>
> ----- Original Message -----
> From: "Robert Cummings" <robert
interjinn.com>
> To: "Raditha Dissanayake" <jabber
raditha.com>
> Cc: "Peter James" <petej
interbaun.com>; "PHP-General"
> <php-general
lists.php.net>
> Sent: Sunday, September 21, 2003 11:08 PM
> Subject: Re: [PHP] non-php issue
>
>
> > On Mon, 2003-09-22 at 01:09, Raditha Dissanayake wrote:
> > > relax guys,
> > >
> > > I have been dying to say "You can fix all of your problems by
> > > formatting your computer and installing a linux
> distribution." On this
> > > list for ages :-)
> > >
> > > but the fact remains that an out of the box installation
> of any of the
> > > linux distros are far more secure than anything putout by
> that redmond
> > > company.
> >
> > All security advantages aside, I prefer linux because everytime I
> > install a new program or service I don't need to reboot :)
> >
> > Cheers,
> > Rob.
> > --
> > .------------------------------------------------------------.
> > | InterJinn Application Framework - http://www.interjinn.com |
> > :------------------------------------------------------------:
> > | An application and templating framework for PHP. Boasting |
> > | a powerful, scalable system for accessing system services |
> > | such as forms, properties, sessions, and caches. InterJinn |
> > | also provides an extremely flexible architecture for |
> > | creating re-usable components quickly and easily. |
> > `------------------------------------------------------------'
> >
> > --
> > 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
>
>
*************************************************************************************
This e-mail, including any attachments to it, may contain confidential and/or personal information.
If you have received this e-mail in error, you must not copy, distribute, or disclose it, use or take any action
based on the information contained within it.
Please notify the sender immediately by return e-mail of the error and then delete the original e-mail.
The information contained within this e-mail may be solely the opinion of the sender and may not necessarily
reflect the position, beliefs or opinions of Salmat on any issue.
This email has been swept for the presence of computer viruses known to Salmat's anti-virus systems.
For more information, visit our website at www.salmat.com.au.
*************************************************************************************
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]