Re: [PHP] cookie stopped working???

2001-01-13 Thread Rasmus Lerdorf
> SetCookie("cpvin","$vin","time()+1500"); SetCookie("cpvin",$vin,time()+1500); Note though that such short expiry times make you very prone to people having their clocks set wrong. It is a better idea to embed your server's timestamp in the value of the cookie and when you get the cookie back

Re: [PHP] problem using flock()

2001-01-13 Thread Mukul Sabharwal
Hi, Well the problem might be while obtaining the lock. fopen() with let's say 'a' will open the file, and put the cursor to the very last byte. The time period between opening the file and getting the lock is probably where you're clobbered. At let's say time X, a file is opened and the writing

[PHP] Easiest Way to Install PHP3 with MySQL support on RHL 6.2

2001-01-13 Thread Neil Zanella
Hello, I thought this might be of interest to some newbies who might want to enable MySQL support in PHP without having to do anything but execute some commands as root on their Red Hat Linux 6.2 system. Here they are: wget ftp://ftp.redhat.com/redhat/redhat-6.2/SRPMS/SRPMS/php-3.0.15-2.src.rpm

[PHP] Refresh particular browser while updating another browser

2001-01-13 Thread Hendry Sumilo
Dear Expert, I would like how to refresh particular browser with a new updated data when the user has updated it at another browser. Purpose of doing this is particular user won't user overwrite new value if he uses another browser to update it. Thank you Sincerely Yours Hendry Sumilo [EMA

[PHP-CVS] cvs: php4 /ext/iconv iconv.c php_iconv.h

2001-01-13 Thread Rui Hirokawa
hirokawaSat Jan 13 23:40:16 2001 EDT Modified files: /php4/ext/iconv iconv.c php_iconv.h Log: added iconv_get_encoding and supported initialization from php.ini Index: php4/ext/iconv/iconv.c diff -u php4/ext/iconv/iconv.c:1.3 php4/ext/iconv/iconv.c:

[PHP] logging page views, which method is better????

