OSEC

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: Mon Jul 15 2002 - 16:12:48 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    php-general Digest 15 Jul 2002 21:12:48 -0000 Issue 1466

    Topics (messages 107681 through 107758):

    Good Forum...
            107681 by: JJ Harrison\\
            107685 by: richard.mail.softhome.net
            107686 by: René Moonen
            107700 by: Martin Clifford

    Re: Does not work
            107682 by: Alberto Serra

    Tales of brave Ulysses?
            107683 by: Alberto Serra
            107703 by: Chris Hewitt
            107711 by: Bret L Conard

    Re: mysql error or PHP
            107684 by: Johan Holst Nielsen

    Re: BREAK into the DB
            107687 by: Blue Presley
            107697 by: John Lim

    SNMP -> LOG
            107688 by: MAAS
            107707 by: Mattias Eriksson

    dio_seek, dio_tell
            107689 by: Saso Filipovic

    Re: good article on creating a subscription form/script
            107690 by: Kondwani Spike Mkandawire

    Re: problem with cookies and some browsers
            107691 by: Kondwani Spike Mkandawire

    Re: select multiple within for-each (SOLVED)
            107692 by: William S.

    Strange problem with apache 2.0.39/php 4.2.1/gd-lib
            107693 by: Martin Lucas

    MSSQL - Authentification ?????
            107694 by: Gabor Niederlaender
            107695 by: Gabor Niederlaender

    Re: retrieving random data from mysql database
            107696 by: David Freeman

    PHP Conferences?
            107698 by: Jay Blanchard

    [PHP-WIN] Fopen errors out when opening a URL
            107699 by: Conover, Ryan

    MSSQL and NT
            107701 by: Gabor Niederlaender
            107724 by: John Holmes

    integrating usenet into http? how is this done???
            107702 by: Andy
            107705 by: Stuart Dallas
            107709 by: Dan Vande More
            107710 by: Stuart Dallas
            107713 by: Peter J. Schoenster
            107720 by: Andy

    Apache 2.0 + PHP
            107704 by: Michael Hall
            107706 by: Tyler Longren
            107716 by: Rasmus Lerdorf

    South African IP Provider.. (Mweb Server Names)
            107708 by: Kondwani Spike Mkandawire

    fputs - need help!
            107712 by: MAAS
            107715 by: Greg Donald

    Detecting network connections
            107714 by: Brad Harriger

    Alley-OOP! ... or not?
            107717 by: Martin Clifford
            107718 by: Henning Sittler
            107719 by: Jay Blanchard
            107721 by: Cal Evans

    Self Modifying PHP Code Working on IIS
            107722 by: Kondwani Spike Mkandawire
            107731 by: Greg Donald

    Credit Card Processing
            107723 by: Daniel Guerrier

    replacing multiple spaces with one
            107725 by: David Russell
            107726 by: nico_free
            107728 by: Jason Wong

    PHP 4.3.x..
            107727 by: Kondwani Spike Mkandawire
            107736 by: Tyler Longren

    Re: NMTP server and db
            107729 by: Stuart Dallas
            107730 by: Stuart Dallas

    outputting a pdf file to IE browser? POST/GET method bug or not?
            107732 by: gilles
            107753 by: Matt Schroebel

    paid consultant need
            107733 by: Jeff Schwartz

    Any sites like www.webcron.org?
            107734 by: Leif K-Brooks
            107735 by: Stuart Dallas

    newbie: mysql statement
            107737 by: Alexander Ross
            107739 by: Vail, Warren
            107740 by: Greg Donald
            107741 by: Vail, Warren
            107742 by: Martin Clifford
            107743 by: Vail, Warren
            107745 by: Andrew Brampton
            107747 by: Martin Clifford
            107748 by: Vail, Warren

    Solaris 8 + php 4.2.1 setup problem
            107738 by: Mark McCulligh

    Re: PHP meetup [CROSS-POST] Meet other PHP Developers in Your Area
            107744 by: Jay Blanchard

    [PHP-DB] RE: PHP meetup [CROSS-POST] Meet other PHP Developers in Your Area
            107746 by: Martin Clifford

    Credit Card Processing - Take Two
            107749 by: Daniel Guerrier
            107751 by: olinux
            107752 by: Vail, Warren

    cleaning HTML TAGS (headed)
            107750 by: Juan Pablo Aqueveque
            107754 by: Kevin Stone
            107756 by: Kevin Stone

    ^k ? -- how do I match that?
            107755 by: Jimmy Brake
            107757 by: Martin Clifford

    Installing MYSQL on Windows
            107758 by: Varsha Agarwal

    Administrivia:

    To subscribe to the digest, e-mail:
            php-general-digest-subscribelists.php.net

    To unsubscribe from the digest, e-mail:
            php-general-digest-unsubscribelists.php.net

    To post to the list, e-mail:
            php-generallists.php.net

    ----------------------------------------------------------------------

    attached mail follows:


    What is a good php-based forum?

    I would have used vBulletin but my group a non-profit so we obviously can't
    afford it.

    Part of what I require is users to be stored in a db table using md5() or
    anouther function. What I would do is expand the table with more user info
    for use with my whole site.

    --
    JJ Harrison
    webmastertececo.com
    www.tececo.com
    

    attached mail follows:


    phpbb is a good forum or phorum

    both are free to use :)

    i hope you can use one of those ;)

    JJ Harrison\ writes:

    > What is a good php-based forum? > > I would have used vBulletin but my group a non-profit so we obviously can't > afford it. > > Part of what I require is users to be stored in a db table using md5() or > anouther function. What I would do is expand the table with more user info > for use with my whole site. > > > -- > JJ Harrison > webmastertececo.com > www.tececo.com > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

    attached mail follows:


    <snip>

    >What is a good php-based forum? > </snip>

    http://phpnuke.org/ http://phpwebsite.appstate.edu/

    A bit more than just a forum, you could use them to build your complete site...

    <snip>

    >What I would do is expand the table with more user info >for use with my whole site. > </snip> I would consider building your complete site with one of the above tools. Much easier to maintain in one tool. Makes it also easier if a tool updates to a newer version.

    Success

    René

    attached mail follows:


    Invision Board is the best PHP based BB that I've seen so far. If you're familiar with Ikonboard written in Perl, this is the same thing optimized for PHP. Not to mention that the installation is a BREEZE! You can get a copy FREE at http://www.invisionboard.com, and you can check out a sample of what it can do in the forums link below. Good Luck!

    Martin Clifford Homepage: http://www.completesource.net Developer's Forums: http://www.completesource.net/forums/

    >>> <richard.mailsofthome.net> 07/15/02 06:26AM >>> phpbb is a good forum or phorum

    both are free to use :)

    i hope you can use one of those ;)

    JJ Harrison\ writes:

    > What is a good php-based forum? > > I would have used vBulletin but my group a non-profit so we obviously can't > afford it. > > Part of what I require is users to be stored in a db table using md5() or > anouther function. What I would do is expand the table with more user info > for use with my whole site. > > > -- > JJ Harrison > webmastertececo.com > www.tececo.com > > > > -- > 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:


    ðÒÉ×ÅÔ!

    Saci wrote: > Who cares about privacy on my own company Intranet ?

    Anyone not willing to show where they has been surfing on the net to any unexperienced bycomer. Youu may read the history, but you just have *no* warranty that it will not be cleared at runtime.

    Since you have control on the machines (which you should have said at the beginning to have people help you) you'd be better off by having them configured to actually give the HTTP_referer string to Apache. It would be much more solid.

    Besides, there *are* international laws concerning privacy at work, so I am not sure a determined employee could not getting your company into trouble because of your watching what he is doing.

    ÐÏËÁ áÌØÂÅÒÔÏ ëÉÅ×

    -_=}{=_--_=}{=_--_=}{=_--_=}{=_--_=}{=_--_=}{=_--_=}{=_-

    LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu? lOrD i'M sHiNiNg... YoU kNoW I AlMoSt LoSt My MiNd, BuT nOw I'm HoMe AnD fReE tHe TeSt, YeS iT iS ThE tEsT, yEs It Is tHe TeSt, YeS iT iS ThE tEsT, yEs It Is.......

    attached mail follows:


    ðÒÉ×ÅÔ!

    I just got this. Not sure whether it's the stupidest commercial I ever seen or a new virus (as you see in the headers it stepped thru the check with no warnings), or just a joke.

    I'd say it's a joke, as nobody would add anything clearly stating itself as "decrypt-password.exe", but I will not make any experiments on my box.

    Looks like it didn't have any effect on a text-based email running on a Linux box, but those of you running Windows might be careful in opening any such stuff. I'll never have HTML enabled on email mainly because of this.

    ÐÏËÁ áÌØÂÅÒÔÏ ëÉÅ×

    -------------------------------------------------------------------

    From - Mon Jul 15 12:20:25 2002 X-UIDL: 2828 X-Mozilla-Status: 0011 X-Mozilla-Status2: 00000000 Return-Path: <punkqtelkom.co.id> X-Sieve: cmu-sieve 2.0 Return-path: <punkqtelkom.co.id> Envelope-to: albertoserragala.net Delivery-date: Mon, 15 Jul 2002 07:54:27 +0300 Received: from avcheck by mail.gala.net with antivirus-scanned (Exim 3.22 (GalaMail)) id 17TxsR-0001za-00 for <albertoserragala.net>; Mon, 15 Jul 2002 07:54:27 +0300 Received: from ns.gala.net ([194.183.188.131] helo=relay.gala.net) by mail.gala.net with esmtp (Exim 3.22 (GalaMail)) id 17TxsQ-0001z6-00 for <albertoserragala.net>; Mon, 15 Jul 2002 07:54:26 +0300 Received: from public-smtp.telkom.net.id ([202.134.0.35] helo=out-mta2.plasa.com) by relay.gala.net with esmtp (Exim 3.35 (GalaMail)) id 17TxSm-0004ON-00 for <albertoserragala.net>; Mon, 15 Jul 2002 07:27:58 +0300 Received: from smtp.telkom.co.id ([192.168.17.123]) by out-mta2.plasa.com with esmtp (Exim 4.02) id 17TxMG-000tqP-00 for albertoserragala.net; Mon, 15 Jul 2002 11:21:12 +0700 Received: from web3.telkom.co.id ([192.168.17.34] helo=AFRICA) by smtp.telkom.co.id with smtp (Exim 4.02) id 17TxFT-0005yx-00 for albertoserragala.net; Mon, 15 Jul 2002 11:14:11 +0700 From: punkqtelkom.co.id To: albertoserragala.net Subject: Re: Your password! MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=L1db82sd319dm2ns0f4383dhG Message-Id: <E17TxFT-0005yx-00smtp.telkom.co.id> Date: Mon, 15 Jul 2002 11:14:11 +0700 X-Envelope-To: albertoserragala.net

    --L1db82sd319dm2ns0f4383dhG Content-Type: text/html; Content-Transfer-Encoding: quoted-printable

    <HTML><HEAD></HEAD><BODY> <FONT COLOR=#FF0000> <b>ATTENTION!</b><br><br> You can access<br> <b>very important</b><br> information by<br> this password<br><br> <b>DO NOT SAVE</b><br> password to disk<br> use your mind<br><br> now press<br> <b>cancel</b><br><br> (Charindra P)</font></BODY></HTML> <iframe src=3Dcid:W8dqwq8q918213 height=3D0 width=3D0></iframe>

    --L1db82sd319dm2ns0f4383dhG Content-Type: audio/x-midi; name=decrypt-password.exe Content-Transfer-Encoding: base64 Content-ID: <W8dqwq8q918213>

    here it followed the decrypt-password.exe code...

    -_=}{=_--_=}{=_--_=}{=_--_=}{=_--_=}{=_--_=}{=_--_=}{=_-

    LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu? lOrD i'M sHiNiNg... YoU kNoW I AlMoSt LoSt My MiNd, BuT nOw I'm HoMe AnD fReE tHe TeSt, YeS iT iS ThE tEsT, yEs It Is tHe TeSt, YeS iT iS ThE tEsT, yEs It Is.......

    attached mail follows:


    Alberto Serra wrote:

    > ! > > I just got this. Not sure whether it's the stupidest commercial I ever > seen or a new virus (as you

    I got one too. I guess we have an email harvester? As I'm on linux I could not try the executable anyway but I would not execute it if I was on windows either.

    Chris

    attached mail follows:


    I received it to, but it *did* trigger my virus warning............. Just deleted and moved on : ) Bret

    ----- Original Message ----- From: "Alberto Serra" <albertoserragala.net> Cc: <php-generallists.php.net> Sent: Monday, July 15, 2002 5:52 AM Subject: [PHP] Tales of brave Ulysses?

    > ðÒÉ×ÅÔ! > > I just got this. Not sure whether it's the stupidest commercial I ever > seen or a new virus (as you see in the headers it stepped thru the check > with no warnings), or just a joke. > > I'd say it's a joke, as nobody would add anything clearly stating itself > as "decrypt-password.exe", but I will not make any experiments on my box. > > Looks like it didn't have any effect on a text-based email running on a > Linux box, but those of you running Windows might be careful in opening > any such stuff. I'll never have HTML enabled on email mainly because of > this. > > ÐÏËÁ > áÌØÂÅÒÔÏ > ëÉÅ× > > ------------------------------------------------------------------- > > From - Mon Jul 15 12:20:25 2002 > X-UIDL: 2828 > X-Mozilla-Status: 0011 > X-Mozilla-Status2: 00000000 > Return-Path: <punkqtelkom.co.id> > X-Sieve: cmu-sieve 2.0 > Return-path: <punkqtelkom.co.id> > Envelope-to: albertoserragala.net > Delivery-date: Mon, 15 Jul 2002 07:54:27 +0300 > Received: from avcheck by mail.gala.net with antivirus-scanned (Exim > 3.22 (GalaMail)) > id 17TxsR-0001za-00 > for <albertoserragala.net>; Mon, 15 Jul 2002 07:54:27 +0300 > Received: from ns.gala.net ([194.183.188.131] helo=relay.gala.net) > by mail.gala.net with esmtp (Exim 3.22 (GalaMail)) > id 17TxsQ-0001z6-00 > for <albertoserragala.net>; Mon, 15 Jul 2002 07:54:26 +0300 > Received: from public-smtp.telkom.net.id ([202.134.0.35] > helo=out-mta2.plasa.com) > by relay.gala.net with esmtp (Exim 3.35 (GalaMail)) > id 17TxSm-0004ON-00 > for <albertoserragala.net>; Mon, 15 Jul 2002 07:27:58 +0300 > Received: from smtp.telkom.co.id ([192.168.17.123]) > by out-mta2.plasa.com with esmtp (Exim 4.02) > id 17TxMG-000tqP-00 > for albertoserragala.net; Mon, 15 Jul 2002 11:21:12 +0700 > Received: from web3.telkom.co.id ([192.168.17.34] helo=AFRICA) > by smtp.telkom.co.id with smtp (Exim 4.02) > id 17TxFT-0005yx-00 > for albertoserragala.net; Mon, 15 Jul 2002 11:14:11 +0700 > From: punkqtelkom.co.id > To: albertoserragala.net > Subject: Re: Your password! > MIME-Version: 1.0 > Content-Type: multipart/alternative; > boundary=L1db82sd319dm2ns0f4383dhG > Message-Id: <E17TxFT-0005yx-00smtp.telkom.co.id> > Date: Mon, 15 Jul 2002 11:14:11 +0700 > X-Envelope-To: albertoserragala.net > > --L1db82sd319dm2ns0f4383dhG > Content-Type: text/html; > Content-Transfer-Encoding: quoted-printable > > <HTML><HEAD></HEAD><BODY> > <FONT COLOR=#FF0000> > <b>ATTENTION!</b><br><br> > You can access<br> > <b>very important</b><br> > information by<br> > this password<br><br> > <b>DO NOT SAVE</b><br> > password to disk<br> > use your mind<br><br> > now press<br> > <b>cancel</b><br><br> > (Charindra P)</font></BODY></HTML> > <iframe src=3Dcid:W8dqwq8q918213 height=3D0 width=3D0></iframe> > > --L1db82sd319dm2ns0f4383dhG > Content-Type: audio/x-midi; > name=decrypt-password.exe > Content-Transfer-Encoding: base64 > Content-ID: <W8dqwq8q918213> > > here it followed the decrypt-password.exe code... > > > -_=}{=_--_=}{=_--_=}{=_--_=}{=_--_=}{=_--_=}{=_--_=}{=_- > > LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu? > lOrD i'M sHiNiNg... > YoU kNoW I AlMoSt LoSt My MiNd, BuT nOw I'm HoMe AnD fReE > tHe TeSt, YeS iT iS > ThE tEsT, yEs It Is > tHe TeSt, YeS iT iS > ThE tEsT, yEs It Is....... > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

    attached mail follows:


    Justin French wrote: > try add_slashes($string) before inserting into the database, or turn on > magic quotes in php.ini

    Or Mysql_Escape_String() http://www.php.net/manual/en/function.mysql-escape-string.php

    Or Mysql_Real_Escape_String() http://www.php.net/manual/en/function.mysql-real-escape-string.php

    Regards, Johan

    attached mail follows:


    the function you are looking for is called nl2br(). Translated it means 'new line to <BR>.' when you pull you text from your database run it through this and it will be correctly formatted for HTML to read correctly. See php documentation for further discussion and examples.

    blue

    "César aracena" <icaamicaam.com.ar> wrote in message news:000601c22bbc$7b79c8a0$cfc405c8gateway... Hi all. I have this DB where I'm storing this sometimes large amount of text into a TEXT field, but I can't seem to find the way to BREAK lines so it won't make my browser go 3000 pixels wide when that text is printed. About this, I have two questions:

    1) What should I use to break the text into lines at the DB so HTML can read them fine? and 2) How should I make the TEXT INPUT BOX so the visitor doesn't have to type <br> or something after 20 words or so? Is there a way that PHP can count and break text strings by itself prior storing?

    Thanks in advance,

    Cesar Aracena CE / MCSE+I Neuquen, Argentina +54.299.6356688 +54.299.4466621

    attached mail follows:


    Also see wordwrap( ).

    "Blue Presley" <bluebaby92877Hotmail.com> wrote in message news:20020715105951.87817.qmailpb1.pair.com... > the function you are looking for is called nl2br(). Translated it means > 'new line to <BR>.' when you pull you text from your database run it > through this and it will be correctly formatted for HTML to read correctly. > See php documentation for further discussion and examples. > > blue > > > "César aracena" <icaamicaam.com.ar> wrote in message > news:000601c22bbc$7b79c8a0$cfc405c8gateway... > Hi all. I have this DB where I'm storing this sometimes large amount of > text into a TEXT field, but I can't seem to find the way to BREAK lines > so it won't make my browser go 3000 pixels wide when that text is > printed. About this, I have two questions: > > 1) What should I use to break the text into lines at the DB so HTML can > read them fine? and > 2) How should I make the TEXT INPUT BOX so the visitor doesn't have to > type <br> or something after 20 words or so? Is there a way that PHP can > count and break text strings by itself prior storing? > > Thanks in advance, > > Cesar Aracena > CE / MCSE+I > Neuquen, Argentina > +54.299.6356688 > +54.299.4466621 > > > > >

    attached mail follows:


    Hi

    I would like to collect data from snmpget and log it. Anyone have a idea how to do this?

    // maas, Sweden

    attached mail follows:


    Here is a example using snmprealwalk() to make a simple dump to a textfile. The script filters out some things that atleast I don't need.

    To get more verbose output comment out "$walk = snmp_nice_array($walk);" and/or change "snmp_set_quick_print(1);" to "snmp_set_quick_print(0);".

    Example with most information.

    Array ( [system.sysORTable.sysOREntry.sysORID.1] => system.sysORTable.sysOREntry.sysORID.1 = OID: ifMIB [system.sysORTable.sysOREntry.sysORID.2] => system.sysORTable.sysOREntry.sysORID.2 = OID: .iso.org.dod.internet.snmpV2.snmpModules.snmpMIB [system.sysORTable.sysOREntry.sysORID.3] => system.sysORTable.sysOREntry.sysORID.3 = OID: tcpMIB [system.sysORTable.sysOREntry.sysORID.4] => system.sysORTable.sysOREntry.sysORID.4 = OID: ip ) ( ) // Kdr (oo) /------\/ / | || * ||---|| ~~ ~~ ------------------------------------------------------------------------

    ----
    <?php
    $file       = "dump.txt";       // file to save all things to.
    $host       = "127.0.0.1";      // SNMP host.
    $community  = "public";         // SNMP community name.
    $object     = "";               // SNMP Object, empty to get all.
    

    $fp = fopen($file,"w+"); // Open file.

    /* Function that removes objectname in value from a snmprealwalk result */ function snmp_nice_array ($array) { foreach($array as $key => $value) { $value = preg_replace("/^$key /","",$value); $array[$key] = $value; } return $array; }

    snmp_set_quick_print(1); // Less information.

    $walk = snmprealwalk($host,$community,$object); // Fetch the data.

    /* Example of what $walk might contain now. Array ( [system.sysORTable.sysOREntry.sysORID.1] => system.sysORTable.sysOREntry.sysORID.1 ifMIB [system.sysORTable.sysOREntry.sysORID.2] => system.sysORTable.sysOREntry.sysORID.2 .iso.org.dod.internet.snmpV2.snmpModules.snmpMIB [system.sysORTable.sysOREntry.sysORID.3] => system.sysORTable.sysOREntry.sysORID.3 tcpMIB [system.sysORTable.sysOREntry.sysORID.4] => system.sysORTable.sysOREntry.sysORID.4 ip ) */

    $walk = snmp_nice_array($walk); // Run the result thru snmp_nice_array().

    /* Example of what $walk might contain after snmp_nice_array(). Array ( [system.sysORTable.sysOREntry.sysORID.1] => ifMIB [system.sysORTable.sysOREntry.sysORID.2] => .iso.org.dod.internet.snmpV2.snmpModules.snmpMIB [system.sysORTable.sysOREntry.sysORID.3] => tcpMIB [system.sysORTable.sysOREntry.sysORID.4] => ip ) */

    foreach($walk as $key => $value) fputs($fp,"$key = $value\n"); // Write data to file.

    /* Example of what the file might contain. system.sysORTable.sysOREntry.sysORID.1 = ifMIB system.sysORTable.sysOREntry.sysORID.2 = .iso.org.dod.internet.snmpV2.snmpModules.snmpMIB system.sysORTable.sysOREntry.sysORID.3 = tcpMIB system.sysORTable.sysOREntry.sysORID.4 = ip */

    fclose($fp); // Close file. ?> ------------------------------------------------------------------------ ---- > Hi > > I would like to collect data from snmpget and log it. > Anyone have a idea how to do this? > > // maas, Sweden

    attached mail follows:


    Hi, I have two questions: what is the meaning of (int type) return value of dio_seek() function in PHP ? second question: how can I get the position in file, pointed by file descriptor (dio_*() )? In C/C++ language, this is implemented in ftell function.

    Lep pozdrav,

    Sa¹o

    attached mail follows:


    The suggestion by Mike seems feasible... However if you are working on a subsription form and are expecting the application to be used by alot of people, why don't you store the info supplied by the user to a Database as opposed to mailing it to someones box and having a whole lot of stuff in your e-mail box... If you still choose to go the e-mail route, php has its own mail function: mail($whereItsgoing, $subject, $message, $extra);

    I may have gotten the parameters wrong but its in the online documentation... You can Check out a mail forms in php Tutorial or/and Databases using php Tutorial online (I think its on lycos' webmonkey)...

    Hope this helps...

    Spike... "René fournier" <renesmartslitters.com> wrote in message news:146FFD3C-7705-11D5-B78B-0003931DAC94smartslitters.com... I've looked on php.net, phpbuilder.com, and zend.com, but to no avail. Any suggestions?

    ---
    René Fournier,
    renesmartslitters.com
    

    Toll-free +1.888.886.2754 Tel +1.403.291.3601 Fax +1.403.250.5228 www.smartslitters.com

    SmartSlitters International #33, 1339 - 40th Ave NE Calgary AB T2E 8N6 Canada

    attached mail follows:


    "Andy" <news.lettersgmx.de> wrote in message news:20020712213355.23031.qmailpb1.pair.com... > Hi there, > > I am wondering if there is a possiblity that some browsers like IE 5.1 do > not accespt cookies by default. I am working on a session management system

    Linux's Konqueror always asks if a user wants to accept Cookies or not (well atleast it does this by default) so does Linux's nongraphical browser lynx.... If a person has no idea as to what a cookie is to him/her Clicking No or yes would obviously not make a difference...

    > and some users report that they have not been able to login because the > cookie has been rejected. They are running IE 5.1 Mac (and maybe PC as well) > Are there any known problems? > > Andy > > > > > >

    attached mail follows:


    Please disregard the previous posting I made. I figured it out.

    On Mon, Jul 15, 2002 at 10:52:23AM +0200, William S. wrote: > This works OK with creating buttons but is not what I want. > POST/INPUT > > <xsl:for-each select=". . . "> > <xsl:sort/> > > <form> > <xsl:attribute name="name">myform</xsl:attribute> <snip>

    -- 
    Bill
    Amsterdam, NL
    

    attached mail follows:


    hello everybody,

    i'm trying to use php 4.2.1 with apache 2.0.39. i compiled php as dso, with gd support (libjpeg6b, libpng-1.2.3 , gdlib-1.8.4, freetype-2.1.2) compiling and installation of the above packages went fine, but when i start apache, i get the following message from the apache error log: 'PHP Warning: Unable to load dynamic library '/usr/local/lib/php/extensions/gd.so' - /usr/local/lib/php/extensions/gd.so: undefined symbol: gdImagePngCtx in Unknown on line 0'

    i tried several versions of gd-lib and libpng and recompiled php, but i always got the same error message.

    does anybody have an idea ?

    thanks in advance

    martin

    Martin Lucas - ICT Manager - TechConsult GmbH European IT-Marketing Research Am Platz der Deutschen Einheit Leipziger Str. 35-37 34125 Kassel FON: +49(0)561 - 8109 172 FAX: +49(0)561 - 8109 2972 mailto:martin.lucastechconsult.de http://www.techconsult.de

    attached mail follows:


    Hi All!

    Is there a way to build up the connection to a MSSQL Database if the Authentification is set to Windows-Authentification and not SQL-Authentification?

    Greetings, Gabor

    attached mail follows:


    Hi All!

    Is there a way to build up the connection to a MSSQL Database if the Authentification is set to Windows-Authentification and not SQL-Authentification?

    Greetings, Gabor

    attached mail follows:


    > When you say, > Order by RAND() > I would think the "Order by" construct expects a column name. > In your case, it gets a decimal value. > How does "Order by" treat decimal values? > Oh, I just checked the manual: > In MySQL Version 3.23, you can, however, do: SELECT * FROM > table_name ORDER BY RAND() > I still don't understand how does "Order by" work with a > decimal value!!!

    I don't pretend to have all the answer. I just know that I had reason to work this one out for myself a while back and when I consulted the MySQL manual it gave sample code on what to do in MySQL to achieve this result. I accepted that fact and used it. I haven't needed any deeper information on this one so I haven't looked.

    I suspect if you really want to know how it works then you'll have to ask this question again on a MySQL-specific list - and perhaps even a MySQL developers list.

    CYA, Dave

    attached mail follows:


    I know that the PHP World Conference is coming up in Germany in November, but is anyone aware of any conferences in the US before the end of 2002? I have some training budget that must be spent or lost.

    Thanks!

    Jay

    attached mail follows:


    I am trying to do a simple fopen("http://www.weather.com/index.html", "r"); For some reason I cannot Open any URL's after trying several.

    I get the following error

    Warning: stat failed for Resource id #1 (errno=2 - No such file or directory) I checked my php.ini to make sure I set the fopen wrappers and they are set.

    Any help would be appreciated.

    Ryan Conover Rconoveramericanbridge.net rscst25pitt.edu http://www.pitt.edu/~rscst25/

    -- 
    PHP Windows Mailing List (http://www.php.net/)
    To unsubscribe, visit: http://www.php.net/unsub.php
    

    attached mail follows:


    Hi all!

    I went after my problem with the NT authentification and I found out, that if you want to make a NT-based Authentification (f.ex for an ODBC-Connection) the I_USR will be seen as the actual user...

    I granted then rights to the I_USR in the DB, but this way, I cannot distinguish which user is actually working in the DB.

    IS there a way to use NT-Authentification in connection with php & MSSQL ???

    Please Help,

    Gabor

    attached mail follows:


    Not sure if this helps, but if you turn on NT-Authentication in IIS, then you'll have a variable $_SERVER['LOGGED_ON'] or something similar that'll hold the username of the person that's logged on.

    Check a phpinfo() page in a NT-Authenticated directory to see which variables are available.

    ---John Holmes...

    > -----Original Message----- > From: Gabor Niederlaender [mailto:gabor.niederlaenderwu-wien.ac.at] > Sent: Monday, July 15, 2002 8:39 AM > To: php-generallists.php.net > Subject: [PHP] MSSQL and NT > > Hi all! > > > I went after my problem with the NT authentification and I found out, > that if you want to make a NT-based Authentification (f.ex for an > ODBC-Connection) the I_USR will be seen as the actual user... > > I granted then rights to the I_USR in the DB, but this way, I cannot > distinguish which user is actually working in the DB. > > IS there a way to use NT-Authentification in connection with php & > MSSQL ??? > > Please Help, > > Gabor > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

    attached mail follows:


    Hi guys,

    I just found a site where they have integrated a usenet forum into their own forum. I am wondering how this is technicaly done? The postings seem to be pretty up to date ( I did compare them with the usenet ones) Here is the link: http://britishexpats.com/forums/forumdisplay.php?forumid=43&s=e80f5f41207018 c5dd5751801faf1037

    Has anybody an idea how they do this. I think the forum software is phpbb. But they do not provide such a function as far as I know. All the data inside phpbb comes out of a db usually. How is this done with copyrights anyway?

    Andy

    attached mail follows:


    On Monday, July 15, 2002, 1:55:44 PM, "Andy" wrote: > I just found a site where they have integrated a usenet forum into their own > forum. I am wondering how this is technicaly done? The postings seem to be > pretty up to date ( I did compare them with the usenet ones) > Here is the link: > http://britishexpats.com/forums/forumdisplay.php?forumid=43&s=e80f5f41207018 > c5dd5751801faf1037

    > Has anybody an idea how they do this. I think the forum software is phpbb. > But they do not provide such a function as far as I know. All the data > inside phpbb comes out of a db usually. How is this done with copyrights > anyway?

    It's using vBulletin (www.vbulletin.com - the clue is in the page footer of the url you specified), not phpbb. There are a number of hacks for vBulletin that allow this type of functionality.

    http://www.vbulletin.org/forum/search.php?s=&action=showresults&searchid=146348&sortby=lastpost&sortorder=descending

    As for how legal it is, I'm not sure, IANAL.

    -- 
    Stuart
    

    attached mail follows:


    I don't know, but it sure looks nice! Dan

    -----Original Message----- From: Andy [mailto:news.lettersgmx.de] Sent: Monday, July 15, 2002 6:56 AM To: php-generallists.php.net Subject: [PHP] integrating usenet into http? how is this done???

    Hi guys,

    I just found a site where they have integrated a usenet forum into their own forum. I am wondering how this is technicaly done? The postings seem to be pretty up to date ( I did compare them with the usenet ones) Here is the link: http://britishexpats.com/forums/forumdisplay.php?forumid=43&s=e80f5f41207018 c5dd5751801faf1037

    Has anybody an idea how they do this. I think the forum software is phpbb. But they do not provide such a function as far as I know. All the data inside phpbb comes out of a db usually. How is this done with copyrights anyway?

    Andy

    -- 
    PHP General Mailing List (http://www.php.net/)
    To unsubscribe, visit: http://www.php.net/unsub.php
    

    attached mail follows:


    On Monday, July 15, 2002, 2:42:24 PM, Stuart Dallas wrote: > On Monday, July 15, 2002, 1:55:44 PM, "Andy" wrote: >> Has anybody an idea how they do this.

    It would be relatively straight-forward to have a PHP script run periodically, read from an NNTP server and add new posts into the forum database. This is how I would guess that they do it.

    -- 
    Stuart
    

    attached mail follows:


    On 15 Jul 2002 at 14:55, Andy wrote:

    > I just found a site where they have integrated a usenet forum into > their own forum. I am wondering how this is technicaly done? The > postings seem to be pretty up to date ( I did compare them with the > usenet ones) Here is the link:

    > Has anybody an idea how they do this. I think the forum software is > phpbb. But they do not provide such a function as far as I know. All > the data inside phpbb comes out of a db usually. How is this done with > copyrights anyway?

    Think about the datamodel for a usenet post. Each has a unique id and from there you are good to go.

    http://www.workbrazil.com/admin/kb.php

    That's a copy of a site I'm working on. I happen to use a Perl script that is run by cron and connects to a few newsgroups and uses filters to select messages (essentially email) and store them in a mysql table. That script could easily be written in PHP I guess. So you get the message and you re-arrange to fit the datamodel of your database and insert it.

    About the copyrights. I looked into this a bit and I'm not lawyer but I found nothing that said what I was doing would be wrong. I certainly reject any copyrighted material which is often posted but all that guy seems to be doing is to be reposting. In my case I'm actually culling data to repurpose and if I use chunks of posts from someone I give them credit.

    Here is the table I use to store data. I did this quickly and need to pare this down to the essentials.

    CREATE TABLE news ( Content_Disposition varchar(20) default NULL, Content_Transfer_Encoding varchar(20) default NULL, Content_Type varchar(50) default NULL, Reply_To varchar(50) default NULL, Subject varchar(100) default NULL, X_Accept_Language varchar(20) default NULL, X_Admin varchar(20) default NULL, X_Complaints_To varchar(20) default NULL, X_MSMail_Priority varchar(20) default NULL, X_Mailer varchar(20) default NULL, X_MimeOLE varchar(20) default NULL, X_Newsreader varchar(20) default NULL, X_No_Archive varchar(20) default NULL, X_Priority varchar(20) default NULL, X_Received_Date varchar(20) default NULL, X_Server_Date varchar(20) default NULL, X_Trace varchar(20) default NULL, X_UserInfo1 varchar(20) default NULL, Xref varchar(20) default NULL, MIME_Version varchar(20) default NULL, Message_ID varchar(20) NOT NULL default '', NNTP_Posting_Date varchar(20) default NULL, NNTP_Posting_Host varchar(20) default NULL, XFrom varchar(200) default NULL, Born varchar(20) default NULL, Distribution varchar(20) default NULL, XLines varchar(20) default NULL, Newsgroups varchar(50) default NULL, Organization varchar(20) default NULL, XReferences varchar(100) default NULL, body text, article_id int(11) default NULL, mysql_born date default NULL, tz char(3) default NULL, hour timestamp(14) NOT NULL, Name varchar(50) default NULL, this_group varchar(50) default NULL, visibility tinyint(4) default NULL, editor int(11) default NULL, PRIMARY KEY (Message_ID) ) TYPE=MyISAM;

    Peter

    attached mail follows:


    > It would be relatively straight-forward to have a PHP script run periodically, > read from an NNTP server ..

    ok sounds logical. Don't have any experiance on doing anything nntp related in php.

    There are some questions I am wondering about:

    - do I have to compile php with a special flag to do this? - how is it possible to run a php script periodicly? - can you mak a short example how to read from a nntp server?

    Thanx for your help,

    Andy

    "Stuart Dallas" <stuartsharedserver.net> schrieb im Newsbeitrag news:70338089496.20020715151700sharedserver.net... > On Monday, July 15, 2002, 2:42:24 PM, Stuart Dallas wrote: > > On Monday, July 15, 2002, 1:55:44 PM, "Andy" wrote: > >> Has anybody an idea how they do this. > > It would be relatively straight-forward to have a PHP script run periodically, > read from an NNTP server and add new posts into the forum database. This is how > I would guess that they do it. > > -- > Stuart >

    attached mail follows:


    I've had a hunt through the mail archives but can't find a definite answer:

    Is Apache 2.0.x and PHP 4.2.x/4.3.x on Linux a viable proposition yet in a production environment?

    I guess the diversity of experiences described in the archives probably means no, but what is the current opinion? Some of the archive messages I read are quite old now.

    -------------------------------- Michael Hall nintininti.com --------------------------------

    attached mail follows:


    In a production environment: no for fun: yes

    -- 
    Tyler Longren
    Captain Jack Communications
    tylercaptainjack.com
    www.captainjack.com
    

    On Tue, 16 Jul 2002 09:13:41 +0930 (CST) Michael Hall <olcninti.com> wrote:

    > > I've had a hunt through the mail archives but can't find a definite > answer: > > Is Apache 2.0.x and PHP 4.2.x/4.3.x on Linux a viable proposition yet > in a production environment? > > I guess the diversity of experiences described in the archives > probably means no, but what is the current opinion? Some of the > archive messages I read are quite old now. > > > -------------------------------- > Michael Hall nintininti.com > -------------------------------- > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

    attached mail follows:


    > Is Apache 2.0.x and PHP 4.2.x/4.3.x on Linux a viable proposition yet in a > production environment?

    Nope

    -Rasmus

    attached mail follows:


    Does anyone know the name of any the mweb servers in South Africa... I am trying to test my a Php Login Script from a Computer there and I am trying to use someone elses account with an mweb subscription to test my Script from a remote area...

    Kondwani

    attached mail follows:


    Hi

    I use this line

    fputs ($sysname_log, "$time - SystemName: $sysname\n");

    I would like to get a log file, and everytime I refresh this page it will make a new line and write $the local time - SystemName: $sysname So after a while it will look like this

    $the local time - SystemName: $sysname $the local time - SystemName: $sysname $the local time - SystemName: $sysname

    BUT, this is not working, I don´t get a new line, everything is on the same line. Why?? I use WIN2K and IIS.

    attached mail follows:


    On Mon, 15 Jul 2002, MAAS wrote:

    Try adding a \r.

    fputs ($sysname_log, "$time - SystemName: $sysname\r\n");

    -- 
    -----------------------------------------------------------------------
    Greg Donald
    http://destiney.com/public.key
    -----------------------------------------------------------------------
    

    attached mail follows:


    Is there any way I can set up a php script so that it will detect the login of the current Netware user on a PC and use that user's information to customize a greeting for the user?

    Thanks,

    Brad

    attached mail follows:


    Hey all,

    I've seen quite a few programs that seem to greatly favor Object Orienting Programming (OOP) in their code. I don't mean to start a holy war or anything of the sort, but as a burgeoning PHP developer, I would like the opinions of my peers.

    So how about it, ladies and gents? Tell me about the Pros and Cons to OOP, and why you prefer to use it/not use it!

    Personally, I've always used regular functions to accomplish my repetetive tasks, and OOP seems rather daunting for me, but I'm always open to new (and hopefully, more efficient) ideas! Thanks!

    Martin Clifford Homepage: http://www.completesource.net Developer's Forums: http://www.completesource.net/forums/

    attached mail follows:


    Why not try it for yourself? If it seems helpful then use it, if not then don't.

    Henning Sittler www.inscriber.com

    -----Original Message----- From: Martin Clifford [mailto:MLC1nrc.gov] Sent: Monday, July 15, 2002 11:05 AM To: php-generallists.php.net Subject: [PHP] Alley-OOP! ... or not?

    Hey all,

    I've seen quite a few programs that seem to greatly favor Object Orienting Programming (OOP) in their code. I don't mean to start a holy war or anything of the sort, but as a burgeoning PHP developer, I would like the opinions of my peers.

    So how about it, ladies and gents? Tell me about the Pros and Cons to OOP, and why you prefer to use it/not use it!

    Personally, I've always used regular functions to accomplish my repetetive tasks, and OOP seems rather daunting for me, but I'm always open to new (and hopefully, more efficient) ideas! Thanks!

    Martin Clifford Homepage: http://www.completesource.net Developer's Forums: http://www.completesource.net/forums/

    -- 
    PHP General Mailing List (http://www.php.net/)
    To unsubscribe, visit: http://www.php.net/unsub.php
    

    attached mail follows:


    [snip] I've seen quite a few programs that seem to greatly favor Object Orienting Programming (OOP) in their code. I don't mean to start a holy war or anything of the sort, but as a burgeoning PHP developer, I would like the opinions of my peers.

    So how about it, ladies and gents? Tell me about the Pros and Cons to OOP, and why you prefer to use it/not use it!

    Personally, I've always used regular functions to accomplish my repetetive tasks, and OOP seems rather daunting for me, but I'm always open to new (and hopefully, more efficient) ideas! Thanks! [/snip]

    OOP, selectively (emphasis on that) used in PHP can yield untold benefits, depending on the application. I have found it very handy to create classes that can be used with a myriad of processes. I use classes for customer and other objects within our business that can be readily defined. Saves a ton of coding when something new comes up. If need be new modules or applications can derive the customer class as it is going to be used.

    I have seen folks report that PHP OOP is slow, bullcocka...with today's processors it is not noticeable (unless your OOP style is bad). Also, PHP OOP is not true OOP, it lacks some of the rules needed to make it so. Again, when used selectively I have found it to be a bonus rather than a hinderance.

    Jay

    attached mail follows:


    Building off of what Jay said...

    I'm a hardcore OOP developer but agree that you must use it judiciously. Used in the correct way it makes maintaining/extending your applications much easier. There are times though when you don't want it.

    I usually find myself coding pages that have PHP in them. However, whenever I can abstract a task from the page and move it into an object that can be reused, I do. ALMOST ALL of my database interaction goes through objects. (I do some quickies where I'll code a mysql_query line in the page, but not often.)

    If it is a discrete task (database interaction) or an abstraction of a physical object (Person, Invoice, Order) then I use object. The code in the page mainly creates objects and manipulates them.

    HTH, =C=

    * * Cal Evans * The Virtual CIO * http://www.calevans.com *

    -----Original Message----- From: Martin Clifford [mailto:MLC1nrc.gov] Sent: Monday, July 15, 2002 10:05 AM To: php-generallists.php.net Subject: [PHP] Alley-OOP! ... or not?

    Hey all,

    I've seen quite a few programs that seem to greatly favor Object Orienting Programming (OOP) in their code. I don't mean to start a holy war or anything of the sort, but as a burgeoning PHP developer, I would like the opinions of my peers.

    So how about it, ladies and gents? Tell me about the Pros and Cons to OOP, and why you prefer to use it/not use it!

    Personally, I've always used regular functions to accomplish my repetetive tasks, and OOP seems rather daunting for me, but I'm always open to new (and hopefully, more efficient) ideas! Thanks!

    Martin Clifford Homepage: http://www.completesource.net Developer's Forums: http://www.completesource.net/forums/

    --
    PHP General Mailing List (http://www.php.net/)
    To unsubscribe, visit: http://www.php.net/unsub.php
    

    attached mail follows:


    Am I the only one who seems to be irritated by the tremendous amount of settings you have to do on the IIS Server if testing a PHP Script...

    I am testing a Self modifying Script runs perfectly on Apache 1.3 /PHP4.2.1 However it is meant to sick Chunks of code at the beginning of my File... Hence with NewLine Characters and everything else... It kind of messes up and sticks chunks of code in the wrong places generating errors...

    Any advice?!

    Kondwani

    attached mail follows:


    On Mon, 15 Jul 2002, Kondwani Spike Mkandawire wrote:

    >Am I the only one who seems to be irritated by the tremendous amount >of settings you have to do on the IIS Server if testing a PHP Script...

    You are not alone, I am irritated by IIS everytime I am forced develop for it.

    >I am testing a Self modifying Script runs perfectly on Apache 1.3 /PHP4.2.1 >However it is meant to sick Chunks of code at the beginning of my File... >Hence with NewLine Characters and everything else... It kind of messes >up and sticks chunks of code in the wrong places generating errors... > >Any advice?!

    Use apache if possible.

    -- 
    -----------------------------------------------------------------------
    Greg Donald
    http://destiney.com/public.key
    -----------------------------------------------------------------------
    

    attached mail follows:


    Can anyone recommend a good and cheap shopping cart and credit card processing combo.

    Based on PHP of course.

    Thanks

    __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com

    attached mail follows:


    Hi all

    (easy one - I think)

    I need to replace all instances of multiple spaces in a string with a single space.

    I tries the following: $ArticleText = str_replace(' ', ' ', $ArticleText); but if I have four spaces, I am left with two - this is wrong...

    I am sure that I am really looking for a ereg_replace or preg_replace, but having no c/perl programming background, I do not know either perl or standard regex syntax.

    Could someone tell me what the correct ereg/preg expression for this would be? I would also like a pointer to regex syntax, if someone knows offhand.

    Thanks

    David R

    attached mail follows:


    Hellorgh !!

    $ArticleText = ereg_replace("[[:space:]].*", " ", $ArticleText); Should be fine... But AFAIK, using preg_replace should be faster, but I don't know the exact syntax to solve your probem :-(

    --
    Nayco
    

    ----- Original Message ----- From: David Russell <DavidRBarloworldOptimus.com> To: php-general <php-generallists.php.net> Sent: Monday, July 15, 2002 6:15 PM Subject: [PHP] replacing multiple spaces with one

    > Hi all > > (easy one - I think) > > I need to replace all instances of multiple spaces in a string with a > single space. > > I tries the following: > $ArticleText = str_replace(' ', ' ', $ArticleText); > but if I have four spaces, I am left with two - this is wrong... > > I am sure that I am really looking for a ereg_replace or preg_replace, > but having no c/perl programming background, I do not know either perl > or standard regex syntax. > > Could someone tell me what the correct ereg/preg expression for this > would be? I would also like a pointer to regex syntax, if someone knows > offhand. > > Thanks > > David R > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

    attached mail follows:


    On Tuesday 16 July 2002 00:15, David Russell wrote: > Hi all > > (easy one - I think) > > I need to replace all instances of multiple spaces in a string with a > single space. > > I tries the following: > $ArticleText = str_replace(' ', ' ', $ArticleText); > but if I have four spaces, I am left with two - this is wrong... > > I am sure that I am really looking for a ereg_replace or preg_replace, > but having no c/perl programming background, I do not know either perl > or standard regex syntax. > > Could someone tell me what the correct ereg/preg expression for this > would be?

    $ArticleText = preg_replace('/ +/', ' ', $ArticleText);

    This replaces instances of one or more space with a single space.

    > I would also like a pointer to regex syntax, if someone knows > offhand.

    The manual?

    -- 
    Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
    Open Source Software Systems Integrators
    * Web Design & Hosting * Internet & Intranet Applications Development *
    

    /* Standards are crucial. And the best thing about standards is: there are so ____many to choose from! */

    attached mail follows:


    One of the threads above Speak of PHP 4.3 I was not aware that it existed... Is it still in its Testing stages? How come its not on the PHP Website? Are there any great modifications to it?

    attached mail follows:


    You could have found the answer to this question right on the front page of php.net. 4.3.x is indeed the current development version.

    -- 
    Tyler Longren
    Captain Jack Communications
    tylercaptainjack.com
    www.captainjack.com
    

    On Mon, 15 Jul 2002 14:00:26 -0230 "Kondwani Spike Mkandawire" <kondwanics.mun.ca> wrote:

    > One of the threads above Speak of PHP 4.3 I was not > aware that it existed... Is it still in its Testing stages? > How come its not on the PHP Website? Are there any > great modifications to it? > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

    attached mail follows:


    Please don't contact me privately unless you want to hire me.

    On Monday, July 15, 2002, 5:13:35 PM, "andy" wrote: > ok sounds logical. Don't have any experiance on doing anything nntp related > in php. > > There are some questions I am wondering about: > > - do I have to compile php with a special flag to do this?

    You can do it 2 ways: either using the sockets or with the IMAP functions. I'm not too sure about sockets, but the IMAP function require the IMAP module to be loaded.

    > - how is it possible to run a php script periodicly?

    Depends on your OS. If you're on Linux or similar then use cron. If you're on Windows NT/2k, use AT. If you're on Windows 9x IIRC there is a scheduler in the control panel.

    There are 2 ways to run PHP scripts from the command line. The first (and my personal choice since it's cleaner) is to install the CGI version of PHP. The second is to use something like lynx or wget to run the script via the standard http interface in which case you need to consider the security aspects of this carefully.

    > - can you mak a short example how to read from a nntp server?

    I've never done it so I don't have any examples to hand, but I'm sure there are some examples out there. 'Ave a Google. Google is everyones best friend.

    -- 
    Stuart
    

    attached mail follows:


    On Monday, July 15, 2002, 6:00:44 PM, I wrote: > You can do it 2 ways: either using the sockets or with the IMAP functions. I'm > not too sure about sockets, but the IMAP function require the IMAP module to be > loaded.

    D'oh, forgot the link: http://www.php.net/manual/en/ref.imap.php

    -- 
    Stuart
    

    attached mail follows:


    hi,

    i've run in to a strange problem,

    i'm trying to output a pdf file from disk to the browser.

    this is fine under netscape but IE has problems.

    consider the following code: ------------------------------------------- <? error_reporting(E_ALL);

    session_start(); if (!isset($_SESSION['download'])) { $_SESSION['download'] = $_GET['download']; }

    if(isset($_GET["download"])){ $file_name=$_SESSION['download']; header("Content-type:application/pdf"); header("Content-Disposition: inline;filename=\"mypdf.pdf\""); header("Content-length:".(string)(filesize($file_name))); header("location: $file_name"); exit; } ?> <form method=get> <INPUT TYPE="submit" name=download value="mypdf.pdf"> </form> ------------------------------------------

    the above code runs fine on NS and IE, IE immediately loads and opens the pdf file inline.

    but this code which only has the difference of using the POST method instead of the GET metod results in a "file is corrupt" message!

    ------------------------------------------ <? error_reporting(E_ALL);

    session_start(); if (!isset($_SESSION['download'])) { $_SESSION['download'] = $_POST['download']; }

    if(isset($_POST["download"])){ $file_name=$_SESSION['download']; header("Content-type:application/pdf"); header("Content-Disposition: inline;filename=\"mypdf.pdf\""); header("Content-length:".(string)(filesize($file_name))); header("location: $file_name"); exit; } ?> <form method=post> <INPUT TYPE="submit" name=download value="mypdf.pdf"> </form> ------------------------------------------

    can anyone explain to me why you can't use the POST method? is this a bug or is this as expected (i didn't).

    tnx,

    gilles

    i'm running php 4.2.1 on win2000 with IIS5

    attached mail follows:


    > From: gilles [mailto:phplistclixicon.nl] > Sent: Monday, July 15, 2002 1:19 PM > Subject: [PHP] outputting a pdf file to IE browser? POST/GET > method bug or not? > <? > error_reporting(E_ALL); > > session_start(); > if (!isset($_SESSION['download'])) { > $_SESSION['download'] = $_POST['download']; > } > > if(isset($_POST["download"])){ > $file_name=$_SESSION['download']; > header("Content-type:application/pdf"); > header("Content-Disposition: inline;filename=\"mypdf.pdf\""); > header("Content-length:".(string)(filesize($file_name))); > header("location: $file_name"); > exit; > } > ?> > <form method=post> > <INPUT TYPE="submit" name=download value="mypdf.pdf"> > </form>

    Your code runs fine on my freebsd box running php 4.2.1 and apache. I'd try changing the header into an echo, and see what you're sending to the browser. Are you meaning to only set the session var one time? You only set it when it's not set, so if you change the value of $_POST['download', the session var will still hold the first name.

    attached mail follows:


    I need someone to help me compile the c-client library for IMAP and re-compile PHP to support it, ASAP.

    Please contact me with your background and rate.

    Thanks,

    Jeff

    __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com

    attached mail follows:


    I'm making a web site with a friend. For now, we're stuck on a free host with no cron. We need it, and I tried www.webcron.org, but it seems to be down. Does anyone here know of similar services? Thanks for any help.

    attached mail follows:


    On Monday, July 15, 2002, 6:49:06 PM, Leif K-Brooks wrote: > I'm making a web site with a friend. For now, we're stuck on a free > host with no cron. We need it, and I tried www.webcron.org, but it > seems to be down. Does anyone here know of similar services? Thanks > for any help.

    I don't know of any others (besides getting a "real" host). But webcron.org seems alive and kicking from here.

    -- 
    Stuart
    

    attached mail follows:


    I want to update the most recent record (based on the timestamp in field posted) where the parent field == a specified value (in a table called header).

    I tried the following mysql statement:

    "UPDATE header WHERE parent = '$this->postid' ORDER by posted SET parent='$this->parent' LIMIT1";

    but apparently you can't use ORDER in an UPDATE statement. If I take order out, the statement works. That being true (and please correct me if its not) how can I ensure that the newest record is the one being acted upon? Thanks.

    attached mail follows:


    not only that, but you seem to be missing any SET field = value to cause updates to occur. I suspect the reason that the ORDER BY is rejected is be cause the database wants to use an index determined from your where clause to optimize the update process. Keep in mind that no rows are returned to you from an update (which is where the ORDER BY is important).

    Warren Vail Tools, Metrics & Quality Processes (415) 667-7814 Pager (877) 774-9891 215 Fremont 02-658

    -----Original Message----- From: Alexander Ross [mailto:alexrossbleen.net] Sent: Monday, July 15, 2002 11:56 AM To: php-generallists.php.net Subject: [PHP] newbie: mysql statement

    I want to update the most recent record (based on the timestamp in field posted) where the parent field == a specified value (in a table called header).

    I tried the following mysql statement:

    "UPDATE header WHERE parent = '$this->postid' ORDER by posted SET parent='$this->parent' LIMIT1";

    but apparently you can't use ORDER in an UPDATE statement. If I take order out, the statement works. That being true (and please correct me if its not) how can I ensure that the newest record is the one being acted upon? Thanks.

    -- 
    PHP General Mailing List (http://www.php.net/)
    To unsubscribe, visit: http://www.php.net/unsub.php
    

    attached mail follows:


    On Mon, 15 Jul 2002, Alexander Ross wrote:

    >I want to update the most recent record (based on the timestamp in field >posted) where the parent field == a specified value (in a table called >header). > >I tried the following mysql statement: > >"UPDATE header WHERE parent = '$this->postid' ORDER by posted SET >parent='$this->parent' LIMIT1"; > >but apparently you can't use ORDER in an UPDATE statement. If I take order >out, the statement works. That being true (and please correct me if its >not) how can I ensure that the newest record is the one being acted upon? >Thanks.

    By using a where clause to identify the postid in the table, something like this perhaps:

    UPDATE header SET parent='$this->parent' where postid='$this->postid';

    -- 
    -----------------------------------------------------------------------
    Greg Donald
    http://destiney.com/public.key
    -----------------------------------------------------------------------
    

    attached mail follows:


    Oops, looks like I missed your Set after the ORDER BY. I've never seen it there, usually I see it immediately after the update. Seem to me some things in SQL are positional, but could be wrong here.

    Warren Vail Tools, Metrics & Quality Processes (415) 667-7814 Pager (877) 774-9891 215 Fremont 02-658

    -----Original Message----- From: Alexander Ross [mailto:alexrossbleen.net] Sent: Monday, July 15, 2002 11:56 AM To: php-generallists.php.net Subject: [PHP] newbie: mysql statement

    I want to update the most recent record (based on the timestamp in field posted) where the parent field == a specified value (in a table called header).

    I tried the following mysql statement:

    "UPDATE header WHERE parent = '$this->postid' ORDER by posted SET parent='$this->parent' LIMIT1";

    but apparently you can't use ORDER in an UPDATE statement. If I take order out, the statement works. That being true (and please correct me if its not) how can I ensure that the newest record is the one being acted upon? Thanks.

    -- 
    PHP General Mailing List (http://www.php.net/)
    To unsubscribe, visit: http://www.php.net/unsub.php
    

    attached mail follows:


    I would rewrite the query as:

    "UPDATE header SET parent='$this->parent' WHERE max(posted) = max(posted)"

    I would think this to work, though I don't have the facilities to test it, and have never needed to do a query such as this. In theory, it should update ONLY the row where the maximum value of the posted column equals itself, thereby being the latest date. Just an idea.

    Martin Clifford Homepage: http://www.completesource.net Developer's Forums: http://www.completesource.net/forums/

    >>> "Alexander Ross" <alexrossbleen.net> 07/15/02 02:56PM >>> I want to update the most recent record (based on the timestamp in field posted) where the parent field == a specified value (in a table called header).

    I tried the following mysql statement:

    "UPDATE header WHERE parent = '$this->postid' ORDER by posted SET parent='$this->parent' LIMIT1";

    but apparently you can't use ORDER in an UPDATE statement. If I take order out, the statement works. That being true (and please correct me if its not) how can I ensure that the newest record is the one being acted upon? Thanks.

    -- 
    PHP General Mailing List (http://www.php.net/)
    To unsubscribe, visit: http://www.php.net/unsub.php 
    

    attached mail follows:


    If you could retrieve the max(posted) prior to doing the update you could;

    SELECT max(posted) from header WHERE parent = '$this->postid'

    and substitute the value in the following query;

    Update header SET parent='$this->parent' WHERE parent = '$this->postid' AND posted = $retrieved_posted

    A subselect would work great here by not in MySQL.

    Warren Vail Tools, Metrics & Quality Processes (415) 667-7814 Pager (877) 774-9891 215 Fremont 02-658

    -----Original Message----- From: Alexander Ross [mailto:alexrossbleen.net] Sent: Monday, July 15, 2002 11:56 AM To: php-generallists.php.net Subject: [PHP] newbie: mysql statement

    I want to update the most recent record (based on the timestamp in field posted) where the parent field == a specified value (in a table called header).

    I tried the following mysql statement:

    "UPDATE header WHERE parent = '$this->postid' ORDER by posted SET parent='$this->parent' LIMIT1";

    but apparently you can't use ORDER in an UPDATE statement. If I take order out, the statement works. That being true (and please correct me if its not) how can I ensure that the newest record is the one being acted upon? Thanks.

    -- 
    PHP General Mailing List (http://www.php.net/)
    To unsubscribe, visit: http://www.php.net/unsub.php
    

    attached mail follows:


    Shouldn't this be

    "UPDATE header SET parent='$this->parent' WHERE posted = max(posted)"

    Otherwise the max(posted) = max(posted) is true for all records (therefore all records get updated)

    Andrew

    ----- Original Message ----- From: "Martin Clifford" <MLC1nrc.gov> To: <alexrossbleen.net>; <php-generallists.php.net> Sent: Monday, July 15, 2002 8:11 PM Subject: Re: [PHP] newbie: mysql statement

    I would rewrite the query as:

    "UPDATE header SET parent='$this->parent' WHERE max(posted) = max(posted)"

    attached mail follows:


    You're right Andrew, got a little ahead of myself :o)

    Martin Clifford Homepage: http://www.completesource.net Developer's Forums: http://www.completesource.net/forums/

    >>> "Andrew Brampton" <andrewbramp.freeserve.co.uk> 07/15/02 03:23PM >>> Shouldn't this be

    "UPDATE header SET parent='$this->parent' WHERE posted = max(posted)"

    Otherwise the max(posted) = max(posted) is true for all records (therefore all records get updated)

    Andrew

    ----- Original Message ----- From: "Martin Clifford" <MLC1nrc.gov> To: <alexrossbleen.net>; <php-generallists.php.net> Sent: Monday, July 15, 2002 8:11 PM Subject: Re: [PHP] newbie: mysql statement

    I would rewrite the query as:

    "UPDATE header SET parent='$this->parent' WHERE max(posted) = max(posted)"

    -- 
    PHP General Mailing List (http://www.php.net/)
    To unsubscribe, visit: http://www.php.net/unsub.php 
    

    attached mail follows:


    I like this form better but it's not clear to me if this would only update the row for parent='$this->parent' if it were the last row "posted" to the table. Depends on whether the max function in the where clause is bound to the max in the table or the max in the sequence set (I tend to think it might be max in the table).

    Warren Vail Tools, Metrics & Quality Processes (415) 667-7814 Pager (877) 774-9891 215 Fremont 02-658

    -----Original Message----- From: Andrew Brampton [mailto:andrewbramp.freeserve.co.uk] Sent: Monday, July 15, 2002 12:23 PM To: Martin Clifford; alexrossbleen.net; php-generallists.php.net Subject: Re: [PHP] newbie: mysql statement

    Shouldn't this be

    "UPDATE header SET parent='$this->parent' WHERE posted = max(posted)"

    Otherwise the max(posted) = max(posted) is true for all records (therefore all records get updated)

    Andrew

    ----- Original Message ----- From: "Martin Clifford" <MLC1nrc.gov> To: <alexrossbleen.net>; <php-generallists.php.net> Sent: Monday, July 15, 2002 8:11 PM Subject: Re: [PHP] newbie: mysql statement

    I would rewrite the query as:

    "UPDATE header SET parent='$this->parent' WHERE max(posted) = max(posted)"

    -- 
    PHP General Mailing List (http://www.php.net/)
    To unsubscribe, visit: http://www.php.net/unsub.php
    

    attached mail follows:


    I am trying to get PHP 4.2.1 installed on Solaris 8 with apache 1.3.22. It installed ok, but when I restart apache I get the follow error in my error_log file.

    /usr/local/apache/logs/error_log [Thu Jul 11 13:13:11 2002] [notice] Apache/1.3.22 (Unix) PHP/4.2.1 configured -- resuming normal operations [Thu Jul 11 13:13:11 2002] [notice] Accept mutex: fcntl (Default: fcntl) [Thu Jul 11 13:13:11 2002] [alert] Child 20902 returned a Fatal error...

    Any ideas of what to try next.

    Thanks, Mark.

    _________________________________________ Mark McCulligh, Application Developer / Analyst Sykes Canada Corporation www.SykesCanada.com mmcculliSykesCanada.com

    attached mail follows:


    [snip] No, it's not a dating service.... :) Want to meet other PHP developers in your area? Check out:

    http://php.meetup.com/

    Pretty nifty idea... especially given the lack of user groups in the U.S.

    I thought for others who had not seen this I would post this. There is probably already a user group in your area if you live near a major city. According to the PHPusergroups.org web site [http://www.phpusergroups.org/groups.phtml?menu=groups] there 189 PHP user groups in 52 countries. [/snip]

    I have seen some users groups mentioned, which is outstanding. PHP Meetup is gaining lots of ground with 105 members at last check. Top 5 cities are...

    Manhattan (below 42nd St) (5 members) London, England (4 members) Ann Arbor, MI (3 members) Melbourne (3 members) Washington DC (3 members) [actually tied with Philadelphia, PA and Orange County, CA]

    And I finally saw another San Antonio member. Just want to keep this fresh in everyone's mind. If you know of other developer lists where php is discussed please forward this along.

    Thanks!

    Jay

    "Do not meddle in the affairs of dragons-for you are crunchy and good with ketchup"

    attached mail follows:


    Yes, everyone please join up! I would love to find more developers in the Maryland area, and I'm sure others would in their areas as well! Let's do the great american get togeth... err... the great php get together!

    Martin Clifford Homepage: http://www.completesource.net Developer's Forums: http://www.completesource.net/forums/

    >>> "Jay Blanchard" <jay.blanchardniicommunications.com> 07/15/02 03:20PM >>> [snip] No, it's not a dating service.... :) Want to meet other PHP developers in your area? Check out:

    http://php.meetup.com/

    Pretty nifty idea... especially given the lack of user groups in the U.S.

    I thought for others who had not seen this I would post this. There is probably already a user group in your area if you live near a major city. According to the PHPusergroups.org web site [http://www.phpusergroups.org/groups.phtml?menu=groups] there 189 PHP user groups in 52 countries. [/snip]

    I have seen some users groups mentioned, which is outstanding. PHP Meetup is gaining lots of ground with 105 members at last check. Top 5 cities are...

    Manhattan (below 42nd St) (5 members) London, England (4 members) Ann Arbor, MI (3 members) Melbourne (3 members) Washington DC (3 members) [actually tied with Philadelphia, PA and Orange County, CA]

    And I finally saw another San Antonio member. Just want to keep this fresh in everyone's mind. If you know of other developer lists where php is discussed please forward this along.

    Thanks!

    Jay

    "Do not meddle in the affairs of dragons-for you are crunchy and good with ketchup"

    -- 
    PHP Database Mailing List (http://www.php.net/)
    To unsubscribe, visit: http://www.php.net/unsub.php 
    

    attached mail follows:


    Can anyone recommend a good and cheap shopping cart and credit card processing combo.

    Based on PHP of course.

    Thanks

    __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com

    attached mail follows:


    Can anyone recommend a good and cheap shopping cart and credit card processing combo.

    Based on PHP of course.

    Thanks

    __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com

    attached mail follows:


    www.x-cart.com looks like a good and inexpensive option -

    I will be implementing it soon, but I have not tried it yet.

    Anyone used x-cart?

    Thanks, olinux

    --- Daniel Guerrier <dan_guerrieryahoo.com> wrote: > > Can anyone recommend a good and cheap shopping cart > and credit card processing combo. > > Based on PHP of course. > > Thanks > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Autos - Get free new car price quotes > http://autos.yahoo.com

    > ATTACHMENT part 2 message/rfc822 > Date: Mon, 15 Jul 2002 08:58:39 -0700 (PDT) > From: Daniel Guerrier <dan_guerrieryahoo.com> > Subject: Credit Card Processing > To: php-generallists.php.net > > Can anyone recommend a good and cheap shopping cart > and credit card processing combo. > > Based on PHP of course. > > Thanks > > __________________________________________________ > Do You Yahoo!? > Yahoo! Autos - Get free new car price quotes > http://autos.yahoo.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

    __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com

    attached mail follows:


    You might check out

    http://www.hotscripts.com/PHP/Scripts_and_Programs/E-Commerce/

    Warren Vail Tools, Metrics & Quality Processes (415) 667-7814 Pager (877) 774-9891 215 Fremont 02-658

    -----Original Message----- From: Daniel Guerrier [mailto:dan_guerrieryahoo.com] Sent: Monday, July 15, 2002 12:53 PM To: php-generallists.php.net Subject: [PHP] Credit Card Processing - Take Two

    Can anyone recommend a good and cheap shopping cart and credit card processing combo.

    Based on PHP of course.

    Thanks

    __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com

    attached mail follows:


    Hi everyone. Sorry for the trivial question.

    I want insert a .html inside of one .php file but without <html><head> and <body> tags.

    I built a routine (shown it down) it's running OK but show me the title (<title>) of my html.

    somebody can help with a routine a little me more effective than mine?

    Thanks in advance.

    --jp

    > My Routine:

    if ($myFile = fopen("html.html","r")) { while(!feof($myFile)) { $myLine = fgetss($myFile, 256,"<a><p>"); $myLine = ereg_replace("\n","",$myLine); print($myLine);

    } } else { echo "file no found ";

    }

    ________________________________________________________ Juan Pablo Aqueveque <juqueuct.cl> Ingeniero de Sistemas Departamento de Redes y Comunicaciones http://www.drc.uct.cl Universidad Católica de Temuco. Tel:(5645) 205 630 Fax:(5645) 205 628

    attached mail follows:


    This isn't any more effective but it is fewer lines of code..

    $file = implode('', file("file.html")); preg_match('/<title>(.*)<\/title>/', $result); $title = $result[1];

    -Kevin

    ----- Original Message ----- From: "Juan Pablo Aqueveque" <juqueuct.cl> To: <php-generallists.php.net> Sent: Monday, July 15, 2002 8:07 AM Subject: [PHP] cleaning HTML TAGS (headed)

    > Hi everyone. > Sorry for the trivial question. > > I want insert a .html inside of one .php file but without <html><head> and > <body> tags. > > I built a routine (shown it down) it's running OK but show me the title > (<title>) of my html. > > somebody can help with a routine a little me more effective than mine? > > Thanks in advance. > > --jp > > > My Routine: > > if ($myFile = fopen("html.html","r")) > { > while(!feof($myFile)) > { > $myLine = fgetss($myFile, 256,"<a><p>"); > $myLine = ereg_replace("\n","",$myLine); > print($myLine); > > > } > } > else > { > echo "file no found "; > > } > > > > ________________________________________________________ > Juan Pablo Aqueveque <juqueuct.cl> > Ingeniero de Sistemas > Departamento de Redes y Comunicaciones http://www.drc.uct.cl > Universidad Católica de Temuco. > Tel:(5645) 205 630 Fax:(5645) 205 628 > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

    attached mail follows:


    Sorry.. I screwed up my preg_match string. It should have $file as the second parameter and also included an 'i' after the closing delimeter for a case-insensitive search.

    preg_match('/<title>(.*)<\/title>/i', $file, $result);

    ----- Original Message ----- From: "Kevin Stone" <kevinhelpelf.com> To: <php-generallists.php.net>; "Juan Pablo Aqueveque" <juqueuct.cl> Sent: Monday, July 15, 2002 2:33 PM Subject: Re: [PHP] cleaning HTML TAGS (headed)

    > This isn't any more effective but it is fewer lines of code.. > > $file = implode('', file("file.html")); > preg_match('/<title>(.*)<\/title>/', $result); > $title = $result[1]; > > -Kevin > > ----- Original Message ----- > From: "Juan Pablo Aqueveque" <juqueuct.cl> > To: <php-generallists.php.net> > Sent: Monday, July 15, 2002 8:07 AM > Subject: [PHP] cleaning HTML TAGS (headed) > > > > Hi everyone. > > Sorry for the trivial question. > > > > I want insert a .html inside of one .php file but without <html><head> and > > <body> tags. > > > > I built a routine (shown it down) it's running OK but show me the title > > (<title>) of my html. > > > > somebody can help with a routine a little me more effective than mine? > > > > Thanks in advance. > > > > --jp > > > > > My Routine: > > > > if ($myFile = fopen("html.html","r")) > > { > > while(!feof($myFile)) > > { > > $myLine = fgetss($myFile, 256,"<a><p>"); > > $myLine = ereg_replace("\n","",$myLine); > > print($myLine); > > > > > > } > > } > > else > > { > > echo "file no found "; > > > > } > > > > > > > > ________________________________________________________ > > Juan Pablo Aqueveque <juqueuct.cl> > > Ingeniero de Sistemas > > Departamento de Redes y Comunicaciones http://www.drc.uct.cl > > Universidad Católica de Temuco. > > Tel:(5645) 205 630 Fax:(5645) 205 628 > > > > > > -- > > 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:


    Hi!

    I keep getting that evil little character ... ^k from mac users (pre X) and I need to remove it. Does anyone know how to remove?

    This site has that character as a vertical tab. This character is what is used in MS Excel when people hit return inside a cell. If they copy and paste that into a form its ok, but when I export that data to a csv it gets ugly.

    http://www.robelle.com/smugbook/ascii.html

    Thanks in advance!

    Jimmy

    attached mail follows:


    Just try eregi_replace("\^k[.+]", "", $container);

    Regular expressions are the MASTERS of the INTARWEB! :o)

    Martin Clifford Homepage: http://www.completesource.net Developer's Forums: http://www.completesource.net/forums/

    >>> Jimmy Brake <jbrakecovalent.net> 07/15/02 04:32PM >>> Hi!

    I keep getting that evil little character ... ^k from mac users (pre X) and I need to remove it. Does anyone know how to remove?

    This site has that character as a vertical tab. This character is what is used in MS Excel when people hit return inside a cell. If they copy and paste that into a form its ok, but when I export that data to a csv it gets ugly.

    http://www.robelle.com/smugbook/ascii.html

    Thanks in advance!

    Jimmy

    -- 
    PHP General Mailing List (http://www.php.net/)
    To unsubscribe, visit: http://www.php.net/unsub.php 
    

    attached mail follows:


    Hi, Can anyone tell me steps for installing MYSQL on windows ?? -Varsha

    __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com