|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: php3 Digest 7 Feb 2000 18:00:02 -0000 Issue 1464
From: php3-digest-help
lists.php.netDate: Mon Feb 07 2000 - 12:00:02 CST
- Next message: php3-digest-help
lists.php.net: "php3 Digest 8 Feb 2000 06:00:01 -0000 Issue 1465"
- Previous message: php3-digest-help
lists.php.net: "php3 Digest 7 Feb 2000 06:00:01 -0000 Issue 1463"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
php3 Digest 7 Feb 2000 18:00:02 -0000 Issue 1464
Topics (messages 74778 through 74864):
Hacker Proof Password (FINAL Revision)
74778 by: "Michael Fountain" <mf
netdoor.com>
FW: [PHP3] Simple Include() problem
74779 by: "Taylor, Scott" <Scott.Taylor
msj.com.au>
include() function inside html
74780 by: Yusef Latief <yusef
sby.dnet.net.id>
74781 by: Philip Strnad <pdstrnad
syr.edu>
PHP4b3 & Apache 1.3.11 on Linux - getting download of .php!
74782 by: Nathan Benson <phuzz
phactor.org>
74834 by: Mark Nold <markn
alverstone.com.au>
74852 by: "David McMahon" <djm
mcmahons.com>
Installing PHP3 as DSO
74783 by: "Karl Chu" <karlchu
home.com>
Converting from PHP/Apache/Linux to ASP/IIS/Win2000
74784 by: Ron Chmara <ron
Opus1.COM>
74786 by: Ron Chmara <ron
Opus1.COM>
74844 by: rasmus
php.net
74847 by: charette
sneezy.org
74851 by: "Jason Brooke" <jason
qgl.org>
Make prob w. PHP3, Apache, Openlink, iODBC
74785 by: Jeff Sawyer <jsawyer
archer.com>
Need help with PHP3
74787 by: Chris Bunting <cbdesign
bellatlantic.net>
74793 by: Brent Sims <bs
webokay.com>
Mysql and PWS
74788 by: "rdesai
" <rdesai
bom5.vsnl.net.in>
JSP & PHP
74789 by: Grönvall Johan <johan.gronvall
btj.se>
74811 by: rubys
us.ibm.com
74843 by: Fernando Caamaño <fernando
conecta-t.com>
mysql connection problem
74790 by: Ivo Wentholt <ivo
lostboys.nl>
74808 by: Vlad Kopylov <vlad
stones.com>
74846 by: "Ron White" <rwhite
edverify.com>
php3 crypt() function
74791 by: Ron Chmara <ron
Opus1.COM>
74792 by: Ron Chmara <ron
Opus1.COM>
IMAP support
74794 by: "John Lee" <jrlee
ddsystem.com>
problem with mail()...
74795 by: François Rossignol <tech
interact-fr.com>
searching MySQL for numbers
74796 by: Matt Williams <mattwilliams
yewlands.sheffield.sch.uk>
Increase size of shared memory
74797 by: Mårten Gustafson <marten
euroseek.net>
Semi-useful contribution to the PHP community
74798 by: "Dave" <dave
calinet.com>
IMAP/POP3
74799 by: "Tyrone Watt" <tyro
nis.za>
PHP3 Build / running problem
74800 by: Budi Aditya <budi
landak.com>
74831 by: Chad Cunningham <ccunning
math.ohio-state.edu>
html into PHP script
74801 by: "Tom Van Wesemael" <tom.van.wesemael
pandora.be>
74802 by: Michael Orlov <michael
mail.snunit.k12.il>
font width
74803 by: "Andreas Altenburg" <altenburg
fup.de>
74807 by: Alex Belits <abelits
phobos.illtel.denver.co.us>
Dr.Watson
74804 by: "Margus Kohv" <kohv
halo.ee>
Is PHP Ready for the Bigtime?
74805 by: Ron Chmara <ron
Opus1.COM>
74855 by: Marius ANDREIANA <rocky
ss.pub.ro>
php and ecommerce
74806 by: Aaron Tuller <mandelbaum
olywa.net>
Output of multiple files
74809 by: Mario Jorge Nunes Filipe <mjnf
neptuno.uevora.pt>
74817 by: "Jason Brooke" <jason
qgl.org>
74821 by: "NickM" <nick
regiocom.net>
Please help. Mysql connection problem
74810 by: Vlad Kopylov <vlad
stones.com>
Hacker Proof Password Protection
74812 by: "Matthew Clark" <matt
genicomsystems.co.uk>
74830 by: "Sam Leibowitz" <sleibowitz
btcwcu.org>
74832 by:
CSV problem
74813 by: "Tom Van Wesemael" <tom.van.wesemael
pandora.be>
74814 by:
74815 by: "NickM" <nick
regiocom.net>
74816 by: "NickM" <nick
regiocom.net>
74819 by: "Tom Van Wesemael" <tom.van.wesemael
pandora.be>
Search small text/blob data types
74818 by: Jeremy Gaddis <jgaddis
m-net.arbornet.org>
Files submitted via <input type="file"...> (again)
74820 by: "Martin Edelius" <martin.edelius
spirex.se>
text field ..
74822 by: Tusar <tusar
netshooter.com>
74823 by: "Martin Edelius" <martin.edelius
spirex.se>
PHPLIB and framesets
74824 by: Robert <robert
abilina.org>
74825 by: "NickM" <nick
regiocom.net>
Optimizing php4 speed
74826 by: Gregor Welters <gregor
welters.de>
Big preg_replace problems
74827 by: "nick" <archiver
db.geocrawler.com>
Location question
74828 by: "Tom Higgins" <archiver
db.geocrawler.com>
74829 by: "Martin Edelius" <martin.edelius
spirex.se>
Apache, PHP and Mod Perl on Windows...
74833 by: Mark Nold <markn
alverstone.com.au>
Authentication w/ PHP CGI
74835 by: Bob Lutz <rlutz
lutz-engr.com>
74859 by: Bob Lutz <rlutz
lutz-engr.com>
redirect
74836 by: "Ron White" <rwhite
edverify.com>
function rtrim() ?
74837 by: "Michael T. Halligan" <mhalligan
plogic.com>
Linux for Mac Ron Is Smart PHP Dude
74838 by: NTR <ntr
mindmachine.com>
74849 by: "Martin Edelius" <martin.edelius
spirex.se>
problem php.cgi with mysql
74839 by: "Jean-Claude Levieux" <jclevieux
sud2000.com>
how to call external function ?
74840 by: "Aadu Adok" <aadu.adok
hansa.ee>
templates
74841 by: Fernando Caamaño <fernando
conecta-t.com>
74842 by: "alex" <alex
quad.com.ar>
how 2 fetch url img
74845 by: casper äpplekaka the 3th <casper
arcade.ch>
newbie learning curve (php vs cold fusion)
74848 by: "Liz Lawson" <webgraphics
freeuk.com>
74850 by: rasmus
php.net
mt_rand
74853 by: "Steven T Sigourney" <steve
tophat.com>
74857 by: "Martin Edelius" <martin.edelius
spirex.se>
74864 by: "Steven T Sigourney" <steve
tophat.com>
Calling legacy C/C++ code from PHP
74854 by: "Sumanth Vepa" <sumanthvepa
hotmail.com>
74862 by: thies
digicol.de
Header - Content type : image/what ?
74856 by: Marius ANDREIANA <rocky
ss.pub.ro>
enviornment variables
74858 by: "Von A. Neel" <von
bbkstudio.com>
74860 by: Julie Meloni <julie
thickbook.com>
Running PHP as root?
74861 by: Suporte Técnico NetAlfa <suporte
netalfa.com.br>
74863 by: Ivo Wentholt <ivo
lostboys.nl>
Administrivia:
To subscribe to the digest, e-mail:
php3-digest-subscribe
lists.php.net
To unsubscribe from the digest, e-mail:
php3-digest-unsubscribe
lists.php.net
To post to the list, e-mail:
php3
lists.php.net
----------------------------------------------------------------------
attached mail follows:
Thanks everyone for hacking my little password script. I realize that this
maybe a little overkill, but it was fun to put together and fix all of the
bugs. This is the final revision as I am happy with the scrpit performance
so far, (Unless someone finds another way to get in, other than ISP logging
off and back on.)
Please try again, the database has been cleared.
http://www.modernhost.com/1/
Previous hack attempts below:
http://www.modernhost.com/1/?REMOTE_ADDR=127.0.0.2
http://www.modernhost.com/1/?REMOTE_ADDR=127.0.0.10&username=guest&password=
gspot&submit2=Login%20
The anonymizer works for a few more attempts, but you will recycle the IPs
and they will all be logged eventually.
http://www.anonymizer.com/3.0/redirect.cgi?protocol=http://&server=anon.free
.anonymizer.com&url=http://www.modernhost.com/1/
Refresh the home page(clear your cache) once you can not login anymore, you
will have an option to delete your IP for more attempts.
http://www.modernhost.com/1/index.php3
Will someone please try this script again?
> Matt wrote this nifty script...
>
> <?
> srand( time() );
> $pass = "whatever";
> $name = "whatever";
> $flagvalue = urlencode("Login (Attempt 1)");
>
> $address =
(rand()%255).".".(rand()%255).".".(rand()%255).".".(rand()%255);
>
> print "Logging on as $address with name:$name pass:$pass<HR>";
>
> $fp = fsockopen( "www.modernhost.com", 80 );
> $text = "POST /1/index.php3 HTTP/1.0\r\n";
> $text .= "Content-Type: application/x-www-form-urlencoded\r\n";
> $bottom =
"REMOTE_ADDR=$address&username=$name&password=$pass&submit2=$flagvalue\r\n";
> $text .= "Content-length: ".strlen( $bottom )."\r\n\r\n$bottom\r\n";
>
> print "<PRE>$text</PRE><HR>";
>
> fputs( $fp, $text );
> fpassthru( $fp );
> ?>
Thanks again,
Michael Fountain
attached mail follows:
Mallesons Stephen Jaques
Confidential communication
If you come across a similar error in future - I had 2 php3.ini files, one
in the php directory and one in the WINNT directory. The one in the php
directory had precedence.
Regards,
SJT
-----Original Message-----
From: Taylor, Scott [mailto:Scott.Taylor
msj.com.au]
Sent: Friday, 4 February 2000 2:40:PM
To: 'php3
lists.php.net'
Subject: [PHP3] Simple Include() problem
Mallesons Stephen Jaques
Confidential communication
Hi all,
(NT4, apache 1.3.9, php 3.0.14)
I've changed the DocumentRoot in Apache to be c:\WWWDocs and I've change the
'include_path' in php3.ini file to "c:\WWWDocs". When I use <?
include("globalvars.php") > in a php3 script file I get an error "Unable to
open c:\apache\htdocs/globalvars.php in - on line 0
No input file specified"
Yet, when I use 'open with' and open the file with IE4 through explorer, all
is OK...??
What have I missed?
TIA,
SJT
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribelists.php.net To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin
lists.php.net
attached mail follows:
Hi, I tried the include() function inside .html files but it didn't work. It can work if I changed the .html to .php3 But in the php3 manual ( http://www.php.net/manual/function.include.php3 ) it's example is an html file.
Anybody can help?
Thanx, | uzev |
attached mail follows:
If you want .html files to be parsed by the PHP interpreter, you have to tell Apache to pass all .html files through the interpreter. This can be done by adding the following to your httpd.conf file:
AddType application/x-httpd-php3 .html
-Philip
Yusef Latief wrote:
>
> Hi,
> I tried the include() function inside .html files but it didn't work. It can
> work if I changed the .html to .php3
> But in the php3 manual ( http://www.php.net/manual/function.include.php3 ) it's
> example is an html file.
>
> Anybody can help?
>
> Thanx,
> | uzev |
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe
lists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net
> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
attached mail follows:
Hi David,
make sure your AddType lines are for PHP4, and not PHP3:
PHP3:
AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .phps
PHP4:
AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps
note the missing '3' in the PHP4 AddType. hope this helps.
On Sun, 06 Feb 2000, David McMahon wrote:
>
>
> My apologies for bringing this here again, but I'm
> really stuck and would appreciate any possible solutions
> to this.
>
> Linux SLackware 2.2.10
> Summary: Fresh installs of apache 1.3.11, php4b3.
> Followed "QUICK INSTALL" instructions in php4b3/INSTALL.
> New httpd contains mod_php4.c, httpd.conf contains the
> new AddTypes, server restarted (ad nauseum)
>
> Result: any browser pointing at a .php wants to download it.
> Why won't the server recognize and process the .php files?
>
> I've done this process a few times as well to just make sure
> I didn't miss anything. Could simply be the combonation of
> 1.3.11 and php4b3. and just my bad luck. Has anyone got
> this combonation working?
>
>
> > -----Original Message-----
> > From: David McMahon [mailto:djm
mcmahons.com]
> > Sent: Saturday, February 05, 2000 11:57 PM
> > To: php3
lists.php.net
> > Subject: PHP4b3 & Apache 1.3.11 on Linux - getting download of .php!
> >
> >
> >
> >
> > Hi,
> >
> > This has got to be one of the most common problems
> > and I'll probably slap myself when I found out, but...
> > Everything looks fine as far as I can tell.
> >
> > I just configured/made/installed this on
> > Linux Slackware 2.2.10:
> > 1. Fresh compile of apache 1.3.11 and PHP4.b3
> > 2. httpd -l
> > Compiled-in modules:
> > <other modules snipped>
> > mod_php4.c
> > 3. /usr/local/lib/php.ini (the default)
> > 4. In my httpd.conf:
> > AddType application/x-httpd-php .php
> > AddType application/x-httpd-php4 .php
> > AddType application/x-httpd-php-source .phps
> > ** I confirmed the use of this file by putting
> > a syntax error in at the first
> > AddType line you see above and apachectl configtest found it
> >
> >
> > Problem: .php files are asking to be downloaded on the browser side.
> > The server does not appear to be processing the .php's. Everything
> > looks right here. What am I doing wrong?
> >
> > thanks for reading -
> > dave
> >
> > ==============================================
> > David McMahon Ph: 617.746.9545
> > mailto:djm
toolix.com Fax: 617.746.9549
> > TooliX, Inc. http://www.toolix.com
> > ==============================================
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe
lists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net
> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
-- Nathan Benson ------------- http://www.phactor.org/Me spell chucker work grate. Need grandma chicken.
attached mail follows:
David,
I havent used PHP4 yet but isnt having 2 php lines confusing? especially since they both are trying to use the same extension?
> AddType application/x-httpd-php .php > AddType application/x-httpd-php4 .php
Just a guess.
mn
On Monday, 7 February 2000 7:59, David McMahon [SMTP:djm
mcmahons.com] wrote:
>
>
> My apologies for bringing this here again, but I'm
> really stuck and would appreciate any possible solutions
> to this.
>
> Linux SLackware 2.2.10
> Summary: Fresh installs of apache 1.3.11, php4b3.
> Followed "QUICK INSTALL" instructions in php4b3/INSTALL.
> New httpd contains mod_php4.c, httpd.conf contains the
> new AddTypes, server restarted (ad nauseum)
>
> Result: any browser pointing at a .php wants to download it.
> Why won't the server recognize and process the .php files?
>
> I've done this process a few times as well to just make sure
> I didn't miss anything. Could simply be the combonation of
> 1.3.11 and php4b3. and just my bad luck. Has anyone got
> this combonation working?
>
>
> > -----Original Message-----
> > From: David McMahon [mailto:djm
mcmahons.com]
> > Sent: Saturday, February 05, 2000 11:57 PM
> > To: php3
lists.php.net
> > Subject: PHP4b3 & Apache 1.3.11 on Linux - getting download of .php!
> >
> >
> >
> >
> > Hi,
> >
> > This has got to be one of the most common problems
> > and I'll probably slap myself when I found out, but...
> > Everything looks fine as far as I can tell.
> >
> > I just configured/made/installed this on
> > Linux Slackware 2.2.10:
> > 1. Fresh compile of apache 1.3.11 and PHP4.b3
> > 2. httpd -l
> > Compiled-in modules:
> > <other modules snipped>
> > mod_php4.c
> > 3. /usr/local/lib/php.ini (the default)
> > 4. In my httpd.conf:
> > AddType application/x-httpd-php .php
> > AddType application/x-httpd-php4 .php
> > AddType application/x-httpd-php-source .phps
> > ** I confirmed the use of this file by putting
> > a syntax error in at the first
> > AddType line you see above and apachectl configtest found it
> >
> >
> > Problem: .php files are asking to be downloaded on the browser side.
> > The server does not appear to be processing the .php's. Everything
> > looks right here. What am I doing wrong?
> >
> > thanks for reading -
> > dave
> >
> > ==============================================
> > David McMahon Ph: 617.746.9545
> > mailto:djm
toolix.com Fax: 617.746.9549
> > TooliX, Inc. http://www.toolix.com
> > ==============================================
>
attached mail follows:
> David, > > I havent used PHP4 yet but isnt having 2 php lines confusing? > especially since they both are trying to use the same extension? > > > AddType application/x-httpd-php .php > > AddType application/x-httpd-php4 .php
You're right, it most likely is a problem, but unfortunately I get the same results with or without two application/x-httpd-php lines.
I'm still broken. Been restarting httpd for a couple days now! I was compiling php4 into apache for a particular app I wanted, but I think I'm going to just try it with 3 to see if I get any different results.
dave
> On Monday, 7 February 2000 7:59, David McMahon
> [SMTP:djm
mcmahons.com] wrote:
> >
> >
> > My apologies for bringing this here again, but I'm
> > really stuck and would appreciate any possible solutions
> > to this.
> >
> > Linux SLackware 2.2.10
> > Summary: Fresh installs of apache 1.3.11, php4b3.
> > Followed "QUICK INSTALL" instructions in php4b3/INSTALL.
> > New httpd contains mod_php4.c, httpd.conf contains the
> > new AddTypes, server restarted (ad nauseum)
> >
> > Result: any browser pointing at a .php wants to download it.
> > Why won't the server recognize and process the .php files?
> >
> > I've done this process a few times as well to just make sure
> > I didn't miss anything. Could simply be the combonation of
> > 1.3.11 and php4b3. and just my bad luck. Has anyone got
> > this combonation working?
> >
> >
> > > -----Original Message-----
> > > From: David McMahon [mailto:djm
mcmahons.com]
> > > Sent: Saturday, February 05, 2000 11:57 PM
> > > To: php3
lists.php.net
> > > Subject: PHP4b3 & Apache 1.3.11 on Linux - getting download of .php!
> > >
> > >
> > >
> > >
> > > Hi,
> > >
> > > This has got to be one of the most common problems
> > > and I'll probably slap myself when I found out, but...
> > > Everything looks fine as far as I can tell.
> > >
> > > I just configured/made/installed this on
> > > Linux Slackware 2.2.10:
> > > 1. Fresh compile of apache 1.3.11 and PHP4.b3
> > > 2. httpd -l
> > > Compiled-in modules:
> > > <other modules snipped>
> > > mod_php4.c
> > > 3. /usr/local/lib/php.ini (the default)
> > > 4. In my httpd.conf:
> > > AddType application/x-httpd-php .php
> > > AddType application/x-httpd-php4 .php
> > > AddType application/x-httpd-php-source .phps
> > > ** I confirmed the use of this file by putting
> > > a syntax error in at the first
> > > AddType line you see above and apachectl configtest found it
> > >
> > >
> > > Problem: .php files are asking to be downloaded on the browser side.
> > > The server does not appear to be processing the .php's. Everything
> > > looks right here. What am I doing wrong?
> > >
> > > thanks for reading -
> > > dave
> > >
> > > ==============================================
> > > David McMahon Ph: 617.746.9545
> > > mailto:djm
toolix.com Fax: 617.746.9549
> > > TooliX, Inc. http://www.toolix.com
> > > ==============================================
> >
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe
lists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net
> To search the mailing list archive, go to:
> http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
>
attached mail follows:
I was trying to install PHP3 as a DSO module, it all compiled, but when I tried to restart Apache, it gave me the following error message:
# /usr/local/apache/bin/apachectl start Syntax error on line 239 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/libphp3.so into server: File not found /usr/local/apache/bin/apachectl start: httpd could not be started
The "libphp3.so" file is in the location shown above , what I don't understand is that why does it complains about the absence of the file? I built Apache and PHP according to the instruction given on the repective sites, and I ran "ldconfig" as some has suggested in this forum. Here is what I did:
For Apache # cd apache-1.3.11 # ./configure --prefix=/usr/local/apache \ --enable-rule=SHARED_CORE \ --enable-module=most \ --enable-shared=max # make # make install
Then for PHP3 # cd php-3.0.14 # ./configure --with-apxs=/usr/local/apache/bin/apxs \ --with-config-file-path=/usr/local/apache \ --with-mysql=/usr/local/mysql/ # make # make install
# ldconfig
If anyone has any advice to give (other than telling me not to use DSO ;-) it would be very much appreciated.
Please also copy your reply to my e-mail. Thanks in advance.
Karl
attached mail follows:
> Ron White wrote: > Since this a first post, why in the heck does the list address not automatically appear in the To: > field when I hit Reply?? EVERY other mail list I'm on does this, why not this one??
"Reply All" works in NN. :-) I dunno Outlook or OE can do it.
Since this is your first post, you might not have noticed the level of traffic here.... There's a lot.
If all responses went back to the list, there could easily be three to five times as much traffic. Putting the reply-to as the sender means that there's less traffic.
It's not really on _EVERY_ list. It's not on most of the question/summary lists (nt-mgrs, mac-mgrs) or the ones with extremely high traffic. It's to keep out the "me too" postings, the personal flames, etc. etc. Or the less on topic posts, like this one.... of course, since I automatically hit "Reply All" out of habit now, it's not much good on rabble like me. :-)
-Ronabop
-- Brought to you from iBop the iMac, a MacOS, Win95, LinuxPPC machine, which is currently in MacOS land. Your bopping may vary.
attached mail follows:
> At 04:37 PM 1/31/2000 -0800, John Burge wrote: > > Bucking the trend, we are contemplating converting a perfectly good MySQL / PHP 3.0.12 / Apache > > 1.3.9 / RedHat Linux 6.1 website to run under IIS using SQL Server 7 on Windows 2000. Anybody > > else out there done that? One option is to get PHP running on the Win2000 box, another to > > convert the PHP code to ASP; maybe there are others. > > I'd be grateful to hear of any practical experience with such a port. > > --John > > PS: No flames please--sometimes you gotta do what you gotta do.
I saw one ambitious project attempt to do a similar thing....rather than manage five boxes, they wanted to "simplify" and "unify" their disparate servers. The first *rollout* was expected to take three months.
_Alpha_ took three months.
Two *years* later, they have managed to kludge most of their code over to IIS with MS SQL server. Kludge being the operative word. Most of the code had to be rewritten for the MS "methodology", as the direct port idea falls apart due not to the major functions of each setup, but all of the minor ones....
A web page will work just fine *except* for that required feature in the upper left hand corner, which requires some file manipulation not available on the new setup.
The page flow is great *except* for the DB tables not being directly portable from one db to another, due to the way some keys were set up, some procedure stored, or some non-standard mySQL-specific call being made on 320 pages, in such a way that grepping always fails to catch some of it..
The business logic was just fine, other than having to be re-written, from scratch. ;-)
Here's another way to look at it (to eliminate the flame-bait issue): Ask the internal motivation factors how long it would take to port it all _from_ NT2K, ASP. and MS SQL _to_ Linux/PHP/mySQL. The answer is often "well, there's some features on 2K/ASP/MS SQL that won't work!". And therein lies the problem. You will have to sacrifice functionaility for homogeneity, no matter what platform, DB, or middleware.
With that in mind, take this on one element at a time, see if your feature loss/ feature gain is acceptable, and then move to the next step.
-Bop
-- Brought to you from iBop the iMac, a MacOS, Win95, LinuxPPC machine, which is currently in MacOS land. Your bopping may vary.
attached mail follows:
> Ron White wrote: > Since this a first post, why in the heck does the list address not automatically appear in the To: > field when I hit Reply?? EVERY other mail list I'm on does this, why not this one??
The other lists you are on are either badly run, or they cater to absolute beginners. Most high-traffic decent mailing lists would never consider something as evil as mungeing the reply-to header. There is absolutely no reason to do so. All it does is blow away a field in the header that many people actually set for a reason. People set their reply-to when they want replies going to a different address than their From address. Mailing lists that blow this header away stop people from doing this.
There are quite a few other reasons as well. Please read this, and perhaps point the admins of all these other lists you are on to this:
http://www.unicom.com/pw/reply-to-harmful.html
It is one of my big pet-peeves about mailing lists (as you might be able to tell) and I wish more maintainers would think twice before automatically setting reply-to's back to the list.
-Rasmus
attached mail follows:
>The other lists you are on are either badly run, or they cater to absolute beginners. Most high-traffic decent mailing lists would never consider something as evil as mungeing the reply-to header.
Or the entire populace of a reasonably large list can't handle it. Most of the old BITNET mail servers auto-replied to the list, so migration to _not_ autoreplying to the list is strange and different, and people don't like "strange and different". Doesn't matter to the users that it's "bad", and as list maganers we're there for our users, not for ourselves.
Mark Charette
sneezy.org, mailing list manager for:
klarinet
sneezy.org
cperu
sneezy.org
clair
sneezy.org
donax-m
donax-us.com
ica
clarinet.org
attached mail follows:
Here's another interesting point of view.
http://www.metasystema.org/reply-to-useful.mhtml
jason
> > Ron White wrote: > > Since this a first post, why in the heck does the list address not automatically appear in the To: > > field when I hit Reply?? EVERY other mail list I'm on does this, why not this one?? > > The other lists you are on are either badly run, or they cater to absolute > beginners. Most high-traffic decent mailing lists would never consider > something as evil as mungeing the reply-to header. There is absolutely no > reason to do so. All it does is blow away a field in the header that many > people actually set for a reason. People set their reply-to when they > want replies going to a different address than their From > address. Mailing lists that blow this header away stop people from doing > this. > > There are quite a few other reasons as well. Please read this, and > perhaps point the admins of all these other lists you are on to this: > > http://www.unicom.com/pw/reply-to-harmful.html > > It is one of my big pet-peeves about mailing lists (as you might be able > to tell) and I wish more maintainers would think twice before > automatically setting reply-to's back to the list. > > -Rasmus
attached mail follows:
I need some advice (more like HELP!) on a make problem: I'm getting a bunch of "parse error before '*' and "warning: data definition has no type" staring in line 10 of isql.h. I believe this line is "typdef void FAR *PTR;". See below for a full list.
So far I've managed to make it through bringing up a Linux box from scratch w. Slackware 7, connecting to my NT server via FTP for many of the files. Hacked my way through doing an Apache build w. PHP3 w/o the database module. I've actually seen the Openlink ODBC work between my Linux box and the NT SQL Server, really cool. All in about 1 1/2 days, not bad so far considering all the booboos. I finally found the ODBC HOW-TO on the iodbc site, this would have helped a lot six hours ago, oh well. If I can make this configuration compile, I've got it licked and I can get back to my REAL work!
The configuration command is:
./configure --with-apache=../apache_1.3.11 --with-openlink=/usr/local --with-iodbc=/usr/local/src/odbcsdk
The openlink in /usr/local points to l2bozzzz.taz. I'm not sure if this is correct, or if I need to expand out the .taz and try to point into it? I've
I've tried this with the glibc2 and the glibc2.1.1 iodbc and openlink (l2g*/l2k* vs l3g*/l3k*) and get the same errors.
My hunch: there's something in the c compiler (I think it's gcc according to the config.cache) that doesn't like what it sees: the parser? I'm stumped.
Here's the whole 2> dump from the make:
In file included from functions/php3_unified_odbc.h:123, from internal_functions.c:89: /usr/local/src/odbcsdk/include/isql.h:10: parse error before `*' /usr/local/src/odbcsdk/include/isql.h:10: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:11: parse error before `*' /usr/local/src/odbcsdk/include/isql.h:11: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:12: parse error before `*' /usr/local/src/odbcsdk/include/isql.h:12: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:13: parse error before `*' /usr/local/src/odbcsdk/include/isql.h:13: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:151: parse error before `CALLBACK'
/usr/local/src/odbcsdk/include/isql.h:151: parse error before `henv' /usr/local/src/odbcsdk/include/isql.h:151: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:152: parse error before `CALLBACK'
/usr/local/src/odbcsdk/include/isql.h:152: parse error before `FAR' /usr/local/src/odbcsdk/include/isql.h:152: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:153: parse error before `CALLBACK'
/usr/local/src/odbcsdk/include/isql.h:153: parse error before `hdbc' /usr/local/src/odbcsdk/include/isql.h:153: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:154: parse error before `CALLBACK'
/usr/local/src/odbcsdk/include/isql.h:154: parse error before `hstmt' /usr/local/src/odbcsdk/include/isql.h:155: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:156: parse error before `CALLBACK'
/usr/local/src/odbcsdk/include/isql.h:156: parse error before `hstmt' /usr/local/src/odbcsdk/include/isql.h:156: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:157: parse error before `CALLBACK'
/usr/local/src/odbcsdk/include/isql.h:157: parse error before `hstmt' /usr/local/src/odbcsdk/include/isql.h:158: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:159: parse error before `CALLBACK'
/usr/local/src/odbcsdk/include/isql.h:159: parse error before `hdbc' /usr/local/src/odbcsdk/include/isql.h:160: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:161: parse error before `CALLBACK'
/usr/local/src/odbcsdk/include/isql.h:161: parse error before `hstmt' /usr/local/src/odbcsdk/include/isql.h:164: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:165: parse error before `CALLBACK'
/usr/local/src/odbcsdk/include/isql.h:165: parse error before `hdbc' /usr/local/src/odbcsdk/include/isql.h:165: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:166: parse error before `CALLBACK'
/usr/local/src/odbcsdk/include/isql.h:166: parse error before `henv' /usr/local/src/odbcsdk/include/isql.h:168: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:169: parse error before `CALLBACK'
/usr/local/src/odbcsdk/include/isql.h:169: parse error before `hstmt' /usr/local/src/odbcsdk/include/isql.h:170: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:171: parse error before `CALLBACK'
/usr/local/src/odbcsdk/include/isql.h:171: parse error before `hstmt' /usr/local/src/odbcsdk/include/isql.h:171: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:172: parse error before `CALLBACK'
/usr/local/src/odbcsdk/include/isql.h:172: parse error before `hstmt' /usr/local/src/odbcsdk/include/isql.h:172: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:173: parse error before `CALLBACK'
/usr/local/src/odbcsdk/include/isql.h:173: parse error before `hdbc' /usr/local/src/odbcsdk/include/isql.h:173: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:174: parse error before `CALLBACK'
/usr/local/src/odbcsdk/include/isql.h:174: parse error before `henv' /usr/local/src/odbcsdk/include/isql.h:174: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:175: parse error before `CALLBACK'
/usr/local/src/odbcsdk/include/isql.h:175: parse error before `hstmt' /usr/local/src/odbcsdk/include/isql.h:175: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:176: parse error before `CALLBACK'
/usr/local/src/odbcsdk/include/isql.h:176: parse error before `hstmt' /usr/local/src/odbcsdk/include/isql.h:177: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:178: parse error before `CALLBACK'
/usr/local/src/odbcsdk/include/isql.h:178: parse error before `hstmt' /usr/local/src/odbcsdk/include/isql.h:178: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:179: parse error before `CALLBACK'
/usr/local/src/odbcsdk/include/isql.h:179: parse error before `hstmt' /usr/local/src/odbcsdk/include/isql.h:180: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:181: parse error before `CALLBACK'
/usr/local/src/odbcsdk/include/isql.h:181: parse error before `hstmt' /usr/local/src/odbcsdk/include/isql.h:181: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:182: parse error before `CALLBACK'
/usr/local/src/odbcsdk/include/isql.h:182: parse error before `hstmt' /usr/local/src/odbcsdk/include/isql.h:183: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:184: parse error before `CALLBACK'
/usr/local/src/odbcsdk/include/isql.h:184: parse error before `henv' /usr/local/src/odbcsdk/include/isql.h:184: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isql.h:189: parse error before `CALLBACK'
/usr/local/src/odbcsdk/include/isql.h:189: parse error before `hstmt' /usr/local/src/odbcsdk/include/isql.h:191: warning: data definition has no type or storage class In file included from functions/php3_unified_odbc.h:124, from internal_functions.c:89: /usr/local/src/odbcsdk/include/isqlext.h:1052: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1052: parse error before `hstmt' /usr/local/src/odbcsdk/include/isqlext.h:1055: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1056: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1056: parse error before `hdbc'
/usr/local/src/odbcsdk/include/isqlext.h:1058: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1059: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1059: parse error before `hdbc'
/usr/local/src/odbcsdk/include/isqlext.h:1059: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1060: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1060: parse error before `hstmt' /usr/local/src/odbcsdk/include/isqlext.h:1061: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1062: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1062: parse error before `hdbc'
/usr/local/src/odbcsdk/include/isqlext.h:1063: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1064: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1064: parse error before `hdbc'
/usr/local/src/odbcsdk/include/isqlext.h:1065: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1066: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1066: parse error before `hstmt' /usr/local/src/odbcsdk/include/isqlext.h:1066: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1067: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1067: parse error before `hstmt' /usr/local/src/odbcsdk/include/isqlext.h:1067: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1068: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1068: parse error before `hstmt' /usr/local/src/odbcsdk/include/isqlext.h:1068: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1069: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1069: parse error before `hstmt' /usr/local/src/odbcsdk/include/isqlext.h:1069: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1070: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1070: parse error before `hdbc'
/usr/local/src/odbcsdk/include/isqlext.h:1070: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1071: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1071: parse error before `hstmt' /usr/local/src/odbcsdk/include/isqlext.h:1071: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1072: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1072: parse error before `hstmt' /usr/local/src/odbcsdk/include/isqlext.h:1075: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1076: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1076: parse error before `hstmt' /usr/local/src/odbcsdk/include/isqlext.h:1078: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1079: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1079: parse error before `hstmt' /usr/local/src/odbcsdk/include/isqlext.h:1082: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1087: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1087: parse error before `hdbc'
/usr/local/src/odbcsdk/include/isqlext.h:1089: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1090: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1090: parse error before `hstmt' /usr/local/src/odbcsdk/include/isqlext.h:1093: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1094: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1094: parse error before `henv'
/usr/local/src/odbcsdk/include/isqlext.h:1097: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1098: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1098: parse error before `hstmt' /usr/local/src/odbcsdk/include/isqlext.h:1100: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1101: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1101: parse error before `hstmt' /usr/local/src/odbcsdk/include/isqlext.h:1102: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1103: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1103: parse error before `hstmt' /usr/local/src/odbcsdk/include/isqlext.h:1108: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1109: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1109: parse error before `hstmt' /usr/local/src/odbcsdk/include/isqlext.h:1109: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1110: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1110: parse error before `hdbc'
/usr/local/src/odbcsdk/include/isqlext.h:1112: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1113: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1113: parse error before `hstmt' /usr/local/src/odbcsdk/include/isqlext.h:1113: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1114: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1114: parse error before `hstmt' /usr/local/src/odbcsdk/include/isqlext.h:1114: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1115: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1115: parse error before `hstmt' /usr/local/src/odbcsdk/include/isqlext.h:1117: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1118: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1118: parse error before `hstmt' /usr/local/src/odbcsdk/include/isqlext.h:1121: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1122: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1122: parse error before `hstmt' /usr/local/src/odbcsdk/include/isqlext.h:1124: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1125: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1125: parse error before `hstmt' /usr/local/src/odbcsdk/include/isqlext.h:1125: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1126: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1126: parse error before `hstmt' /usr/local/src/odbcsdk/include/isqlext.h:1128: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1133: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1133: parse error before `henv'
/usr/local/src/odbcsdk/include/isqlext.h:1136: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1137: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1137: parse error before `hstmt' /usr/local/src/odbcsdk/include/isqlext.h:1139: warning: data definition has no type or storage class /usr/local/src/odbcsdk/include/isqlext.h:1144: parse error before `CALLBACK' /usr/local/src/odbcsdk/include/isqlext.h:1144: parse error before `hstmt' /usr/local/src/odbcsdk/include/isqlext.h:1145: warning: data definition has no type or storage class In file included from internal_functions.c:89: functions/php3_unified_odbc.h:385: parse error before `HDBC' functions/php3_unified_odbc.h:385: warning: no semicolon at end of struct or union functions/php3_unified_odbc.h:387: `open' redeclared as different kind of symbol /usr/include/fcntl.h:68: previous declaration of `open' functions/php3_unified_odbc.h:391: parse error before `}' functions/php3_unified_odbc.h:391: warning: data definition has no type or storage class functions/php3_unified_odbc.h:404: parse error before `HSTMT' functions/php3_unified_odbc.h:404: warning: no semicolon at end of struct or union functions/php3_unified_odbc.h:412: parse error before `*' functions/php3_unified_odbc.h:412: warning: data definition has no type or storage class functions/php3_unified_odbc.h:413: parse error before `}' functions/php3_unified_odbc.h:413: warning: data definition has no type or storage class functions/php3_unified_odbc.h:419: parse error before `HENV' functions/php3_unified_odbc.h:419: warning: no semicolon at end of struct or union functions/php3_unified_odbc.h:436: parse error before `}' functions/php3_unified_odbc.h:436: warning: data definition has no type or storage class functions/php3_unified_odbc.h:438: parse error before `php3_uodbc_module' functions/php3_unified_odbc.h:438: warning: data definition has no type or storage class functions/php3_unified_odbc.h:440: parse error before `uodbc_result' functions/php3_unified_odbc.h:441: parse error before `*' functions/php3_unified_odbc.h:441: warning: data definition has no type or storage class functions/php3_unified_odbc.h:443: parse error before `HDBC' functions/php3_unified_odbc.h:444: parse error before `*' functions/php3_unified_odbc.h:444: warning: data definition has no type or storage class functions/php3_unified_odbc.h:449: parse error before `conn' functions/php3_unified_odbc.h:451: parse error before `*' make: *** [internal_functions.o] Error 1
attached mail follows:
hello everyone, I am new to the list but have searched the archives as well as look at any faqs that I could find. My problem is that I upgraded to Slackware Linux 7.0, after installing a new hard drive. I installed mysql and managed to get the backups reinstalled. I was going to try php4 but decided to stay with php3 for now. However, I compiled php3 just as before and everything was fine. I rebooted the SGI server and then upon bootup, Apache couldn't find libphp3.so and it's in the libexec directory just as before. Now I've recompiled about 50 times, checked and rechecked the makefile, config file, httpd conf ect. Anyone have any ideas or have I simply spent to much time on this and overlooked something small.
Thanks for the help, Chris Bunting
attached mail follows:
On Mon, 7 Feb 2000, Chris Bunting so wrote:
} libphp3.so and it's in the libexec directory just as before. Now I've } recompiled about 50 times, checked and rechecked the makefile, config } file, httpd conf ect. Anyone have any ideas or have I simply spent to } much time on this and overlooked something small.
Hi Chris,
No insult intended or implied (been there, done that...) but you seem to know what you are doing so I'm going to assume that you've simply overlooked the obvious. Did you check the permissions and the ownership on libphp3.so?
Stuff happens...
Peace be with you,
Brent
Brent Sims
WebOkay Internet Services
http://www.WebOkay.net
Brent
WebOkay.Com
(719) 595-1427 (Voice/Fax)
attached mail follows:
Dear friends, i was working with apache 1.3.6 on win 98 and php.. but now decided to move to PWS becoz apache has beenn troubling me.... now my problemis this
i installed the php*.inf that comes bundled with the distribution of php and pws executes the php scripts... the problem is with extensions. i have enabled all the extensions in the php3.ini file in my C:\windows directory. when i call phpinfo() in a script and run this script in PWS the extesions dont show up.. where as the same script when run thru apache shows relevant info about all the modules and then when i tried to run phpMyAdmin i got a messgae that says undeifined fuction mysql_connect() in lib.inc.php3 so i guess the basci problem is that the php3_mysql.dll is not getting loaded. all input is welcome Thank you
Kush
attached mail follows:
I'm interested to hear from those of you who have worked with both PHP and JSP, Cocoon, Tomcat. I'm interested in any feedback and especially
Advantages/drawbacks Performance Co-operation Apache-PHP/Tomcat Platform issues Maturity
Please mail me at johan.gronvall
btj.se to keep it out of the list.
Regards,
Johan Grönvall
attached mail follows:
Johan Grönvall wrote: > I'm interested to hear from those of you who have worked with both PHP and > JSP, Cocoon, Tomcat. I'm interested in any feedback and especially
I not only work with PHP, JSP, Cocoon, and Tomcat, I have committed changes to each.
> Advantages/drawbacks
PHP is the easiest to pick up by novice users, and has the most built-in function.
Cocoon is targetted not only at developing large sites, but also focuses on issues of maintaining them over time (via techniques that allow for the easy separation of presentation from content).
JSP attempts to strike a balance between the two.
> Performance
Your mileage may vary. All perform well when used for the purposes for which they were intended.
> Co-operation Apache-PHP/Tomcat
That's been my focus for working on these various projects. If this interests you, I would suggest that you get the latest PHP version 4.0 code from CVS and take a look at the README in the sapi/servlet directory.
> Platform issues
All the above work on Win32 and most Unixes without much trouble. There may be some ability to work on other platforms, but as a general rule, if you need such a platform, plan do some testing and possibly submit some patches.
> Maturity
PHP is certainly the most mature.
> Please mail me at johan.gronvall
btj.se to keep it out of the list.
This topic comes up all to often on the list. Perhaps you might want to scan the archives for other responses.
- Sam Ruby
attached mail follows:
hi, are there any article where makes a comparission of this??
thank you
Fernando Caamaño
Soporte técnico Conecta97
Travesera de Gracia 342-344
tel: 934465028
fax: 934465029
www.conecta-t.com
----- Mensaje original -----
De: <rubys
us.ibm.com>
Para: Grönvall Johan <johan.gronvall
btj.se>
CC: <php3
lists.php.net>
Enviado: lunes, 07 de febrero de 2000 13:01
Asunto: Re: [PHP3] JSP & PHP
Johan Grönvall wrote: > I'm interested to hear from those of you who have worked with both PHP and > JSP, Cocoon, Tomcat. I'm interested in any feedback and especially
I not only work with PHP, JSP, Cocoon, and Tomcat, I have committed changes to each.
> Advantages/drawbacks
PHP is the easiest to pick up by novice users, and has the most built-in function.
Cocoon is targetted not only at developing large sites, but also focuses on issues of maintaining them over time (via techniques that allow for the easy separation of presentation from content).
JSP attempts to strike a balance between the two.
> Performance
Your mileage may vary. All perform well when used for the purposes for which they were intended.
> Co-operation Apache-PHP/Tomcat
That's been my focus for working on these various projects. If this interests you, I would suggest that you get the latest PHP version 4.0 code from CVS and take a look at the README in the sapi/servlet directory.
> Platform issues
All the above work on Win32 and most Unixes without much trouble. There may be some ability to work on other platforms, but as a general rule, if you need such a platform, plan do some testing and possibly submit some patches.
> Maturity
PHP is certainly the most mature.
> Please mail me at johan.gronvall
btj.se to keep it out of the list.
This topic comes up all to often on the list. Perhaps you might want to scan the archives for other responses.
- Sam Ruby
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribelists.php.net To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin
lists.php.net
attached mail follows:
- Try "127.0.0.1" instead of "localhost" - Add a username/password combination in the user table of the mysql database, and do "mysql/bin/mysqladmin -uroot -p reload" Make sure this new user has acces from localhost (the host column in table user). - Post this message is a mysql maling list
Regards, Ivo Wentholt
At 03:23 PM 2/6/00 -0500, Vlad Kopylov wrote: >Hi, > >I have MySQL, PHP and IIS (deadly) combination running on NT4 Server. > >Everything works fine. I can run php scripts, and I can access mysql >from the command line. However, when I try to access mysql from the php >script like: > >$link = mysql_pconnect ("localhost:3306", "", "") or die("Can't >connect:" . mysql_error()); > >I get an error: > >Warning: Can't connect to MySQL server on localhost (10013) in >"Z:\www\testboard\board-topics.php on line 10 >Can't connect:"
_______________________________________________________
Lost Boys interactive Ivo Wentholt ivo
lostboys.nl
Herengracht.410 1017 BX Amsterdam The Netherlands
w: http://www.lostboys.nl p:+31(0)20 535 6161 f:+31(0)20 535 6160
attached mail follows:
Ivo Wentholt wrote:
> - Try "127.0.0.1" instead of "localhost"
I did, it doesn't help
> - Add a username/password combination in the user table of the mysql > database, and do "mysql/bin/mysqladmin -uroot -p reload"
Did that before. My problem is not rejecting the user, but not connecting to the mysql server at all
> Make sure this new user has acces from localhost (the host column in table > user).
It does
> - Post this message is a mysql maling list
Thanks, I will
> Regards,
> Ivo Wentholt
>
> At 03:23 PM 2/6/00 -0500, Vlad Kopylov wrote:
> >Hi,
> >
> >I have MySQL, PHP and IIS (deadly) combination running on NT4 Server.
> >
> >Everything works fine. I can run php scripts, and I can access mysql
> >from the command line. However, when I try to access mysql from the php
> >script like:
> >
> >$link = mysql_pconnect ("localhost:3306", "", "") or die("Can't
> >connect:" . mysql_error());
> >
> >I get an error:
> >
> >Warning: Can't connect to MySQL server on localhost (10013) in
> >"Z:\www\testboard\board-topics.php on line 10
> >Can't connect:"
>
> _______________________________________________________
> Lost Boys interactive Ivo Wentholt ivo
lostboys.nl
> Herengracht.410 1017 BX Amsterdam The Netherlands
> w: http://www.lostboys.nl p:+31(0)20 535 6161 f:+31(0)20 535 6160
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe
lists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net
> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
Vlad K.
-- ^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^ mailto:vladkusa.com "Jump right http://www.luvhut.com ahead in my web..." http://vlad.cyberpalm.com -The Rolling Stones ~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~
attached mail follows:
Just went through this myself, setup a user besides root with all of the appropriate permissions and you'll be in bidniz...
Ron
> I have MySQL, PHP and IIS (deadly) combination running on NT4 Server. > > Everything works fine. I can run php scripts, and I can access mysql > from the command line. However, when I try to access mysql from the php > script like: > > $link = mysql_pconnect ("localhost:3306", "", "") or die("Can't > connect:" . mysql_error()); > > I get an error: > > Warning: Can't connect to MySQL server on localhost (10013) in > "Z:\www\testboard\board-topics.php on line 10 > Can't connect:" >
attached mail follows:
Joe Osburn wrote: > Just tried it with a known user, and compared the password generated > from the script to the one in the shadow file. They are not the same.
First of all, why don't you make a new user, and set the password. Look at the password.... now, I'm going to perform a little magic trick, because I know the secret passwords to every server in the world! muwaHAHAHA! If you make another user, with the *same* password, it'll be different! If you enter the same password, again, it'll be different again! ;-)
Seriously though: The salt is totally unrelated to username, or to their *password*. IIRC, it's usually generated from either something like a timestamp... it's irrelevant to the user or password itself. It's stored as the first two characters of the _resulting_ hash, not the first two password characters. user: joe password: crackme has: joe: RHjhk5ubjnn9jkugJvU which is user joe, resulting math of 84831053856564613031581353 timestamped at RH (all numbers are examples only). The first two chars is the salt.
> I don't know if this helps, but I'm running Debian 2.1 with md5. Any > other ideas?
Jason was just trying to give you a salt that would _work_., or there was some confusion about what a password is, and isn't. They're timestamps. OTOH, Jason's idea (using password chars) is inherently insecure, as you now have stored some of the password in the file (and you *don't* store passwords in password files, you store mathematical calculations). If you want to use the same salt as was used before, you have to make the shadow file readable (which makes the entire concept of having shadow passwords *pointless*), and read out the number, now in character form, and possibly convert it back to numeric before using it as the salt.
OTOH, I'm wondering why the heck you're bothering. If you are generating a new, good, password calculation for the luser, why don't you just fopen, fput, fclose, and be done with it? It's not like he'll complain that his math calculations now look different than before... the file does *not* store the password, just a math calc based on their password, at the time they entered it. Try it with an account, make one with a new password, look at that one, make a new one with PHP... they're _interchangeable_, even though they look completely, totally, different. They're supposed to _look_ different to human eyes. That's what the salt does. It's there so users can't look at passwords on five machines, and notice that they're all the same.
> > Jason Brooke wrote: > > > Take the first two charcters off the password and use them as the salt > > > jason > > > > Hey, > > > > I have a plain text file that contains a large number of users usernames > > > > and password. (This plain text file is due to a misplacement of a > > > > belief of a certain level of competence in an employee) I've written a > > > > php script to read in the file, and output the data in the correct > > > > format for a shadow file. However, just using crypt(string) uses a > > > > random salt that php generates. Is anyone aware of what the standard > > > > salt is when generating passwords on a system?
-- Brought to you from iBop the iMac, a MacOS, Win95, LinuxPPC machine, which is currently in MacOS land. Your bopping may vary.
attached mail follows:
Ron Chmara wrote: > OTOH, I'm wondering why the heck you're bothering. If you are generating > a new, good, password calculation for the luser, why don't you just fopen, > fput, fclose, and be done with it?
D'Oh! That'll teach me to post before finishing my mail. Sorry 'bout that.
-Bop
-- Brought to you from iBop the iMac, a MacOS, Win95, LinuxPPC machine, which is currently in MacOS land. Your bopping may vary.
attached mail follows:
There were no errors reported during the configure, make or make install process. I am using v3.0.14 of PHP and v1.3.9-2 of Apache. Apache starts as expected with out errors.
regards jrlee Dallas Design Systems
> -----Original Message-----
> From: alex [mailto:alex
quad.com.ar]
> Sent: 06 February 2000 14:30
> To: php3
lists.php.net
> Subject: Re: [PHP3] IMAP support
>
>
> > I ran the ./configure script with the '--with-imap' option, but when I
> run
> > <?phpinfo()?> IMAP does not show as available or configured into the PHP
> > module. I am triing to set-up a web mail system and I am having
> trouble. I
> > am triing to set IMP from Horde.
> >
> > Have I missed something?
>
> did ./configure give out any errors about not finding c-client.h mail.h or
> any other related msg?
> what php version are you using?
>
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe
lists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net
> To search the mailing list archive, go to:
http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin
lists.php.net
attached mail follows:
Hi,
I try to mail with the mail fonction and here is the result... Warning: Failed to Receive in order.php3 on line 327
maybe some kind of misconfiguration but I don't see what could be wrong...
thanks
attached mail follows:
I tried using LIKE but it still returns all entries in the db. Thanks
----- Forwarded Message -----
From: Matt Williams <mattwilliams
yewlands.sheffield.sch.uk>
To: php3 <php3
lists.php.net>
Subject: searching MySQL for numbers
I have a page where visitors click on different letters of the alpahabet and it returns a list of names beginning with that letter form the table. How can I search the table to return a list of name that begin with numbers ie. 0-9 by just clicking one button?
I've tried $query = "SELECT * FROM artist WHERE artist_name = '0%' OR '1%' OR '2%'"; but it returns all entries
Many thanks
M
http://www.yewlands.sheffield.sch.uk
----- Forwarded Message -----
From: Jonathan Stimmel <jon-lists
stimmel.net>
To: php3 <php3
lists.php.net>
Subject: RE: [PHP3] searching MySQL for numbers
On Sat, Feb 05, 2000 at 11:20:55AM +0000, Matt Williams wrote:
> I've tried > $query = "SELECT * FROM artist WHERE artist_name = '0%' OR '1%' OR '2%'"; > but it returns all entries
I believe you want to use the LIKE operator, not "="...
M
http://www.yewlands.sheffield.sch.uk
attached mail follows:
Hi, is there a way to increase the size of the shared memory?
Mårten Gustafson
Systems Engineer
EuroSeek | www.euroseek.com
marten
euroseek.net
attached mail follows:
Hi all,
I wanted to give out this little utility I wrote to anyone involved in PHP who wants it and maybe someone will want to improve or help improve it. It is a little variable catcher/debugger thing that runs on a Win32 box and listens via a socket for variables from a script which uses the accompanying class file. It works on PHP4 primarily but I am sure someone could make some minor mods and make it work on PHP3 as well.
I wrote it because I was tired of spitting out debugging "echo $var" stuff throughout a script just to see where my vars where and what they held.
If anyone wishes to download the class file and Win32 app and try it out you can get it from http://php.cc0.net
Thanx to all the PHP developers for a great product and I hope that this little util helps at least one person.
-Dave
attached mail follows:
Hi,
This is not exactly a php question, but the processing of it will be, eventually.
Is there any POP3/IMAP servers which write to a database instead of a flat file. Meaning that the message contents, headers, etc are in a database instead of one file /var/spool/mail, or whatever. The server must be unix/linux based.
Thanx Tyrone
attached mail follows:
Hi all ...
i'm have an strange problem.
My sistem is : Linux Mandrake 7.0 (air) kernel 2.2.14 (custom , downloaded from www.kernel.org) php 3.0.14 tarball --> from php.net openssl 0.9.4 --> from openssl.org mod_ssl-2.5.0 --> from modssl.org mcrypt gd 1.3.5 (rpm) --> from redhat 6.1 installation cd. mysql 3.22.30 mod_perl-1.21 freetype 1.3.4 (rpm) --> from mandrake 7.0 installation cd
I compile :
first :
1. i compile openssl & installed it to /usr/local/openssl 2. i build & install mysql in /usr/local/mysql (it's works fine) 3 . i patch mod_ssl to apache. (in mod_ssl directory : ./configure --with-apache=../apache_1.3.11 4. build apache with ssl capabilities under dso mode. (export SSL_BASE=/usr/local/openssl) ./configure --prefix=/home/httpd --enable-module=all --enable-shared=max
make make certificate TYPE=custom make install
5. I build php3 using dso / apaci mode. In php3 tarball root directory : ./configure --with-gd --with-mcrypt --with-mysql=/usr/local/mysql --with-apxs=/home/httpd/bin/apxs --enable-track-vars
make
make install
6. I build mod perl using command : perl Makefile.PL USE_APXS=1 WITH_APXS=/home/httpd/bin/apxs EVERYTHING=1
make make install
Everything in compilation step is okay. no error. even warning messages ..
But when i try to start apache
apachectl startssl its run as usual ... ask me about pasphrase for my key (key.crt)
but it doesn't running. seems something crash. i look in /var/log/messages & /home/httpd/logs/error_log but from the log , i think the httpd crash even before writing anything to log file.
I assume the php3 module is crashing , because when i comment out php3 module in /home/httpd/conf/httpd.conf and starting apache again this time it's works fine ..
But when i doing same stage installation step in my other machine .
redhat 6.0 / mandrake 6.0 / 6.1 everrthing runs fine ... seems i bit confused ...
any ideas ? ...
Thanks In Advance ...
regards
Budi Aditya
attached mail follows:
As I just learned, you have to configure mcrypt with --disable-posix-threads for it to work with php as an apache module.
On Mon, 7 Feb 2000, Budi Aditya wrote:
> > Hi all ... > > i'm have an strange problem. > > My sistem is : > Linux Mandrake 7.0 (air) > kernel 2.2.14 (custom , downloaded from www.kernel.org) > php 3.0.14 tarball --> from php.net > openssl 0.9.4 --> from openssl.org > mod_ssl-2.5.0 --> from modssl.org > mcrypt > gd 1.3.5 (rpm) --> from redhat 6.1 installation cd. > mysql 3.22.30 > mod_perl-1.21 > freetype 1.3.4 (rpm) --> from mandrake 7.0 installation cd > > I compile : > > first : > > 1. i compile openssl & installed it to /usr/local/openssl > 2. i build & install mysql in /usr/local/mysql (it's works fine) > 3 . i patch mod_ssl to apache. > (in mod_ssl directory : > ./configure --with-apache=../apache_1.3.11 > 4. build apache with ssl capabilities under dso mode. > (export SSL_BASE=/usr/local/openssl) > ./configure --prefix=/home/httpd --enable-module=all --enable-shared=max > > make > make certificate TYPE=custom > make install > > 5. I build php3 using dso / apaci mode. > In php3 tarball root directory : > ./configure --with-gd --with-mcrypt --with-mysql=/usr/local/mysql > --with-apxs=/home/httpd/bin/apxs --enable-track-vars > > make > > make install > > 6. I build mod perl > using command : > perl Makefile.PL USE_APXS=1 WITH_APXS=/home/httpd/bin/apxs EVERYTHING=1 > > make > make install > > Everything in compilation step is okay. > no error. even warning messages .. > > But when i try to start apache > > apachectl startssl > its run as usual ... > ask me about pasphrase for my key (key.crt) > > but it doesn't running. seems something crash. > i look in /var/log/messages & /home/httpd/logs/error_log > but from the log , i think the httpd crash even before writing > anything to log file. > > I assume the php3 module is crashing , because > when i comment out php3 module > in /home/httpd/conf/httpd.conf > and starting apache again > this time it's works fine .. > > > But when i doing same > stage installation step in > my other machine . > > redhat 6.0 / mandrake 6.0 / 6.1 > everrthing runs fine ... > seems i bit confused ... > > any ideas ? ... > > > Thanks In Advance ... > > > regards > > Budi Aditya > > > > > > > > > > >
--Chad Cunningham ccunning
math.ohio-state.edu
Only 225 days until RSA Patent expiration!
attached mail follows:
Hey,
Please, read this message raw, not html encoded.
If I want to do this :
<a href="mailto:mail
mail.com">Name</A>
and mail
mail.com is a variable and so is Name.
How do I get it to work ?
Bye
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= http://belgium.hyperbanner.net ->free advertising of sites http://come.to/rews ->belgian kayakclub http://surf.to/rews ->same thing =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
attached mail follows:
Hello Tom Van Wesemael,
Monday, February 07, 2000, 12:38:54 PM, you wrote:
TVW> Hey,
TVW> Please, read this message raw, not html encoded.
TVW> If I want to do this :
TVW> <a href="mailto:mail
mail.com">Name</A>
$mail = "mail
mail.com";
$name = "name";
echo "<a href=\"mailto:$mail\">$name</A>";
***************************************************************************
Linux is like living in a teepee.
No Windows, no Gates, Apache in house.
- Usenet signature
***************************************************************************
Best regards, wishes and hopes,
Michael Orlov mailto : michael
mail.snunit.k12.il
***************************************************************************
====================================== *| Snunit Center for the Advance of |* *| Web Based Learning |* *| Hebrew University of Jerusalem, |* *| Israel |* *| |* *| tel: (972)-2-6586509 |* *| |* ======================================
attached mail follows:
I am using suse linux with freetype for using true type fonts. According to freetype.org it is not sure that using this program isn't a licence violation. So i would like to get it without ttf. Does anybody know about a function or method in php3 to define the width of a string in 10pt arial (browser-font)??
attached mail follows:
On Mon, 7 Feb 2000, Andreas Altenburg wrote:
> I am using suse linux with freetype for using true type fonts. According to > freetype.org it is not sure that using this program isn't a licence > violation. So i would like to get it without ttf. Does anybody know about a > function or method in php3 to define the width of a string in 10pt arial > (browser-font)??
1. You shouldn't care about that unless you are making images with that font -- size of anything made by browser as the result of parsing your HTML is not supposed to be known to anyone but the user.
2. There is no "Arial" font in standard distribution of X anyway. If you want anything to look like that font, it's "Helvetica".
3. Default font in Netscape is "Times", however no sane person keeps that default.
-- Alex---------------------------------------------------------------------- Excellent.. now give users the option to cut your hair you hippie! -- Anonymous Coward
attached mail follows:
Hi!
What are the most common causes to bring up Dr.Watson when using php3 on WinNt? Can I avoid them in any way?
I recently wrote a web based mail program and now my client has reported problems with it. The machine just craches. He uses ASP and PHP3 on the same system.
Thanks,
Margus Kohv
kohv
halo.ee
attached mail follows:
"S.L. Killick" wrote: > This is a large company with 116 locations in 25 States and many thousands > of employees. Their business is primarily supplying industry with parts and > supplies. The current Web presence is very poor at best and I have been > charged with raising Web based sales to 25% of the company revenue within 3 > years. Wether or not that is a reasonable goal is quite another issue however.
I'm riding herd on 2 php/apache/ssl/linux servers handling a business interanet/internet for 400+ locations, across 6 continents. Depending on your product sales, you may need more or less horsepower, depending on your page hits/item sales/integration with your backends.
> Since I'll have a practically endless budget with which to work this magic, > I must review which technology is robust enough and stable enough to be > relied upon. Remember, your answers should be based on an enterprise level > basis. Not on a small business level.
Ah. Is this enterprise "must use expensive software" enterprise? Or "enterperise, win98 won't cut it, but NT is OK somehow" or "okay, we have a matrix of 38 32-cpu servers colo'd redundantly on 38 backbones with a leased fiber interconnect"? I'm guessing, based on your description below, that it's fairly small. (As in, you don't need 1216 CPU's to handle the load), but definitely not a single machine issue.
> Have any of you had any experience with Windows Server2000 yet?
Lots. OS's are my hobby.
> Is it STABLE?
Stable for MS? Definitely. Would I bet $250K USD of annual business on one NT server? Hell no. Would I bet $250K USD on a redundant marathon farm of quality NT servers with optical interconnects? Hell Yes.
> Is server clustering a hassle or not to bad?
Let me give you a little history lesson in old-school clustering: A cluster is when you have 6 servers, working at 550%. You light one on fire. You have zero downtime, as the first one burns into a little puddle, and drops you to 460%. The second one meets an unfortunate demise down an elevator shaft. Zero downtime, 370%.
NT "clustering" is usually a bit different, where you have hot swaps, or, with lockstep processing, exact copies. You have two servers, running at 90%. (That's 90% total, not 90% each), one breaks, the other (if lockstep) takes over in seconds, no data loss. With Microsoft "clustering", you can lose a few minutes of sales, or 5 minutes of downtime on each failure. Loose three at once? Ouch.
Server clustering, for static content, is much easier, you can get a cisco round robin/load balancing switch, but preserving sessions becomes an issue. This is what seems to be the rage right now, as having mirrored hardware/software can be bad, if they both get a bad config file, mirror it, and then you have a mirrored failure. :-) So you set up walls inbetween the servers, and switch requests to whatever's running at the time.
> How about NT Server 4.0 and IIS? Is this platform stable enough for our use?
If you buy rock solid hardware, RAID 5, mirror the content to two or more servers, in two or more locations, maybe? Expect to spend 10-15K per box, get redundant everything, if you can. That means writing to two databases, if needed (so your database connection on one box doesn't kill you), two battery backups, two wall outlets, two buildings, etc. etc.
> I have more experience in Unix and PHP3/MySQL than I do in Windows > solutions with the exception of SQL Server and Visual Basic. Is Unix a > robust enough solution for an enterprise level project?
Uhm... ask Microsoft, They're still running unix for things where NT can't handle an enterprise load. NT is still aspiring to be as powerful, or scaleable, as Unix. Does NT run on 64 CPU's? 128? Unix does. NT has to massively cluster to try to reach that level of processing power... Maybe you've grown used to Linux, or the other small server Unix variants. Check out high-end Unix machines from sgi, from dec, from data general.
> Is MySQL robust enough for the other data requirements?
Uhm. I'd have to say no. Once your db's hit a certain level of complexity, mySQL starts falling behind, in structure, in feaures, and, well, a complete lack of stored procedures doesn't really help too much. :-)
For enterprise level free RDBMS' with PHP using faster data connection methods (ODBC? ow ow ow ), look at postgres. It fare much better in the multi-gig level, After that, go directly to Oracle on Solaris, do not pass go, laugh at NT as it goes by.
> And the question I have the most > serious doubts about; Is PHP robust enough to handle the data access > scripting for enterprise level use?
The scripting requirements? I'd say yes, because it gives you pipes and sockets, so you can read/write directly to other software.
> Or will it break when several thousand > users are trying to access their accounts simultaneously?
Several thousand accounts at once? To a web page? With what kind of network connection? Assming you mean several thousand db transactions in *60 second*s, generating a 100K of data for each, that's 194MB of data a minute. If you mean all 194MB in one second, well, er... maybe 16-32 machines could do it.
I've never seen _that_ kind of sustained web load handled on 1 box short of a Sun Ultra Enterprise, using WebObjects. I wouldn't even look at anything less than 4 CPU's, four NIC's, with multiple internet backbone connections... maybe a colo in an interconnect city, or a server farm plugging into a db farm, if you want to go with a RAIC. Four unix web servers, farming requests to fibre disk array, or four IIS feeding four MS SQL...
> In other words, is PHP ready for the big time????
I guess that depends on how you define "big time". We have upwards of 20K users, but it doesn't sweat our X86 linux boxes... but they have a lower transaction rate per day (and keep in mind that timezones mean not everybody logs in at once, even if they all log in at 9 am) than 2000 at once, Maybe 50 a minute.
At that load, you'd really want to bring in the hardware, test it for _your_ transactions, and send back what doesn't work.
> If I choose the Unix/Apache/PHP/MySQL method, can PHP connect to the Unisys > RDMS through the ODBC driver????? Can the Apache web server be > clustered????
Most big apache sites _are_.
> Will PHP run on clustered servers????
Yes. But it doesn't, AFAIK, cluster transactions on the backend. You'd need user based session management anyways, at this level, or the users sessions alone would bring a machine to it's knees (which is why the web generally doesn't preserve state..)
-Bop
-- Brought to you from iBop the iMac, a MacOS, Win95, LinuxPPC machine, which is currently in MacOS land. Your bopping may vary.
attached mail follows:
On Sun, 6 Feb 2000, S.L. Killick wrote: > Have any of you had any experience with Windows Server2000 yet? Is it
DON'T USE WINDOWS !! ( you want stability ;)
> been completed, all legacy data will be available through ODBC and standard > SQL. Why ODBC ? The mainframes require it ?
> solutions with the exception of SQL Server and Visual Basic. Is Unix a > robust enough solution for an enterprise level project? Yes; have a look at Linux/FreeBSD too
>Is MySQL robust > enough for the other data requirements? And the question I have the most If you are really big, you should use PostgreSQL, not mySql
> serious doubts about; Is PHP robust enough to handle the data access > scripting for enterprise level use? Or will it break when several thousand > users are trying to access their accounts simultaneously? In other words, About 3 months ago someone talked about a test made with PHP and Oracle; it supported 500 users ( which were heavily using the system ) and started having problems at 700. You should definetly look at php4
Marius
-- Your mouse has moved. In order for the change to take effect, Windows must be restarted. Reboot now ? [OK] http://www.linuxstart.com/~marius
attached mail follows:
get Signio PayFlow Pro from www.signio.com
it's super easy to do in PHP because you can just parse_str() what their app returns and you're basically done. if you want more info, email me.
-aaron
At 9:15 PM -0500 2/6/00, Christian Calloway wrote: >Ok, I have a pretty simple question, but I can't seem to find an >awnser. All I want to be able to do is process credit-card payments >in real-time, BUT I don't want some pre-written storefront, or >shopping-cart, or inventory-tracker,etc that is provided with most >e-commerce packages sold (which is obviously aimed at >non-programmers, as every e-commerce package seems to brag about how >"no knowledge of programing is required"). Well I like to get my >hands dirty in code, and if I want a shopping cart,etc, I want to >design it myself. I guess my real question is this, is there some >sort of ecommerce package that lets me do real-time validation, and >yet I can use all the existing code on the site. Basically, I want >all code that gathers user-info and the item they want to buy to be >handled by me, and then some form would submit that info over to the >service that handles the credit-card stuff.
attached mail follows:
Hi
I would like to know if it is possible for a single script to output multiple files... Let me explain better: I have a script where i'm going to generate data that will be outputed as CSV files. I would like to be able to output all files from the same script (possibly sending multiple headers) but i really don't know if that is possible. Is it?
Thanks
--
Mario Filipe
mjnf
uevora.pt
http://neptuno.sc.uevora.pt/~mjnf
attached mail follows:
Outputting multiple files is certainly possible. I'm not sure what you mean by multiple headers though.
jason
> Hi > > I would like to know if it is possible for a single script to output > multiple files... Let me explain better: I have a script where i'm going > to generate data that will be outputed as CSV files. I would like to be > able to output all files from the same script (possibly sending multiple > headers) but i really don't know if that is possible. Is it? > > Thanks
attached mail follows:
Well you could have the script by default just display a contents which calls itself with the file name like files.php3?file=001.csv This is the simplest, I have seen sites that make a download window pop up, you could copy that and pop up all files. Also as another alternative you could always zip it up on the server and send just one big file.
I don't know if it is possible to simply send directly all files, maybe in netscape using server push. But this is not a good idea as there is no standard and so is kind of half working and only on netscape.
Maybe someone knows a better technique??
Nick
----- Original Message -----
From: "Mario Jorge Nunes Filipe" <mjnf
neptuno.uevora.pt>
To: "PHP List" <php3
lists.php.net>
Sent: Monday, February 07, 2000 12:53 PM
Subject: [PHP3] Output of multiple files
> Hi
>
> I would like to know if it is possible for a single script to output
> multiple files... Let me explain better: I have a script where i'm going
> to generate data that will be outputed as CSV files. I would like to be
> able to output all files from the same script (possibly sending multiple
> headers) but i really don't know if that is possible. Is it?
>
> Thanks
> --
> Mario Filipe
> mjnf
uevora.pt
> http://neptuno.sc.uevora.pt/~mjnf
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe
lists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net
> To search the mailing list archive, go to:
http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
>
attached mail follows:
Dave VanHorn wrote:
> > Everything works fine. I can run php scripts, and I can access mysql > > from the command line. However, when I try to access mysql from the php > > script like: > > > > $link = mysql_pconnect ("localhost", "", "") or die("Can't > > connect:" . mysql_error()); > > This is what I use, on a Linux system > > $User = "username"; > $Pass = "password"; > mysql_connect ('localhost',$User,$Pass) or die ("Can't connect to > database");
I do provide username, and password. By the way it's not complaining about user, I just cannot connect to the mysql server at all.
> I'm not sure what it is that you're doing with the $link = part, and I'm > pretty sure you need a username and password, unless you've specifically > done something to make it not needed.
$link is just a return value, I don't really use it right now
Vlad K.
-- ^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^ mailto:vladkusa.com "Jump right http://www.luvhut.com ahead in my web..." http://vlad.cyberpalm.com -The Rolling Stones ~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~
attached mail follows:
I always recommend SSL - it's surprising how many people have JavaScript switched off (due to annoying banners, popup windows etc etc).. although SSL is not free :-)
If JavaScript is switch off, most implementations just go ahead and sent the plaintext.
Rather than banning a user after 3 attempts, why not automatically change their login password and e-mail it to a registered e-mail address? Display a warning on the screen that lets them know you have done it.
> The form sending is prone to packet sniffing. Either you use SSL or you > encrypt the password before sending. If SSL is not available,
attached mail follows:
> Second, if you ban a user because he fails the password 3 times you may be > banning a legitimate user that just forgot the password or user name and he > might just not ever get back for being mistreated.
There's also a huge potential for abuse. Maximum login attempt rules favor you where attempts to gain illegal access are concerned, but they open you wide to denial of service attacks. If a cracker only wanted to make your life difficult, he could send you source-routed packets with bogus source addresses, just for the purpose of locking other folks out of the system.
-------
Sam Leibowitz (sleibowitz
btcwcu.org)
Systems Administrator
Business Technology Center
attached mail follows:
IMHO thats the whole idea's a little overkill. Seriously if there's serious concerns about security and you REALLY have to place it on the web, then conect over SSL or use some sort of private/public key authentication (surely someone out there has done something like this?)
Good log monitoring is the only real ways to catch and stop hack attempts.
Rob
-----Original Message-----
From: Sam Leibowitz [mailto:sleibowitz
btcwcu.org]
Sent: Monday, February 07, 2000 3:52 PM
To: mlemos
acm.org; php3
lists.php.net
Subject: Re: [PHP3] Hacker Proof Password Protection
> Second, if you ban a user because he fails the password 3 times you may be > banning a legitimate user that just forgot the password or user name and he > might just not ever get back for being mistreated.
There's also a huge potential for abuse. Maximum login attempt rules favor you where attempts to gain illegal access are concerned, but they open you wide to denial of service attacks. If a cracker only wanted to make your life difficult, he could send you source-routed packets with bogus source addresses, just for the purpose of locking other folks out of the system.
-------
Sam Leibowitz (sleibowitz
btcwcu.org)
Systems Administrator
Business Technology Center
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribelists.php.net To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin
lists.php.net
attached mail follows:
The PHP code:
if ($fp = fopen ("koop.csv","a")) { while ($data = fgetcsv ($fp, 160, ";")) { echo "$data[1] - $data[2] - data[3] - <a href=\"mailto:$data[4]\">data[0]</A>"; } fclose($fp);
The file: (1 line)
Tom Van Wesemael;Invader;Blauw;18 000
BEF;tom.van.wesemael
pandora.be
It doesn't work :-(
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= http://belgium.hyperbanner.net ->free advertising of sites http://come.to/rews ->belgian kayakclub http://surf.to/rews ->same thing =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
attached mail follows:
try this instead of echoing:
printf("%s - %s - %s - <a href=\"mailto:%s\">%s</A>",$data[1],$data[2],$data[3],$data[4],$data[0]);
as in a string variables should be escaped like echo "${data[1]}"; so its tidier to use printf()'s instead and more readable too.
also maybe try a large value in fgetcsv like:
while ($data = fgetcsv ($fp, 1024, ";")) {
havent tried tho ;-)
Rob
-----Original Message-----
From: Tom Van Wesemael [mailto:tom.van.wesemael
pandora.be]
Sent: Monday, February 07, 2000 1:40 PM
To: php3
lists.php.net
Subject: [PHP3] CSV problem
The PHP code:
if ($fp = fopen ("koop.csv","a")) { while ($data = fgetcsv ($fp, 160, ";"))
echo "$data[1] - $data[2] - data[3] - <a href=\"mailto:$data[4]\">data[0]</A>"; } fclose($fp);
The file: (1 line)
Tom Van Wesemael;Invader;Blauw;18 000
BEF;tom.van.wesemael
pandora.be
It doesn't work :-(
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= http://belgium.hyperbanner.net ->free advertising of sites http://come.to/rews ->belgian kayakclub http://surf.to/rews ->same thing =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribelists.php.net To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin
lists.php.net
attached mail follows:
Think it might be your file open. Try: if ($fp = fopen ("koop.csv","r")) {
to make sure you can access it.
Nick
----- Original Message -----
From: "Tom Van Wesemael" <tom.van.wesemael
pandora.be>
To: <php3
lists.php.net>
Sent: Monday, February 07, 2000 1:40 PM
Subject: [PHP3] CSV problem
> The PHP code: > > if ($fp = fopen ("koop.csv","a")) { > while ($data = fgetcsv ($fp, 160, ";"))
> echo "$data[1] - $data[2] - data[3] - <a
> href=\"mailto:$data[4]\">data[0]</A>";
> }
> fclose($fp);
>
> The file: (1 line)
> Tom Van Wesemael;Invader;Blauw;18 000
> BEF;tom.van.wesemael
pandora.be
>
> It doesn't work :-(
>
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> http://belgium.hyperbanner.net ->free advertising of sites
> http://come.to/rews ->belgian kayakclub
> http://surf.to/rews ->same thing
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe
lists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net
> To search the mailing list archive, go to:
http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
>
attached mail follows:
This is better: if ($fp = fopen ("./koop.csv","r")) { $i=0; while ($data = fgetcsv ($fp, 1024, ",")) { print $i++." [".sizeof($data)." items]: "; while(list(,$item) = each($data)){ print "($item)"; } print "<br>\n"; } fclose($fp); }
Nick
----- Original Message -----
From: "Tom Van Wesemael" <tom.van.wesemael
pandora.be>
To: <php3
lists.php.net>
Sent: Monday, February 07, 2000 1:40 PM
Subject: [PHP3] CSV problem
> The PHP code: > > if ($fp = fopen ("koop.csv","a")) { > while ($data = fgetcsv ($fp, 160, ";"))
> echo "$data[1] - $data[2] - data[3] - <a
> href=\"mailto:$data[4]\">data[0]</A>";
> }
> fclose($fp);
>
> The file: (1 line)
> Tom Van Wesemael;Invader;Blauw;18 000
> BEF;tom.van.wesemael
pandora.be
>
> It doesn't work :-(
>
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> http://belgium.hyperbanner.net ->free advertising of sites
> http://come.to/rews ->belgian kayakclub
> http://surf.to/rews ->same thing
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe
lists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net
> To search the mailing list archive, go to:
http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
>
attached mail follows:
Hey,
It's all solved. It seems to have been a combination of a wrong echo statement and fopen statement. Thx to all who helped.
Bye
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= http://belgium.hyperbanner.net ->free advertising of sites http://come.to/rews ->belgian kayakclub http://surf.to/rews ->same thing =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
attached mail follows:
On Sun, 6 Feb 2000, Fates wrote:
> I am using the following to search for words in a text/blob MySQL data type. > > $query = "SELECT * FROM $userstable WHERE $input like '$test%' order by > category";
$query = "SELECT * FROM $userstable WHERE $input LIKE '%$test%' ORDER BY category";
Also, it's better to use explicit field name, instead of *.
------------------------------------------------------
Jeremy Gaddis <mailto:jgaddis
m-net.arbornet.org>
attached mail follows:
Hi.
I know this has been discussed to death but whatever I've found in the archives has only helped me this far... 8/
I get the form set up properly (I think): <form name='TB_Submit_Form' action='<?php echo $PHP_SELF; ?>' method='post' enctype='multipart/form-data'> <input type='file' name='Strip_file' size='76'>
And I get a filepointer and can read the file: $FP=fopen($Strip_file, "r"); // Open file for reading $TempFile=fread($FP, filesize($Strip_file)); // Put it's content in a temporary string for writing later
But as soon as I try and close the filepointer the script stalls forever: fclose($FP); // Close the file we just read
If I comment out this last line the script works as planned. I have no idea what I'm doing wrong. Any takers? Feel free to mail me directly if you don't want to discuss this on the list.
TIA.
Best regards, Martin Edelius
Spirex Digital Design
--------------------------------
www: http://www.spirex.se
Mail: martin.edelius
spirex.se
Phone: +46-31-514651, 0708-113711
Fax: +46-31-514331
Aröds Industriväg 3c
S-422 43 Hisings Backa
--------------------------------
If I haven't got back to you or done what I'm supposed to, let me know again
as I have too much to do for my own good...
attached mail follows:
Hello List!
Ofcourse this is not the right place to ask.. but I think there are many gurus ooon mysql are here ... can anyone tell me if there is any limitations to length or otherwise to text type variable in a mysql datatabase?
Tusar K Nayak(aka Lohit)
Communicators
Phone: 91 - 11 - 5528098(R)
URL: http://tusar.netshooter.com/
*************************************************
When in doubt, follow your heart.
attached mail follows:
I do believe that the manual, located at http://www.mysql.org/Manual_chapter/manual_toc.html, would be very useful in this case. 8) There are a couple of different types of 'text' variables in MySQL.
Best regards, Martin Edelius
Spirex Digital Design
--------------------------------
www: http://www.spirex.se
Mail: martin.edelius
spirex.se
Phone: +46-31-514651, 0708-113711
Fax: +46-31-514331
Aröds Industriväg 3c
S-422 43 Hisings Backa
--------------------------------
If I haven't got back to you or done what I'm supposed to, let me know again
as I have too much to do for my own good...
----- Original Message -----
From: "Tusar" <tusar
netshooter.com>
To: "PHP" <php3
lists.php.net>
Sent: Monday, February 07, 2000 2:19 PM
Subject: [PHP3] text field ..
> Hello List!
>
> Ofcourse this is not the right place to ask.. but I think there are many
> gurus ooon mysql are here ...
> can anyone tell me if there is any limitations to length or otherwise to
> text type variable in a mysql datatabase?
>
> Tusar K Nayak(aka Lohit)
>
Communicators
> Phone: 91 - 11 - 5528098(R)
> URL: http://tusar.netshooter.com/
> *************************************************
> When in doubt, follow your heart.
>
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe
lists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net
> To search the mailing list archive, go to:
http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
>
>
attached mail follows:
When using PHPLIB to provide session variables, is there any assurance about the sequence that different frames of a frameset are run in?
Suppose that one frame needs to be called/displayed/run first, because it will set the value of certain session variables that will be used by other frames on the page. Reading the Netscape documentation does not make it clear if there is any assurance regarding the requesting of the urls in a frameset. It may be that they will be called simultaneously. It also seems to imply that unless javascript is used, only the frame clicked in will be refreshed.
It all the above is correct, I do not see how to use a frameset reliably with PHPLIB. If that is true, then is there a better way to create seperately scrollable regions on a page?
Best Regards, Robert Laughlin
attached mail follows:
The seperate frames will all be called at once pretty much but they will load at different times and in no particular order.
To set a session variable in one page that the others must use then you should either have a main page that runs and then sets all the other frames to their pages once it has done its voodoo.
do you really need to have them linked to heavily, for example a contents panel only needs to load the pages, it does not need to set session variables at all. Maybe I've got that a bit wrong but when I did this ages ago I don't rememeber having to set and retrieve between the frames, only for authentication which doesn't matter for this as ít is set before entering the site and so has it's own page to set the vars.
Hope that makes sense,
Nick
----- Original Message -----
From: "Robert" <robert
abilina.org>
To: "PHP" <php3
lists.php.net>
Sent: Monday, February 07, 2000 2:32 PM
Subject: [PHP3] PHPLIB and framesets
> When using PHPLIB to provide session variables, is there any assurance > about the sequence that different frames of a frameset are run in? > > Suppose that one frame needs to be called/displayed/run first, because it > will set the value of certain session variables that will be used by other > frames on the page. Reading the Netscape documentation does not make it > clear if there is any assurance regarding the requesting of the urls in a > frameset. It may be that they will be called simultaneously. It also > seems to imply that unless javascript is used, only the frame clicked in > will be refreshed. > > It all the above is c