2001-01-13 Thread Dallas Kropka
I have a large site, with several hundred pages its a product listing and shopping cart and I want to log my page views I receive an average of 3000 hits per minute. Is it better (faster) to log my views to a database table? or to a flat file? -- PHP General Mailing List (

[PHP] file checking

2001-01-13 Thread Huseyin
i am trying to write a function that checks the file to see if it is still availabla to download if not it will return link is broken this is what i have if(!($connection = @fopen ($row[url], "r"))) { $broken=1;} else { $broken=0; } but the problem is that it sometimes display broken link even tho

[PHP] SMs

2001-01-13 Thread Dhaval Desai
HI! I am trying to build a SMS(Short message service) mesaging system..can anybody tell me what are the requirements for this... Thanx a lot! Dhaval Desai __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yaho

[PHP] Installing PHP in Windows Me and PWS4

2001-01-13 Thread Statbat
Hello, I am trying to install php in windows Me and PWS4. But I am getting into trouble. I have stated the steps I have performed and the one I am unable to perform. 1. - The easiest way to do it is to copy these DLLs to your SYSTEM (Windows 9x) directory, which is under your Windows direc

[PHP-CVS] cvs: CVSROOT / avail gen_acl_file.m4

2001-01-13 Thread Rasmus Lerdorf
rasmus Sat Jan 13 21:55:07 2001 EDT Modified files: /CVSROOTavail gen_acl_file.m4 Log: More karma for David Croft Index: CVSROOT/avail diff -u CVSROOT/avail:1.33 CVSROOT/avail:1.34 --- CVSROOT/avail:1.33 Fri Jan 12 10:27:59 2001 +++ CVSROOT/avail

RE: [PHP] Mixing PHP3 & SSI

2001-01-13 Thread Rasmus Lerdorf
> > > If readfile is indeed that "broken", maybe we can talk the > > > powers that be into dumping full HTTP headers through the > > > readfile call in a future version I mean, the main > > > script has it already from when it was called... so it > > > should be able to sub-call pages in that

[PHP-CVS] cvs: php4 /ext/standard datetime.c

2001-01-13 Thread David Croft
david Sat Jan 13 21:37:33 2001 EDT Modified files: /php4/ext/standard datetime.c Log: reserve space for quoted characters fixes buffer overrun bug #8694 Index: php4/ext/standard/datetime.c diff -u php4/ext/standard/datetime.c:1.62 php4/ext/standard/date

Re: [PHP] problem using flock()

2001-01-13 Thread Rasmus Lerdorf
Oh man, I wouldn't do it this way. Log this stuff in a separate file using a simple append which doesn't need logging. Then write yourself a simple little perl script that figures it out after the fact. File locking on anything with high traffic is going to make your hair turn grey. Another al

RE: [PHP] Mixing PHP3 & SSI

2001-01-13 Thread Scott Brown
> > If readfile is indeed that "broken", maybe we can talk the > > powers that be into dumping full HTTP headers through the > > readfile call in a future version I mean, the main > > script has it already from when it was called... so it > > should be able to sub-call pages in that same cont

Re: [PHP] RTFM me to IIF file format creation...

2001-01-13 Thread php3
Addressed to: "Dallas Kropka" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Dallas Kropka" <[EMAIL PROTECTED]> Sat, 13 Jan 2001 19:15:02 -0600 > > I need to create files and reports for importation into QuickBooks, > but they need to be in the IIF file format that Qu

RE: [PHP] Mixing PHP3 & SSI

2001-01-13 Thread Rasmus Lerdorf
> If readfile is indeed that "broken", maybe we can talk the powers that be > into dumping full HTTP headers through the readfile call in a future > version I mean, the main script has it already from when it was > called... so it should be able to sub-call pages in that same context. readfil

RE: [PHP] Mixing PHP3 & SSI

2001-01-13 Thread Scott Brown
Well, it means redeveloping the entire site then - i'm just trying to add one PHP page to a couple of dozen others that are entirely built out of pieces of SHTML - not reinvent the wheel (I'm not getting paid for my time here - it's volunteer work ;-) If readfile is indeed that "broken", maybe we

RE: [PHP] Mixing PHP3 & SSI

2001-01-13 Thread Rasmus Lerdorf
Well, your readfile() method will never work in any version of PHP. Why not just port all your SSI stuff to PHP? There is nothing you can do in SSI that you can't easily do in PHP. -Rasmus On Sun, 14 Jan 2001, Scott Brown wrote: > I tried virtual first - but it didnt work. > > it grabbed the

RE: [PHP] Mixing PHP3 & SSI

2001-01-13 Thread Scott Brown
I tried virtual first - but it didnt work. it grabbed the first call, processed it, and then forgot about the rest of the page. > -Original Message- > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] > Sent: Saturday, January 13, 2001 11:56 PM > To: Scott Brown > Cc: [EMAIL PROTECTED]

RE: [PHP] load balancing with php/apache?

2001-01-13 Thread [EMAIL PROTECTED]
On Sat, 13 Jan 2001, jeremy brand wrote: > Oh, BTW, we don't use PHP sessions, we use our own. That has got me hooked - what do you use? do you mean you dont use 1) PHP4 sessions OR 2) don't use PHP for session handling at all? Tarique -- = B2

Re: [PHP] Mixing PHP3 & SSI

2001-01-13 Thread Rasmus Lerdorf
Why did you decide not to use virtual? The readfile() method you are using turns PHP into the browser and it makes a completely new request to your web server. -Rasmus On Sat, 13 Jan 2001, Scott Brown wrote: > Ok - I thought I saw that it could be done, so I tried it... and I almost > got it w

[PHP] Mixing PHP3 & SSI

2001-01-13 Thread Scott Brown
Ok - I thought I saw that it could be done, so I tried it... and I almost got it working. But rather than one simple layer, I've got SHTML that calls other SHTML and so on it made changes really simple until now ;-) So anyways, rather than use I've replaced my with and

Re: [PHP] Problem building php 3.0.18

2001-01-13 Thread Michael A. Peters
I did that, and compiling those two modules as modules gives the same error (as it would, of course). I really would those compiled as seperate shared objects, not as part of the libphp3.so. These will be rpm's that are distributed, and the way users determin what php functions they want to use i

Re: [PHP] Escape characters

2001-01-13 Thread Cynic
mail( 'email@address' , 'subject' , stripslashes( $body ) ) ; At 04:22 14.1. 2001, Jeremy Bowen wrote the following: -- >Hey All, > >I am sending e-mail using the mail() command. My question is whenever >an ' is used in

[PHP] Escape characters

2001-01-13 Thread Jeremy Bowen
Hey All, I am sending e-mail using the mail() command. My question is whenever an ' is used in the e-mail it is escaped like this: don\'t. Is there any way to prevent this?? Thanks, Jeremy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTEC

