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

2001-01-13 Thread Stig Venaas
venaas Sat Jan 13 01:16:35 2001 EDT Modified files: /php4/ext/openssl openssl.c Log: Realized that emalloc() never returns NULL, simplified code Index: php4/ext/openssl/openssl.c diff -u php4/ext/openssl/openssl.c:1.6 php4/ext/openssl/openssl.c:1.7 ---

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

2001-01-13 Thread Stig Venaas
venaas Sat Jan 13 02:00:31 2001 EDT Modified files: /php4/ext/ldap ldap.c Log: Fixed memory leaks that could happen in some error situations. Also removed some unnecessary code in ldap_set_option() Index: php4/ext/ldap/ldap.c diff -u

[PHP-CVS] cvs: php4 /pear Makefile.in

2001-01-13 Thread Sascha Schumann
sas Sat Jan 13 02:02:09 2001 EDT Modified files: /php4/pear Makefile.in Log: Fix make install in VPATH builds Index: php4/pear/Makefile.in diff -u php4/pear/Makefile.in:1.62 php4/pear/Makefile.in:1.63 --- php4/pear/Makefile.in:1.62 Fri Jan 12 07:24:21

[PHP-CVS] cvs: php4 /main rfc1867.c

2001-01-13 Thread Sascha Schumann
sas Sat Jan 13 02:19:17 2001 EDT Modified files: /php4/main rfc1867.c Log: arr_index errorneusly included the trailing ']' character, so that variable names like Data_name[Image]] were passed to the register functions. Index: php4/main/rfc1867.c diff

[PHP] Put data in a odbc connect

2001-01-13 Thread Diego Pérez Rández
Hi to all: I want to put data in a database that i access by a odbc connect. I can obtain data of the odbc connect, but i can't put data in it. How i can do it?. Thanks. Best Regards, Diego -- PHP General Mailing List

[PHP] Mandrake 7.2 and ImageTTfText

2001-01-13 Thread Gabriele Fain
Hello, I have installed an mandrake 7.2 with apache. I write a simple script in PHP that use the ImageTTFtext function. With the normal libphp4.so it tell me that not found the function. So i recompile the PHP with the gd support but I receive a segmentation fault when I run the script. I try

Re: [PHP-CVS] cvs: php4 / configure.in /main network.c

2001-01-13 Thread Zeev Suraski
All those EAI things, where are they coming from? They don't exist in Windows (apparently) At 13:48 13/1/2001, Stig Venaas wrote: venaas Sat Jan 13 03:48:47 2001 EDT Modified files: /php4 configure.in /php4/main network.c Log: Simplified code a bit, added

[PHP-CVS] cvs: php4 /main main.c php_ini.c

2001-01-13 Thread Zeev Suraski
zeevSat Jan 13 05:10:50 2001 EDT Modified files: /php4/main main.c php_ini.c Log: Remove stale code Index: php4/main/main.c diff -u php4/main/main.c:1.346 php4/main/main.c:1.347 --- php4/main/main.c:1.346 Sun Jan 7 10:38:38 2001 +++

[PHP-CVS] cvs: php4 /main main.c

2001-01-13 Thread Zeev Suraski
zeevSat Jan 13 05:16:57 2001 EDT Modified files: /php4/main main.c Log: cleanup time... Index: php4/main/main.c diff -u php4/main/main.c:1.348 php4/main/main.c:1.349 --- php4/main/main.c:1.348 Sat Jan 13 05:14:49 2001 +++ php4/main/main.cSat

[PHP] Send Authorization: base64 Header

2001-01-13 Thread Marcio Ghiraldelli
Hello! I am workingn with a compiled software, but I need to integrate it with a PHP code. I need to send an Authorization: user/pass header to the software listening a HTTP/1.0 protocol. I already know that the user/pass must be base64 encoded, but how's the sintax? user/pass,

Re: [PHP] Guru Needed - the parser is corrupting my html!!

2001-01-13 Thread Cynic
php_flag session.use_trans_sid 0 At 16:08 13.1. 2001, Jamie Burns wrote the following: -- thanks! what do i need to put in my apache config? j - Original Message - From: "Cynic" [EMAIL PROTECTED] To: "Jamie Burns" [EMAIL

Re: [PHP] Lost connection to MySQL server during query

2001-01-13 Thread Michael Govorun
Any help appreciated - otherwise I have to go look at postgresql :( :) -- -Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] 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] 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

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] 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 Johan

[PHP] Use ?= instead of %=

2001-01-13 Thread Arcady Genkin
I have noticed that ?= works just as well as %=. Since this is not in documentation, how safe is it to use it? Many thanks, -- Arcady Genkin Don't read everything you believe. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[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?

[PHP] Re: Use ?= instead of %=

2001-01-13 Thread Arcady Genkin
"mOrP" [EMAIL PROTECTED] writes: [badly formatted message fixed] I have noticed that ?= works just as well as %=. Since this is not in documentation, how safe is it to use it? Can someone point me to the documentation of '?=' and '%=', 'cause I don't know what it does. See

Re: [PHP] Use ?= instead of %=

2001-01-13 Thread Toby Butzon
Take a look at http://www.php.net/manual/en/language.basic-syntax.php. Regarding the use of ?= and %=... Basically, they're a shorthand version for ? echo 'something' ?. (The ?= equivelent would be ?= 'something' ?.) The use of %= is discouraged (as is %) because it was only added to make

Re: [PHP] Use ?= instead of %=

2001-01-13 Thread Alexander Wagner
Arcady Genkin wrote: I have noticed that ?= works just as well as %=. Since this is not 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

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

Re: [PHP] Use ?= instead of %=

2001-01-13 Thread Philip Olson
My understanding is : 1. ?= is essentially php4+ specific 2. Will not work if short_tags_open setting is off (in php.ini) because of the fact that ? is a short tag. Regarding its relation to the ASP counterpart, it is not directly related to %= as that is an ASP tag which refers to the

[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

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]]

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

[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 +++

[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

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 NFS

[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 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/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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/ - - - - - - - - - - - - - - -

[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

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 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,

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] 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

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] 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

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:

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

[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

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] 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] 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

[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

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, either

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

[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

[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

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

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

[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

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

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

[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 ? virtual() ? I've replaced my

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 -- =

RE: [PHP] Mixing PHP3 SSI

2001-01-13 Thread Scott Brown
I tried virtual first - but it didnt work. it grabbed the first ? virtual(...) ? 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

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

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. readfile()

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

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 context.

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

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.

[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

[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

[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.

[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-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

[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

[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

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

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