OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: php3 Digest 27 May 2000 04:59:56 -0000 Issue 1696
From: php3-digest-helplists.php.net
Date: Fri May 26 2000 - 23:59:56 CDT


php3 Digest 27 May 2000 04:59:56 -0000 Issue 1696

Topics (messages 91758 through 91794):

Re: PHP + ODBC + Progress
        91758 by: Brian Leyton

Re: Automatic redirect to PHP script based on filetype in Apache? (Somewhat OT)
        91759 by: NickM

Documentation Tool for PHP classes?
        91760 by: Norbert Huffschmid
        91770 by: Matt McClanahan

Re: passing username/password/sid as hidden values?
        91761 by: Paul Fernandez

PHP_AUTH_USER and Apache logging
        91762 by: Nicole McCurty
        91766 by: Zak Greant

limit output
        91763 by: Steven T Sigourney
        91765 by: George Papadakis
        91773 by: Jim Jagielski
        91778 by: Craig Vincent

Day of week function?
        91764 by: K Old
        91767 by: Magne Hovden

PHP interface for Mysql Database?
        91768 by: K Old
        91769 by: Paul Burney
        91771 by: Jonathan Griffin
        91774 by: Lois Springsteen
        91775 by: Gregory Drake Wilson
        91776 by: Tom C

Re: Sending attachments
        91772 by: Ted Knudson

Re: PostgreSQL list tables?
        91777 by: Rossi Designs

PHP equivilant to the IIS 5 StaticObject?
        91779 by: erik petersen

CDB support
        91780 by: Yamin Prabudy

InterScan NT Alert
        91781 by: postmaster

ALERTE: VIRUS DETECTE DANS UN MESSAGE ENVOYE PAR php3-return-91780-jnapieraj=nordnet.frlists.php.net
        91782 by: root.pop-1.nordnet.fr

jump function
        91783 by: Martin A. Marques
        91791 by: Bernd Goldschmidt

Error installing php4.
        91784 by: Richard Heyes

PDF Manual
        91785 by: Mike Robinson

Re: Source for send email using SMTP server
        91786 by: Manuel Lemos

Re: Mail/SMTP Question
        91787 by: Manuel Lemos

Which is faster, cgi(perl) or php?
        91788 by: Chris

php3, php4 simultaneous and mysql
        91789 by: Loyd Goodbar

informix conexion problem
        91790 by: Martin A. Marques

php_pam 0.3 released
        91792 by: Steve Langasek

Re: CDB support <- warning the Orginal Message contains a VBS virus
        91793 by: James Conner

generating HTML mail
        91794 by: if.then.else

Administrivia:

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

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

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

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

attached mail follows:


Have you tried setting up Openlink to send debug output to a file?
Sometimes you can get an idea of what's going wrong by looking at the actual
query that the ODBC driver received from PHP.

> -----Original Message-----
> From: Lars Denzer [mailto:ldenzeromeco.de]
> Sent: Friday, May 26, 2000 9:51 AM
> To: php3lists.php.net
> Subject: Re: [PHP3] PHP + ODBC + Progress
>
>
> Hi,
>
> > Looking at your query, the first question I have is did you cut
> & paste it
> > from the PHP script into your email? If so, you have a typo - it should
> be
> > "order by" not "oder by".
>
> Oh sorry - the typo appeared only in my mail - I did not cut'n paste from
> the PHP
> I am sure it does not come from a type in the script.
>
> > Actually, that looks like you're just showing a generic example. Why
> don't
> > you post the actual query string?
>
> $hst_query = "select * from $TBL_PRODUCER order by $PRD_PRODUCER";
>
> Thanks in advance.
>
> Cheers,
> Lars
>
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribelists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribelists.php.net
> To search the mailing list archive, go to:
http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-adminlists.php.net

attached mail follows:


OK then try it this way. In your apache config file put this:
    Action image/jpeg "/php3/php.exe /mycat.php3?image="
Obviously that might need adjusting for php4 as I was working on php3
Now for your script you need to add some adjustments like so:

    $root="/www/htdocs";
    readfile($root.$image);