[PHP] $B=K!*$4@.?M(B**

2001-01-13 Thread Over Twenty
$B$4@.?M%*%a%G%H%&%4%6%$%^%9(B http://www.gem.hi-ho.ne.jp/p-head/tobi/infdex.htm $B$4@.?M0J30$O:o=|$7$F$/$@$5$$(B -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,

Re: [PHP] rewriting the browser's url

2001-01-13 Thread Cynic
1) use POST method, not GET 2) don't output anything from the script that recieves the POST data, instead, redirect to another page. pseudocode follows: if( post ) { query the database ; header( 'Location: result.php' ) ; } html form At 03:23 14.1. 2001, Jared Howard wrote t

php-general Digest 14 Jan 2001 02:22:50 -0000 Issue 453

2001-01-13 Thread php-general-digest-help
php-general Digest 14 Jan 2001 02:22:50 - Issue 453 Topics (messages 34360 through 34435): load balancing with php/apache? 34360 by: Erick Papadakis 34374 by: Tim Zickus 34376 by: Rasmus Lerdorf 34377 by: Joe Stump 34378 by: Rasmus Lerdorf 343

[PHP] rewriting the browser's url

2001-01-13 Thread Jared Howard
I need to know how to be able to eliminate the querysting portion of the URL that is displayed on the users browser. I don't want it possible to click refresh and reenter in the same querystring that was used previously (eg. php runs a mysql query of INSERT based on the querystring which only sho

Re: [PHP] Templates

2001-01-13 Thread andrew
Yup, I believe so - I've been wrestling with this idea for a while and trying to figure out how to integrate it into the parser explained in a PHPBuilder Article on Cached Modules: http://www.phpbuilder.net/columns/jprins2201.php3 In the above, I think the point is to create little block tem

Re: [PHP] Templates

2001-01-13 Thread Michael Kimsal
I'm sure it could be done, just with a bit of planning. The notion of passing in sql results is not foreign - we do it sometimes to our own 'templates', but our templates are generally just HTML with a bit of PHP in there, whereas the initial PHP page is PHP with a tiny bit of HTML. If there's a

[PHP] RTFM me to IIF file format creation...

2001-01-13 Thread Dallas Kropka
I need to create files and reports for importation into QuickBooks, but they need to be in the IIF file format that QuickBooks supports where can I find information for creating these files? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Re: [PHP] Templates

2001-01-13 Thread andrew
Sure, My understanding of templating engines 1.array or item is assigned to a variable 2.php placeholders in a html page match in name to above variable. 3.a parser separate from php subsitutes the variable values set in (1) into (2) I've seen plenty of examples where there is a file

[PHP-CVS] cvs: php4 /pear/DB/tests/ibase .cvsignore 001.phpt 002.phpt 003.phpt 004.phpt 006.phpt 010.phpt connect.inc mktable.inc skipif.inc

2001-01-13 Thread Stig Bakken
ssb Sat Jan 13 16:30:02 2001 EDT Added files: /php4/pear/DB/tests/ibase .cvsignore 001.phpt 002.phpt 003.phpt 004.phpt 006.phpt 010.phpt connect.inc mktable.inc skipif.inc Log: * defined so

Re: [PHP] Templates

2001-01-13 Thread Michael Kimsal
I thought I understood your question, but I think I need a clarification. Can you elaborate a bit? I think I have an answer, but I'm not 100% what you're meaning here. Thanks. andrew wrote: > Michael, > > Wouldn't a benefit be that you could pass a database query in via that > variable, eithe

Re: [PHP] Send browser a 404 not found header?

