[PHP] Comparing Memory Variables

2001-01-13 Thread RealGM Webmaster
Hi Everyone, I am having a little trouble getting a memory variable and a session variable to compare correctly I have an if statement as below: if ($id=='{$SESSION["id"]}') { echo "working"; } ID is a memory variable that is equal to five, and the session variable id is also equal to fi

Re: [PHP] Comparing Memory Variables

2001-01-13 Thread Rasmus Lerdorf
On Sat, 13 Jan 2001, RealGM Webmaster wrote: > Hi Everyone, > > I am having a little trouble getting a memory variable and a session variable to >compare correctly > > I have an if statement as below: > > if ($id=='{$SESSION["id"]}') { if($id == $SESSION['id']) { -Rasmus -- PHP General Ma

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

[PHP] Refreshing Window

2001-01-13 Thread Mark Lo
Hi, I would like to know the method to refresh one window when closing another windows. Thank you Mark Lo -- 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-

[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 php4/ext/ldap/ld

[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 (http://www

[PHP] TRY AGAIN mysql php4.04 and safe_mode

2001-01-13 Thread andreas \(@work\)
hi list, sorry, but we cant manage a Load Data Infile cause we always get: Can't get stat of '/tmp/phpNNAQSM' (Errcode: 2) OUR Code is working fine in different project where safe_mode = OFF = heres the line where we try to move the file to a webfolder in our d

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

2001-01-13 Thread Stig Venaas
venaas Sat Jan 13 03:48:47 2001 EDT Modified files: /php4 configure.in /php4/main network.c Log: Simplified code a bit, added detailed error reporting, and fixed a bug when getaddrinfo returned a non-IP family before IP families Index: php4/co

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

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

[PHP-CVS] cvs: php4 /ext/standard http_fopen_wrapper.c /main network.c

2001-01-13 Thread Zeev Suraski
zeevSat Jan 13 05:02:19 2001 EDT Modified files: /php4/ext/standard http_fopen_wrapper.c /php4/main network.c Log: Fix Windows & thread-safe build Index: php4/ext/standard/http_fopen_wrapper.c diff -u php4/ext/standard/http_fopen_wrapper.c:1.4 ph

[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 +++ php4/main/main

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

2001-01-13 Thread Zeev Suraski
zeevSat Jan 13 05:14:50 2001 EDT Modified files: /php4/main main.c Log: Remove some more useless code Index: php4/main/main.c diff -u php4/main/main.c:1.347 php4/main/main.c:1.348 --- php4/main/main.c:1.347 Sat Jan 13 05:10:50 2001 +++ php4/main/ma

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

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

2001-01-13 Thread Zeev Suraski
zeevSat Jan 13 05:59:23 2001 EDT Modified files: /php4/ext/standard exec.c file.c file.h fsock.c fsock.h Log: - Fix exec() bug - Merge fsock and file globals Index: php4/ext/standard/exec.c diff -u php4/ext/standard/exec.c:1.45 php4/ext/standard/exec

[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, user:pa

php-general Digest 13 Jan 2001 14:02:18 -0000 Issue 452

2001-01-13 Thread php-general-digest-help
php-general Digest 13 Jan 2001 14:02:18 - Issue 452 Topics (messages 34331 through 34359): Re: Dir Help PLEASE 34331 by: nospam Re: mixing HTML and PHP code 34332 by: Tim Zickus 34334 by: Tim Zickus 34336 by: Alexander Wagner 34338 by: Alexander Wagn

[PHP] load balancing with php/apache?

2001-01-13 Thread Erick Papadakis
hello people 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? thanks/erick __

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

2001-01-13 Thread Jamie Burns
hey guys... my dumb isp has turned on ' --enable-trans-sid ' for all of the users on their webserver without telling them. while i am sure this feature has some benefits, it is breaking my code, big time. besides sticking the session value onto the end of every suspected server request, it is

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

2001-01-13 Thread Cynic
this is a bug in PHP (several reports in bug db). either ask your ISP to disable trans-sid in your virtual host, or do it yourself in .htaccess At 15:52 13.1. 2001, Jamie Burns wrote the following: -- >hey guys... > >my dumb isp has

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

2001-01-13 Thread Sterling Hughes
As a note, you can also place: And that will solve your problem... -Sterling Cynic wrote: > > this is a bug in PHP (several reports in bug db). either ask > your ISP to disable trans-sid in your virtual host, or do it > yourself in .htaccess > > At 15:52 13.1. 2001, Jamie Burns wrote the f

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

2001-01-13 Thread Jamie Burns
thanks! what do i need to put in my apache config? j - Original Message - From: "Cynic" <[EMAIL PROTECTED]> To: "Jamie Burns" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, January 13, 2001 3:06 PM Subject: Re: [PHP] Guru Needed - the parser is corrupting my html!! > this is

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"

[PHP] TRY AGAIN mysql php4.04 and safe_mode

2001-01-13 Thread andreas \(@work\)
hi list, sorry, but we cant manage a Load Data Infile cause we always get: Can't get stat of '/tmp/phpNNAQSM' (Errcode: 2) OUR Code is working fine in different project where safe_mode = OFF = heres the line where we try to move the file to a webfolder i

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]

[PHP] How to make a line and bar graph

2001-01-13 Thread SED
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 me to a solution or a resource-site? Regards, Sumarlidi Einar Dadason SED - Graphic Design

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

2001-01-13 Thread Jason Brooke
Go to http://www.mysql.com You'll see a 'Search' field near the top left. Type the string: Lost connection to MySQL ..into it. It brings up about 50 results Also, load up http://www.mysql.com/documentation/mysql/bychapter/manual_Problems.html#Prob lems jason > > > Any help appreciated - othe

[PHP] Frontpage Discussion Group/PHP Replacement

2001-01-13 Thread Cybercandy Ltd
A bit of an embarrassing question this, and a long shot too. Please don't laugh. Does anyone know if there is a php program that I can use to replace the discussion group in frontpage 2000. I want something that can read the existing discussion files generated by FP200 so that I don't have to s

[PHP] Wondering whats wrong?

2001-01-13 Thread K.Simon
Hello, running the following script (exec.php) on telnet account i get this error: Warning: Supplied argument is not a valid file handler resource in exec.php on line 21 Can anybody tell me whats wrong with it? Normally it should fetch the newsgroups on my local news server and insert them into r

[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

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;

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

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

[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

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

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

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

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

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

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

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

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

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

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

[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

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

[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 php4/ext/standard/exec

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

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

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

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

[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

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

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

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

[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

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

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

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

[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

  1   2   >