OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: php-general-digest-helplists.php.net
Date: Sun Jul 22 2001 - 18:19:41 CDT

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

    php-general Digest 22 Jul 2001 23:19:41 -0000 Issue 771

    Topics (messages 59053 through 59105):

    mySQL query grief
            59053 by: Justin French
            59054 by: Gianluca Baldo

    Php4 with oracle
            59055 by: Dhanie

    IMAP/POP3 Administration API?
            59056 by: Christopher Cheng
            59057 by: Dave Mertens
            59058 by: Christopher Cheng
            59059 by: Dave Mertens

    Re: [PHP-DEV] Re: IMAP/POP3 Administration API?
            59060 by: Hartmut Holzgraefe
            59063 by: George Schlossnagle
            59066 by: Sterling Hughes
            59097 by: Nashirak Bossk
            59104 by: Joey Smith

    Mysterious MYSQL Error..
            59061 by: Greg Schnippel
            59062 by: Greg Schnippel
            59091 by: Steve Edberg

    logic question
            59064 by: Chris Cocuzzo
            59090 by: rm

    Problem with php and htmldoc
            59065 by: Luis Lebron
            59067 by: Justin Farnsworth

    Referencing file?
            59068 by: Seb Frost

    regex for cleaning up username
            59069 by: Dave
            59089 by: Dave
            59093 by: CC Zona
            59094 by: CC Zona

    0 is not a Sybase link index in /home/httpd/html/sy.php4 on
            59070 by: nelo manuel

    PHP.... i suck at it
            59071 by: Kyle Smith
            59072 by: Tyrone Mills
            59077 by: Kees Hoekzema
            59078 by: Matthew Garman

    Control Structure Problem
            59073 by: Jeff Oien
            59074 by: Jeff Oien

    Re: $this->db->Record["WLPcountry.name"]
            59075 by: Mike Gifford

    Automatic survey
            59076 by: Kyle Smith
            59081 by: Kees Hoekzema

    PHP shell scripting..
            59079 by: Ryan Christensen
            59080 by: Kees Hoekzema
            59082 by: Kees Hoekzema
            59084 by: Ryan Christensen
            59086 by: nloboek.e35203.upc-e.chello.nl ()

    Whats wrong with this code?
            59083 by: Kyle Smith
            59085 by: Tom Carter

    33 Need A Vacation? Let Us Take You On One for FREE...
            59087 by: travelincentives.hotmail.com

    MySql to Oracle 8
            59088 by: Dhanie

    exec() and memory consumption
            59092 by: Miguel De Buf

    Guaranteed to work, please give this a chance....
            59095 by: fastnfurious45.hotmail.com

    PHP & Imagemagick
            59096 by: Weston Houghton
            59098 by: Tom Carter
            59100 by: Weston Houghton
            59101 by: Alexander Skwar

    SESSIONS FILES
            59099 by: DRB

    sleep() function question
            59102 by: DRB

    Web Site Alert: Not Responding
            59103 by: mike.dever.mail.internetseer.com

    Your Web Site is Now Responding
            59105 by: mike.dever.mail.internetseer.com

    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:


    Hi all,

    newbie to MySQL...

    I get this error:
    Supplied argument is not a valid MySQL result resource in /usr/local/
    blah blah blah

    From this query:
    $username = "juddy2";
    $sql = "SELECT * FROM staff WHERE id=".$username;
    $result = mysql_query($sql);

    However, this works okay:
    $username = "juddy2";
    $sql = "SELECT * FROM staff";
    $result = mysql_query($sql);

    So, I guess my WHERE... stuff is wrong. I just want to retrieve the
    whole row of information relating to a certain user (eg juddy2). The
    usernames are unique in the table, contained in a column called "id".

    Many Thanks in advance
    Justin French

    attached mail follows:


    Justin -
    there's an error in your query. I think it should be:
    $sql = "SELECT * FROM staff WHERE id='$username'";

    Anyway, to see which is the problem just
    <?
      print mysql_error();
    ?>
    after $result = mysql_query($sql);

    HTH
       Gianluca

    JF> newbie to MySQL...

    JF> I get this error:
    JF> Supplied argument is not a valid MySQL result resource in /usr/local/
    JF> blah blah blah

    JF> From this query:
    JF> $username = "juddy2";
    JF> $sql = "SELECT * FROM staff WHERE id=".$username;
    JF> $result = mysql_query($sql);

    JF> However, this works okay:
    JF> $username = "juddy2";
    JF> $sql = "SELECT * FROM staff";
    JF> $result = mysql_query($sql);

    JF> So, I guess my WHERE... stuff is wrong. I just want to retrieve the
    JF> whole row of information relating to a certain user (eg juddy2). The
    JF> usernames are unique in the table, contained in a column called "id".

    JF> Many Thanks in advance
    JF> Justin French

    --
    ALBASOFTWARE
    C/ Mallorca 186 - 3º 1ª
    08036 Barcelona (Spain)
    Tel. +34 93454009 - +34 934549324
    Fax. +34 934541979
     ICQ 47323154 
    webmasteralbasoftware.com
    http://www.albasoftware.com
    http://www.phpauction.org
    http://www.gianlucabaldo.com
    

    attached mail follows:


    Please help me... !! How to install PHP4 with oracle function support ? , I use Windows 98, PWS

    Thanks Dhanie Angel

    attached mail follows:


    Is there any IMAP/POP3 API/Modules of Linux email system (Sendmail) written in PHP? I am looking for API to write a signup page for users.

    attached mail follows:


    On Sun, Jul 22, 2001 at 07:41:01PM +0800, Christopher Cheng wrote: > Is there any IMAP/POP3 API/Modules of Linux email system (Sendmail) written > in PHP? > I am looking for API to write a signup page for users.

    Have to tried http://www.php.net/imap ?? Great source for API's ;-)

    Dave Mertens

    attached mail follows:


    Have looked through it already. None of them allows me to add/delete users

    "Dave Mertens" <davezyprexia.com> wrote in message news:20010722140315.C6135zyprexia.com... > On Sun, Jul 22, 2001 at 07:41:01PM +0800, Christopher Cheng wrote: > > Is there any IMAP/POP3 API/Modules of Linux email system (Sendmail) written > > in PHP? > > I am looking for API to write a signup page for users. > > > Have to tried http://www.php.net/imap ?? Great source for API's ;-) > > Dave Mertens

    attached mail follows:


    > > > Is there any IMAP/POP3 API/Modules of Linux email system (Sendmail) > written > > > in PHP? > > > I am looking for API to write a signup page for users.

    > > Have to tried http://www.php.net/imap ?? Great source for API's ;-)

    > Have looked through it already. None of them allows me to add/delete users

    Most mailserver use the users that exist on the mail server. An mail user is also an regular user (Althru most of them get an fake shell) . To add, modify or delete such user you need root privilegde. Webserver such as Apache run with a user nobody (or similair) which have as less access to the system as possible.

    Because php is than also running as user 'nobody'. And then you can't add, modify or delete users.

    If you still want to build a mailuser webinterface, here's how to do-it: - first make sure only 'localhost' can access the site. Use an port different from '80'.

    To edit the /etc/passwd there's a file in the php4 source directory /pear/files. This file is called 'Passwd.php' which you can use to edit the /etc/passwd and similair files..

    Because every mail server have it own config files, it's not possible to create an 'generic' API. I advise you to download some other web-interfaces for sendmail so you can see how they're handling the files.

    Good luck.

    Dave Mertens

    attached mail follows:


    Christopher Cheng wrote: > > Have looked through it already. > None of them allows me to add/delete users >

    then you might be looking for something like webmin (http://www.webmin.com/webmin/), as MTAs usually use the systems user database instead of making up their own ...

    -- 
    Hartmut Holzgraefe  hartmutsix.de  http://www.six.de  +49-711-99091-77
    

    attached mail follows:


    Sounds like a cyrus-imap extension for imap (which allows many authentication methods, most of which don't need system-level users) would be a good thing.

    George

    On Sunday, July 22, 2001, at 11:32 AM, Dave Mertens wrote:

    >>>> Is there any IMAP/POP3 API/Modules of Linux email system (Sendmail) >> written >>>> in PHP? >>>> I am looking for API to write a signup page for users. > >>> Have to tried http://www.php.net/imap ?? Great source for API's ;-) > >> Have looked through it already. None of them allows me to add/delete >> users > > Most mailserver use the users that exist on the mail server. An mail > user is also an regular user (Althru most of them get an fake shell) > . To add, modify or delete such user you need root privilegde. > Webserver such as Apache run with a user nobody (or similair) which > have as less access to the system as possible. > > Because php is than also running as user 'nobody'. And then you can't > add, modify or delete users. > > If you still want to build a mailuser webinterface, here's how to do-it: > - first make sure only 'localhost' can access the site. Use an port > different from '80'. > > To edit the /etc/passwd there's a file in the php4 source directory > /pear/files. This file is called 'Passwd.php' which you can use to edit > the /etc/passwd and similair files.. > > Because every mail server have it own config files, it's not possible > to create an 'generic' API. I advise you to download some other > web-interfaces for sendmail > so you can see how they're handling the files. > > Good luck. > > Dave Mertens > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribelists.php.net > For additional commands, e-mail: php-dev-helplists.php.net > To contact the list administrators, e-mail: php-list-adminlists.php.net >

    attached mail follows:


    I wrote one...

    http://www.designmultimedia.com/cyrus/php_extension.html

    Never did have the time to commit it though, as its still in development (well, not currently, but when I get some free time :).

    -Sterling

    George Schlossnagle wrote:

    > Sounds like a cyrus-imap extension for imap (which allows many > authentication methods, most of which don't need system-level users) > would be a good thing. > > George > > On Sunday, July 22, 2001, at 11:32 AM, Dave Mertens wrote: > >>>>> Is there any IMAP/POP3 API/Modules of Linux email system (Sendmail) >>>> >>> written >>> >>>>> in PHP? >>>>> I am looking for API to write a signup page for users. >>>> >> >>>> Have to tried http://www.php.net/imap ?? Great source for API's ;-) >>> >> >>> Have looked through it already. None of them allows me to add/delete >>> users >> >> >> Most mailserver use the users that exist on the mail server. An mail >> user is also an regular user (Althru most of them get an fake shell) >> . To add, modify or delete such user you need root privilegde. >> Webserver such as Apache run with a user nobody (or similair) which >> have as less access to the system as possible. >> >> Because php is than also running as user 'nobody'. And then you can't >> add, modify or delete users. >> >> If you still want to build a mailuser webinterface, here's how to do-it: >> - first make sure only 'localhost' can access the site. Use an port >> different from '80'. >> >> To edit the /etc/passwd there's a file in the php4 source directory >> /pear/files. This file is called 'Passwd.php' which you can use to >> edit the /etc/passwd and similair files.. >> >> Because every mail server have it own config files, it's not possible >> to create an 'generic' API. I advise you to download some other >> web-interfaces for sendmail >> so you can see how they're handling the files. >> >> Good luck. >> >> Dave Mertens >> >> >> -- >> PHP Development Mailing List <http://www.php.net/> >> To unsubscribe, e-mail: php-dev-unsubscribelists.php.net >> For additional commands, e-mail: php-dev-helplists.php.net >> To contact the list administrators, e-mail: php-list-adminlists.php.net >>

    attached mail follows:


    I have a suggestion: You could use procmail and if you had a mailserver like exim. Set up a list of aliases and then have them all forward into 1 account then the procmailrc file in that one account sends the info to various files or users. To add and delete users all you would have to do is make php write to a aliases file and a procmailrc file, which would be easy enough.

    Sterling Hughes wrote:

    > I wrote one... > > http://www.designmultimedia.com/cyrus/php_extension.html > > Never did have the time to commit it though, as its still in development > (well, not currently, but when I get some free time :). > > -Sterling > > George Schlossnagle wrote: > > > Sounds like a cyrus-imap extension for imap (which allows many > > authentication methods, most of which don't need system-level users) > > would be a good thing. > > > > George > > > > On Sunday, July 22, 2001, at 11:32 AM, Dave Mertens wrote: > > > >>>>> Is there any IMAP/POP3 API/Modules of Linux email system (Sendmail) > >>>> > >>> written > >>> > >>>>> in PHP? > >>>>> I am looking for API to write a signup page for users. > >>>> > >> > >>>> Have to tried http://www.php.net/imap ?? Great source for API's ;-) > >>> > >> > >>> Have looked through it already. None of them allows me to add/delete > >>> users > >> > >> > >> Most mailserver use the users that exist on the mail server. An mail > >> user is also an regular user (Althru most of them get an fake shell) > >> . To add, modify or delete such user you need root privilegde. > >> Webserver such as Apache run with a user nobody (or similair) which > >> have as less access to the system as possible. > >> > >> Because php is than also running as user 'nobody'. And then you can't > >> add, modify or delete users. > >> > >> If you still want to build a mailuser webinterface, here's how to do-it: > >> - first make sure only 'localhost' can access the site. Use an port > >> different from '80'. > >> > >> To edit the /etc/passwd there's a file in the php4 source directory > >> /pear/files. This file is called 'Passwd.php' which you can use to > >> edit the /etc/passwd and similair files.. > >> > >> Because every mail server have it own config files, it's not possible > >> to create an 'generic' API. I advise you to download some other > >> web-interfaces for sendmail > >> so you can see how they're handling the files. > >> > >> Good luck. > >> > >> Dave Mertens > >> > >> > >> -- > >> PHP Development Mailing List <http://www.php.net/> > >> To unsubscribe, e-mail: php-dev-unsubscribelists.php.net > >> For additional commands, e-mail: php-dev-helplists.php.net > >> To contact the list administrators, e-mail: php-list-adminlists.php.net > >>

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

    Clayton Bluhm

    Computer Engineering Student

    nashiraka1.rhodesmill.org

    attached mail follows:


    Please kill this thread, or at least have the decency to limit it to php-general, to which it belongs. There is no need to EVER cross-post in this manner!

    On Sun, 22 Jul 2001, Dave Mertens wrote the following to Christopher Cheng :

    > On Sun, Jul 22, 2001 at 07:41:01PM +0800, Christopher Cheng wrote: > > Is there any IMAP/POP3 API/Modules of Linux email system (Sendmail) written > > in PHP? > > I am looking for API to write a signup page for users. > > > Have to tried http://www.php.net/imap ?? Great source for API's ;-) > > Dave Mertens > >

    attached mail follows:


    I'm stumped on this one.. I set up PHP 4.04/Apache/Mysql 3.23 on my Windows 98 box for development purpouses. Its been working flawlessly for 2-3 years now (using the same configuration files, etc).

    However, as of 3 days ago, i can't get it to execute a simple "select * from table query". Here's the code I'm using:

    $query = "select * from $this->table where $this->primary_key='$record_id'"; $result = mysql_query($this->database, $query); echo mysql_errno().": ".mysql_error()."<BR>";

    and the query that it sends to the mysql database is

    "select * from article where article_id='1'";

    However, mysql fails to execute the query. Result returns nothing and the echo command returns:

    errno: 0 mysql_error_text: ""

    ??!? I've tried everything to get it to display any more information as to why its breaking but nothing works. I even uninstalled and reinstalled all of the packages, thinking it had something to do with a windows dll file or something annoying like that but no luck.

    Any ideas? Anyone encountered a problem like this?

    Thanks,

    Greg

    attached mail follows:


    Never mind this one.. :) I figured out that it was because I'm using mysql_query, but declaring the database which means that the mysql_query command will fail and of course won't return a mysql_error code. Geeez...

    Another classic case of figuring out the problem in the process of trying to explain it to a colleague. I should 'pretend' to send a letter to php-general next time :p

    -greg

    -----Original Message----- From: Greg Schnippel [mailto:schnippyearthlink.net] Sent: Sunday, July 22, 2001 9:48 AM To: php-generallists.php.net Subject: [PHP] Mysterious MYSQL Error..

    I'm stumped on this one.. I set up PHP 4.04/Apache/Mysql 3.23 on my Windows 98 box for development purpouses. Its been working flawlessly for 2-3 years now (using the same configuration files, etc).

    However, as of 3 days ago, i can't get it to execute a simple "select * from table query". Here's the code I'm using:

    $query = "select * from $this->table where $this->primary_key='$record_id'"; $result = mysql_query($this->database, $query); echo mysql_errno().": ".mysql_error()."<BR>";

    and the query that it sends to the mysql database is

    "select * from article where article_id='1'";

    However, mysql fails to execute the query. Result returns nothing and the echo command returns:

    errno: 0 mysql_error_text: ""

    ??!? I've tried everything to get it to display any more information as to why its breaking but nothing works. I even uninstalled and reinstalled all of the packages, thinking it had something to do with a windows dll file or something annoying like that but no luck.

    Any ideas? Anyone encountered a problem like this?

    Thanks,

    Greg

    --
    PHP General Mailing List (http://www.php.net/)
    To unsubscribe, e-mail: php-general-unsubscribelists.php.net
    For additional commands, e-mail: php-general-helplists.php.net
    To contact the list administrators, e-mail: php-list-adminlists.php.net
    

    attached mail follows:


    Do you know if you've even made a valid database connection? Try echoing $this->database as well. If that is null, you haven't connected to your database; perhaps the username, password and or permissions were changed, so that you're unable to connect from your PHP program.

    - steve

    At 9:47 AM -0400 7/22/01, Greg Schnippel wrote: >I'm stumped on this one.. I set up PHP 4.04/Apache/Mysql 3.23 >on my Windows 98 box for development purpouses. Its been >working flawlessly for 2-3 years now (using the same >configuration files, etc). > >However, as of 3 days ago, i can't get it to execute a simple >"select * from table query". Here's the code I'm using: > >$query = "select * from $this->table where $this->primary_key='$record_id'"; >$result = mysql_query($this->database, $query); >echo mysql_errno().": ".mysql_error()."<BR>"; > >and the query that it sends to the mysql database is > >"select * from article where article_id='1'"; > >However, mysql fails to execute the query. Result returns >nothing and the echo command returns: > >errno: 0 >mysql_error_text: "" > >??!? I've tried everything to get it to display any more information >as to why its breaking but nothing works. I even uninstalled and >reinstalled all of the packages, thinking it had something to do >with a windows dll file or something annoying like that but no luck. > >Any ideas? Anyone encountered a problem like this? > >Thanks, > >Greg >

    -- 
    +------ Factoid: Of the 100 largest economies in the world, 51 are ------+
    | Steve Edberg                           University of California, Davis |
    | sbedbergucdavis.edu                               Computer Consultant |
    | http://aesric.ucdavis.edu/                  http://pgfsun.ucdavis.edu/ |
    +--- corporations ------ http://www.ips-dc.org/reports/top200text.htm ---+
    

    attached mail follows:


    hey-

    I'm in the process of writing a links page for a website. I want to have all the links seperated by category, and those categories would be placed in different columns. This means also that different categories of links could be on the same row in the table used to lay it all out. i'm pulling the category out of the mysql db, does anyone have an example i can look at on how I might go about doing this??

    chris

    attached mail follows:


    try:

    http://php.resourceindex.com/Complete_Scripts/Link_Management/

    you should be able to find some examples here.

    __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/

    attached mail follows:


    I am currently having a problem with php and htmldoc. I have a php script that queries a myql database and creates a series of tables each with a 800 x 600 product screenshot. The file is then sent to htmldoc to be converted into a pdf file. Here is my problem, if I request ten records (screenshots) or less everything works fine, however, if I request more than ten nothing happens (the php script creates the tables but the pdf file is not created). I have run htmldoc on the command line with the php created html file and it works without any problems regardless of the amount of tables(records). I have tried increasing the max script time and memory usage but it still doesn't work. Any ideas?

    thanks, Luis R. Lebron lrlebronhome.com

    attached mail follows:


    It is not exactly clear what you are doing.

    Are you buffering up the HTML file with ob_start, and then flushing the buffer after you run the buffer through htmldoc, that is, are you processing everything before into html before you flush out the page?

    If you are not buffering, then you probably have a side effect that you are "blaming" on a red herring, namely, "more than ten records".

    Though I cannot know with the information supplied, it seems that you are not buffering, and ten records just happens to be the amount when the Apache buffer "fills" and sends the first packet. Then, what is left at the end of the built-up HTML, is a fragment in any case of "illegal HTML" that htmldoc will break on...

    Just what are you doing??

    _jef

    ============================

    Luis Lebron wrote: > > I am currently having a problem with php and htmldoc. I have a php script > that queries a myql database and creates a series of tables each with a 800 > x 600 product screenshot. The file is then sent to htmldoc to be converted > into a pdf file. Here is my problem, if I request ten records (screenshots) > or less everything works fine, however, if I request more than ten nothing > happens (the php script creates the tables but the pdf file is not created). > I have run htmldoc on the command line with the php created html file and it > works without any problems regardless of the amount of tables(records). I > have tried increasing the max script time and memory usage but it still > doesn't work. Any ideas? > > thanks, > Luis R. Lebron > lrlebronhome.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribelists.php.net > For additional commands, e-mail: php-general-helplists.php.net > To contact the list administrators, e-mail: php-list-adminlists.php.net

    -- 
    Justin Farnsworth
    Eye Integrated Communications
    321 South Evans - Suite 203
    Greenville, NC 27858 | Tel: (252) 353-0722
    

    attached mail follows:


    OK so I have a number of different pages calling header.php4 as required. How can I set php in header.php4 to reflect the name of the document that called it?

    - seb

    -----Original Message----- From: Greg Schnippel [mailto:schnippyearthlink.net] Sent: 22 July 2001 14:48 To: php-generallists.php.net Subject: [PHP] Mysterious MYSQL Error..

    I'm stumped on this one.. I set up PHP 4.04/Apache/Mysql 3.23 on my Windows 98 box for development purpouses. Its been working flawlessly for 2-3 years now (using the same configuration files, etc).

    However, as of 3 days ago, i can't get it to execute a simple "select * from table query". Here's the code I'm using:

    $query = "select * from $this->table where $this->primary_key='$record_id'"; $result = mysql_query($this->database, $query); echo mysql_errno().": ".mysql_error()."<BR>";

    and the query that it sends to the mysql database is

    "select * from article where article_id='1'";

    However, mysql fails to execute the query. Result returns nothing and the echo command returns:

    errno: 0 mysql_error_text: ""

    ??!? I've tried everything to get it to display any more information as to why its breaking but nothing works. I even uninstalled and reinstalled all of the packages, thinking it had something to do with a windows dll file or something annoying like that but no luck.

    Any ideas? Anyone encountered a problem like this?

    Thanks,

    Greg

    --
    PHP General Mailing List (http://www.php.net/)
    To unsubscribe, e-mail: php-general-unsubscribelists.php.net
    For additional commands, e-mail: php-general-helplists.php.net
    To contact the list administrators, e-mail: php-list-adminlists.php.net
    

    attached mail follows:


    Cannot seem to get a regex to check a string for the following

    space tab ' " ! # $ % ^ & * ( ) + = : ; / \

    if(preg_match('[\'" ,!#$%\^&*()+=:;/\\]',$mystring))

    simply need a true if it contains any of these characters (for cleaning up usernames). thinking it may be easier to parse for only allowed characters.

    don't use regex often enough to be profficient, assistance is appreciated

    Dave VanAuken Nexus Internet Solutions, Inc. 664 Grandview Drive Oshawa, ON L1H 8J3 P: 905.725.9038 F: 905.261.4254 M: 905.261.4252 E: davenexusinternetsolutions.net

    attached mail follows:


    Am partially successfull after taking a further look into things. the following (while ugnly) correctly catches everything except the \ character for some reason. ideas?

    if(preg_match("/['".'" ,!#$%\^&*()+=\/\\:;?|]/',$MyString)){ # echo error, character found }

    >-----Original Message----- >From: Jack Dempsey [mailto:dabigdemphotmail.com] >Try searching for anything that's not a word character: >if(preg_match("/\W/",$mystring)) >that should return true if it matches anything except for a letter, >number, or _...

    Will likely switch to that syntax for brevity sake.

    >your regex didn't work because you didn't use /'s at the beginning and >end of your regex...

    caught this one after further review of the regex documentation

    attached mail follows:


    In article <DBEIKNMKGOBGNDHAAKGNAENCHBAA.davenexusinternetsolutions.net>, davenexusinternetsolutions.net (Dave) wrote:

    > Cannot seem to get a regex to check a string for the following > > space tab ' " ! # $ % ^ & * ( ) + = : ; / \ > > if(preg_match('[\'" ,!#$%\^&*()+=:;/\\]',$mystring))

    You need pattern delimiters with preg_* expressions. Right now it's using your square brackets at the delimiters, so instead of a character class ("match on any of these"), you're trying to match a string matching the entire sequence of characters between the square brackets. Try:

    if(preg_match('|[\'" ,!#$%\^&*()+=:;/\\]|',$mystring))

    -- 
    CC
    

    attached mail follows:


    In article <DBEIKNMKGOBGNDHAAKGNIEOAHBAA.davenexusinternetsolutions.net>, davenexusinternetsolutions.net (Dave) wrote:

    > Am partially successfull after taking a further look into things. the > following > (while ugnly) correctly catches everything except the \ character for some > reason. ideas? > > if(preg_match("/['".'" ,!#$%\^&*()+=\/\\:;?|]/',$MyString)){ > # echo error, character found > }

    Try four backslashes instead of two:

    preg_match("/['".'" ,!#$%\^&*()+=\/\\\\:;?|]/',$MyString)

    -- 
    CC
    

    attached mail follows:


    Hello PHP people,

    London is quite dark and bit cold :( a quick question,

    a)-what does this means? Warning: 0 is not a Sybase link index in /home/httpd/html/sy.php4 on line 3

    - ia m writing the following code $link=sybase_connect("SYBASE","sa", ""); $dbase=sybase_select_db_("pubs2",$link);

    please help Nelson

    _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

    attached mail follows:


    Ok this may sound really pathetic but how do i add a new line (like a space) to a code like this

    <?php echo "IP ADDRESS";

    echo $remote_admin; ?>

    cause when i try the code out it looks like

    IPADDRESS127.0.0.1

    and i want it to look like

    IP ADDRESS 127.0.0.1

    or

    IP ADDRESS

    127.0.0.1

    so what do i put in?

    Thanks for your time :)

    attached mail follows:


    <?php echo "IP ADDRESS<br>";

    echo $remote_admin; ?>

    -----Original Message----- From: Kyle Smith [mailto:dbzno1fanhotmail.com] Sent: Sunday, July 22, 2001 5:47 PM To: php-generallists.php.net Subject: [PHP] PHP.... i suck at it

    Ok this may sound really pathetic but how do i add a new line (like a space) to a code like this

    <?php echo "IP ADDRESS";

    echo $remote_admin; ?>

    cause when i try the code out it looks like

    IPADDRESS127.0.0.1

    and i want it to look like

    IP ADDRESS 127.0.0.1

    or

    IP ADDRESS

    127.0.0.1

    so what do i put in?

    Thanks for your time :)

    attached mail follows:


    I think you want this:

    <?php echo "IP ADDRESS \n";

    echo $remote_admin; ?>

    \n is the newline code. so a double newline will look like: echo "IP ADDRESS \n\n";

    Kees Hoekzema

    > -----Original Message----- > From: Kyle Smith [mailto:dbzno1fanhotmail.com] > Sent: Monday, July 23, 2001 2:47 AM > To: php-generallists.php.net > Subject: [PHP] PHP.... i suck at it

    attached mail follows:


    Well, there are a few ways to do it. The secret is to know a little bit of HTML. Another poster suggested using the <br> (line break) tag. The paragraph tag would also work nicely:

    <?php echo "<p>IP ADDRESS</p>"; echo "<p>$remote_admin</p>"; ?>

    Or you could start to get fancy by doing it with a table:

    <?php echo "<table>"; echo "<tr><td>IP ADDRESS</td></tr>"; echo "<tr><td>$remote_admin</td></tr>"; echo "</table>"; ?>

    When I'm writing code such as the above, though, I usually do something more like this:

    <p> IP ADDRESS<br> <?php echo $remote_admin; ?> </p>

    Hope that helps! Matt

    On Sun, Jul 22, 2001 at 05:46:30PM -0700, Kyle Smith wrote: > Ok this may sound really pathetic but how do i add a new line (like a space) to a code like this > > <?php > echo "IP ADDRESS"; > > echo $remote_admin; > ?> > > cause when i try the code out it looks like > > IPADDRESS127.0.0.1 > > and i want it to look like > > IP ADDRESS > 127.0.0.1 > > or > > IP ADDRESS > > 127.0.0.1 > > so what do i put in? > > Thanks for your time :)

    -- 
    Matt Garman, garmanuiuc.edu
    "I'll tip my hat to the new constitution, Take a bow for the new revolution
     Smile and grin at the change all around, Pick up my guitar and play
     Just like yesterday, Then I'll get on my knees and pray..."
                -- Pete Townshend/The Who, "Won't Get Fooled Again"
    

    attached mail follows:


    This is driving me nuts. I couldn't sleep much last night trying to figure this out.

    This code assigns rooms to kids signing up for Sunday school at a very large church. Each subsequent registration is put into the next room on the list. It looks up in the MySQL database the room the last person in that age category and hour was assigned and assigns the current person the next one. If someone is the first person they get assigned the first room. However if they are the first person ${"newroom".$x} doesn't get assigned to anything. But thereafter it works fine. I've had a couple other problems and am wondering if there is a better way to do this or if I have any syntax problems. Thanks. Jeff Oien

    $x = 1; while ($x <= $Number_Children) {

    if (${"category".$x} == 'SS KidZone - Kindergarten') { if ((${"Grade".$x}) == 'K' && (${"selection".$x}) == '2nd Hour') { $sql = "SELECT * FROM $table_name WHERE Category = 'SS KidZone - Kindergarten' && Element1 = '2nd Hour' ORDER by ID desc"; $result = mysql_query($sql,$connection) or die("Couldn't execute query");

    if ($row = mysql_fetch_array($result)) { $room = $row['Element2'];

    if ($room == 'C143 Pink Check') { ${"newroom".$x} = 'C143 Pink Dot'; } if ($room == 'C143 Pink Dot') { ${"newroom".$x} = 'C148 Teal Check'; } if ($room == 'C148 Teal Check') { ${"newroom".$x} = 'C148 Teal Dot'; } if ($room == 'C148 Teal Dot') { ${"newroom".$x} = 'C143 Pink Check'; } } else { ${"newroom".$x} = 'C143 Pink Check'; } }

    "do database insertion"

    } $x++; }

    attached mail follows:


    I forgot to say I deleted tabs so that the width might fit in a typical mail reader. Jeff Oien

    > This code assigns rooms to kids signing up for Sunday school > at a very large church. Each subsequent registration is put into > the next room on the list. It looks up in the MySQL database > the room the last person in that age category and hour was > assigned and assigns the current person the next one. If someone > is the first person they get assigned the first room. However if > they are the first person ${"newroom".$x} doesn't get assigned > to anything. But thereafter it works fine. I've had a couple other > problems and am wondering if there is a better way to do this > or if I have any syntax problems. Thanks. > Jeff Oien > > $x = 1; > while ($x <= $Number_Children) { > > if (${"category".$x} == 'SS KidZone - Kindergarten') { > > if ((${"Grade".$x}) == 'K' && (${"selection".$x}) == '2nd Hour') { > $sql = "SELECT * FROM $table_name WHERE Category = 'SS KidZone - Kindergarten' > && Element1 = '2nd Hour' ORDER by ID desc"; > $result = mysql_query($sql,$connection) or die("Couldn't execute query"); > > if ($row = mysql_fetch_array($result)) { > $room = $row['Element2']; > > if ($room == 'C143 Pink Check') { > ${"newroom".$x} = 'C143 Pink Dot'; > } > if ($room == 'C143 Pink Dot') { > ${"newroom".$x} = 'C148 Teal Check'; > } > if ($room == 'C148 Teal Check') { > ${"newroom".$x} = 'C148 Teal Dot'; > } > if ($room == 'C148 Teal Dot') { > ${"newroom".$x} = 'C143 Pink Check'; > } > } > else { ${"newroom".$x} = 'C143 Pink Check'; } > } > > "do database insertion" > > } > $x++; > } > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribelists.php.net > For additional commands, e-mail: php-general-helplists.php.net > To contact the list administrators, e-mail: php-list-adminlists.php.net >

    attached mail follows:


    That did the trick Philip! Thanks for your help.

    Mike

    Philip Murray wrote:

    > ----- Original Message ----- > From: "Mike Gifford" <mikeopenconcept.ca> > >>Hello, >> >>I'm using phplib to add functionality to my bibliography app. However I'm >> > not > >>sure how to deal with selected data from different tables with the same >> > field name. > >>The example I provided in the signature was: >>$this->db->Record["WLPcountry.name"] >> >> > > Which needs to be differentiated from: > >>$this->db->Record["WLPpublisher.name"] >> >>Any suggestions would be useful... >> >> > > You can use the AS keyword to rename the fields to whatever you want, for > example: > > SELECT > WLPbib.bibID, > WLPbib.title, > WLPbib.publicationDate, > WLPbib.URL, > WLPpublisher.name AS publisher_name, > WLPaddress.city, > WLPaddress.state, > WLPaddress.countryID, > WLPcountry.name AS country_name, > WLPprofile.firstName, > WLPprofile.middleName, > WLPprofile.lastName, > WLPprofile.organization > FROM > WLPbib > > > So then, you'd have: > > $this->db->Record["country_name"] > > and > > $this->db->Record["publisher_name"] > > Hope this helps! > > Cheers > -------------------------------- - -- - - - > Philip Murray - webmasteropen2view.com > http://www.open2view.com - Open2View.com > ------------- - -- - - > >

    -- 
    Mike Gifford, OpenConcept Consulting, http://openconcept.ca
    Offering everything your organization needs for an effective web site.
    Abolish Nuclear Weapons Now!: http://pgs.ca/petition/
    It is a miracle that curiosity survives formal education. - A Einstein
    

    attached mail follows:


    I have made a small page containing the following PHP

    <?php echo "Ip address<BR>"; echo $REMOTE_ADDR; echo "<BR><BR>Port number<BR>"; echo $REMOTE_PORT; echo "<BR><BR>System info<BR>"; echo $HTTP_USER_AGENT; echo "<BR><BR>Last page visited in this window<BR>"; echo $HTTP_REFERER; ?>

    is there any way i can make the PHP file email me the info above without revealing the users address, if so, what should i add to the code? (dont worry im only using the code above as a tester, as you can tell im not a hacker)

    -legokiller666- http://www.StupeedStudios.f2s.com New address.... new site

    ICQ: 115852509 MSN: dbzno1fanhotmail.com AIM: legokiller666

    attached mail follows:


    Hey Ryan

    Look at this :) http://nl.php.net/manual/en/function.mail.php

    so a thing like: mail("dbzno1fanhotmail.com", "My Own Subject", " \ IP:\n$REMOTE_ADDR\n \ Port Number:\n$REMOTE_PORT\n \ System info:\n$HTTP_USER_AGENT\n \ Last page visited in this window\nHTTP_REFERER\n");

    should do the trick :)

    Hope it helps, -Kees

    > -----Original Message----- > From: Kyle Smith [mailto:dbzno1fanhotmail.com] > Sent: Monday, July 23, 2001 3:44 AM > To: php-generallists.php.net > Subject: [PHP] Automatic survey > > > I have made a small page containing the following PHP > > <?php > echo "Ip address<BR>"; > echo $REMOTE_ADDR; > echo "<BR><BR>Port number<BR>"; > echo $REMOTE_PORT; > echo "<BR><BR>System info<BR>"; > echo $HTTP_USER_AGENT; > echo "<BR><BR>Last page visited in this window<BR>"; > echo $HTTP_REFERER;> ?> > > is there any way i can make the PHP file email me the info above > without revealing the users address, if so, what should i add to > the code? (dont worry im only using the code above as a tester, > as you can tell im not a hacker) > > > -legokiller666- > http://www.StupeedStudios.f2s.com > New address.... new site > > ICQ: 115852509 > MSN: dbzno1fanhotmail.com > AIM: legokiller666 > > >

    attached mail follows:


    I have some questions about using PHP as a shell scripting language... mainly how you pass arguments to a script on the command line. Say I'm using:

    -------------------------- #!/usr/local/bin/php -q

    <? print "I am: $name\n"; ?> --------------------------

    How do I define test from the command line (as an argument while executing the script)?

    Thanks in advance for the help!

    --------------------- Ryan Christensen

    attached mail follows:


    Hello Ryan,

    You can use environment variables for that, like: echo $HOME; /* Shows the HOME environment variable, if set. */

    You can also use getenv() en putenv()

    see also: http://nl.php.net/manual/en/language.variables.external.php

    hope it works :) - Kees

    > -----Original Message----- > From: Ryan Christensen [mailto:ryandevnut.com] > Sent: Sunday, July 22, 2001 8:19 PM > To: php-generallists.php.net > Subject: [PHP] PHP shell scripting.. > > > I have some questions about using PHP as a shell scripting language... > mainly how you pass arguments to a script on the command line. Say I'm > using: > > -------------------------- > #!/usr/local/bin/php -q > > <? > print "I am: $name\n"; > ?> > -------------------------- > > How do I define test from the command line (as an argument while > executing the script)? > > Thanks in advance for the help! > > --------------------- > Ryan Christensen > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribelists.php.net > For additional commands, e-mail: php-general-helplists.php.net > To contact the list administrators, e-mail: php-list-adminlists.php.net > >

    attached mail follows:


    Hello Ryan,

    Let me give you an example :) Lets use your script, ------------------------ #!/usr/local/bin/php -q

    <? print "I am: $name\n"; ?> ------------------------

    i called it echo-name.php and chmod 755 it. Next, im going to call it:

    -------------------------- Athena:~$ name=kees Athena:~$ ./echo-naam I am: kees --------------------------

    So the trick is to set the variable BEFORE you call the script you can see all variables already used by linux with "set" you'll get something like this:

    -------------------------- Athena:~$ set BASH=/bin/bash BASH_VERSINFO=([0]="2" [1]="03" [2]="0" [3]="1" [4]="release" [5]="i386-slackware-linux-gnu") BASH_VERSION='2.03.0(1)-release' COLUMNS=80 DIRSTACK=()

    (...snip...)

    TERM=xterm UID=1034 USER=kees _=./echo-naam file=/etc/profile.d/tetex.sh ignoreeof=10 name=kees -----------------------------

    As you can see, our variable name is there, and it is set. to set a variable, simply type this at the commandline (or script) ------------- variable=value --------------- where variable is your variable and value your value :)

    Good luck :) -Kees

    > -----Original Message----- > From: Ryan Christensen [mailto:ryandevnut.com] > Sent: Sunday, July 22, 2001 8:30 PM > To: 'Kees Hoekzema' > Subject: RE: [PHP] PHP shell scripting.. > > > I'm slightly confused as to how I would run this from a shell though.. > what would I enter in the command line then? > > --------------------- > Ryan Christensen > (mail) ryandevnut.com > (cell) 360-808-1506 > > > -----Original Message----- > > From: Kees Hoekzema [mailto:keestweakers.net] > > Sent: Sunday, July 22, 2001 11:27 AM > > To: Ryan Christensen; php-generallists.php.net > > Subject: RE: [PHP] PHP shell scripting.. > > > > > > Hello Ryan, > > > > You can use environment variables for that, like: > > echo $HOME; /* Shows the HOME environment variable, if set. */ > > > > You can also use getenv() en putenv() > > > > see also: http://nl.php.net/manual/en/language.variables.external.php > > > > hope it works :) > > - Kees > > > > > -----Original Message----- > > > From: Ryan Christensen [mailto:ryandevnut.com] > > > Sent: Sunday, July 22, 2001 8:19 PM > > > To: php-generallists.php.net > > > Subject: [PHP] PHP shell scripting.. > > > > > > > > > I have some questions about using PHP as a shell scripting > > language... > > > mainly how you pass arguments to a script on the command line. Say > > > I'm > > > using: > > > > > > -------------------------- > > > #!/usr/local/bin/php -q > > > > > > <? > > > print "I am: $name\n"; > > > ?>> > > -------------------------- > > > > > > How do I define test from the command line (as an argument while > > > executing the script)? > > > > > > Thanks in advance for the help! > > > > > > --------------------- > > > Ryan Christensen > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: php-general-unsubscribelists.php.net > > > For additional commands, e-mail: php-general-helplists.php.net > > > To contact the list administrators, e-mail: > > php-list-adminlists.php.net > > > > > > > > > >

    attached mail follows:


    Thanks.. that helps out a lot. Next question.. is there a way I can prompt for input? For example.. have a prompt "Name: ".. that waits for the user to enter their name.. and then assignes whatever they enter to a variable. Think you can help? :)

    Thanks...

    --------------------- Ryan Christensen

    > -----Original Message----- > From: Kees Hoekzema [mailto:keestweakers.net] > Sent: Sunday, July 22, 2001 11:41 AM > To: Ryan Christensen > Cc: php-generallists.php.net > Subject: RE: [PHP] PHP shell scripting.. > > > Hello Ryan, > > Let me give you an example :) > Lets use your script, > ------------------------ > #!/usr/local/bin/php -q > > <? > print "I am: $name\n"; > ?> > ------------------------ > > i called it echo-name.php and chmod 755 it. > Next, im going to call it: > > -------------------------- > Athena:~$ name=kees > Athena:~$ ./echo-naam > I am: kees > -------------------------- > > So the trick is to set the variable BEFORE you call the > script you can see all variables already used by linux with > "set" you'll get something like this: > > -------------------------- > Athena:~$ set > BASH=/bin/bash > BASH_VERSINFO=([0]="2" [1]="03" [2]="0" [3]="1" [4]="release" > [5]="i386-slackware-linux-gnu") > BASH_VERSION='2.03.0(1)-release' COLUMNS=80 > DIRSTACK=() > > (...snip...) > > TERM=xterm > UID=1034 > USER=kees > _=./echo-naam > file=/etc/profile.d/tetex.sh > ignoreeof=10 > name=kees > ----------------------------- > > As you can see, our variable name is there, and it is set. > to set a variable, simply type this at the commandline (or script) > ------------- > variable=value > --------------- > where variable is your variable and value your value :) > > Good luck :) > -Kees

    attached mail follows:


    In article <001c01c112da$b8c0d420$0d6fa8c0local>, Ryan Christensen wrote: >I have some questions about using PHP as a shell scripting language... >mainly how you pass arguments to a script on the command line. Say I'm >using: > >-------------------------- >#!/usr/local/bin/php -q > ><? >print "I am: $name\n"; >?> >-------------------------- > >How do I define test from the command line (as an argument while >executing the script)?

    The script arguments are in an array ($argv). Get them by using something like:

    <?php print "I am " . $argv[1]; ?>

    Regards,

    Hans

    -- 
     http://phpreview.nl.linux.org
    

    attached mail follows:


    $message = $IP, $PORT, $SYSTEM, $PAGE;

    what should i change in the $message code so that it contains the words assigned to the variables?

    -legokiller666- http://www.StupeedStudios.f2s.com New address.... new site

    ICQ: 115852509 MSN: dbzno1fanhotmail.com AIM: legokiller666

    attached mail follows:


    do you mean..

    $message = $IP. $PORT. $SYSTEM . $PAGE;

    . not ,

    $message = $IP, $PORT, $SYSTEM, $PAGE;

    attached mail follows:


    You have been specially selected to qualify for the following:

    Premium Vacation Package and Pentium PC Giveaway To review the details of the please click on the link with the confirmation number below:

    http://www.1chn.com/wintrip

    Confirmation Number#Lh340 Please confirm your entry within 24 hours of receipt of this confirmation.

    Wishing you a fun filled vacation! If you should have any additional questions or cann't connect to the site do not hesitate to contact me direct: mailto:vacationbtamail.net.cn?subject=Help!

    attached mail follows:


    Guys, How to translate this "mysql" mode to Oracle mode... Please help me..

    Thanks.

    Dhanie Angel

    /*************************************/ <? // Define MYSQL server information $server = 'localhost'; // MYSQL server; $user = 'root'; // User to connect to MYSQL server; $password = ''; // Password; $database = 'guestbook'; // The name of the database; $table = 'guestbook'; // The name of your database table;

    $maxshow = 5;

    ?> ... <? mysql_connect($server, $user, $password) or die ("Can't connect!"); mysql_select_db($database) or die ("Can't open database!"); $sql = "SELECT * FROM $table ORDER BY id ASC"; $result = mysql_db_query($database, $sql); if ($result) { $count = mysql_num_rows($result); $sqlshow = "SELECT * FROM $table ORDER BY id ASC LIMIT $show, $maxshow"; $result = mysql_db_query($database, $sqlshow);

    while (($myrow = mysql_fetch_array($result))) {?> <center>

    <table border="0" width="99%" height="20" align="center"> </tr> <tr> <td width="3%" bgcolor="#66CCFF" height="39" align="center"><?echo htmlspecialchars($myrow["id"]);?></td> <td width="19%" bgcolor="#66CCFF" height="39"><? echo htmlspecialchars($myrow["name"]);?></td> <td width="19%" bgcolor="#66CCFF" height="39"><?echo htmlspecialchars($myrow["email"]);?></td> <td width="16%" bgcolor="#66CCFF" height="39"><?echo htmlspecialchars($myrow["message"]);?></td> <td width="20%" bgcolor="#66CCFF" height="39"><?echo htmlspecialchars($myrow["date"]);?></td> </tr> </table> </center></div> <div align="center"> </div> <?}

    } else echo "Error!"; mysql_close(); ...

    ?>

    /****************************************/

    attached mail follows:


    Hi all,

    I am trying to execute a shell command from PHP. This command consumes a lot of memory and execution time, so I changed max_execution_time = 120 and memory_limit = 256000000 in my php.ini. Still, under PHP, the command stops after some time (every time at the same point). When I execute the command from the command line, it finishes okay.

    By the way, I am executing : 'fop <file.xml> <file.xsl> <file.pdf> | logger' so I can monitor the output in /var/log/messages. Fop is the (Java) PDF generator from the Apache XML group.

    Can anyone tell me if there is a built in memory limit in PHP (e.g. 16 meg), or does anyone have had the same phenomenon when running something similar ? Any comments are greatly appreciated...

    Thx, Miguel

    attached mail follows:


    Dear php-generallists.php.net,

    AS SEEN ON NATIONAL TELEVISION

    Making over 500,000.- US$ from your home for a one time investment of only 25 United States Dollars!

    THANK'S TO THE COMBINATION OF THE SPEED, THE LOW COST PER CONTACT AND THE POTENTIAL OF MULTI-LEVEL-MARKETING BY E-MAIL!

    ______________________________________________________

    Before you say ''Bull......'', please read the following. This is the letter you have been hearing about on the TV-NEWS lately. Due to the popularity of this letter on the Internet, a national weekly news program recently devoted an entire show to the investigation of this program described below. This to see, if it really makes people money. The show also investigated whether or not the program was legal.

    Their findings proved once and for all times, that there are absolutely no Laws prohibiting the participation in the program and if people can follow the simple instructions, they are bound to make a lot of bucks with 25.- US$ out of your pocket only.

    DUE TO THE RECENT INCREASE OF POPULARITY & RESPECT THIS PRO- GRAM HAS ATTAINED, IT IS CURRENTLY WORKING BETTER THAN EVER !

    _____________________________________________________________

    This is what one had to say:

    Thanks to this profitable opportunity. I was approached many times before but each time deleted it. I am so glad I finally joined, just to see what one could expect in return for the minimal effort and money required. To my astonish- ment, I received a total of:

    610,470.- US$

    in 21 weeks, with money still coming in. Pamela Hedland, Fort Lee, New Jersey.

    _____________________________________________________________

    Here is another testimonial:

    This program has been around for a long time but I never believed in it. But one day when I received this again in the mail I decided to gamble my 25.- US$ on it.

    I followed the simple instructions and 3 weeks later the money started to come in. First month I only made 240.- US$ but the next 2 months after that I made a total of 290,000.- US$ ! So far, in the past 8 months by re-entering the program, I have made over 710,000.- US$ and I am playing it again. The key to success in this program is to follow the simple steps and do not change anything.

    ===========PRINT THIS NOW FOR YOUR FUTURE REFERENCE ===========

    If you would like to make at least 500,000.- US$ every 4 to 5 months easily and comfortably, please read the following and read it again and again !!!

    FOLLOW THE SIMPLE INSTRUCTION BELOW AND YOUR FINANCIAL DREAMS WILL COME TRUE, GUARANTEED!

    ==========ORDER ALL 5 REPORTS SHOWN ON THE LIST BELOW==========

    For each report, send 5.- $ cash. Do not forget to mention (write):

    - THE NAME & NUMBER OF THE REPORT YOU ARE ORDERING - YOUR E-MAIL ADDRESS

    Send all together in an envelope to the person whose name appears on the list below next to the report.

    MAKE SURE YOUR RETURN ADDRESS IS ON THE ENVELOPE !! This just in case of any mail problems.

    When you place your orders, make sure that you order each (all) of the 5 reports. You will need all 5 reports to save them on your computer and resell them.

    YOUR TOTAL EXPENSES WILL BE: 5 X 5.-US$ = 25.-US$ plus mailing fees!

    Within a few days you will receive, vie e-mail, each of the 5 reports from these 5 different individuals. Save them on your computer so they will be accessible for you to send to the 1,000's of people who will order them from you. Also make a floppy of these reports and keep it on your desk in case something happen to your computer.

    ________________________________________________________________

    IMPORTANT !

    Do not change the names of the people who are listed next to each report! Do also not change their sequence on the list, in another way than it is instructed below in step 1 to 6! If you do, you will lose a majority of your future profits.

    Because you would damage not only yours but the performance of others as well, you at least for politness do better not try to make changes other than instructed, it would be very unfair, without giving yourself any better performance.

    Once you understand the way this works, you will also see how it does not work if you change it. Remember, this method has been tested, and if you make changes, it will NOT work !!! People have tried to put their friends/relatives names on all five thinking they could get all the money. But it does not work this way. Believe us, we all have tried to be greedy and then nothing happened. So Do Not try to change anything other than what is instructed. Because if you do, it will not work for you and for others as well. Remember, honesty reaps the reward !!!

    __________________________________________________________

    Steps 1 > 6

    1. After you have ordered all 5 reports, take this e-mail and REMOVE the name and the address of the person near to REPORT # 5. This person has made it through the cycle and is no doubt counting their fortune.

    2. Move the name & address near REPORT # 4 down to REPORT # 5.

    3. Move the name & address near REPORT # 3 down to REPORT # 4.

    4. Move the name & address near REPORT # 2 down to REPORT # 3.

    5. Move the name & address near REPORT # 1 down to REPORT # 2

    6. Insert your own name & address near the REPORT # 1 Position.

    PLEASE MAKE SURE THAT YOU COPY EVERY NAME & ADDRESS ACCURATELY!

    _________________________________________________________________

    Take this entire letter, with the modified list of names, and save it on your computer.

    DO NOT MAKE ANY OTHER CHANGES !!!

    Save this on a disk as well just in case if you lose any data. To assist you with marketing your business on the internet, the 5 reports you purchase will provide you with invaluable marketing information which includes how to send bulk e-mails legally, where to find thousands of free classified ads and much more.

    __________________________________________________________________

    There are 2 Primary methods to get this venture going:

    METHOD # 1: BY SENDING BULK E-MAIL LEGALLY

    Let's say that you decide to start small, just to see how it goes, and we will assume You and those involved send out only 5,000 e-mails each. Let's also assume that the mailing receive only a 0.2% response (the response could be much better but lets just say it is only 0.2%. Also many people will send out hundreds of thousands e-mails instead of only 5,000). Continuing with this example, you send out only 5,000 e-mails.

    With a 0.2% response, that is only 10 orders for report # 1. Those 10 people responded by sending out 5,000 e-mail each for a total of 50,000. Out of those 50,000 e-mails only 0.2% responded with orders. That's 100 people responded and ordered Report # 2.

    Those 100 people mail out 5,000 e-mails each for a total of 500,000 e-mails. The 0.2% response to that is 1000 orders for Report # 3.

    Those 1000 people send out 5,000 e-mails each for a total of 5 million e-mails sent out. The 0.2% response to that is 10,000 orders for Report # 4.

    Those 10,000 people send out 5,000 e-mails for a total of 50,000,000 (50 million) e-mails. The 0.2% response to that is 100,000 orders for Report # 5

    Your total income in this example is: 555,550.- US$

    NUMBERS DO NOT LIE. GET A PENCIL & PAPER AND FIGURE OUT THE WORST POSSIBLE RESPONSES AND NO MATTER HOW YOU CALCULATE IT, YOU WILL STILL MAKE A LOT OF MONEY !

    ___________________________________________________________________

    REMEMBER FRIEND, THIS IS ASSUMING ONLY 10 PEOPLE ORDERING OUT OF 5,000 YOU MAILED TO. Dare to think for a moment what would happen if everyone or half or even one 4th of those people mailed 100,000 e-mails each or more? There are over 150 million people on the Internet worldwide and counting. Believe me, many people will do just that, and more!

    ________________________________________________________________

    METHOD # 2 : BY PLACING FREE ADS ON THE INTERNET

    Advertising on the net is very very inexpensive and there are hundreds of FREE places to advertise. Placing a lot of free ads on the Internet will easily get a larger response. We strongly suggest you start with Method # 1

    and add METHOD # 2 as you go along. For every $5 you receive, all you must do is to e-mail them the Report they ordered. That's it. Always provide same day service on all orders.

    This will guarantee that the e-mail they send out, with your name and address on it, will be prompt because they can not advertise until they receive the report.

    ======================== AVAILABLE REPORTS====================== *** Order Each REPORT by NUMBER and NAME ***

    Notes:

    ALWAYS SEND $5 CASH (U.S. CURRENCY) FOR EACH REPORT CHECKS NOT ACCEPTED ALWAYS SEND YOUR ORDER VIA FIRST CLASS MAIL Make sure the cash is concealed by wrapping it in at least two sheets of paper. On one of those sheets of paper, include:

    (a) the number & name of the report you are ordering (b) your e-mail address (So your report can come by email) (c) your name & postal address.

    **** Place your name in the 1st report. Move the rest of the names down causing whoever is in 5th position to go off the list.**** =================================================================

    ===========PLACE YOUR ORDER FOR THESE REPORTS NOW ==============

    REPORT # 1 : ''The Insider's Guide to Advertising for Free on the Net''

    Order Report # 1 from: Steve Self 3200 Ashton Rd. Batavia, OH 45103 _________________________________________________________________

    REPORT # 2 : ''The Insider's Guide to Sending Targetted e-mail on the Net''

    Order Report # 2 from : Andrea Hataway 608 W. 8th St. Lancaster, TX 75146 _________________________________________________________________

    REPORT # 3 : ''The Secret to Multilevel marketing on the net''

    Order Report # 3 from: Sarah Ely 218 N. Front St. #1 Williamsburg, OH 45176 ________________________________________________________________

    REPORT # 4 : ''How to become a millionaire utilizing MLM & the Net'' Chris Hui 333 Logan Ave # 203 State College, PA 16801 USA

    _________________________________________________________________

    REPORT # 5 : ''HOW TO SEND 1 MILLION E-MAILS FOR FREE'' Order Report # 5 from: Jamie Strickland P.o Box 253 Charlton Heights, WV 25040 ==================== YOUR SUCCESS GUIDELINES ===================

    Follow these guidelines to guarantee your success:

    1. If you do not receive at least 10 orders for Report #1 within 2 weeks, continue sending e-mails until you do.

    2. After you have received 10 orders, 2 to 3 weeks after that you should receive 100 orders or more for REPORT # 2. If you did not, continue advertising or sending e-mails until you do.

    3. Once you have received 100 or more orders for Report # 2, YOU CAN RELAX, because the system is already working for you, and the cash will continue to roll in ! THIS IS IMPORTANT TO REMEMBER: Every time your name is moved down on the list, you are placed in front of a different report.

    You can KEEP TRACK of your PROGRESS by watching which report people are ordering from you.

    IF YOU WANT TO GENERATE MORE INCOME SEND ANOTHER BATCH OF E-MAILS AND START THE WHOLE PROCESS AGAIN.

    There is NO LIMIT to the income you can generate from this business !!!

    ________________________________________________________________

    THE FOLLOWING IS A NOTE FROM THE ORIGINATOR OF THIS PROGRAM:

    You have just received information that can give you financial freedom for the rest of your life, with NO RISK and JUST A LITTLE BIT OF EFFORT. You can make more money in the next few weeks and months than you have ever imagined. Follow the program EXACTLY AS INSTRUCTED. Do Not change it in anyway. It works exceedingly well as it is now. Remember to e-mail a copy of this exciting report after you have put your name and address in Report #1 and moved others to #2 ...........# 5 as instructed above. One or more of the people you send this to may send out 100,000 or more e-mails and your name will be on every one of them. Remember though, the more you send out the more potential customers you will reach. So my friend, I have given you the ideas, information, materials and opportunity to become financially independent.

    IT IS UP TO YOU NOW!

    ====================== MORE TESTIMONIALS========================

    My name is Mitchell. My wife, Jody and I live in Chicago. I am anaccountant with a major U.S. Corporation and I make pretty good money. When I received this program I grumbled to Jody about receiving ''junk mail''. I made fun of the whole thing, spouting my knowledge of the population and percentages involved. I ''knew'' it wouldn't work. Jody totally ignored my supposed intelligence and few days later she jumped in with both feet. I made merciless fun of her, and was ready to lay the old ''I told you so'' on her when the thing didn't work. Well, the laugh was on me! Within 3 weeks she had received 50 responses. Within the next 45 days she had received totally 147'200.- US$, all cash! I was shocked. I've joined Jody in her' hobby.

    Mitchell Wolf M.D., Chicago, Illinois

    =========================================================================

    Not being the gambling type, it took me several weeks to make up my mind to participate in this plan. But conservative that I am, I decided that the initial investment was so little that there was just no way that I wouldn't get enough orders to at least get my money back''. '' I was surprised when I found my medium size post office box crammed with orders. I made 319'210.- US$ in the first 12 weeks. The nice thing about this deal is that it does not matter where people live. There simply isn't a better investment with a faster return and so big''.

    Dan Sondstrom, Alberta, Canada

    =========================================================================

    I had received this program before. I deleted it, but later I wondered if I should have given it a try. Of course, I had no idea who to contact to get another copy, so I had to wait until I was e-mailed again by someone else. 11 months passed then it luckily came again...... I did not delete this one! I made more than 490'000.- US$ on my first try and all the money came within 22 weeks'.

    Susan De Suza, New York, N.Y.

    =========================================================================

    It really is a great opportunity to make relatively easy money with little cost to you. I followed the simple instructions carefully and within 10 days the money started to come in. My first month I made 20'560.- US$ and by the end of third month my total cash count was 362'840.- US. Life is beautiful, Thanx to internet.

    Fred Dellaca, Westport, New Zealand

    =========================================================================

    ORDER YOUR REPORTS TODAY !!

    START YOUR WAY DOWN THE ROAD TO FINANCIAL FREEDOM !!

    ========================================================================= Under Bill s.1618 TITLE III passed by the 105th US Congress this letter cannot be considered spam as long as the sender includes contact information and a method of removal. To be Removed please reply to this e-mail with the words REMOVE in the subject area.

    attached mail follows:


    Does anyone know if there are PHP specific bindings for ImageMagick out there? If not, anyone want to work on them...

    :)

    Thanks, Wes

    attached mail follows:


    How do you mean bindings?

    I've used PHP and Imagemagick.. but only from the point of view of exec

    Do you mean building them into PHP functions?

    ----- Original Message ----- From: "Weston Houghton" <weslistsanapraxis.com> To: <php-generallists.php.net> Sent: Sunday, July 22, 2001 11:05 PM Subject: [PHP] PHP & Imagemagick

    > > Does anyone know if there are PHP specific bindings for ImageMagick out > there? If not, anyone want to work on them... > > :) > > Thanks, > Wes > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribelists.php.net > For additional commands, e-mail: php-general-helplists.php.net > To contact the list administrators, e-mail: php-list-adminlists.php.net >

    attached mail follows:


    Yup, a native PHP module for ImageMagick that accesses their API. This would allow one to actually pass parameters a bit easier and test for success or failure more consistently, at least, I think it would...

    Wes

    > How do you mean bindings? > > I've used PHP and Imagemagick.. but only from the point of view of exec > > Do you mean building them into PHP functions? > > ----- Original Message ----- > From: "Weston Houghton" <weslistsanapraxis.com> > To: <php-generallists.php.net> > Sent: Sunday, July 22, 2001 11:05 PM > Subject: [PHP] PHP & Imagemagick > > >> >> Does anyone know if there are PHP specific bindings for ImageMagick out >> there? If not, anyone want to work on them... >> >> :) >> >> Thanks, >> Wes >> >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, e-mail: php-general-unsubscribelists.php.net >> For additional commands, e-mail: php-general-helplists.php.net >> To contact the list administrators, e-mail: php-list-adminlists.php.net >> >

    attached mail follows:


    So sprach »Weston Houghton« am 2001-07-22 um 15:14:54 -0700 : > > Yup, a native PHP module for ImageMagick that accesses their API. This would > allow one to actually pass parameters a bit easier and test for success or > failure more consistently, at least, I think it would...

    Hmm, don't know about ImageMagick, but have a look at php_imlib. Find the URL yourself! :)

    Alexander Skwar

    -- 
    How to quote:	http://learn.to/quote (german) http://quote.6x.to (english)
    Homepage:	http://www.digitalprojects.com   |   http://www.iso-top.de
       iso-top.de - Die günstige Art an Linux Distributionen zu kommen
    		Uptime: 0 hours 41 minutes
    

    attached mail follows:


    Hi all,

    I just started to work with SESSIONS in PHP. Its turning out to be a great way to keep user info alive across multiple pages. My question is, how long does a session temp file stored on the server exists for? Is it just for the current session? If the user shuts down their browser an turn is on again can I still call the original session? I just need to know that I am not creating multiple session files and cluttering up a server.

    New to this news group! is there a thread with rules? please post link... thx

    DRB

    attached mail follows:


    just wanted to make sure I was not doing anything incorrectly.

    I want to return some values to the screen and then sleep(), then return more values. It seems that nothing is returned till the sleep is over and then all the values are returned at once.

    Is this the natural function of sleep();

    thanks,

    DRB

    attached mail follows:


    There appears to be a problem in reaching your Web site at http://www.e-gineer.com/articles/php-hackers-paradise-revisited.phtml.

    Time of Error: 2001-07-22 18:27:57 Error Type: Time Out

    InternetSeer, a Web site monitoring company, is conducting an ongoing study of the true connectivity of the Web. As recommended by the Robots Guidelines, this email is being sent to explain our research activities and to let you know about the difficulty in connecting to your site.

    If you would like InternetSeer to continue to alert you at no charge whenever there is a problem reaching your Web site, click here: http://scclick.internetseer.com/sitecheck/clickthrough.jsp?I5s57j5d5i5g53M5pyQN5aLGeu1IMw6uI5sCSzPW5ayQN5byVP55P5qQxPz5m5c5eTUK5aR5cDLyVRP5a_wC5c_wPS6vCMz5czMy5cM6uRQRPz5az6tz__LWV5aPVTSzLTVV5dNXTCC55x5q5g=e3

    InternetSeer does not store or publish the content of your pages, but rather uses availability and link information for our research.

    Click here to learn more about InternetSeer. http://scclick.internetseer.com/sitecheck/clickthrough.jsp?I5s57j5d5i5g53M5pyQN5aLGev1IMw6uI5sCSzPW5ayQN5byVP55P5qQxPz5m5c5eTUK5aR5cDLyVRP5a_wC5c_wPS6vCMz5czMy5cM6uRQRPz5az6tz__LWV5aPVTSzLTVV5dNXTCC55x5q5h=e3

    Mike Dever President cs-mike.devermail.internetseer.com

    Note: If you prefer not to receive these occasional alerts regarding the availability of your Web site, reply to this email with Cancel in the subject line. Please leave a full copy of this message in the body of your reply email.

    ##php-generallists.php.net##

    attached mail follows:


    We are pleased to inform you that Your Web site is back up and is no longer on error.

    URL: http://www.e-gineer.com/articles/php-hackers-paradise-revisited.phtml Time: 2001-07-22 19:19:25

    As mentioned in the first alert, InternetSeer is conducting an ongoing study of the true connectivity of the Web. As recommended by the Robots Guidelines, this email is being sent to explain our research activities and to let you know about the difficulty in connecting to your site.

    If you would like InternetSeer to continue to alert you at no charge whenever there is a problem reaching your Web site, click here: http://scclick.internetseer.com/sitecheck/clickthrough.jsp?I5s57j5e5h5k53M5pyQN5aLGf21IMw6uI5sCSzPW5ayQN5byVP55P5qQxPz5m5c5eTUK5aR5cDLyVRP5a_wC5c_wPS6vCMz5czMy5cM6uRQRPz5az6tz__LWV5aPVTSzLTVV5dNXTCC55x5q5g=e3

    InternetSeer does not store or publish the content of your pages, but rather uses availability and link information for our research.

    Click here to learn more about InternetSeer. http://scclick.internetseer.com/sitecheck/clickthrough.jsp?I5s57j5e5h5k53M5pyQN5aLGf31IMw6uI5sCSzPW5ayQN5byVP55P5qQxPz5m5c5eTUK5aR5cDLyVRP5a_wC5c_wPS6vCMz5czMy5cM6uRQRPz5az6tz__LWV5aPVTSzLTVV5dNXTCC55x5q5h=e3

    Mike Dever President cs-mike.devermail.internetseer.com

    Note: If you prefer not to receive these occasional alerts regarding the availability of your Web site, reply to this email with Cancel in the subject line. Please leave a full copy of this message in the body of your reply email.

    ##php-generallists.php.net##