2001-01-13 Thread Jamie Burns
ahhh, cracked it ;) header("HTTP/1.1 404 Not Found"); echo(''); exit; will produce the nice IE 404 error document... in fact, echoing anything under a certain size, after the header, seems to get IE to do its thing. Jamie Burns. - Original Message - From: "Jamie Burns" <[EMAIL PR

[PHP] problem building php_gd.dll

2001-01-13 Thread Cynic
I'v run into a wall when trying to build php_gd.dll. I have built gd.lib (gd-1.8.3) with PNG support (libpng-1.0.8): % nmake gd.lib /f makefile.nt and except two warnings, all seemed well: gd_io.c(145) : warning C4028: formal parameter 2 different from declaration gdkanji.c(385) : warning C4033

Re: [PHP] Templates

2001-01-13 Thread andrew
Michael, Wouldn't a benefit be that you could pass a database query in via that variable, either via form submit or value of a clicked link? I know PHP can do this without a separate templating engine, but if you do use one then you can submit an array to a specific template. Is there a way

Re: [PHP] problem using flock()

2001-01-13 Thread jeremy brand
Hello 10,000 Screaming Monkeys, (Sorry, I couldn't resist!) You should test the return value of flock(), not just run it. It is designed to tell you whether or not something is safe to do, and since you are not testing the result, you are simply ignoring what it is trying to tell you. I have a

Re: [PHP] User/Group for PHP

2001-01-13 Thread Richard Lynch
>Anyone know of a cfg option that would make files written >by php be a different user/group than the apache server user/group? You could run PHP as a CGI wrapped by suExec (http://apache.org) -- Be sure not to use --with-safe-mode, as suExec and Safe Mode do mostly the same thing, but they fight

Re: [PHP] cookie stopped working???

2001-01-13 Thread Richard Lynch
> I left the php list a few years ago when I lost the clients who wanted > (could afford) php scripts (I'm still using 2.12b..lol). Several > scripts are still running well after all these years. You probably should consider upgrading... > Now, I'm building an online programming resume for myse

Re: [PHP] Calendar holidays

2001-01-13 Thread Richard Lynch
For the most part, you probably have to have some custom code to handle them. I suspect there are authoritative sources of the legal holidays online somewhere that you can query dynamically... What exactly do you want to *do* with the holidays and your calendar is probably the first question you

Re: [PHP] Frontpage Discussion Group/PHP Replacement

2001-01-13 Thread Richard Lynch
I dunno about importing the data, but Phorum is a pretty darned good PHP discussion group program... Hopefully, FP just stores all the stuff in some tables and you can export the data as CSV or tab-delimited. - Original Message - From: "Cybercandy Ltd" <[EMAIL PROTECTED]> Newsgroups: php

Re: [PHP] Put data in a odbc connect

2001-01-13 Thread Richard Lynch
You do it just like you would do a select: $query = "insert into blah(field1, field2) values($value1, '$value2')"; odbc_exec($connection,$query) or die(odbc_error()); There's nothing special about any particular kind of query you send to the database. Disclaimer: I don't know that I got the fu

Re: [PHP] Problem building php 3.0.18

2001-01-13 Thread Richard Lynch
If you're smart enough to edit a spec file, you could just compile from source... :-) - Original Message - From: "Michael A. Peters" <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Saturday, January 13, 2001 12:36 AM Subject: [PHP] Problem building php 3.0.18 > Howdy- > > I'm having a

Re: [PHP] ereg works in .php, not in .inc

2001-01-13 Thread Richard Lynch
Do you have in your .inc file?... - Original Message - From: Ted Goranson <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Saturday, January 13, 2001 12:35 AM Subject: [PHP] ereg works in .php, not in .inc > Friends-- > > I have a script that processes another script for display. I ch

Re: [PHP] Templates

2001-01-13 Thread Michael Kimsal
[EMAIL PROTECTED] wrote: > I looked around the web for templates and founf FastTemplates. Not exactly > what i was looking for thoug > lets say I have > $file = "111" > and there is a template "template.txt" > and it contains > "file #$file is blahlah" > > how can I make that a template? > > Th

[PHP] problem using flock()

2001-01-13 Thread 10,000 Screaming Monkeys
Hi, I'm having a problem with one of the PHP scripts I've written and I'm hoping someone can point me in the right direction. The portion of the script that is giving me trouble is the locking of, and writing to, a logfile (plain text). I'm using flock() as I understand it and have looked at th

[PHP-CVS] cvs: php4 /ext/standard basic_functions.c file.c file.h fsock.c fsock.h

2001-01-13 Thread Zeev Suraski
zeevSat Jan 13 15:49:45 2001 EDT Modified files: /php4/ext/standard basic_functions.c file.c file.h fsock.c fsock.h Log: Both thread-safe and thread-unsafe builds should be ok now Index: php4/ext/standard/basic_functions.c diff -u php4/ext/standard/basi

[PHP] Send browser a 404 not found header?

2001-01-13 Thread Jamie Burns
Hi.. How can I send a browser a "404 not found" page? I tried putting this in a script: header("Status: 404 Not Found"); exit; before any other output, but i keep getting the standard page: from php. any ideas? jamie burns.

Re: [PHP] Apache Problem

2001-01-13 Thread Chris Hayes
> I was always using pws until recently when I got Apache for windows. = > Unfortunately when apache gets to a php file it doesnt parse it, it = > thinks its a file to download. I uncommented the php lines in the = > http.conf file but still no use. Does anyone know how to fix this? Make sure to

[PHP-CVS] cvs: php4 /ext/sybase_ct php_sybase_ct.c

2001-01-13 Thread Zeev Suraski
zeevSat Jan 13 14:47:44 2001 EDT Modified files: /php4/ext/sybase_ct php_sybase_ct.c Log: Add sybase_get_last_message() from Jan Fedak <[EMAIL PROTECTED]> @- Added sybase_get_last_message() to the Sybase CT module (Jan Fedak) Index: php4/ext/sybase_ct/

Re: [PHP] mixing HTML and PHP code

2001-01-13 Thread Iván Sánchez Ortega \"MR\"
"Alex Black" ... > > > connect_to_database(); > > parse_query(); > > execute_query(); > > > > echo ""; > > > > while (fetch_row_from_query()) > > { > > $output = data_from_fetched_row(); > > $more_output = more_data_from_fetched_row(); > > > > echo " $output $more_output "; > > > > } > > echo ""

Re: [PHP] mixing HTML and PHP code

2001-01-13 Thread Iván Sánchez Ortega \"MR\"
"Mark Maggelet" ... > I think you missed something: > > while (fetch_row_from_query()){ >$output = data_from_fetched_row(); >$more_output = more_data_from_fetched_row();?> > > > > > > > tell me that's not easier on your eyes :) Yes, but i wrote that because the w

Re: [PHP] mysql php4.04 and safe_mode

2001-01-13 Thread nospam
create a dir called tmp in de dir where de script runs chmod 777 that dir and the run the script again .. -- If it can be dreamt, it can be build "andreas (@work)" <[EMAIL PROTECTED]> wrote in message 003501c07ce5$41a15120$fe78a8c0@devel01">news:003501c07ce5$41a15120$fe78a8c0@devel01... hi list,

[PHP] User/Group for PHP

2001-01-13 Thread Steve Lawson
Yo, Anyone know of a cfg option that would make files written by php be a different user/group than the apache server user/group? With my current setup, the only way to give php write access also allows any surfer write access to that same folder...which is "not a good thing". Thanks,

[PHP-CVS] cvs: php4 /ext/standard fsock.c

2001-01-13 Thread Derick Rethans
derick Sat Jan 13 14:00:23 2001 EDT Modified files: /php4/ext/standard fsock.c Log: - Removed a stale var that broke the build Index: php4/ext/standard/fsock.c diff -u php4/ext/standard/fsock.c:1.58 php4/ext/standard/fsock.c:1.59 --- php4/ext/standard/fsoc

Re: [PHP] mixing HTML and PHP code

2001-01-13 Thread Michael Govorun
> Date: Thu, 11 Jan 2001 19:41:34 -0500 (EST) > From: Ignacio Vazquez-Abrams <[EMAIL PROTECTED]> > > emacs sucks! vi forever! :P > > -- > Ignacio Vazquez-Abrams <[EMAIL PROTECTED]> Hey, guy, please, be delicate, I love it, it's my wife. vi is my brother -- -Michael -- PHP General Mailing

[PHP-CVS] cvs: php4 /ext/standard exec.c

2001-01-13 Thread Derick Rethans
derick Sat Jan 13 13:52:09 2001 EDT Modified files: /php4/ext/standard exec.c Log: - There was one ret left, changed it to FG(pclose_ret), this fixes the build Index: php4/ext/standard/exec.c diff -u php4/ext/standard/exec.c:1.46 php4/ext/standard/exec

RE: [PHP] load balancing with php/apache?

2001-01-13 Thread jeremy brand
Oh, BTW, we don't use PHP sessions, we use our own. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private email at http://www.smackdown.com/ - - - - - - - - - - - - - - -

RE: [PHP] load balancing with php/apache?

2001-01-13 Thread jeremy brand
we store the sessions in the DB. Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private email at http://www.smackdown.com/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

[PHP] cookies

2001-01-13 Thread Steve Lawson
You have to call setcookie() before anything is outputtedthat was it sounds like. SL.

Re: [PHP] load balancing with php/apache?

2001-01-13 Thread Joe Stump
> Any of the above. It's up to you. Most people probably store the session info in a >database. But you could also do it in a shared drive. But I got a little static a >while ago when I suggested storing shared session data on an NFS mounted drive. NFSes >are too slow I guess. Whoever said

Re: [PHP] load balancing with php/apache?

2001-01-13 Thread Joe Stump
I work with Jer - we use DB based session management. You log in - get a cookie and everything is handled with that session id. --Joe On Sat, Jan 13, 2001 at 02:43:19PM -0600, Cal Evans wrote: > When you say "handled by us" do you mean you: > > 1) Write the sess_* files to a shared drive > 2) S

[PHP-CVS] cvs: php4 /ext/mcrypt mcrypt.c

2001-01-13 Thread Colin Viebrock
cmv Sat Jan 13 12:55:15 2001 EDT Modified files: /php4/ext/mcryptmcrypt.c Log: Support for perl-compatible blowfish encryption (in libmcrypt CVS and versions later than 2.4.8) Index: php4/ext/mcrypt/mcrypt.c diff -u php4/ext/mcrypt/mcrypt.c:1.43 ph

RE: [PHP] load balancing with php/apache?

2001-01-13 Thread Michael Stearne
Any of the above. It's up to you. Most people probably store the session info in a database. But you could also do it in a shared drive. But I got a little static a while ago when I suggested storing shared session data on an NFS mounted drive. NFSes are too slow I guess. Michael On Satur

RE: [PHP] load balancing with php/apache?

2001-01-13 Thread Cal Evans
When you say "handled by us" do you mean you: 1) Write the sess_* files to a shared drive 2) Store them in the database 3) ignore them totally, who needs users anyhow? 4) some other option? Cal http://www.calevans.com -Original Message- From: jeremy brand [mailto:[EMAIL PROTECTED]] Sen

