RE: [PHP] Commercial sites that use PHP
Yahoo acquired eGroups and Google this past year, Hum, I think yahoo bought google's technology but not the company. Google.com is using Perl, Python, Java/Servlet/JSP and C++. Well that is what they ask for in their job oppenings. py At 10:20 AM 4/10/01 -0700, you wrote: Yahoo uses a lot of Python. Yahoo Mail pages have extensions of .py, indicating Python. Yahoo acquired eGroups and Google this past year, both of which openly use Python to generate pages. They most likely use Python in conjunction with other scripting and compiled languages. -Ben -Original Message- From: Michael Kimsal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 9:47 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Commercial sites that use PHP Brent Langston wrote: Does anyone know what Yahoo uses? It's obviously some form of scripting... especially at http://my.yahoo.com. I've always been curious about what they are using as their parser... it appears to spit out pure HTML, so it acts like PHP... Any thoughts? No offense here, but EVERYTHING does that. ASP, JSP, CF, Perl, Frontier, etc. I think it's pretty impossible to tell what someone's using unless they announce via file extensions or something, and even then you can't always tell. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] + == + Pierre-Yves Lem@ire + E-MedHosting.com + (514) 729-8100 + [EMAIL PROTECTED] + == -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: php4 /ext/odbc Makefile.in config.m4 php_odbc.c php_odbc.h
kevin Tue Apr 10 09:26:29 2001 EDT Modified files: /php4/ext/odbc Makefile.in config.m4 php_odbc.c php_odbc.h Log: Fixed compatibility issues in the ODBC extension for the Velocis Database server. Specifically, config.m4 was changed to use the client libraries instead of the serer libraries, and to look for the libs in the $RDSHOME/lin directory ass opposed to the $RDSHOME/bin directory. Makefile.in was changed to use the php_odbc.c file as the source for Velocis support. Other misc changes include a few #defines for some undefined data types and some #ifdefs for unsupported functions. Index: php4/ext/odbc/Makefile.in diff -u php4/ext/odbc/Makefile.in:1.7 php4/ext/odbc/Makefile.in:1.8 --- php4/ext/odbc/Makefile.in:1.7 Thu Jul 6 01:38:12 2000 +++ php4/ext/odbc/Makefile.in Tue Apr 10 09:26:27 2001 @@ -1,6 +1,6 @@ LTLIBRARY_NAME= libodbc.la -LTLIBRARY_SOURCES = php_odbc.c velocis.c +LTLIBRARY_SOURCES = php_odbc.c LTLIBRARY_SHARED_NAME = odbc.la LTLIBRARY_SHARED_LIBADD= $(ODBC_LFLAGS) $(ODBC_LIBS) Index: php4/ext/odbc/config.m4 diff -u php4/ext/odbc/config.m4:1.38 php4/ext/odbc/config.m4:1.39 --- php4/ext/odbc/config.m4:1.38Tue Apr 3 16:30:44 2001 +++ php4/ext/odbc/config.m4 Tue Apr 10 09:26:27 2001 @@ -213,6 +213,7 @@ ODBC_LIBDIR=$withval/lib fi ODBC_INCLUDE=-I$ODBC_INCDIR +ODBC_LFLAGS=-L$ODBC_LIBDIR ODBC_TYPE=empress AC_DEFINE(HAVE_EMPRESS,1,[ ]) AC_MSG_RESULT(yes) @@ -232,24 +233,21 @@ install directory, defaults to /usr/local/velocis.], [ PHP_WITH_SHARED + if test "$withval" != "no"; then if test "$withval" = "yes"; then - ODBC_INCDIR=/usr/local/velocis/include - ODBC_LIBDIR=/usr/local/velocis +ODBC_INCDIR=/usr/local/velocis/include +ODBC_LIBDIR=/usr/local/velocis/lib else - ODBC_INCDIR=$withval/include - ODBC_LIBDIR=$withval +ODBC_INCDIR=$withval/include +ODBC_LIBDIR=$withval/lib fi ODBC_INCLUDE=-I$ODBC_INCDIR -ODBC_LIBDIR="$ODBC_LIBDIR/bin" -case `uname` in - FreeBSD|BSD/OS) -ODBC_LIBS="$ODBC_LIBDIR/../lib/rdscli.a -lcompat";; - *) -ODBC_LIBS="-l_rdbc -l_sql";; -esac ODBC_TYPE=velocis +ODBC_LFLAGS=-L$ODBC_LIBDIR +ODBC_LIBS="-lCadm -lCdict -lCenc -lCrdm -lCrpc -lCrdbc -lCrm -lCuapi -lutil" AC_DEFINE(HAVE_VELOCIS,1,[ ]) + AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) Index: php4/ext/odbc/php_odbc.c diff -u php4/ext/odbc/php_odbc.c:1.76 php4/ext/odbc/php_odbc.c:1.77 --- php4/ext/odbc/php_odbc.c:1.76 Mon Apr 2 08:18:47 2001 +++ php4/ext/odbc/php_odbc.cTue Apr 10 09:26:27 2001 @@ -15,10 +15,11 @@ | Authors: Stig Sæther Bakken [EMAIL PROTECTED]| | Andreas Karajannis [EMAIL PROTECTED] | | Frank M. Kromann [EMAIL PROTECTED] Support for DB/2 CLI | + | Kevin N. Shallow [EMAIL PROTECTED] Velocis Support | +--+ */ -/* $Id: php_odbc.c,v 1.76 2001/04/02 15:18:47 lurcher Exp $ */ +/* $Id: php_odbc.c,v 1.77 2001/04/10 16:26:27 kevin Exp $ */ #include "php.h" #include "php_globals.h" @@ -103,15 +104,17 @@ PHP_FE(odbc_columns, NULL) PHP_FE(odbc_gettypeinfo, NULL) PHP_FE(odbc_primarykeys, NULL) -#if !defined(HAVE_DBMAKER) !defined(HAVE_SOLID) !defined(HAVE_SOLID_30) !defined(HAVE_SOLID_35)/* not supported now */ +#if !defined(HAVE_DBMAKER) !defined(HAVE_SOLID) !defined(HAVE_SOLID_30) +!defined(HAVE_SOLID_35) !defined(HAVE_VELOCIS)/* not supported now */ PHP_FE(odbc_columnprivileges, NULL) PHP_FE(odbc_tableprivileges, NULL) #endif -#if !defined(HAVE_SOLID) !defined(HAVE_SOLID_30) !defined(HAVE_SOLID_35)/* not supported */ +#if !defined(HAVE_SOLID) !defined(HAVE_SOLID_30) !defined(HAVE_SOLID_35) /* not +supported */ PHP_FE(odbc_foreignkeys, NULL) PHP_FE(odbc_procedures, NULL) +#if !defined(HAVE_VELOCIS) PHP_FE(odbc_procedurecolumns, NULL) #endif +#endif PHP_FE(odbc_specialcolumns, NULL) PHP_FE(odbc_statistics, NULL) PHP_FALIAS(odbc_do, odbc_exec, NULL) @@ -2752,7 +2755,7 @@ } /* }}} */ -#if !defined(HAVE_DBMAKER) !defined(HAVE_SOLID) !defined(HAVE_SOLID_30) !defined(HAVE_SOLID_35) +#if !defined(HAVE_DBMAKER) !defined(HAVE_SOLID) !defined(HAVE_SOLID_30) +!defined(HAVE_SOLID_35) !defined(HAVE_VELOCIS) /* {{{ proto int odbc_columnprivileges(int connection_id, string catalog, string schema, string table, string column) Returns a result identifier that can be used to fetch a list of columns and associated privileges for the specified table */ PHP_FUNCTION(odbc_columnprivileges) @@ -3079,7 +3082,7 @@ } /* }}} */ -#if !defined(HAVE_SOLID) !defined(HAVE_SOLID_30) !defined(HAVE_SOLID_35) +#if !defined(HAVE_SOLID)
Re: [PHP-CVS] cvs: php4 /ext/sockets sockets.c
On Tue, 10 Apr 2001, Jason Greene wrote: Out of those platforms you listed, I have tested this on Linux. I will test FreeBSD today. However, I do not have an OpenBSD box, does anyone out there want to try and build the latest cvs with --enable-sockets on OpenBSD? I can test to build it... will do in 5 mins. Derick Rethans - PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED] SRM: Site Resource Manager - www.vl-srm.net - JDI Media Solutions - www.jdimedia.nl - [EMAIL PROTECTED] Boulevard Heuvelink 102 - 6828 KT Arnhem - The Netherlands - -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___
/me counts to himself Yep 3 times, thats as bad as those people who sign up the lottery ads to this list - Original Message - From: "Jon Haworth" [EMAIL PROTECTED] To: "'Jeffrey Greer'" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, April 10, 2001 12:52 PM Subject: RE: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___ Yes, we know, you've told us three times now. -Original Message- From: Jeffrey Greer [mailto:[EMAIL PROTECTED]] Sent: 10 April 2001 17:45 To: [EMAIL PROTECTED] Subject: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___ Hello, I am offering php hosting with features at a price no one else has, as far as I know. I'm not going to create a giant web hosting service. I'm doing this to pay for my web portal. snip ** 'The information included in this Email is of a confidential nature and is intended only for the addressee. If you are not the intended addressee, any disclosure, copying or distribution by you is prohibited and may be unlawful. Disclosure to any party other than the addressee, whether inadvertent or otherwise is not intended to waive privilege or confidentiality' ** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: CVSROOT / loginfo
rasmus Tue Apr 10 09:31:01 2001 EDT Modified files: /CVSROOTloginfo Log: Fix email address for pear commits Index: CVSROOT/loginfo diff -u CVSROOT/loginfo:1.40 CVSROOT/loginfo:1.41 --- CVSROOT/loginfo:1.40Tue Feb 27 06:56:43 2001 +++ CVSROOT/loginfo Tue Apr 10 09:31:01 2001 @@ -1,5 +1,5 @@ # -#ident "@(#)cvs/examples:$Name: $:$Id: loginfo,v 1.40 2001/02/27 14:56:43 andrei Exp $" +#ident "@(#)cvs/examples:$Name: $:$Id: loginfo,v 1.41 2001/04/10 16:31:01 rasmus Exp +$" # # The "loginfo" file is used to control where "cvs commit" log information # is sent. The first entry on a line is a regular expression which is tested @@ -42,7 +42,7 @@ .*distributions.* $CVSROOT/CVSROOT/log -s -f $CVSROOT/CVSROOT/mylog -u $USER %s phpweb $CVSROOT/CVSROOT/loginfo.pl [EMAIL PROTECTED] $USER %{sVv} phpdoc $CVSROOT/CVSROOT/loginfo.pl [EMAIL PROTECTED] $USER %{sVv} -pearweb $CVSROOT/CVSROOT/loginfo.pl [EMAIL PROTECTED] $USER %{sVv} +pearweb $CVSROOT/CVSROOT/loginfo.pl [EMAIL PROTECTED] $USER %{sVv} qaweb $CVSROOT/CVSROOT/loginfo.pl [EMAIL PROTECTED] $USER %{sVv} portal $CVSROOT/CVSROOT/loginfo.pl [EMAIL PROTECTED] $USER %{sVv} pres $CVSROOT/CVSROOT/loginfo.pl [EMAIL PROTECTED] $USER %{sVv} -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-CVS] cvs: CVSROOT / loginfo
On Tue, 10 Apr 2001 16:31:01 -, Rasmus Lerdorf wrote: -pearweb $CVSROOT/CVSROOT/loginfo.pl [EMAIL PROTECTED] $USER %{sVv} +pearweb $CVSROOT/CVSROOT/loginfo.pl [EMAIL PROTECTED] $USER %{sVv} Wouldn't it be better to send the commit messages to [EMAIL PROTECTED] or [EMAIL PROTECTED]? -Martin -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Limitation of redirecting using header()?
I am writting a session enabled webapp that has a typical login page. The page submits to itself and upon validation, I want to allow the user to continue on to the next page. From everything I have read so far, the only way to redirect programmatically is via header(). Unfortunately, what I'm seeing is that while the followup page is loaded, the location in the address bar (of IE 5.5) is not updated. Is this something specific to IE? I would like the address bar to have the correct address instead of the old page. Any suggestions? - Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] url question
I have a php script that browses a database table. You can page through the database table by clicking these links: http://localhost/browse.php?action=first http://localhost/browse.php?action=prev http://localhost/browse.php?action=next http://localhost/browse.php?action=last When you click the 'action=next' link, the script displays the next X records (the script remembers its position within the table). The script also displays a link to a jpeg of the item described in the database table. For example: http://localhost/images/123456.jpg If the user clicks the image link, the browser displays the jpeg. Suppose the user clicks the 'action=next' link, and then clicks an image link. The browser displays the jpeg. When the user clicks the back button, the browser executes the previous link (ie. the 'action=next' link) which displays the next page of database records. I want the browser to NOT display the next page of data. I want the browser to stay on the page that contains the link to the jpeg the user clicked. How can I prevent the previous link from being executed when the user clicks the back button? Thanks - Jim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___
How come no one is subscribing us to any porn lists? Joke!!! Mike -Original Message- From: Chris Anderson [mailto:[EMAIL PROTECTED]] Sent: Friday, April 06, 2001 5:32 PM To: Jon Haworth; 'Jeffrey Greer'; [EMAIL PROTECTED] Subject: Re: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___ /me counts to himself Yep 3 times, thats as bad as those people who sign up the lottery ads to this list - Original Message - From: "Jon Haworth" [EMAIL PROTECTED] To: "'Jeffrey Greer'" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, April 10, 2001 12:52 PM Subject: RE: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___ Yes, we know, you've told us three times now. -Original Message- From: Jeffrey Greer [mailto:[EMAIL PROTECTED]] Sent: 10 April 2001 17:45 To: [EMAIL PROTECTED] Subject: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___ Hello, I am offering php hosting with features at a price no one else has, as far as I know. I'm not going to create a giant web hosting service. I'm doing this to pay for my web portal. snip ** 'The information included in this Email is of a confidential nature and is intended only for the addressee. If you are not the intended addressee, any disclosure, copying or distribution by you is prohibited and may be unlawful. Disclosure to any party other than the addressee, whether inadvertent or otherwise is not intended to waive privilege or confidentiality' ** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-CVS] cvs: php4 /ext/sockets sockets.c
Thanks, -Jason - Original Message - From: "Derick Rethans" [EMAIL PROTECTED] To: "Jason Greene" [EMAIL PROTECTED] Cc: "Jani Taskinen" [EMAIL PROTECTED]; "Jason Greene" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, April 10, 2001 11:32 AM Subject: Re: [PHP-CVS] cvs: php4 /ext/sockets sockets.c On Tue, 10 Apr 2001, Jason Greene wrote: Out of those platforms you listed, I have tested this on Linux. I will test FreeBSD today. However, I do not have an OpenBSD box, does anyone out there want to try and build the latest cvs with --enable-sockets on OpenBSD? I can test to build it... will do in 5 mins. Derick Rethans - PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED] SRM: Site Resource Manager - www.vl-srm.net - JDI Media Solutions - www.jdimedia.nl - [EMAIL PROTECTED] Boulevard Heuvelink 102 - 6828 KT Arnhem - The Netherlands - -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-CVS] cvs: pear /Science Chemistry.php /Science/ChemistryAtom.php Atom_PDB.php Coordinates.php Element.php Macromolecule.phpMacromolecule_PDB.php Molecule.php Molecule_XYZ.php PDBFile.php PDBPa
hrm, is it really needed to add 3.6MB of stuff to the PHP cvs? Derick - PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED] SRM: Site Resource Manager - www.vl-srm.net - JDI Media Solutions - www.jdimedia.nl - [EMAIL PROTECTED] Boulevard Heuvelink 102 - 6828 KT Arnhem - The Netherlands - -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP-CVS] cvs: pear /Science Chemistry.php /Science/ChemistryAtom.php Atom_PDB.php Coordinates.php Element.php Macromolecule.phpMacromolecule_PDB.php Molecule.php Molecule_XYZ.php PDBFile.php PDBPa
Does PEAR really need to be in the PHP source tree? -Marten. Icq# 38863127 -Original Message- From: Derick Rethans [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 6:57 PM To: Jesus M. Castagnetto Cc: [EMAIL PROTECTED] Subject: Re: [PHP-CVS] cvs: pear /Science Chemistry.php /Science/ChemistryAtom.php Atom_PDB.php Coordinates.php Element.php Macromolecule.phpMacromolecule_PDB.php Molecule.php Molecule_XYZ.php PDBFile.php PDBPa hrm, is it really needed to add 3.6MB of stuff to the PHP cvs? Derick - PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED] SRM: Site Resource Manager - www.vl-srm.net - JDI Media Solutions - www.jdimedia.nl - [EMAIL PROTECTED] Boulevard Heuvelink 102 - 6828 KT Arnhem - The Netherlands - -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Limitation of redirecting using header()?
There is also the client-side META tag redirect, which has been deprecated by W3C (although it is hard to imagine the browser makers not supporting this for quite a while longer): echo("HTMLHEADMETA HTTP-EQUIV=\"refresh\" CONTENT=\"$delay;url=$url\" /HEADBODY BGCOLOR=#ff$message/BODY/HTML"); As for the address bar contents not changing, I don't know what to say. I haven't seen your problem. Are you actually referring to the Title Bar instead of the address bar? The contents of the TITLE tag need to be different for each page for the title bar to change. Kirk From everything I have read so far, the only way to redirect programmatically is via header(). Unfortunately, what I'm seeing is that while the followup page is loaded, the location in the address bar (of IE 5.5) is not updated. Is this something specific to IE? I would like the address bar to have the correct address instead of the old page. Any suggestions? - Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] created a mailing list for ezpublish
Hi, since there doesn't seem to be a mailing list for ezpublish (a cms in php), I created one: http://groups.yahoo.com/group/php-ezpublish Feel free to join up, I basically created it because it seems a very powerful but complex system. Peter ~~ http://liga1.com: building multiple language/culture websites -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: php4 /ext/imap config.m4
jon Tue Apr 10 10:31:35 2001 EDT Modified files: /php4/ext/imap config.m4 Log: Statements end with a period. Index: php4/ext/imap/config.m4 diff -u php4/ext/imap/config.m4:1.26 php4/ext/imap/config.m4:1.27 --- php4/ext/imap/config.m4:1.26Tue Mar 27 12:34:28 2001 +++ php4/ext/imap/config.m4 Tue Apr 10 10:31:35 2001 @@ -1,4 +1,4 @@ -dnl $Id: config.m4,v 1.26 2001/03/27 20:34:28 sniper Exp $ +dnl $Id: config.m4,v 1.27 2001/04/10 17:31:35 jon Exp $ AC_DEFUN(IMAP_INC_CHK,[if test -r "$i$1/c-client.h"; then AC_DEFINE(HAVE_IMAP2000, 1, [ ]) @@ -60,7 +60,7 @@ PHP_EXPAND_PATH($IMAP_DIR, IMAP_DIR) if test -z "$IMAP_DIR"; then - AC_MSG_ERROR(Cannot find rfc822.h. Please check your IMAP installation) + AC_MSG_ERROR(Cannot find rfc822.h. Please check your IMAP installation.) fi if test -r "$IMAP_DIR/c-client/c-client.a"; then @@ -76,7 +76,7 @@ done if test -z "$IMAP_LIBDIR"; then - AC_MSG_ERROR(Cannot find imap library. Please check your IMAP installation) + AC_MSG_ERROR(Cannot find imap library. Please check your IMAP installation.) fi PHP_ADD_INCLUDE($IMAP_INC_DIR) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Commercial sites that use PHP
Yahoo certainly uses PHP for at least some of it's workings. On a rare occasion that it was down, I saw a PHP error message being displayed. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] p.net]On Behalf Of Brent Langston Sent: 10 April 2001 17:31 To: [EMAIL PROTECTED] Subject: RE: [PHP] Commercial sites that use PHP Does anyone know what Yahoo uses? It's obviously some form of scripting... especially at http://my.yahoo.com. I've always been curious about what they are using as their parser... it appears to spit out pure HTML, so it acts like PHP... Any thoughts? -Original Message- From: Michael Stearne [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 9:27 AM To: Phillip Bow Cc: [EMAIL PROTECTED] Subject:Re: [PHP] Commercial sites that use PHP Along with VaLinux.com and all new VA sites. Penguin Computing dies too. Michael On Tuesday, April 10, 2001, at 12:20 PM, Phillip Bow wrote: Well since nobody else has chimed in(barring the fact it may be in one of the already recommended lists) sourceforge is made with php, and is a pretty noteworthy site. -- phill "Phil Labonte" [EMAIL PROTECTED] wrote in message 1B5C7FA9D60DD511ABEF00508BFDEFDC105E@EXCHANGE">news:1B5C7FA9D60DD511ABEF00508BFDEFDC105E@EXCHANGE... Can anyone send me a list of large commercial web sites that use PHP? I am trying to move to PHP here at work but I need some examples to impress the boss!!! Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: php-list- [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___
Subject: RE: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server I wonder if they charge extra for HTML hosting? =) But seriously, WoW! My own dedicated OC3 line! Man, for only $8/month..that rocks! I am offering php hosting with features at a price no one else has, as far as I know. Nope, your right, some places even offer less! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___
At 06:15 PM 4/10/2001, Jason Lotito wrote: no no - its an OC3+ web server.must be an overseas brand..or something..i've never heard of it.maybe its an SGI or something they have wacky names for their stuff :-) no bandwidth sucking sites? on an OC3...we're talking gigabits per sec here. no pron? damn! that puts me out! what about security? are they on top of the latest versions and patches.i mean after all...it is REDHACK.. spammers are funny people :-) ~kurth Subject: RE: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server I wonder if they charge extra for HTML hosting? =) But seriously, WoW! My own dedicated OC3 line! Man, for only $8/month..that rocks! I am offering php hosting with features at a price no one else has, as far as I know. Nope, your right, some places even offer less! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] register_shutdown_function - uses for
"Greig, Euan" [EMAIL PROTECTED] wrote: I was hoping that I could use this function to enable me to finish scripts tidily when they time out or are aborted by the user. eg display the message "script timed out". However this will not work as no output is allowed in the shutdown function. I can see other ways to do what I want (but suggestions would always be welcome) but the real point of this email is this: what sort of thing would you use register_shutdown_function to achieve? I've used it for database inserts or calls to external programs that took a long time, but did not affect the output sent to the browser. In those cases I used register_shutdown_function() inside a control structure to call another function (after outputting HTML from within the same control structure). -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] dynamic checkboxes
Hello All, I'm trying to build a way to transfer my orders to a HTML page instead of using GUI that I've designed. In order to do that I need to display all the orders of the day and have checkboxes on each so that the user can select only the orders that we will process. The number of checkboxes on this form will depend on the number of orders of that day. So the form and the number of its variables will be dynamic as well. Each checkbox has to have the name property that can be matched to the customercode+ordernumber. After the form is submited I need to scan all the variables that were checked so that it can be included on the next query. Has anyone tried that or did that before? Is there any URL or PHP code that can be used to learn that? Thank you very much, Carlos Fernando.
Re: [PHP-CVS] cvs: pear /Science Chemistry.php /Science/Chemistry Atom.php Atom_PDB.php Coordinates.php Element.php Macromolecule.php Macromolecule_PDB.php Molecule.php Molecule_XYZ.php PDBFile.php PDBPa
--- Derick Rethans [EMAIL PROTECTED] wrote: hrm, is it really needed to add 3.6MB of stuff to the PHP cvs? Well, yes. The whole thing contains classes, examples and documentation for the Science_Chemistry package for PEAR. What is the problem you have encountered w/ this? Derick - PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED] SRM: Site Resource Manager - www.vl-srm.net - JDI Media Solutions - www.jdimedia.nl - [EMAIL PROTECTED] Boulevard Heuvelink 102 - 6828 KT Arnhem - The Netherlands - = --- Jesus M. Castagnetto [EMAIL PROTECTED] __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Saving a page/text file from a query
Hello all, I need to display a page on text format that will be the result of a query. This page will not be saved on my server harddrive but it has to allow the user to save it to their HD. The problem is that the page has to be saved on the customer HD automaticaly (He/She should not click on the browser's save option) and it also has to be saved on a fixed file name like text.txt or schedule.csv. Does anyone know how to implement that? Thank you very much, Carlos Fernando Scheidecker Antunes.
Re: [PHP] register_shutdown_function - uses for
In article [EMAIL PROTECTED], [EMAIL PROTECTED] ("Greig, Euan") wrote: I was hoping that I could use this function to enable me to finish scripts tidily when they time out or are aborted by the user. eg display the message "script timed out". However this will not work as no output is allowed in the shutdown function. I can see other ways to do what I want (but suggestions would always be welcome) but the real point of this email is this: what sort of thing would you use register_shutdown_function to achieve? Not a fancy example, but... I use it in a script which loops through a database of urls to validate them. With each loop, set_time_limit gets reset for a length of time more than sufficient for processing a valid url. If an iteration takes too long, the script will timeout and die without an error message. Since in this case timeout == bad url, register_shutdown_function() allows me to send a final query back to the database marking the current url as invalid. Otherwise, when I start the script up again it would always have that same url sitting at the top of the processing list where it would just timeout over and over again (which is what it used to do--what a PITA). You could also use register_shutdown_function() to, for instance, email yourself information about why a script terminated and what state it was left in. Output to the *browser is disallowed, but output to other destinations (logs, email, filesystem, databases, etc.) still works. You can take advantage of that. -- CC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: pear /Science Chemistry.php /Science/Chemistry Atom.php Atom_PDB.php Coordinates.php Element.php Macromolecule.php Macromolecule_PDB.php Molecule.php Molecule_XYZ.php PDBFile.php PDBParser.php Periodic_Table.php Residue_PDB.php /Science/Chemistry/test chi_crawler.php testChem.php testPDB.php xyz2cml.php
jmcastagnetto Tue Apr 10 11:33:21 2001 EDT Modified files: /pear/Science Chemistry.php /pear/Science/Chemistry Atom.php Atom_PDB.php Coordinates.php Element.php Macromolecule.php Macromolecule_PDB.php Molecule.php Molecule_XYZ.php PDBFile.php PDBParser.php Periodic_Table.php Residue_PDB.php /pear/Science/Chemistry/testchi_crawler.php testChem.php testPDB.php xyz2cml.php Log: Renamning of classes from Chem_* to Science_Chemistry_* Index: pear/Science/Chemistry.php diff -u pear/Science/Chemistry.php:1.1 pear/Science/Chemistry.php:1.2 --- pear/Science/Chemistry.php:1.1 Tue Apr 10 09:44:39 2001 +++ pear/Science/Chemistry.php Tue Apr 10 11:33:20 2001 @@ -16,7 +16,7 @@ // | Authors: Jesus M. Castagnetto [EMAIL PROTECTED]| // +--+ // -// $Id: Chemistry.php,v 1.1 2001/04/10 16:44:39 jmcastagnetto Exp $ +// $Id: Chemistry.php,v 1.2 2001/04/10 18:33:20 jmcastagnetto Exp $ // require_once "PEAR.php"; @@ -24,7 +24,7 @@ /** * Package version constant */ -define (CHEM_VERSION, 1.0); +define (SCIENCE_CHEMISTRY_VERSION, 1.0); require_once "Science/Chemistry/Element.php"; require_once "Science/Chemistry/Periodic_Table.php"; Index: pear/Science/Chemistry/Atom.php diff -u pear/Science/Chemistry/Atom.php:1.1 pear/Science/Chemistry/Atom.php:1.2 --- pear/Science/Chemistry/Atom.php:1.1 Tue Apr 10 09:44:39 2001 +++ pear/Science/Chemistry/Atom.php Tue Apr 10 11:33:20 2001 @@ -16,7 +16,7 @@ // | Authors: Jesus M. Castagnetto [EMAIL PROTECTED]| // +--+ // -// $Id: Atom.php,v 1.1 2001/04/10 16:44:39 jmcastagnetto Exp $ +// $Id: Atom.php,v 1.2 2001/04/10 18:33:20 jmcastagnetto Exp $ // require_once "Science/Chemistry.php"; @@ -29,7 +29,7 @@ * @access public * @package Science_Chemistry */ -class Chem_Atom { +class Science_Chemistry_Atom { /** * Element symbol @@ -42,9 +42,9 @@ var $element=""; /** - * Chem_Coordinates object + * Science_Chemistry_Coordinates object * - * @var object Chem_Coordinates + * @var object Science_Chemistry_Coordinates * @access private * * @see getCoordinates(); @@ -58,17 +58,17 @@ * @param string $elementchemical symbol * @param optional array $coords array of coordinates (x, y, z) * @access public - * @return object Chem_Atom + * @return object Science_Chemistry_Atom * * @see setCoordinates() */ -function Chem_Atom($element, $coords="") { +function Science_Chemistry_Atom($element, $coords="") { if ($element ereg("[[:alpha:]]{1,2}", $element)) $this-element = $element; else return null; if (is_array($coords) count($coords) == 3) -if (!$this-xyz = new Chem_Coordinates($coords)) +if (!$this-xyz = new Science_Chemistry_Coordinates($coords)) return null; } @@ -80,7 +80,7 @@ * @access public */ function setCoordinates($coords) { -$this-xyz = new Chem_Coordinates($coords); +$this-xyz = new Science_Chemistry_Coordinates($coords); return (is_object($this-xyz) !empty($this-xyz)); } @@ -99,7 +99,7 @@ /** * Returns the coordinates object for the atom * - * @return object Chem_Coordinates + * @return object Science_Chemistry_Coordinates * @access public * * @see $xyz; @@ -112,34 +112,34 @@ * Calculates the cartesian distance from this atom * instance to another * - * @param object Chem_Atom $atom2 + * @param object Science_Chemistry_Atom $atom2 * @return float distance * @access public */ function distance($atom2) { -if (!empty($this-xyz) Chem_Coordinates::areCoordinates($this-xyz) - Chem_Atom::isAtom($atom2)) +if (!empty($this-xyz) +Science_Chemistry_Coordinates::areCoordinates($this-xyz) + Science_Chemistry_Atom::isAtom($atom2)) return $this-xyz-distance($atom2-xyz); else return -1.0; } /** - * Checks if the object is an instance of Chem_Atom + * Checks if the object is an instance of Science_Chemistry_Atom * - * @param object Chem_Atom $obj + * @param object Science_Chemistry_Atom $obj * @return boolean * @access public */ function isAtom($obj) { return (is_object($obj) - (strtolower(get_class($obj)) == strtolower("Chem_Atom") - || is_subclass_of($obj,
Re: [PHP] Limitation of redirecting using header()?
On Tue, 10 Apr 2001 14:18:54 -0400, Daniel ([EMAIL PROTECTED]) wrote: I am writting a session enabled webapp that has a typical login page. The page submits to itself and upon validation, I want to allow the user to continue on to the next page. From everything I have read so far, the only way to redirect programmatically is via header(). Unfortunately, what I'm seeing is that while the followup page is loaded, the location in the address bar (of IE 5.5) is not updated. Is this something specific to IE? I would like the address bar to have the correct address instead of the old page. Any suggestions? in my experience, using a full url: header("Location: http://www.mysite.com/mypage.html"); will do what you want while just using a path: header("Location: /mypage.html"); will not. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: pear /Science/Chemistry/doc Chem_Atom.html Chem_Atom_PDB.html Chem_Coordinates.html Chem_Element.html Chem_Macromolecule.html Chem_Macromolecule_PDB.html Chem_Molecule.html Chem_Molecule_XYZ.html Chem_PDBFile.html Chem_PDBParser.html Chem_Periodic_Table.html Chem_Residue_PDB.html class_Chem_Atom.xml class_Chem_Atom_PDB.xml class_Chem_Coordinates.xml class_Chem_Element.xml class_Chem_Macromolecule.xml class_Chem_Macromolecule_PDB.xml class_Chem_Molecule.xml class_Chem_Molecule_XYZ.xml class_Chem_PDBFile.xml class_Chem_PDBParser.xml class_Chem_Periodic_Table.xml class_Chem_Residue_PDB.xml classtree_Chem_Atom.xml classtree_Chem_Coordinates.xml classtree_Chem_Element.xml classtree_Chem_Macromolecule.xml classtree_Chem_Molecule.xml classtree_Chem_PDBFile.xml classtree_Chem_PDBParser.xml classtree_Chem_Periodic_Table.xml
jmcastagnetto Tue Apr 10 11:41:16 2001 EDT Removed files: /pear/Science/Chemistry/doc Chem_Atom.html Chem_Atom_PDB.html Chem_Coordinates.html Chem_Element.html Chem_Macromolecule.html Chem_Macromolecule_PDB.html Chem_Molecule.html Chem_Molecule_XYZ.html Chem_PDBFile.html Chem_PDBParser.html Chem_Periodic_Table.html Chem_Residue_PDB.html class_Chem_Atom.xml class_Chem_Atom_PDB.xml class_Chem_Coordinates.xml class_Chem_Element.xml class_Chem_Macromolecule.xml class_Chem_Macromolecule_PDB.xml class_Chem_Molecule.xml class_Chem_Molecule_XYZ.xml class_Chem_PDBFile.xml class_Chem_PDBParser.xml class_Chem_Periodic_Table.xml class_Chem_Residue_PDB.xml classtree_Chem_Atom.xml classtree_Chem_Coordinates.xml classtree_Chem_Element.xml classtree_Chem_Macromolecule.xml classtree_Chem_Molecule.xml classtree_Chem_PDBFile.xml classtree_Chem_PDBParser.xml classtree_Chem_Periodic_Table.xml Log: Removed old docs, will update for the renaming of class from Chem_* to Science_Chemistry_* -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Commercial sites that use PHP
here are a couple: http://www.marketplayer.com: they provide the real-time stock market simulations for sites like etrade.com and smartmoney.com that have these games. http://www.chek.com/ -Original Message- From: Phil Labonte [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 6:52 AM To: [EMAIL PROTECTED] Subject: [PHP] Commercial sites that use PHP Can anyone send me a list of large commercial web sites that use PHP? I am trying to move to PHP here at work but I need some examples to impress the boss!!! Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Commercial sites that use PHP
We use it at www.care2.com - serves up over a million hits a day without any problems. We've even hit the media metrix top 500 a few times. worldcom.com also uses PHP (notice the .phtml extension). --Joe On Tue, Apr 10, 2001 at 01:21:16PM -0700, Ralph Guzman wrote: here are a couple: http://www.marketplayer.com: they provide the real-time stock market simulations for sites like etrade.com and smartmoney.com that have these games. http://www.chek.com/ -Original Message- From: Phil Labonte [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 6:52 AM To: [EMAIL PROTECTED] Subject: [PHP] Commercial sites that use PHP Can anyone send me a list of large commercial web sites that use PHP? I am trying to move to PHP here at work but I need some examples to impress the boss!!! Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] /**\ *Joe Stump - PHP/SQL/HTML Developer * * http://www.care2.com - http://www.miester.org - http://gtk.php-coder.net * * "Better to double your money on mediocrity than lose it all on a dream." * \**/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] session variables
I am using a session to store a variable so when someone enters something into a field the persons username(which is stored in the session) is also entered into anoter field. The problem is that it only works the first time, so how can I make the session last for a required length of time, so that if the person leaves the site and returns without the login then the variable is still stored and entered into the field. Thanks in advance. George -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: pear /Science/Chemistry/doc packageelementlist_Chem.html
jmcastagnetto Tue Apr 10 11:41:50 2001 EDT Removed files: /pear/Science/Chemistry/doc packageelementlist_Chem.html Log: old doc -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: pear /Science/Chemistry/doc Science_Chemistry_Atom.html Science_Chemistry_Atom_PDB.html Science_Chemistry_Coordinates.html Science_Chemistry_Element.html Science_Chemistry_Macromolecule.html Science_Chemistry_Macromolecule_PDB.html Science_Chemistry_Molecule.html Science_Chemistry_Molecule_XYZ.html Science_Chemistry_PDBFile.html Science_Chemistry_PDBParser.html Science_Chemistry_Periodic_Table.html Science_Chemistry_Residue_PDB.html class_Science_Chemistry_Atom.xml class_Science_Chemistry_Atom_PDB.xml class_Science_Chemistry_Coordinates.xml class_Science_Chemistry_Element.xml class_Science_Chemistry_Macromolecule.xml class_Science_Chemistry_Macromolecule_PDB.xml class_Science_Chemistry_Molecule.xml class_Science_Chemistry_Molecule_XYZ.xml class_Science_Chemistry_PDBFile.xml class_Science_Chemistry_PDBParser.xml class_Science_Chemistry_Periodic_Table.xml class_Science_Chemistry_Residue_PDB.xml classtree_Science_Chemistry_Atom.xml classtree_Science_Chemistry_Coordinates.xml classtree_Science_Chemistry_Element.xml classtree_Science_Chemistry_Macromolecule.xml classtree_Science_Chemistry_Molecule.xml classtree_Science_Chemistry_PDBFile.xml classtree_Science_Chemistry_PDBParser.xml classtree_Science_Chemistry_Periodic_Table.xml elementlist.xml packageelementlist_Science_Chemistry.html packagelist.xml phpdoc_classtree.html phpdoc_elementlist.html phpdoc_packagelist.html phpdoc_warnings.html phpdoc_xmlfiles.html warnings_classanalyser.xml warnings_parser.xml
jmcastagnetto Tue Apr 10 11:44:25 2001 EDT Added files: /pear/Science/Chemistry/doc Science_Chemistry_Atom.html Science_Chemistry_Atom_PDB.html Science_Chemistry_Coordinates.html Science_Chemistry_Element.html Science_Chemistry_Macromolecule.html Science_Chemistry_Macromolecule_PDB.html Science_Chemistry_Molecule.html Science_Chemistry_Molecule_XYZ.html Science_Chemistry_PDBFile.html Science_Chemistry_PDBParser.html Science_Chemistry_Periodic_Table.html Science_Chemistry_Residue_PDB.html class_Science_Chemistry_Atom.xml class_Science_Chemistry_Atom_PDB.xml class_Science_Chemistry_Coordinates.xml class_Science_Chemistry_Element.xml class_Science_Chemistry_Macromolecule.xml class_Science_Chemistry_Macromolecule_PDB.xml class_Science_Chemistry_Molecule.xml class_Science_Chemistry_Molecule_XYZ.xml class_Science_Chemistry_PDBFile.xml class_Science_Chemistry_PDBParser.xml class_Science_Chemistry_Periodic_Table.xml class_Science_Chemistry_Residue_PDB.xml classtree_Science_Chemistry_Atom.xml classtree_Science_Chemistry_Coordinates.xml classtree_Science_Chemistry_Element.xml classtree_Science_Chemistry_Macromolecule.xml classtree_Science_Chemistry_Molecule.xml classtree_Science_Chemistry_PDBFile.xml classtree_Science_Chemistry_PDBParser.xml classtree_Science_Chemistry_Periodic_Table.xml packageelementlist_Science_Chemistry.html Modified files: /pear/Science/Chemistry/doc elementlist.xml packagelist.xml phpdoc_classtree.html phpdoc_elementlist.html phpdoc_packagelist.html phpdoc_warnings.html phpdoc_xmlfiles.html warnings_classanalyser.xml warnings_parser.xml Log: New docs after renaming of classes from Chem_* to Science_Chemistry_* a good solution, until PHP gets some sort of namespace Index: pear/Science/Chemistry/doc/elementlist.xml diff -u pear/Science/Chemistry/doc/elementlist.xml:1.1 pear/Science/Chemistry/doc/elementlist.xml:1.2 --- pear/Science/Chemistry/doc/elementlist.xml:1.1 Tue Apr 10 09:44:39 2001 +++ pear/Science/Chemistry/doc/elementlist.xml Tue Apr 10 11:44:24 2001 @@ -1 +1 @@ -?xml version="1.0"?phpdocindexchapter char="C"element type="class" source="" sourcetype="class" name="Chem_Atom_PDB"Represents a PDB atom record/elementelement type="functions" source="Chem_Atom_PDB" sourcetype="class" name="Chem_Atom_PDB"/element type="class" source="" sourcetype="class" name="Chem_Atom"Base class representing an Atom/elementelement type="functions" source="Chem_Atom" sourcetype="class" name="Chem_Atom"Constructor for the class, requires the element symbol/elementelement type="class" source="" sourcetype="class" name="Chem_Coordinates"Utility class for defining 3D coordinates and/elementelement type="functions" source="Chem_Coordinates" sourcetype="class" name="Chem_Coordinates"Constructor for the class, returns null if parameter is/elementelement type="class" source="" sourcetype="class" name="Chem_Element"Utility class that defines a chemical element object/elementelement type="functions" source="Chem_Element" sourcetype="class" name="Chem_Element"Constructor for the class/elementelement type="class" source="" sourcetype="class" name="Chem_Macromolecule_PDB"Represents a PDB macromolecule, composed of several/elementelement type="functions" source="Chem_Macromolecule_PDB" sourcetype="class" name="Chem_Macromolecule_PDB"Constructor for the class/elementelement type="class" source="" sourcetype="class" name="Chem_Macromolecule"Represents a macromolecule, composed of several/elementelement type="functions" source="Chem_Macromolecule" sourcetype="class" name="Chem_Macromolecule"Constructor for the class, requires a macromolecule name/elementelement
[PHP-CVS] cvs: php4 /ext/fbsql php_fbsql.c
fmk Tue Apr 10 11:44:51 2001 EDT Modified files: /php4/ext/fbsql php_fbsql.c Log: Fixing database password to actually work Index: php4/ext/fbsql/php_fbsql.c diff -u php4/ext/fbsql/php_fbsql.c:1.9 php4/ext/fbsql/php_fbsql.c:1.10 --- php4/ext/fbsql/php_fbsql.c:1.9 Wed Apr 4 13:10:14 2001 +++ php4/ext/fbsql/php_fbsql.c Tue Apr 10 11:44:51 2001 @@ -16,7 +16,7 @@ +--+ */ -/* $Id: php_fbsql.c,v 1.9 2001/04/04 20:10:14 fmk Exp $ */ +/* $Id: php_fbsql.c,v 1.10 2001/04/10 18:44:51 fmk Exp $ */ /* TODO: * @@ -408,10 +408,6 @@ name[sizeof(name)-1] = 0; fbsql_globals-hostName = strdup(name); } -/* fbsql_globals-userName = strdup(fbsql_globals-userName); */ -/* fbsql_globals-userPassword = strdup(fbsql_globals-userPassword); */ -/* fbsql_globals-databaseName = strdup(fbsql_globals-databaseName); */ -/* fbsql_globals-databasePassword = strdup(fbsql_globals-databasePassword); */ fbsql_globals-persistantCount = 0; fbsql_globals-linkCount= 0; @@ -713,13 +709,9 @@ } /* }}} */ - -/* {{{ proto int fbsql_select_db(string database_name [, int link_identifier] - */ PHPFBDatabase* phpfbSelectDB ( INTERNAL_FUNCTION_PARAMETERS, char*databaseName, - char*databasePassword, PHPFBLink* link ) { @@ -750,7 +742,7 @@ else { list_entry le; - FBCDatabaseConnection* c = fbcdcConnectToDatabase(databaseName,link-hostName,databasePassword); + FBCDatabaseConnection* c = +fbcdcConnectToDatabase(databaseName,link-hostName,FB_SQL_G(databasePassword)); FBCMetaData* md; if (c == NULL) { @@ -800,7 +792,7 @@ result-index= zend_list_insert((PHPFBDatabase*)(le.ptr), le_dba); result-link = phpfbRetainLink(link); result-databaseName = strdup(databaseName); - result-databasePassword = strdup(databasePassword); + result-databasePassword = strdup(FB_SQL_G(databasePassword)); result-connection = c; result-errorNo = 0; result-errorText= NULL; @@ -1010,7 +1002,7 @@ if (argc = 1) { convert_to_string_ex(argv[0]); - free(FB_SQL_G(hostName)); + free(FB_SQL_G(databasePassword)); FB_SQL_G(databasePassword) = strdup((*argv[0])-value.str.val); } } @@ -1098,7 +1090,7 @@ if (phpLink == NULL) RETURN_FALSE; /* printf("Select db at link %s@%s\n",phpLink-hostName,phpLink-userName); */ - database = phpfbSelectDB(INTERNAL_FUNCTION_PARAM_PASSTHRU,name,"",phpLink); + database = phpfbSelectDB(INTERNAL_FUNCTION_PARAM_PASSTHRU,name,phpLink); if (database == NULL) RETURN_FALSE; phpLink-currentDatabase = database; @@ -1147,7 +1139,7 @@ link = (*argv[3])-value.lval; } if ((phpLink = phpfbGetLink(link))==NULL) RETURN_FALSE; - if ((phpDatabase = phpfbSelectDB(INTERNAL_FUNCTION_PARAM_PASSTHRU,databaseName,"",phpLink)) == NULL) RETURN_FALSE; + if ((phpDatabase = +phpfbSelectDB(INTERNAL_FUNCTION_PARAM_PASSTHRU,databaseName,phpLink)) == NULL) +RETURN_FALSE; { char buffer[1024]; sprintf(buffer,"SET AUTHORIZATION %s;",userName); @@ -1348,7 +1340,7 @@ if (phpLink == NULL) RETURN_FALSE; } - phpDatabase = phpfbSelectDB(INTERNAL_FUNCTION_PARAM_PASSTHRU, databaseName,"",phpLink); + phpDatabase = phpfbSelectDB(INTERNAL_FUNCTION_PARAM_PASSTHRU, +databaseName,phpLink); if (phpDatabase == NULL) RETURN_FALSE; /* printf("Stop db %x\n",phpDatabase-connection); */ @@ -1698,7 +1690,7 @@ } if (phpLink == NULL) RETURN_FALSE; /* printf("Query db at link %s@%s\n",phpLink-hostName,phpLink-userName); */ - phpDatabase = phpfbSelectDB(INTERNAL_FUNCTION_PARAM_PASSTHRU, databaseName,"",phpLink); + phpDatabase = phpfbSelectDB(INTERNAL_FUNCTION_PARAM_PASSTHRU, +databaseName,phpLink); if (phpDatabase == NULL) RETURN_FALSE; phpResult = phpfbQuery(INTERNAL_FUNCTION_PARAM_PASSTHRU,sql,phpDatabase); @@ -1818,11 +1810,11 @@ if (databaseName == NULL) { - phpLink-currentDatabase = phpfbSelectDB(INTERNAL_FUNCTION_PARAM_PASSTHRU, FB_SQL_G(databaseName),"",phpLink); + phpLink-currentDatabase = +phpfbSelectDB(INTERNAL_FUNCTION_PARAM_PASSTHRU, FB_SQL_G(databaseName),phpLink); } else { - phpLink-currentDatabase = phpfbSelectDB(INTERNAL_FUNCTION_PARAM_PASSTHRU, databaseName,"",phpLink); +
Re: [PHP] session variables
I am using a session to store a variable so when someone enters something into a field the persons username(which is stored in the session) is also entered into anoter field. The problem is that it only works the first time, so how can I make the session last for a required length of time, so that if the person leaves the site and returns without the login then the variable is still stored and entered into the field. that's not a session-issue! use COOKIES witty -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Commercial sites that use PHP
www.texasmonthly.com is the site I manage.. converted to php over the last year -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] assignment operator works for comparison??
This confused me for awhile, because the single equal sign seemed to work for comparison, but created inexplicable errors in my programs. It seems strange to me that a successful variable value assignment does not return true. example: ? $shiny = 1; if($shiny = 0){ echo("This wont print"); } echo( $shiny ); //this will return 0 ? --Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] assignment operator works for comparison??
if($shiny = 0){ This does not compare anyting, it assigns 0 to $shiny echo( $shiny ) // this will return 0 That's normal, you just assign 0 to it ;) = assignment operator == comparison operator py At 01:53 PM 4/10/01 -0700, you wrote: This confused me for awhile, because the single equal sign seemed to work for comparison, but created inexplicable errors in my programs. It seems strange to me that a successful variable value assignment does not return true. example: ? $shiny = 1; if($shiny = 0){ echo("This wont print"); } echo( $shiny ); //this will return 0 ? --Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] + == + Pierre-Yves Lem@ire + E-MedHosting.com + (514) 729-8100 + [EMAIL PROTECTED] + == -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Limitation of redirecting using header()?
I might have misread this comment, but I found the opposite. In one instance, I had: header("Location: $path/newpage.php"); and in another instance: header("Location: newpage.php"); The latter (without the path) did update the address bar properly. Of course, there might have been a problem with the way I was parsing the $path too.. :/ One other thing for posterity's sake: I had a difficult time discovering why one of the properties in an object I was storing via a session was being clobbered. I discovered that it was because I was assuming that nothing after the header() call mattered. What I didn't realize was that even though the header was set up to redirect to a new page, the rest of the code in the page was still executing! I put an exit() statement after the header() call to prevent this. Daniel "Mark Maggelet" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Tue, 10 Apr 2001 14:18:54 -0400, Daniel ([EMAIL PROTECTED]) wrote: I am writting a session enabled webapp that has a typical login page. The page submits to itself and upon validation, I want to allow the user to continue on to the next page. From everything I have read so far, the only way to redirect programmatically is via header(). Unfortunately, what I'm seeing is that while the followup page is loaded, the location in the address bar (of IE 5.5) is not updated. Is this something specific to IE? I would like the address bar to have the correct address instead of the old page. Any suggestions? in my experience, using a full url: header("Location: http://www.mysite.com/mypage.html"); will do what you want while just using a path: header("Location: /mypage.html"); will not. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] cookies and pages and sessions ( oh my! )
OK, a user visits my site and progresses through the following 3 pages, none which have forms on them, using sessions. PageA (http://URL-XYZ/) SessionID=ID123 - Cookie PageID=PageA- Cookie PageB (http://URL-XYZ/) SessionID=ID123 - Cookie PageID=PageB- Cookie PageC (http://URL-XYZ/) SessionID=ID123 - Cookie PageID=PageC- Cookie If the user now uses the right click on the back button, skips from 'PageC' to back to 'PageA', what does the cookie contain? I'm hoping that it contains: SessionID=ID123 - Cookie PageID=PageA- Cookie because there's a separate cookie in memory for each instance of history on the browser, and not, SessionID=ID123 - Cookie PageID=PageC- Cookie so that when the user now connects to 'PageB' again, the script knows that the user is coming from 'PageA', not assuming 'PageC'. Any help on this use of cookies would be much appreciated. It's obviously much easier with a hidden variable labeled with the page name. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] dynamic checkboxes
What you need to do is to have a function in the form processing page that iterates through $HTTP_POST_VARS and saves the name and value of each item in the form. You will want to exclude your submit button and if there are other form items you don't want to save, you might want to name them with a unique name (such as prepending "nosave") so you can exclude them as well. The function I wrote to do this is as follows: function SetAllAnswers() { global $HTTP_POST_VARS; foreach($HTTP_POST_VARS as $qID=$value) { if ($qID != 'submit' !stristr($qID,'nosave')) $this-SetAnswer($qID, $value); } } ""Nando2"" [EMAIL PROTECTED] wrote in message 021101c0c1f1$fb3e0a00$0ab4c5c8@Nando4">news:021101c0c1f1$fb3e0a00$0ab4c5c8@Nando4... Hello All, I'm trying to build a way to transfer my orders to a HTML page instead of using GUI that I've designed. In order to do that I need to display all the orders of the day and have checkboxes on each so that the user can select only the orders that we will process. The number of checkboxes on this form will depend on the number of orders of that day. So the form and the number of its variables will be dynamic as well. Each checkbox has to have the name property that can be matched to the customercode+ordernumber. After the form is submited I need to scan all the variables that were checked so that it can be included on the next query. Has anyone tried that or did that before? Is there any URL or PHP code that can be used to learn that? Thank you very much, Carlos Fernando. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] assignment operator works for comparison??
if($shiny = 0){ This does not compare anyting, it assigns 0 to $shiny yes i know, but shouldnt this operation return true? echo( $shiny ) // this will return 0 That's normal, you just assign 0 to it ;) = assignment operator == comparison operator py At 01:53 PM 4/10/01 -0700, you wrote: This confused me for awhile, because the single equal sign seemed to work for comparison, but created inexplicable errors in my programs. It seems strange to me that a successful variable value assignment does not return true. example: ? $shiny = 1; if($shiny = 0){ echo("This wont print"); } echo( $shiny ); //this will return 0 ? --Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] + == + Pierre-Yves Lem@ire + E-MedHosting.com + (514) 729-8100 + [EMAIL PROTECTED] + == -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Forcing a dynamic created text file to be saved
Hello all! I have a PHP4 script that produces a text file and I would like that when the user access this script the text content of it was forced to be saved meaning that when the user selects it he/she will have the save dialog form to save the text file with the filename specified in the header function. So far I have managed to create the text file dynamicaly but still I have to click the browser's save button to save the file with the determined filename. I wanted it to be forced. Does anyone know how to do it ? Here's the code : ?php // Carlos Fernando Scheidecker Antunes : Test saving text files with PHP // this sets the content type as being plain text header("Content-Type : text/plain; charset=\"iso-8859-1\""); // this sets the file name header("Content-Disposition: filename=\"test.txt\""); // creates the dynamic content of the text file here print("TextFile test\r\n\"); for ($i=1; $i 100; $i++) { print("This is line number ".$i."\r\n"); } ? Thanks, Carlos Fernando Scheidecker Antunes
Re: [PHP] Commercial sites that use PHP
Be careful with the .phtml assumption - there are mod_perl sites that use it as well. There was some golf site I was looking at last year that was .phtml, but when I asked one of their employees about it he said (and the server headers confirmed) that it was mod_perl. :( Joe Stump wrote: We use it at www.care2.com - serves up over a million hits a day without any problems. We've even hit the media metrix top 500 a few times. worldcom.com also uses PHP (notice the .phtml extension). --Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] assignment operator works for comparison??
It looks to me like the value of an assignment is the value assigned, as in Perl. But I don't know for sure, haven't come across this in the manual. Kirk -Original Message- From: Dan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 3:29 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] assignment operator works for comparison?? if($shiny = 0){ This does not compare anyting, it assigns 0 to $shiny yes i know, but shouldnt this operation return true? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Commercial sites that use PHP
A few methods to find such info : Netcraft : http://uptime.netcraft.com/up/graph/?host=www.php.net Tells us : The site www.php.net is running : Apache/1.3.12 (Unix) DAV/0.9.18-dev PHP/4.0.5-dev on Linux. Through shell the following works : foo$ telnet www.php.net 80 (press return) HEAD / HTTP/1.0 (press return twice) Tells us : Trying 208.247.106.187... Connected to www.php.net. Escape character is '^]'. HEAD / HTTP/1.0 HTTP/1.1 200 OK Date: Tue, 10 Apr 2001 21:06:29 GMT Server: Apache/1.3.12 (Unix) DAV/0.9.18-dev PHP/4.0.5-dev X-Powered-By: PHP/4.0.5-dev Last-Modified: Mon, 02 Apr 2001 19:45:01 GMT Connection: close Content-Type: text/html Connection closed by foreign host. And have a look at the fsockopen() examples in manual : fsockopen(): http://www.php.net/manual/en/function.fsockopen.php Regards, Philip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] assignment operator works for comparison??
You are right, thank you. It looks to me like the value of an assignment is the value assigned, as in Perl. But I don't know for sure, haven't come across this in the manual. Kirk if($shiny = 0){ This does not compare anyting, it assigns 0 to $shiny yes i know, but shouldnt this operation return true? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___
On 10 Apr 2001 12:08:01 -0700, [EMAIL PROTECTED] (Kurth Bemis) wrote: At 06:15 PM 4/10/2001, Jason Lotito wrote: no no - its an OC3+ web server.must be an overseas brand..or something..i've never heard of it.maybe its an SGI or something they have wacky names for their stuff :-) It is at least OC3. I forgot what comes next after OC3. no bandwidth sucking sites? on an OC3...we're talking gigabits per sec here. You would max out the 100Mb/s network card first. no pron? damn! that puts me out! I am a co-administrator. I don't have a problem with porn sites, but my partner would object. But if you're really interested and you pay us lots of money we can take care of you. what about security? are they on top of the latest versions and patches.i mean after all...it is REDHACK.. I'm no security expert, but I can apply the most important patches. Yesterday I added mod_ssl to apache. spammers are funny people :-) ~kurth I'm not your average spammer. I am a computer scientist dedicated to the struggle against the fascist MS hegemony and all other fascist corporations who try to control computer technology. Support my business and you'll be doing the world a favor. ;^) -- Jeff Greer - B.S. computer science - Univ. MO - Rolla - I do web hosting and development. Details at http://www.singlesconnection.org/services/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___
At 05:55 PM 4/10/2001, Jeffrey Greer wrote: On 10 Apr 2001 12:08:01 -0700, [EMAIL PROTECTED] (Kurth Bemis) wrote: At 06:15 PM 4/10/2001, Jason Lotito wrote: no no - its an OC3+ web server.must be an overseas brand..or something..i've never heard of it.maybe its an SGI or something they have wacky names for their stuff :-) It is at least OC3. I forgot what comes next after OC3. OC12 - whose your upstream provider? no bandwidth sucking sites? on an OC3...we're talking gigabits per sec here. You would max out the 100Mb/s network card first. not a fiber gigabit nic card..their had for about 150 USD.plus 99.9% of all web trafic is burst...not continues transferand if your maxing out a 100Mb connection then you aren't running a p3..your running a supersparc dual 400 or something :-) can i get one of those for $8.00 a month? no pron? damn! that puts me out! I am a co-administrator. I don't have a problem with porn sites, but my partner would object. But if you're really interested and you pay us lots of money we can take care of you. well...you can pay my sister no money and she'll take care of you :-) J/K (she's a bit slutty around the edges) what about security? are they on top of the latest versions and patches.i mean after all...it is REDHACK.. I'm no security expert, but I can apply the most important patches. Yesterday I added mod_ssl to apache. thats not security - thats a requirement. Patched cron latley? sendmailyou know about 5 hours have gone by since we started this thread - i bet there's a security update available. :-) spammers are funny people :-) ~kurth I'm not your average spammer. I am a computer scientist dedicated to the struggle against the fascist MS hegemony and all other fascist corporations who try to control computer technology. Support my business and you'll be doing the world a favor. ;^) right on brutha! -- Jeff Greer - B.S. computer science - Univ. MO - Rolla - I do web hosting and development. Details at http://www.singlesconnection.org/services/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] System V Semaphores
Hi, I've been trying to use SystemV Semaphores as a kind of locking system in a webpage, but after a few hours I get this message: Warning: semget() failed for key 0x0: No space left on device in /1/home//admin/htdocs/prop/lock.php on line 8 Warning: 0 is not a SysV semaphore index in /1/home//admin/htdocs/prop/lock.php on line 19 Couldn't grab lock! It isn't disk space, and there's plenty of free memory. So how do I fix it and stop it doing it in the future? Apart from this it seems to work fine. I've attached some sample code which is pretty much exactly what I'm doing. Cheers ? class Lock { var $lock = 1; var $id; function Lock() { $this-id = sem_get($lock); } function unLock() { sem_release($this-id); return 0; } function checkLock() { if(!sem_acquire($this-id)) { echo "Couldn't grab lock!"; return -1; } return 0; } } ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Forcing a dynamic created text file to be saved
You are not going to be able to use PHP to tell the client browser to do anything. you are going to have to embed either a java.applet, or javascript to do it. I dont know a whole lot about either, so I don't know if they are even a possibility. On 4/10/01 2:29 PM, "Nando2" [EMAIL PROTECTED] wrote: Hello all! I have a PHP4 script that produces a text file and I would like that when the user access this script the text content of it was forced to be saved meaning that when the user selects it he/she will have the save dialog form to save the text file with the filename specified in the header function. So far I have managed to create the text file dynamicaly but still I have to click the browser's save button to save the file with the determined filename. I wanted it to be forced. Does anyone know how to do it ? Here's the code : ?php // Carlos Fernando Scheidecker Antunes : Test saving text files with PHP // this sets the content type as being plain text header("Content-Type : text/plain; charset=\"iso-8859-1\""); // this sets the file name header("Content-Disposition: filename=\"test.txt\""); // creates the dynamic content of the text file here print("TextFile test\r\n\"); for ($i=1; $i 100; $i++) { print("This is line number ".$i."\r\n"); } ? Thanks, Carlos Fernando Scheidecker Antunes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: php4(PHP_4_0_5) /ext/sockets sockets.c
jason Tue Apr 10 15:01:58 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4/ext/sockets sockets.c Log: MFH, I have tested this thoroughly. Index: php4/ext/sockets/sockets.c diff -u php4/ext/sockets/sockets.c:1.32.2.1 php4/ext/sockets/sockets.c:1.32.2.2 --- php4/ext/sockets/sockets.c:1.32.2.1 Thu Mar 22 05:20:35 2001 +++ php4/ext/sockets/sockets.c Tue Apr 10 15:01:57 2001 @@ -17,7 +17,7 @@ +--+ */ -/* $Id: sockets.c,v 1.32.2.1 2001/03/22 13:20:35 sniper Exp $ */ +/* $Id: sockets.c,v 1.32.2.2 2001/04/10 22:01:57 jason Exp $ */ #include "php.h" @@ -34,6 +34,10 @@ #define _XOPEN_SOURCE_EXTENDED #define _XPG4_2 #define __EXTENSIONS__ + +#ifndef __PRAGMA_REDEFINE_EXTNAME +#define __PRAGMA_REDEFINE_EXTNAME +#endif #include "ext/standard/info.h" #include "php_sockets.h" -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___
On Tue, 10 Apr 2001, Kurth Bemis wrote: no pron? damn! that puts me out! isn't a pron a fish? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___
On Tue, 10 Apr 2001, Jeffrey Greer wrote: what about security? are they on top of the latest versions and patches.i mean after all...it is REDHACK.. I'm no security expert, but I can apply the most important patches. Yesterday I added mod_ssl to apache. Okay, can you explain how this improve the security of your RedHat server? spammers are funny people :-) ~kurth I'm not your average spammer. I am a computer scientist dedicated to the struggle against the fascist MS hegemony and all other fascist corporations who try to control computer technology. Support my business and you'll be doing the world a favor. ;^) ... and help advocate mail list spam while you are at it ... Woo Hoo ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] upload problem (uid)
Hi, if i upload via http the tempfile is written with uid 0 (root). After that i cant do anything with the file because the php user is not allowed to. Why is my uploaded file owned by root, and how do i solve that? PS. phpinfo shows that the apache user is nobody thx, b0ld _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] upload problem (uid)
Are you sure it is uid 0? Unless your Apache is running as root it should be getting uploaded as the web server uid id. Use the move_uploaded_file() function to move the file into place. -Rasmus On Wed, 11 Apr 2001, b0ld b0lb wrote: Hi, if i upload via http the tempfile is written with uid 0 (root). After that i cant do anything with the file because the php user is not allowed to. Why is my uploaded file owned by root, and how do i solve that? PS. phpinfo shows that the apache user is nobody thx, b0ld _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] No parent in this context?
Calling the method parent::insert() from a class the ancestor of which truly has a method insert() itself, I get the error "Fatal error: No parent class available in this context in bla.php on line ...". I know this isn't very much information, but the whole project is big and would take time to be explained. So my question is: In what particular "context" do errors like this occur? I KNOW that my respective class HAS a parent, it's declared like "class blabla extends bla". and bla HAS the method I call. What's wrong? -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] COM-Functions
Hello list! Does anybody know some sources to read about the COM-Functions in PHP? We wan't to develop some tools to generate INCOMES out of a web application? Only found some lines on phpbuilder, but that's not really enough to get started! Thanx -- Jochen Kaechelin - Ihr WEBberater Stuttgarter Str.3, D-73033 Goeppingen Tel. 07161-92 95 94, Fax 07161-92 95 98 http://www.wa-p.de, mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] register_shutdown_function - uses for
For another example use of shutdown function. Take a look at how PEAR destructor is implemented. It's using shutdown function. Regards, -- Yasuo Ohgaki ""Greig, Euan"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I was hoping that I could use this function to enable me to finish scripts tidily when they time out or are aborted by the user. eg display the message "script timed out". However this will not work as no output is allowed in the shutdown function. I can see other ways to do what I want (but suggestions would always be welcome) but the real point of this email is this: what sort of thing would you use register_shutdown_function to achieve? Euan Greig Technical Consultant BRANN DATA [EMAIL PROTECTED] 01285 645997 ** Any opinions expressed in this email are those of the individual and not necessarily the Company. This email and any files transmitted with it, including replies and forwarded copies (which may contain alterations) subsequently transmitted from the Company, are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this email in error and that any use is strictly prohibited. ** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
php-general Digest 11 Apr 2001 01:25:18 -0000 Issue 620
php-general Digest 11 Apr 2001 01:25:18 - Issue 620 Topics (messages 48020 through 48103): Re: MySql: Default values 48020 by: Michael Hall 48026 by: elias 48054 by: Andrew Rush Re: Inserting time + date entry into mySQL DB 48021 by: Michael Hall 48029 by: elias Re: L? Roman function 48022 by: Knut H. Hassel Nielsen Re: list files in a diretory 48023 by: Tim Ward Re: Back Button Dilemma's 48024 by: Daniel B I Commercial sites that use PHP 48025 by: Phil Labonte 48027 by: Dominick Vansevenant 48030 by: Clayton Dukes 48032 by: Keyur Kalaria 48034 by: Andy Woolley 48035 by: Michael Hall 48039 by: Philip Olson 48040 by: Michael Kimsal 48044 by: Chris Adams 48045 by: Phillip Bow 48046 by: Michael Stearne 48048 by: Brent Langston 48051 by: Michael Kimsal 48056 by: Benjamin Munoz 48057 by: Pierre-Yves Lemaire 48064 by: Alexis Antonakis 48072 by: Ralph Guzman 48073 by: Joe Stump 48076 by: Charlie Llewellin 48085 by: Michael Kimsal 48087 by: Philip Olson @Listing - causing pasre error 48028 by: Wilbert Enserink 48031 by: Rasmus Lerdorf Review 48033 by: Keyur Kalaria user login 48036 by: george 48037 by: Keyur Kalaria Fwd: 48038 by: Kurth Bemis Oracle Connection 48041 by: Dunaway, Brian 48042 by: Brian S. Dunworth Netscape security error 48043 by: Claudia ezpublish installation 48047 by: Peter Van Dijck Re: can't restart apache, help needed 48049 by: Lindsay Adams mysql .. quick question 48050 by: PeterOblivion.aol.com __ $8/mo php hosting on 24/7, OC3+ web server ___ 48052 by: Jeffrey Greer 48053 by: Jon Haworth 48058 by: Chris Anderson 48061 by: Krznaric Michael 48065 by: Jason Lotito 48066 by: Kurth Bemis 48089 by: Jeffrey Greer 48090 by: Kurth Bemis 48092 by: Phillip Bow 48096 by: The Hermit Hacker 48097 by: The Hermit Hacker 48102 by: Jeffrey Greer Developing new PHP modules 48055 by: Carlos Serrão Limitation of redirecting using header()? 48059 by: Daniel 48062 by: Johnson, Kirk 48071 by: Mark Maggelet 48081 by: Daniel 48095 by: Mark Maggelet url question 48060 by: Ide, Jim created a mailing list for ezpublish 48063 by: Peter Van Dijck Re: register_shutdown_function - uses for 48067 by: Steve Werby 48070 by: CC Zona 48103 by: Yasuo Ohgaki dynamic checkboxes 48068 by: Nando2 48079 by: Daniel Saving a page/text file from a query 48069 by: Nando2 session variables 48074 by: george 48075 by: mailing_list.gmx.at 48078 by: george assignment operator works for comparison?? 48077 by: Dan 48080 by: Pierre-Yves Lemaire 48083 by: Dan 48086 by: Johnson, Kirk 48088 by: Dan cookies and pages and sessions ( oh my! ) 48082 by: Dennis Gearon Forcing a dynamic created text file to be saved 48084 by: Nando2 48093 by: Nando2 48094 by: Lindsay Adams System V Semaphores 48091 by: Philip Murray upload problem (uid) 48098 by: b0ld b0lb 48099 by: Rasmus Lerdorf "No parent in this context"? 48100 by: venome.gmx.net COM-Functions 48101 by: Jochen Kaechelin Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] -- Mumkin ya elias, ana ma afhamsh su'aalak mnih! Not exactly sure what you mean elias. TIMESTAMP in MySQL is a datatype more than a function, but I'm not absolutely sure about that. Mick On Tue, 10 Apr 2001, elias wrote: Can a default field value in MySql be a function? Like default value of a date field should be the built-in function NOW()? anything like what i'm asking for? -elias http://www.kameelah.org/eassoft -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] hehe ;) where you from? :) "Michael Hall" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Mumkin ya elias, ana ma afhamsh su'aalak mnih! Not exactly sure what you mean elias. TIMESTAMP in MySQL is a datatype more than a function, but I'm not absolutely sure about that. Mick On Tue, 10 Apr 2001, elias wrote: Can a default field value in MySql be a function? Like default value of a date field should be the built-in
Re: [PHP] huge PHP file, hardcore processing
At 10:20 11/4/2001 +0900, you wrote: I think DLL for MS SQL Server will work with Apache for Windows/PHP for Windows. There are many basic functions are not supported under PHP for Windows, but it work fine for me other than those missing functions. If your server may have multiple IP addressees, it's easy to co-exist with IIS. How about give it a try? I guess I don't have multiple IP adresses on my server... can't I just install Apache and have it listen on port 8080 instead? Will it co-exist nicely with IIS? . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Developing new PHP modules
If you take a look at PHP source code, you'll find some description for making new modules. I think you need to read source to understand how to code a new module. Not much descriptions, but PHP manual has section for it, too. I use emacs to browse C/C++ sources, but you can use lxr.php.net or cvs.php.net to browse PHP source. Regards, -- Yasuo Ohgaki "Carlos Serro" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, I don't know if I'm in the correct mailling list or not, but could someone provide me with some information about the developement of new PHP modules (documentation, source-code, ...) ? Thanks in advance. Best regards, _ Carlos Serro [EMAIL PROTECTED] http://www.carlos-serrao.com DCTI - IS/IT DepartmentIS/IT Research and Development ADETTI/ISCTE - Av.Forcas Armadas 1600-082 LISBOA Portugal Tel.: +351217903064/+351217903901 Fax: +351217935300 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] assignment operator works for comparison??
if($shiny = 0) This line is the same as if ((shiny = 0) == TRUE) It's common error with PHP and C. You could make use of this like if ($fp = fopen($filename,'r')) since this is the same as if (($fp = fopen($filename,'r')) == TRUE) code after this line is executed when fopen() success to open file. Regards, -- Yasuo Ohgaki ""Dan"" [EMAIL PROTECTED] wrote in message 9avrti$olc$[EMAIL PROTECTED]">news:9avrti$olc$[EMAIL PROTECTED]... This confused me for awhile, because the single equal sign seemed to work for comparison, but created inexplicable errors in my programs. It seems strange to me that a successful variable value assignment does not return true. example: ? $shiny = 1; if($shiny = 0){ echo("This wont print"); } echo( $shiny ); //this will return 0 ? --Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Forcing a dynamic created text file to be saved
"Lindsay Adams" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... You are not going to be able to use PHP to tell the client browser to do anything. you are going to have to embed either a java.applet, or javascript to do it. I don¹t know a whole lot about either, so I don't know if they are even a possibility. On 4/10/01 2:29 PM, "Nando2" [EMAIL PROTECTED] wrote: Hello all! I have a PHP4 script that produces a text file and I would like that when the user access this script the text content of it was forced to be saved meaning that when the user selects it he/she will have the save dialog form to save the text file with the filename specified in the header function. So far I have managed to create the text file dynamicaly but still I have to click the browser's save button to save the file with the determined filename. I wanted it to be forced. Does anyone know how to do it ? Here's the code : ?php // Carlos Fernando Scheidecker Antunes : Test saving text files with PHP // this sets the content type as being plain text header("Content-Type : text/plain; charset=\"iso-8859-1\""); // this sets the file name header("Content-Disposition: filename=\"test.txt\""); // creates the dynamic content of the text file here print("TextFile test\r\n\"); for ($i=1; $i 100; $i++) { print("This is line number ".$i."\r\n"); } ? try: header("Content-Type: unknown/unknown"); browswer won't know what type of file it is, so will prompt to save.. should get the file-name right from the other. bkx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___
Jeffrey Greer wrote: I'm not trying to provide the level of service of a large isp or even get 100 customers. I would just like to pay for my half of the web portal. I thought $8/mo for my service would be a good value for php programmers who do not need a high level of security. Would you say $8/mo is not a good value for the level of service I will provide? Web hosting is not my main business. I'm a software developer. Well, then what's that all about 'hosting your business' thing on your website? And I wonder how will you possibly garantee the uptime you talk about on the site? $8 is a cheap price only if you can actually provide certain level of service. Seung-woo Nam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] TTF Support
How do I find out if my installation supports this? I am on a virtual server, and I know my host has Apache installed with mod_php4 Is there something that I can check to see if the FreeType library is there when I only have a virtual server? And if it wasn't installed, is there any way that I can do this locally without having root access? Jennifer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Forcing a dynamic created text file to be saved
I stand happily corrected :) On 4/10/01 7:01 PM, "Stuart J. Browne" [EMAIL PROTECTED] wrote: "Lindsay Adams" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... You are not going to be able to use PHP to tell the client browser to do anything. you are going to have to embed either a java.applet, or javascript to do it. I don1t know a whole lot about either, so I don't know if they are even a possibility. On 4/10/01 2:29 PM, "Nando2" [EMAIL PROTECTED] wrote: Hello all! I have a PHP4 script that produces a text file and I would like that when the user access this script the text content of it was forced to be saved meaning that when the user selects it he/she will have the save dialog form to save the text file with the filename specified in the header function. So far I have managed to create the text file dynamicaly but still I have to click the browser's save button to save the file with the determined filename. I wanted it to be forced. Does anyone know how to do it ? Here's the code : ?php // Carlos Fernando Scheidecker Antunes : Test saving text files with PHP // this sets the content type as being plain text header("Content-Type : text/plain; charset=\"iso-8859-1\""); // this sets the file name header("Content-Disposition: filename=\"test.txt\""); // creates the dynamic content of the text file here print("TextFile test\r\n\"); for ($i=1; $i 100; $i++) { print("This is line number ".$i."\r\n"); } ? try: header("Content-Type: unknown/unknown"); browswer won't know what type of file it is, so will prompt to save.. should get the file-name right from the other. bkx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Need Feedback
Hi all, I have had this website that captures the list email messages and places them into a searchable db. I did this as a learning exercise and think it is pretty cool but am wondering if I should just shut em down. Take a look and if I get enough feedback, I will keep them running for at least a few more months. I have a PHP and a MYSQL list db, here are the URLs: http://www.summittech.com/mysqlmail.php3 http://www.summittech.com/phpgenmail.php3 They are free and I am not doing anything with the data. Let me know, David Fordham -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Need Feedback
Take a look and if I get enough feedback, I will keep them running for at least a few more months. I have a PHP and a MYSQL list db, here are the URLs: It looks great, and very handy (though, I thought this stuff was archived somewhere searchable already...?). The only suggestion I have is that you should obscure the email addresses somehow, perhaps like Freshmeat does by changing an address "[EMAIL PROTECTED]" to "whee-at-foo-dot-bar" to avoid spambots. Jason -- Jason Murray [EMAIL PROTECTED] Web Design Team, Melbourne IT Fetch the comfy chair! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Properly formatted ereg??
How would I write an ereg to use the value of $PHP_SELF and look for a distinct folder? For instance. say I have: ereg("^/anythinghere/coverage/anthythinghere.html?", $PHP_SELF || ||| So basically it is looking for the "/coverage/" folder, anything can come before it, and anything after it?? Thanks All!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Properly formatted ereg??
ereg("^/anythinghere/coverage/anthythinghere.html?", $PHP_SELF || ||| So basically it is looking for the "/coverage/" folder, anything can come before it, and anything after it?? if (strstr($PHP_SELF, "/coverage/")) { echo "Got it"; } else { die(); // ;) } Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Properly formatted ereg??
strstr($PHP_SELF,"/coverage/") Absolutely no reason to use a regular expression when all you are doing is picking a simple string out of another. -Rasmus On Tue, 10 Apr 2001, Black S. wrote: How would I write an ereg to use the value of $PHP_SELF and look for a distinct folder? For instance. say I have: ereg("^/anythinghere/coverage/anthythinghere.html?", $PHP_SELF || ||| So basically it is looking for the "/coverage/" folder, anything can come before it, and anything after it?? Thanks All!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] online detection
Does anyone know how to detect when a user connects to the Internet similar to ICQ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] compile problems
Hi , I'm having compile problems with php4.04pl1 and the latest development version (where can I get older?) here's what the end of make looks like: .libs/libphp4.a(xml.o): In function `xml_parser_dtor': /home/certscape/php4-200104102145/ext/xml/xml.c:304: undefined reference to `php_XML_ParserFree' .libs/libphp4.a(xml.o): In function `php_if_xml_parser_create': /home/certscape/php4-200104102145/ext/xml/xml.c:1091: undefined reference to `php_XML_ParserCreate' /home/certscape/php4-200104102145/ext/xml/xml.c:1095: undefined reference to `php_XML_SetUserData' .libs/libphp4.a(xml.o): In function `php_if_xml_set_element_handler': /home/certscape/php4-200104102145/ext/xml/xml.c:1214: undefined reference to `php_XML_SetElementHandler' .libs/libphp4.a(xml.o): In function `php_if_xml_set_character_data_handler': /home/certscape/php4-200104102145/ext/xml/xml.c:1233: undefined reference to `php_XML_SetCharacterDataHandler' .libs/libphp4.a(xml.o): In function `php_if_xml_set_processing_instruction_handler': /home/certscape/php4-200104102145/ext/xml/xml.c:1252: undefined reference to `php_XML_SetProcessingInstructionHandler' .libs/libphp4.a(xml.o): In function `php_if_xml_set_default_handler': /home/certscape/php4-200104102145/ext/xml/xml.c:1270: undefined reference to `php_XML_SetDefaultHandler' .libs/libphp4.a(xml.o): In function `php_if_xml_set_unparsed_entity_decl_handler': /home/certscape/php4-200104102145/ext/xml/xml.c:1289: undefined reference to `php_XML_SetUnparsedEntityDeclHandler' .libs/libphp4.a(xml.o): In function `php_if_xml_set_notation_decl_handler': /home/certscape/php4-200104102145/ext/xml/xml.c:1307: undefined reference to `php_XML_SetNotationDeclHandler' .libs/libphp4.a(xml.o): In function `php_if_xml_set_external_entity_ref_handler': /home/certscape/php4-200104102145/ext/xml/xml.c:1325: undefined reference to `php_XML_SetExternalEntityRefHandler' .libs/libphp4.a(xml.o): In function `php_if_xml_parse': /home/certscape/php4-200104102145/ext/xml/xml.c:1394: undefined reference to `php_XML_Parse' .libs/libphp4.a(xml.o): In function `php_if_xml_parse_into_struct': /home/certscape/php4-200104102145/ext/xml/xml.c:1428: undefined reference to `php_XML_SetDefaultHandler' /home/certscape/php4-200104102145/ext/xml/xml.c:1429: undefined reference to `php_XML_SetElementHandler' /home/certscape/php4-200104102145/ext/xml/xml.c:1430: undefined reference to `php_XML_SetCharacterDataHandler' /home/certscape/php4-200104102145/ext/xml/xml.c:1432: undefined reference to `php_XML_Parse' .libs/libphp4.a(xml.o): In function `php_if_xml_get_error_code': /home/certscape/php4-200104102145/ext/xml/xml.c:1450: undefined reference to `php_XML_GetErrorCode' .libs/libphp4.a(xml.o): In function `php_if_xml_error_string': /home/certscape/php4-200104102145/ext/xml/xml.c:1465: undefined reference to `php_XML_ErrorString' .libs/libphp4.a(xml.o): In function `php_if_xml_get_current_line_number': /home/certscape/php4-200104102145/ext/xml/xml.c:1484: undefined reference to `php_XML_GetCurrentLineNumber' .libs/libphp4.a(xml.o): In function `php_if_xml_get_current_column_number': /home/certscape/php4-200104102145/ext/xml/xml.c:1500: undefined reference to `php_XML_GetCurrentColumnNumber' .libs/libphp4.a(xml.o): In function `php_if_xml_get_current_byte_index': I don't even want any of this xml crap. any pointers appreciated. thanks, - Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] radio groups in loop form
hiya, I have a radio button in a loop with the rest of the form, how ever when i go to do the mutliple update it clears all but the updated radio buttons(rest of form data is fine just the update on radio buttons) could some one pls give me an idea why, when every thing else works propperly with the script heres the code (only concerning the radio buttons) ? if ($submit) { //echo "Values submitted via POST method:br"; reset ($HTTP_POST_VARS); while (list ($key, $val) = each ($HTTP_POST_VARS)) { //echo "$key = $valbr"; } reset($id); while (list ($key, $val) = each ($id)) { //echo "Key: $key = Value: $val;br"; rs="update... rs .= "quote='".$quote[$key]."',"; ... rs .= WHERE id='$id[$key]; $result = mysql_query($rs,$db); print mysql_error($db); } } ? rest of form input type="radio" name="avail[]" value="y" ? if ($avail == 'y') { echo 'CHECKED'; }? // repeated line with 'n' 'pending' instead of 'y' Peter Houchin [EMAIL PROTECTED] = _ __ /\ /_/_/_\/ |_/ \ /_/_/___ __ __ __ / \ \_/_/_\ /_/ /_/ /_/ /_/ \ _ / ___\_\_\/ /_/_/_/ /_//\/_/\_/ \/\_/ \_//_/_/ /_/_/_/ /_/ \/_/v /_/_/_/_/ /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ /_/_ _/_/ __ __ __ /_/ __ __ /_/_/_/_/ /_/_/_/ /_/ /_/ /_/ /_/\_\/_//_/_/_/ /_/ \_\ /_/ _/ /_//\/_/ /_/ /_/__\_\ /_/___ _\_\_\ /_/\_\/_/_/_/ /_/ \/_/ /_/ /_/\_\/_/_/_//_/_/_/ = Telephone : (03) 9329 1455 Facsimile : (03) 9329 6755 * We rent the dot in .COM! **
Re: [PHP] online detection
Does anyone know how to detect when a user connects to the Internet similar to ICQ? I think you mean messages on pages like "321 user online"! As HTTP is a stateless protocol, you can't really know this!!! It's only an estimation - and you can use sessions to realize this (ask how many sessions are active - and end a session after a short time like 5 minutes!) witty -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-CVS] cvs: php4 /ext/sockets sockets.c
/usr/src/web/php/php4/ext/standard/url_scanner_ex.re:19: php.h: Permission Do you have any idea which php.h file is being accessed? That line is simply an include, and this implies you don't have read access to php.h -Jason - Original Message - From: "Derick Rethans" [EMAIL PROTECTED] To: "Jason Greene" [EMAIL PROTECTED] Cc: "Jani Taskinen" [EMAIL PROTECTED]; "Sascha Schumann" [EMAIL PROTECTED]; "PHP Quality Assurance Team Mailing List" [EMAIL PROTECTED] Sent: Tuesday, April 10, 2001 12:40 PM Subject: Re: [PHP-CVS] cvs: php4 /ext/sockets sockets.c On Tue, 10 Apr 2001, Jason Greene wrote: Out of those platforms you listed, I have tested this on Linux. I will test FreeBSD today. However, I do not have an OpenBSD box, does anyone out there want to try and build the latest cvs with --enable-sockets on OpenBSD? The socket part builds fine, but I had a lot of other problems on it building PHP: gcc -I. -I/home/derick/php4/ext/standard -I/home/derick/php4/main -I/home/derick/php4 -I/home/derick/php4/Zend -I/home/derick/php4/ext/mysql/libmysql -I/home/derick/php4/ext/xml/expat/xmltok -I/home/derick/php4/ext/xml/expat/xmlparse -I/home/derick/php4/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c url_scanner_ex.c touch url_scanner_ex.lo /usr/src/web/php/php4/ext/standard/url_scanner_ex.re:19: php.h: Permission denied *** Error code 1 Stop in /home/derick/php4/ext/standard. *** Error code 1 Stop in /home/derick/php4/ext/standard (line 37 of /home/derick/php4/build/rules.mk). *** Error code 1 Thanks, -Jason - Original Message - From: "Jani Taskinen" [EMAIL PROTECTED] To: "Jason Greene" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, April 10, 2001 5:01 AM Subject: Re: [PHP-CVS] cvs: php4 /ext/sockets sockets.c Have you tested it on Linux, FreeBSD, OpenBSD... ? :) If you know for sure it will work on these, go ahead. --Jani On Mon, 9 Apr 2001, Jason Greene wrote: Everyone, Can I merge this into the current RC? This should not cause any problems. -Jason - Original Message - From: "Jason Greene" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 09, 2001 10:16 PM Subject: [PHP-CVS] cvs: php4 /ext/sockets sockets.c jason Mon Apr 9 20:16:06 2001 EDT Modified files: /php4/ext/sockets sockets.c Log: Fix for PR #9729, 9664, 9656, 8667. All compilers on Solaris should build this extension correctly now. It turns out the SUN CC, by default, enables a define that enables the use of #pragma redefine extname in sun header files. This is why cc would work, and gcc wouldn't. -Jason Index: php4/ext/sockets/sockets.c diff -u php4/ext/sockets/sockets.c:1.33 php4/ext/sockets/sockets.c:1.34 --- php4/ext/sockets/sockets.c:1.33 Thu Mar 22 05:16:58 2001 +++ php4/ext/sockets/sockets.c Mon Apr 9 20:16:05 2001 @@ -17,7 +17,7 @@ +--+ */ -/* $Id: sockets.c,v 1.33 2001/03/22 13:16:58 sniper Exp $ */ +/* $Id: sockets.c,v 1.34 2001/04/10 03:16:05 jason Exp $ */ #include "php.h" @@ -34,6 +34,10 @@ #define _XOPEN_SOURCE_EXTENDED #define _XPG4_2 #define __EXTENSIONS__ + +#ifndef __PRAGMA_REDEFINE_EXTNAME +#define __PRAGMA_REDEFINE_EXTNAME +#endif #include "ext/standard/info.h" #include "php_sockets.h" -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] Derick Rethans - PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED] SRM: Site Resource Manager - www.vl-srm.net - JDI Media Solutions - www.jdimedia.nl - [EMAIL PROTECTED] Boulevard Heuvelink 102 - 6828 KT Arnhem - The Netherlands - -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]