Nick

----- Original Message -----
From: "Martin Edelius" <martin.edeliusspirex.se>
To: "NickM" <nickregiocom.net>
Sent: Friday, May 26, 2000 4:30 PM
Subject: Re: [PHP3] Automatic redirect to PHP script based on filetype in
Apache? (Somewhat OT)

Because:

A) I have a lot of links that are linked directly to images and I can't /
won't go through my documents and relink them.

B) I haven't got control over all the sites hosted on the server.

I know what to do in the script once I get to it...

Best regards,
Martin Edelius

Spirex Digital Design
------------------------------------------------------------
WWW: http://www.spirex.se || MAIL: martin.edeliusspirex.se
PHONE: +46-31-514651, 0708-113711 || FAX: +46-31-514331
Aröds Industriväg 3c, S-422 43 Hisings Backa
------------------------------------------------------------
If I haven't got back to you or done what I'm supposed to, let me know again
as I have too much to do for my own good...

Got PHP4? http://www.php.net || http://www.zend.com

attached mail follows:


Hi all,

is there a documentation tool for PHP classes, similar to KDOC or DOC++
for C++ classes? Or has someone experience how to use KDOC/DOC++ for a
PHP class lib?

Thanks
Norbert
http://www.hawhaw.de/

attached mail follows:


On Fri, 26 May 2000, Norbert Huffschmid wrote:

> Hi all,
>
> is there a documentation tool for PHP classes, similar to KDOC or DOC++
> for C++ classes? Or has someone experience how to use KDOC/DOC++ for a
> PHP class lib?

I've had some success using kdoc to parse the documentation in the Pear
code. The only thing I wasn't able to do was document the class method
comments, but I could simply be doing it wrong. :)

Matt

attached mail follows:


I have a login screen where the user puts in username & password. The
submit button passes $username, $password and $db (hidden) to another
php script...

Sometimes I get the "invalid username/password" error, even though I'm
passing in valid username/password/sid params. I even have the script
echo the values.

When the error comes, either it is because the variables are empty (?!)
or the variables are correct. It makes no sense.

Am I using the wrong approach? Should I be using persistent
connections?

thanks

attached mail follows:


Now that we have changed our authentication to use PHP instead of the
webserver, is there a way to find out what user is "logging" in? I tried
altering the LogFormat in Apache and while it appears to recognize the
variable, it is not logging the username.

Any suggestions?
Thanks,
Nicole

attached mail follows:


At 02:36 PM 5/26/00 -0400, Nicole McCurty wrote:

>Now that we have changed our authentication to use PHP instead of the
>webserver, is there a way to find out what user is "logging" in? I tried
>altering the LogFormat in Apache and while it appears to recognize the
>variable, it is not logging the username.

Hi Nicole,

You can use the apache_notes function to pass the user name to apache.

HTH,

Zak

attached mail follows:


Hello,
I am trying to limit the output by number, like say 2001 thru 3000 and I am
using this code:
$result=mysql_query("select * from Items Limit 2001,3000;");

But this isn't working . . anyone know why?

Thanks, Steve

attached mail follows:


use 'where' '>' '<' to do it.

Gp.

----- Original Message -----
From: "Steven T Sigourney" <stshome.com>
To: "Php3Lists. Php. Net" <php3lists.php.net>
Cc: <php3lists.php.net>
Sent: Friday, May 26, 2000 9:37 PM
Subject: [PHP3] limit output

> Hello,
> I am trying to limit the output by number, like say 2001 thru 3000 and I
am
> using this code:
> $result=mysql_query("select * from Items Limit 2001,3000;");
>
> But this isn't working . . anyone know why?
>
> Thanks, Steve
>
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribelists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribelists.php.net
> To search the mailing list archive, go to:
http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-adminlists.php.net
>

attached mail follows:


BETWEEN