[PHP-CVS] cvs: php4 /pear/Crypt CBC.php

2001-01-13 Thread Colin Viebrock
cmv Sat Jan 13 12:34:36 2001 EDT Modified files: /php4/pear/CryptCBC.php Log: Credit Index: php4/pear/Crypt/CBC.php diff -u php4/pear/Crypt/CBC.php:1.2 php4/pear/Crypt/CBC.php:1.3 --- php4/pear/Crypt/CBC.php:1.2 Sat Jan 13 12:33:54 2001 +++ php4/pear

[PHP-CVS] cvs: php4 /pear/Crypt CBC.php

2001-01-13 Thread Colin Viebrock
cmv Sat Jan 13 12:33:55 2001 EDT Modified files: /php4/pear/CryptCBC.php Log: Cre PR: Submitted by: Reviewed by: Obtained from: Index: php4/pear/Crypt/CBC.php diff -u php4/pear/Crypt/CBC.php:1.1 php4/pear/Crypt/CBC.php:1.2 --- php4/pear/Crypt

[PHP] Re: [PHP-DEV] comments in php

2001-01-13 Thread Toby Butzon
Please note that php-dev is for the developers of PHP, not scripting in PHP. With that said, you have posed a good question. To keep my description brief, comments do not hinder source code processing time enough to be considered detrimental. My limited explaination: They save enough time otherw