George Papadakis wrote:
>
> use 'where' '>' '<' to do it.
>
> Gp.
>
> ----- Original Message -----
> From: "Steven T Sigourney" <stshome.com>
> To: "Php3Lists. Php. Net" <php3lists.php.net>
> Cc: <php3lists.php.net>
> Sent: Friday, May 26, 2000 9:37 PM
> Subject: [PHP3] limit output
>
>
> > Hello,
> > I am trying to limit the output by number, like say 2001 thru 3000 and I
> am
> > using this code:
> > $result=mysql_query("select * from Items Limit 2001,3000;");
> >
> > But this isn't working . . anyone know why?
> >
> > Thanks, Steve
> >
> >
> > --
> > PHP 3 Mailing List <http://www.php.net/>
> > To unsubscribe, send an empty message to php3-unsubscribelists.php.net
> > To subscribe to the digest, e-mail: php3-digest-subscribelists.php.net
> > To search the mailing list archive, go to:
> http://www.php.net/mailsearch.php3
> > To contact the list administrators, e-mail: php-list-adminlists.php.net
> >
>
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribelists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribelists.php.net
> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-adminlists.php.net
>

-- 
===========================================================================
   Jim Jagielski   [|]   jimjaguNET.com   [|]   http://www.jaguNET.com/
                "Are you suggesting coconuts migrate??"

attached mail follows:


<snip> Hello, I am trying to limit the output by number, like say 2001 thru 3000 and I am using this code: $result=mysql_query("select * from Items Limit 2001,3000;");

But this isn't working . . anyone know why? </snip>

Your syntax for Limit is incorrect.

Syntax: Limit pointer, amount

So what you're currently asking for is:

Limit 2001, 3000

Up to 3,000 records, starting at the 2,001st result.

What you want to do is first state the FIRST record where you want to start having information returned and the # of records you want after that...so for your example

SELECT * FROM Items Limit 2001, 999;

Should return the appropriate number of records for you...

Sincerely,

Craig Vincent

attached mail follows:


Hello All,

I was wondering if there was a function in PHP or that I could use a fuction like the Date_IsWeekDay() fuction in Perl in PHP. If so, how can I do that? Do I need to download and install it from CPAN or does it come with Perl?

Can I use Javascript?

Any suggestions on the easiest way for me to determine if a date that is entered via a form is a week day would be appreciated.

Thanks, Kevin kevsurfhotmail.com ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

attached mail follows:


On Fri, 26 May 2000, K Old wrote:

> Hello All, > > I was wondering if there was a function in PHP or that I could use a fuction > like the Date_IsWeekDay() fuction in Perl in PHP. If so, how can I do that? > Do I need to download and install it from CPAN or does it come with Perl?

Just use date(), you can format the output in many ways. Search for date in the quick ref at php.net for more information.

> Can I use Javascript? > > Any suggestions on the easiest way for me to determine if a date that is > entered via a form is a week day would be appreciated. > > Thanks, > Kevin > kevsurfhotmail.com > ________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com > > >

-- 
Magne Hovden

attached mail follows:


Hello,

I'm looking for a good interface written in PHP that is for Mysql databases. I have used phpAdmin, but that requires that you have root access or at least access to mysqladmin. I am looking for a good interface that will just let me do things in a database and has a clean look and feel to it.

Thanks for your suggestions, Kevin kevsurfhotmail.com ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

attached mail follows:


> I'm looking for a good interface written in PHP that is for Mysql databases. > I have used phpAdmin, but that requires that you have root access or at > least access to mysqladmin. I am looking for a good interface that will > just let me do things in a database and has a clean look and feel to it.

I really like the one I use. Here's the info from the script:

/* * MySQL Web Interface Version 0.7 * ------------------------------- * Developed By SooMin Kim (smkimpopeye.snu.ac.kr) * License : GNU Public License (GPL) * Homepage : http://popeye.snu.ac.kr/~smkim/mysql */

After making a change to the stylesheet section so that it would look presentable on a mac, it's worked just fine (see the end of this message for the change).

You can log in as any user and do things that only that user can do.

Hope it helps,

Paul

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Paul Burney Webmaster and Internet Developer Educational Technology Unit Graduate School of Education and Information Studies University of California, Los Angeles (310) 825-8365 <webmastergseis.ucla.edu> <http://www.gseis.ucla.edu/> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