Re: [PHP] Use

2001-01-13 Thread Philip Olson
My understanding is : 1. http://www.php.net/manual/language.basic-syntax.php http://www.php.net/manual/en/configuration.php#ini.asp-tags http://www.php.net/manual/en/configuration.php#ini.short-open-tag I've personally never tried asp tags. Earlier within this thread , the following php interna

RE: [PHP] load balancing with php/apache?

2001-01-13 Thread jeremy brand
We have a centralized DB server. Sessions are handled by us, the programmers, not the cluster. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private email at http://www.sma

Re: [PHP] Use

2001-01-13 Thread Alexander Wagner
Arcady Genkin wrote: > I have noticed that in documentation, how safe is it to use it? Pretty safe, I think. Possibly even safer than those asp-style tags, regarding possible changes in the future. Wagner -- Sanity is calming, but madness is more interesting. -- PHP General Mailing List (h

Re: [PHP] load balancing with php/apache?

2001-01-13 Thread jeremy brand
> > We use LVS on our website - it works great! We have 2 load balancers with the > > HA package and 6 PHP webservers running behind it (with a central DB server). > > Yes, I have heard very good things about LVS. Haven't had a chance to set > it up myself yet. Definitely something for the TODO

Re: [PHP] Use

2001-01-13 Thread Toby Butzon
Take a look at http://www.php.net/manual/en/language.basic-syntax.php. Regarding the use of . (The .) The use of <%= is discouraged (as is <%) because it was only added to make things easier for ASP devels and people working in FrontPage. The use of > Can someone point me to the documentation

[PHP] Re: Use

2001-01-13 Thread Arcady Genkin
"mOrP" <[EMAIL PROTECTED]> writes: [badly formatted message fixed] > > I have noticed that > in documentation, how safe is it to use it? > > Can someone point me to the documentation of ' know what it does. See http://www.php.net/manual/en/language.basic-syntax.php -- Arcady Genkin Don't read

[PHP] Apache Problem

2001-01-13 Thread Chris
I was always using pws until recently when I got Apache for windows. Unfortunately when apache gets to a php file it doesnt parse it, it thinks its a file to download. I uncommented the php lines in the http.conf file but still no use. Does anyone know how to fix this?

RE: [PHP] Use

2001-01-13 Thread mOrP
Can someone point me to the documentation of ' -Original Message- > From: Arcady Genkin [mailto:[EMAIL PROTECTED]] > Sent: Saturday, January 13, 2001 8:48 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Use > > I have noticed that in documentation, how safe is it to use it? > > Many thanks,

[PHP] Use

2001-01-13 Thread Arcady Genkin
I have noticed that http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] graphic problem...

2001-01-13 Thread Matt McClanahan
Georg, If you're running Apache/Unix, php_imlib would allow you to manipulate png's with more than 256 colors. http://mmcc.cx/php_imlib/ Matt On Sat, 13 Jan 2001, Johan Holst Nielsen wrote: > GD library only support PNG 256 color your PNG have more colors! > > With Best Regards > > Joha

Re: [PHP] Refreshing Window

2001-01-13 Thread Matt McClanahan
On Sat, 13 Jan 2001, Mark Lo wrote: > Hi, > > I would like to know the method to refresh one window when closing > another windows. That'd be a Javascript thing. onClose one window, refresh the other. Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAI

[PHP] cookie stopped working???

2001-01-13 Thread Don Howland
Greetings all, I left the php list a few years ago when I lost the clients who wanted (could afford) php scripts (I'm still using 2.12b..lol). Several scripts are still running well after all these years. Now, I'm building an online programming resume for myself and using php/msql to track pote

Re: [PHP] How to make a line and bar graph

2001-01-13 Thread Philip Hallstrom
You might check out: http://www.advgraph.regiocom.net/ In article <[EMAIL PROTECTED]> you write: >Hi, > >I want to let PHP create/render a line and bar graph from inputted numbers. >I now all the PHP basics but I don't know how to let PHP make the graphs >from the variables. > >Can anyone point m

Re: [PHP] Simple form not passing variables, Why??

2001-01-13 Thread Philip Olson
Within your configurations, is register_globals on? I try this code and it works just fine. Although if register_globals setting in php.ini is off it will not, try replacing : echo ($name); with print $HTTP_GET_VARS["name"]; And see what happens. If you want

RE: [PHP] load balancing with php/apache?

2001-01-13 Thread Rasmus Lerdorf
The session id is not an issue, but yes, obviously you will need to store the session data itself somewhere where all the machines can get at it. So either on a common NFS share, ldap or some sort of database. PHP's session handling allows you to write your own backend session datastore function

Re: [PHP] load balancing with php/apache?

2001-01-13 Thread Michael Kimsal
We've used local director in the past, as well as the 'f5' product (big IP? - I forgot the company name). Maybe it's 'big ip' from f5. Shows you how much we think about it - it just does it's job. As others pointed out, you can go with a software version under Linux, and I think W2k enterprise h

Re: [PHP] Send Authorization: base64 Header

2001-01-13 Thread Hrishi
i'dve waited for your reply but i'm going home now so check the RFC : http://www.freesoft.org/CIE/RFC/index.htm look for Hypertext transfer protocol, v 1.0 in that look for a chapter called client authentication or somehting like that. that should do it. Hrishi -- PHP General Mailing List (

Re: [PHP] Simple form not passing variables, Why??

2001-01-13 Thread Christian Reiniger
On Saturday 13 January 2001 00:36, jeff fitzmyers wrote: > The code below does not work. What could be causing > Please enter user name here: > Pull out your favourite HTML documentation and read again through the discussion of the tag -- Christian Reiniger LGDC Webmaster (http://sunsite.d

Re: [PHP] graphic problem...

2001-01-13 Thread Johan Holst Nielsen
GD library only support PNG 256 color your PNG have more colors! With Best Regards Johan - Original Message - From: "Georg Buschbeck" <[EMAIL PROTECTED]> To: "PHP-Liste (general)" <[EMAIL PROTECTED]> Sent: Saturday, January 13, 2001 7:10 PM Subject: [PHP] graphic problem... i h

[PHP] graphic problem...

2001-01-13 Thread Georg Buschbeck
i have a problem with the quality of the output picture... you can have a look yourself.. http://tooltime.dyndns.org/~georg/test/ this is the code that creates the pic...: so as you can see the pictures isn't modified. my system: linux-box: 2.2.18 i the jpeg/png/gd/tiff libaries installed than

[PHP] Calendar holidays

2001-01-13 Thread bill
If I create an office calendar using PHP & mySQL, how can I program normal days off for (U.S.) holidays like Christmas, Fourth of July, Easter, etc. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

RE: [PHP] load balancing with php/apache?

2001-01-13 Thread Cal Evans
How does it deal with sessions? Or do use store sessions in the database? Cal -Original Message- From: Joe Stump [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 13, 2001 11:22 AM To: Rasmus Lerdorf Cc: [EMAIL PROTECTED] Subject: Re: [PHP] load balancing with php/apache? > http://www

[PHP] TRY AGAIN mysql php4.04 and safe_mode

2001-01-13 Thread andreas \(@work\)
hi, our problem that changing the upload_tmp_dir in php.ini has NO effect !!! yes we restarted apache greetings andreas > Your infile must be world readable, or at least MySQL must have read > prviledges on it. > Maybe it is a function of directory permissions. > > - Scott >

Re: [PHP] load balancing with php/apache?

2001-01-13 Thread Rasmus Lerdorf
> > http://www.linuxvirtualserver.org/ > > We use LVS on our website - it works great! We have 2 load balancers with the > HA package and 6 PHP webservers running behind it (with a central DB server). Yes, I have heard very good things about LVS. Haven't had a chance to set it up myself yet. D

Re: [PHP] load balancing with php/apache?

2001-01-13 Thread Joe Stump
> http://www.linuxvirtualserver.org/ We use LVS on our website - it works great! We have 2 load balancers with the HA package and 6 PHP webservers running behind it (with a central DB server). In short, it's possible and works quite well. BTW We user FreeBSD for webservers if that's any help (th

Re: [PHP] load balancing with php/apache?

2001-01-13 Thread Rasmus Lerdorf
> this might be a very silly question, but folks in my > company have now started asking some enterprise > questions like "sure, we'll do php but how about load > balancing?" i have a feeling that this can be achieved > with some caching on apache? how can i achieve this? Surely they don't expect

Re: [PHP] Wondering whats wrong?

2001-01-13 Thread Sterling Hughes
Toby Butzon wrote: > > This is a matter of figuring out why the variable isn't a > valid file handle resource. To do so, find where it should > be made such a resource (the line that says $fp = > fsockopen...etc... is probably it), and add some error > checking. I believe this function has its

Re: [PHP] load balancing with php/apache?

2001-01-13 Thread Tim Zickus
We use Cisco LocalDirector to do load balancing in our web cluster. It's very configurable and has worked very well (so far!). - Tim > this might be a very silly question, but folks in my > company have now started asking some enterprise > questions like "sure, we'll do php but how about load >

Re: [PHP] Wondering whats wrong?

2001-01-13 Thread Toby Butzon
This is a matter of figuring out why the variable isn't a valid file handle resource. To do so, find where it should be made such a resource (the line that says $fp = fsockopen...etc... is probably it), and add some error checking. I believe this function has its own way of returning what's wrong;

[PHP] [notice] child pid 666 exit signal Segmentation fault (11)

2001-01-13 Thread Johan Björk
My Apache 1.3.12 server with PHP 4.0.4 and MySQL 3.23.27, occationally spits out a Segmentation fault in the error_log. I'm not entirely sure which page is being loaded at the time, and I'm not sure of what exactly is being done, so I thought I'd try to do some tracing with gdb, which I have never

  1   2   >