<style type="text/css"> <!-- p.location { color: #11bb33; font-size: 12px; } h1 { color: #A4A260; } th { background-color: #BDBE42; color: #FFFFFF; font-size: 14px; } td { background-color: #DEDFA5; font-size: 12px; } form { margin-top: 0; margin-bottom: 0; } a { text-decoration:none; color: #848200; font-size:12px; } a:link { } a:hover { background-color:#EEEFD5; color:#646200; text-decoration:none } //--> </style>

attached mail follows:


I'm not sure if you mean "phpMyAdmin" or "phpAdmin" ?

I do know that phpMyAdmin (www.phpwizard.net) doesn't require root access. Simply configure it to the user access you have on the database server.

--
Jonathan Griffin
Software Developer
MasterMind Internet Services

-----Original Message----- From: K Old [mailto:kevsurfhotmail.com] Sent: Friday, May 26, 2000 2:04 PM To: php3lists.php.net Subject: [PHP3] PHP interface for Mysql Database?

Hello,

I'm looking for a good interface written in PHP that is for Mysql databases. I have used phpAdmin, but that requires that you have root access or at least access to mysqladmin. I am looking for a good interface that will just let me do things in a database and has a clean look and feel to it.

Thanks for your suggestions, Kevin kevsurfhotmail.com ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribelists.php.net To subscribe to the digest, e-mail: php3-digest-subscribelists.php.net To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-adminlists.php.net

attached mail follows:


PHPMyAdmin does not seem to have a way to edit records in a database. Does anyone know if this feature will be added?

Lois_Springsteenprodigy.net

attached mail follows:


sure it does. click on your database, then the table, select browse, then select edit.

or just do a sql query.

Gregory Wilson http://drakos.bh.cornell.edu

-----Original Message----- PHPMyAdmin does not seem to have a way to edit records in a database. Does anyone know if this feature will be added?

Lois_Springsteenprodigy.net

attached mail follows:


If you don't have a key field specified then it won't give you the edit/delete option for each record. It will appear at the right side of the entry ....

------------------------------------- Tom Crowe System Administrator Brains On Fire tombrainsonfire.com www.brainsonfire.com

-----Original Message----- From: Lois Springsteen [mailto:Lois_Springsteenprodigy.net] Sent: Friday, May 26, 2000 4:05 PM To: php3lists.php.net Subject: Re: [PHP3] PHP interface for Mysql Database?

PHPMyAdmin does not seem to have a way to edit records in a database. Does anyone know if this feature will be added?

Lois_Springsteenprodigy.net

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribelists.php.net
To subscribe to the digest, e-mail: php3-digest-subscribelists.php.net
To search the mailing list archive, go to:
http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-adminlists.php.net

attached mail follows:


I use this mail class to send several attachments to several e-mail addresses at the same time.

Class mime_mail http://phpwizard.net/phpMisc/scripts/plain/mail.php3

Ted Knudson http://www.automatedcabinets.com http://www.pulsarusa.com

> -----Original Message----- > From: Marcelo J. Iturbe [mailto:marcelomsm.cl] > Sent: Friday, May 26, 2000 9:32 AM > To: php3lists.php.net > Subject: Sending attachments > > > Hello, > Is there a way to send attachments via email using php? > I have a form where some one can upload an "object" I need to send this > object as an attachment via email. > > Thanks > > *********************************************** > Chief Technical Officer > ICQ 22921676 > MSM Interactive. > El Bosque Norte 0134, Las Condes, Chile. > Phone: (56-2) 234-9852 Fax: (56-2) 233-8912 > Email: marcelomsm.cl http://www.msm.cl > ******************************************* > >

attached mail follows:


Will that get me table names? I don't want column names I want table names.

Rossi Designs PO Box 1084 Holly Hill, FL 32125-1084 Phone : (904) 226-8979 URL : http://rossidesigns.net ----- Original Message ----- From: Lic. Luis Reynel Sales Glez. <lrsgintradev.sola.sony.com> To: Rossi Designs <webmasterrossidesigns.net> Cc: <php3lists.php.net> Sent: Friday, May 26, 2000 9:23 AM Subject: [PHP3] Re: PostgreSQL list tables?

| Hi Rossi & *: | | On Fri, 26 May 2000, Rossi Designs wrote: | | >Is there a way that I can list the table names in a postgreSQL DB into a | >drop down list? | | $result = pg_exec($connection_id, "select relname from pg_class where not | relname~'pg_.*'"); | | >From here, all you have to do is to make a cicle and put the results on | the drop down menu. | | Greetings, | | -- | Luis R. Sales Glez. | WebMaster | Sony Latin America | mailto: lrsgintradev.sola.sony.com | | | | | -- | PHP 3 Mailing List <http://www.php.net/> | To unsubscribe, send an empty message to php3-unsubscribelists.php.net | To subscribe to the digest, e-mail: php3-digest-subscribelists.php.net | To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 | To contact the list administrators, e-mail: php-list-adminlists.php.net | |

attached mail follows:


Is there a PHP or Apache object equivilant to the IIS 5 StaticObjects object? Maybe someone could suggest an alternitive way to keep variable data in memory for all sessions to read from so a read to disk is not required?

For those not familiar to IIS the Application object is equivilant to an Apache virtual host or sub tree website.

Here is Microsofts definition of the Application StaticObjects FROM http://msdn.microsoft.com/library/psdk/iisref/vbob5uem.htm

Application StaticObjects Collection The StaticObjects collection contains all of the objects created with the <OBJECT> tags within the scope of the Application object. You can use the collection to determine the value of a specific property for an object, or iterate through the collection and retrieve all properties for all static objects.

Syntax Application.StaticObjects(Key)

Parameters Key Specifies the name of the item to retrieve.

Remarks You can use an iterating control structure to loop through the keys of the StaticObjects collection. This is demonstrated in the following example.

<% Dim strKey

For Each strKey In Application.StaticObjects Response.Write strKey & " = <i>(object)</i><BR>" Next %>

-erik

attached mail follows:


I'd download the php version 4.0.0 and found out that this fersion support the cdb can anyone give me a clue how to activate the option in configure....

I try to find the manual...but still can find anything.....

thanks in advance

attached mail follows:


Mottaker, InterScan har oppdaget virus i ditt e-postvedlegg.

Date: Fri, 26 May 2000 23:10:32 +0200 (W. Europe Daylight Time) Method: Mail From: <minstarindo.net> To: <php3lists.php.net> File: noname.htm Action: clean failed - deleted Virus: VBS_KAKWORM.A-M

attached mail follows:


A L E R T E V I R U S

Notre système de détection automatique anti-virus a détecté un virus dans un message qui vous a été envoyé par "Yamin Prabudy" <minstarindo.net>.

La distribution de ce message a été stoppée.

Veuillez vous rapprocher de l'émetteur "Yamin Prabudy" <minstarindo.net> pour régler avec lui le problème.

***********

V I R U S A L E R T

Our anti-virus system has detected a virus in an email sent by "Yamin Prabudy" <minstarindo.net>.

We have stopped the delivery of this email.

We invite you to contact "Yamin Prabudy" <minstarindo.net> to solve the problem.

attached mail follows:


Is there a php jump function? I mean a function that after executing something I can call so that it jumps to another page?

Thanks

-- 
"And I'm happy, because you make me feel good, about me." - Melvin Udall
-----------------------------------------------------------------
Martín Marqués			email: 	martinmath.unl.edu.ar
Santa Fe - Argentina		http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------

attached mail follows:


> Is there a php jump function? I mean a function that > after executing > something I can call so that it jumps to another page?

before *any* output, you can use: header("Location: home.php3");

_________________ Bernd Goldschmidt biting design - http://www.biting.de eMail: Bernd.Goldschmidtbiting.de Telefon: 0173/3136450 (d2) Telefax: 0721/151-256473 (via web)

attached mail follows:


Hi, getting the following error during make of apache (1.3.12), after running configure, make, make install and reconfigure of apache. The actual php stuff seems to go fine and puts the php4 module stuff in the apache dir.

gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX -DUSE_ EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` mod_php4.c mod_php4.c:28: zend.h: No such file or directory mod_php4.c:29: php.h: No such file or directory mod_php4.c:30: php_variables.h: No such file or directory mod_php4.c:31: SAPI.h: No such file or directory mod_php4.c:48: php_ini.h: No such file or directory mod_php4.c:49: php_globals.h: No such file or directory mod_php4.c:50: SAPI.h: No such file or directory mod_php4.c:51: main.h: No such file or directory mod_php4.c:53: zend_compile.h: No such file or directory mod_php4.c:54: zend_execute.h: No such file or directory mod_php4.c:55: zend_highlight.h: No such file or directory mod_php4.c:56: zend_indent.h: No such file or directory mod_php4.c:58: ext/standard/php_standard.h: No such file or directory make[4]: *** [mod_php4.o] Error 1 make[3]: *** [all] Error 1 make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/usr/local/etc/apache_1.3.12/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/usr/local/etc/apache_1.3.12' make: *** [build] Error 2 [rootserver httpd]# _

The configure of php went like this:

configure --with-config-file-path=/www/conf --enable-track-vars --enable-dbase --enable-magic-quotes --with-apache=../httpd --with-mysql --with-regex=php --with-ftp

And reconfigure of apache like this:

configure --with-layout=Apache --prefix=/usr/local/etc/httpd --sysconfdir=/www/conf --enable-module=log_agent --enable-module=log_referer --activate-module=src/modules/php4/libmodphp4.a

The php files in the error do actually exist, in /usr/local/etc/php/.

Thanks if anyone can help.

--
Richard Heyes

attached mail follows:


The latest manual in indexed .pdf format is now available online at http://www.php.net/docs.php. The DSSSL stylesheets have been fine tuned by Hartmut Holzgraefe, resulting in a note with each documented function, where possible, of the version of php that the function first became supported.

Included in this manual is the documentation for the swf module (Sterling Hughes) as well as others previously undocumented.

Note that this format, after a time, tends to lag behind the other formats of online documentation available at php.net. This pdf was created from a postscript file generated on May 23, 2000.

Regards Mike Robinson

attached mail follows:


Hello Jean-Louis,

On 25-May-00 14:22:20, you wrote:

>Does anyone have a source I could use (or a link I could go to) for >sending email?

>My hosting server does not allow me to send emails directly through >mail(). I need to connect to my ISP and send emails via SMTP.

Look here for these classes that do just what you need:

http://phpclasses.UpperDesign.com/browse.html/package/14

http://phpclasses.UpperDesign.com/browse.html/package/9

Regards, Manuel Lemos

Web Programming Components using PHP Classes. Look at: acm.org">http://phpclasses.UpperDesign.com/?user=mlemosacm.org

--
E-mail: mlemosacm.org
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
--

attached mail follows:


Hello Erik,

On 24-May-00 14:38:42, you wrote:

>The mail( ) doesn't work for me and that's because I don't have a mail server >I suppose.

If you are running under Windows, you need to set the mail server address in PHP configuration.

There was also a bug in PHP 3/4 under Windows that affected calls to the mail() function that didn't specify the 4th argument for extra headers.

>Then I tried the SMTP E-mail sending class at: >http://phpclasses.upperdesign.com/browse.html/package/14

>But it can't connect to my SMTP server. (I know the SMTP server works)

Did you specify the correct server address? The class doesn't guess it.

>Finally I tried the SMTP class from the "Professionl PHP Programming" book, >but after 5 minutes trying to connect I gave up.

>Is there a next step? I have no clue how to send off an e-mail. I really need >that feature on my site. Please help!

That looks like a DNS timeout, ie, you have (not) specified a server address that is not reachable and the DNS can't figure it's IP address.

Regards, Manuel Lemos

Web Programming Components using PHP Classes. Look at: acm.org">http://phpclasses.UpperDesign.com/?user=mlemosacm.org

--
E-mail: mlemosacm.org
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
--

attached mail follows:


Hi, I have a question about speed. Lets say I have a simple script counter, just open a txt file, write a number and close. Which one would be faster, php or perl? As hits go up, does one method begin to be more efficient than the other?

How much slower would it be to write to a mysql database instead of a txt file?

Thanks,

attached mail follows:


I have php3 and php4 installed concurrently, using the --enable-versioning as specified on the PHP installation readme. (also used --with-apxs and --with-mysql)

I'm having problems with MySQL. I get PHP errors on my web pages about using the mysql_free_result() function (using Keystone). My Apache error_log has a bunch of wierd errors (related to the php3 mysql functions)?

Anyway, is anyone else using PHP3, PHP4, and MySQL concurrently in the same Apache setup?

Thanks, Loyd

--
Loyd Goodbar
lgoodbarwatervalley.net  ICQ#504581  http://www.watervalley.net/users/lgoodbar/

attached mail follows:


I think I have a problem connecting to my informix data base server through php, which is in the same computer. I made a small script to try out the connection:

<HTML> <BODY> <? $conn=ifx_pconnect("sysmaster","informix","my_password"); echo(sprintf($conn)); </BODY> </HTML>

and I get this error:

Warning: E [SQLSTATE=IX 000 SQLCODE=-461] in /usr/local/apache/htdocs/informix/publicar.php on line 5

Any ideas on what it can be?

Thanks

-- 
"And I'm happy, because you make me feel good, about me." - Melvin Udall
-----------------------------------------------------------------
Martín Marqués			email: 	martinmath.unl.edu.ar
Santa Fe - Argentina		http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------

attached mail follows:


Hello all,

I'm pleased to announce the 0.3 release of the php_pam module, hot on the heels of PHP 4. :)

This module adds PAM bindings to the PHP scripting language. Version 0.3 works with both PHP 3 and PHP 4 and sports improved modularization of the included sample PHP code. Support for authentication methods requiring root access to the local server (i.e., pam_unix/pam_pwdb) is still on the TODO list; this support should be present in the next revision of php_pam. In the meantime, php_pam 0.3 has proven usable with a number of PAM authentication methods, including pam_smb, pam_krb4, and pam_krb5.

The sample PHP code has been significantly rewritten, and the increased modularity should make it much easier to modify for site-specific uses.

The latest version of php_pam can always be downloaded from <ftp://ftp.netexpress.net/pub/pam/php_pam.newest.tgz>.

Any questions, comments, bug reports, etc, can be sent to me at vorlonnetexpress.net.

Cheers, Steve Langasek postmodern programmer

attached mail follows:


-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

I think the text of this message says it all.. -----Original Message----- From: Yamin Prabudy [mailto:minstarindo.net] Sent: Friday, May 26, 2000 3:11 PM To: php3lists.php.net Subject: [PHP3] CDB support

This file was infected with a virus. The file was quarantined by Norton AntiVirus. Friday, May 26, 2000 18:19

-----BEGIN PGP SIGNATURE----- Version: PGP 6.0.2

iQA/AwUBOS8VD7ES610nakSWEQIVNwCaA14vhicqAqxH1BOLO8AkeJeuj4EAoIaJ HoUuB4wOpnCeXTxRx8sqa5Dr =HcQ+ -----END PGP SIGNATURE-----

attached mail follows:


all,

i'm trying to figure out how to generate a mail message that will show up in netscape / outlook as a web page. does any one know what i need in the message header and body to do this?

thanks, deno

--
:  :                                                                -
- :'
:::     emanate records - http://www.syncopated.net/emanate/  ..::
.-   :.
:                   '                                           -
: :
: :     now out : ema005 - o.s.t. : 'deflect' : cd/12" :          '
. .
: :                                          .        .
-    ::
:: :    next up -=- >> aspen <<  "'sugar and spice'"  -:- (12")
:-       :.
:':                                                          - -
.:.
' ::      '    '   '  '  '         '   '            '  '     '
'         ''