Re: [PHP] submitting to a remote form

2001-04-08 Thread Matt McClanahan
On Sun, Apr 08, 2001 at 12:31:35AM -0500, Joseph Bannon wrote: You can use fopen/fread to open the script remotely. Just append the query string onto the url something like this: www.example.com/example.php?var1=var ...and example.php will have $var1 with the value "var". That's

RE: [PHP] submitting to a remote form

2001-04-08 Thread Joseph Bannon
Thanks for the info. Question: Is there a simple way to encode text? J -- 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

[PHP-CVS] cvs: php4 /pear/HTML Processor.php

2001-04-08 Thread Stig Bakken
ssb Sun Apr 8 00:39:27 2001 EDT Modified files: /php4/pear/HTML Processor.php Log: * using GLOBALS to set global variable (in case the file is included from within a function) Index: php4/pear/HTML/Processor.php diff -u

[PHP-CVS] cvs: php4 /pear/XML Parser.php

2001-04-08 Thread Stig Bakken
ssb Sun Apr 8 00:40:21 2001 EDT Modified files: /php4/pear/XML Parser.php Log: * indentation and inline doc fixes Index: php4/pear/XML/Parser.php diff -u php4/pear/XML/Parser.php:1.10 php4/pear/XML/Parser.php:1.11 --- php4/pear/XML/Parser.php:1.10

[PHP-CVS] cvs: php4 /sapi/pi3web pi3web_sapi.c

2001-04-08 Thread Holger Zimmermann
holger Sun Apr 8 01:25:21 2001 EDT Modified files: /php4/sapi/pi3web pi3web_sapi.c Log: Updated copyright agreement regarding move of Pi3Web to sourceforge. Index: php4/sapi/pi3web/pi3web_sapi.c diff -u php4/sapi/pi3web/pi3web_sapi.c:1.15

[PHP] DB Problem

2001-04-08 Thread Adam Charnock
Hi. I know that this isn't strictly PHP, but this is the only place I know to ask - so apologies in advance. I am trying to make this query work but I am having very little luck: SELECT links.id, COUNT(clicks.id) AS tot_clicks FROM links INNER JOIN clicks ON links.id = clicks.linkid GROUP BY

[PHP] Selecting Dates

2001-04-08 Thread Jordan Elver
Hi, I'm trying to select records based on dates. I have a table with dates in the format 2001-04-08 and I'm using the query: SELECT name, description, date_time FROM events WHERE YEAR(date_time) = 2001 AND MONTH(date_time) = 04 AND DAYOFMONTH(date_time) = 08 But it doesn't yield any records? I

Re: [PHP] PEAR Standards (was Re: equivalent of asp's %= strTest %)

2001-04-08 Thread Felix Kronlage
On Sat, Apr 07, 2001 at 10:19:04PM -0500, Plutarck wrote: For instance, when they say not to use 4 spaces (or was it 3?) instead of tabs? I think that's stupid, and I don't do it. But they did it for a reason, even if I don't understand it. tabs might break going from one platform to

[PHP] Re: [PHP-DB] Selecting Dates

2001-04-08 Thread B. van Ouwerkerk
I'm trying to select records based on dates. I have a table with dates in the format 2001-04-08 and I'm using the query: SELECT name, description, date_time FROM events WHERE YEAR(date_time) = 2001 AND MONTH(date_time) = 04 AND DAYOFMONTH(date_time) = 08 WHERE field_holding_date="2001-04-08"

Re: [PHP] Re: [PHP-DB] Selecting Dates

2001-04-08 Thread Jordan Elver
That's what I thought but that doesn't work either? On Sunday 08 April 2001 10:13, you wrote: I'm trying to select records based on dates. I have a table with dates in the format 2001-04-08 and I'm using the query: SELECT name, description, date_time FROM events WHERE YEAR(date_time) =

[PHP-CVS] cvs: php4 /sapi/pi3web pi3web_sapi.c pi3web_sapi.h

2001-04-08 Thread Holger Zimmermann
holger Sun Apr 8 03:49:07 2001 EDT Modified files: /php4/sapi/pi3web pi3web_sapi.c pi3web_sapi.h Log: Reorganized the #define's in the header. Index: php4/sapi/pi3web/pi3web_sapi.c diff -u php4/sapi/pi3web/pi3web_sapi.c:1.16

[PHP-CVS] cvs: php4 /sapi/pi3web php4pi3web.dsp

2001-04-08 Thread Holger Zimmermann
holger Sun Apr 8 04:04:27 2001 EDT Added files: /php4/sapi/pi3web php4pi3web.dsp Log: Contribute the MSVC project file. Someone could add this to the php4ts workspace. Index: php4/sapi/pi3web/php4pi3web.dsp +++ php4/sapi/pi3web/php4pi3web.dsp #

Re: [PHP] Cookie Expire Problem

2001-04-08 Thread Christian Reiniger
On Sunday 08 April 2001 06:15, you wrote: Your cookie is set to expire in the year 2280. You think that's a little overkill? And it runs into the UNIX-style Y2K problem which is...um...13 years from now? Well anyway... 2038 with a 32bit processor -- Christian Reiniger LGDC Webmaster

Re: [PHP] image validation

2001-04-08 Thread Christian Reiniger
On Sunday 08 April 2001 03:57, you wrote: I'm wondering if there is any sure way for PHP to determine whether an uploaded file is definitely an image file. I have a script that checks for size and mime type ('image/png' or 'image/jpeg'). The script works fine, but I've heard that it is

Re: [PHP] submitting to a remote form

2001-04-08 Thread Christian Reiniger
On Sunday 08 April 2001 08:50, you wrote: Thanks for the info. Question: Is there a simple way to encode text? J rawurlencode() -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) void sleep(){for(long int sheep=0;!asleep();sheep++);} -- PHP General Mailing List

[PHP] where might I find a good php page

2001-04-08 Thread Engström
I'd really like to learn PHP but where ? I know some basic perl but havent lookt that deep in PHP yet. any leads ?? =) sincerly // Ken

php-general Digest 8 Apr 2001 13:02:16 -0000 Issue 615

2001-04-08 Thread php-general-digest-help
php-general Digest 8 Apr 2001 13:02:16 - Issue 615 Topics (messages 47606 through 47645): gd 2.0 47606 by: J.R. Lillard odd cookie behaviour 47607 by: matt thompson 47614 by: shaun 47634 by: matt thompson Re: putting a list of data into 3 columns?

Re: [PHP] where might I find a good php page

2001-04-08 Thread Zeus
PHP.NET :) where have you been hiding - Original Message - From: Engstrm [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, 08 April, 2001 11:12 PM Subject: [PHP] where might I find a good php page I'd really like to learn PHP but where ? I know some basic perl but havent lookt

[PHP] adding postgresql support to php

2001-04-08 Thread Kevin Heflin
I have php-4.0.4pl1 currently installed with mysql support. Installed from source files.. Have just installed postgresql-7.1RC1 from source. Trying to add postgres support to php, added the '--with-pgsql to ./configure. running make, moves right along for awhile, but then get the following

Re: [PHP] adding postgresql support to php

2001-04-08 Thread shaun
I just did this yesterday actually and everything worked fine, except I used a different postgresql, postgresql-7.0.3.tar.gz to be exact. -- Shaun On Sunday 08 April 2001 10:42, Kevin Heflin wrote: I have php-4.0.4pl1 currently installed with mysql support. Installed from source files..

[PHP-CVS] cvs: functable / update.all

2001-04-08 Thread Hartmut Holzgraefe
hholzgraSun Apr 8 08:24:48 2001 EDT Modified files: /functable update.all Log: added creation of database dump file Index: functable/update.all diff -u functable/update.all:1.5 functable/update.all:1.6 --- functable/update.all:1.5Mon Mar 12

[PHP] Validate forms into PHP file

2001-04-08 Thread Fernando Buitrago
Hi. Tell me the steps to validate field's forms in the same PHP file, before to send the result to another file. Regards -- 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

[PHP] Redirect

2001-04-08 Thread Fernando Buitrago
Hi. Tell me te instruction to redirect (link) mi pages, please? Regards. Fer -- 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] [PHP4] mod_php4, not compatible with Apache version?

2001-04-08 Thread Enrique de las Heras
Yesterday I installed php 4.0.4pl1 with Apache 1.3.19. All the installation process was OK, but when I tried to restart the Apache Server the apachectl command failed with this error: httpd: module "mod_php4.c" is not compatible with this version of Apache. Please contact the vendor for the

Re: [PHP] [PHP4] mod_php4, not compatible with Apache version?

2001-04-08 Thread Lindsay Adams
Did you install php as a DSO? Or compile it into apache. I was getting that error too, because I had installed it as an APXS DSO and had unnecessarily included the line AddModule 'mod_php4.c' (not exact syntax here) After removing the AddModule line, and only using LoadModule php4_module

Re: [PHP] mail() limit?

2001-04-08 Thread Manuel Lemos
Hello Christian, On 07-Apr-01 07:29:27, you wrote: On Friday 06 April 2001 22:47, you wrote: Hi, Does anyone know if and what the limit is of bcc that can be used in the mail() function? Hundreds, thousands? If you wonder about approaching such a limit you'll be better off with a real

Re: [PHP] Selecting Dates

2001-04-08 Thread Manuel Lemos
Hello Jordan, On 08-Apr-01 06:58:16, you wrote: I'm trying to select records based on dates. I have a table with dates in the format 2001-04-08 and I'm using the query: SELECT name, description, date_time FROM events WHERE YEAR(date_time) = 2001 AND MONTH(date_time) = 04 AND

Re: [PHP] FORM input type=image ... with a posting value

2001-04-08 Thread Victor Gamov
"Johnson, Kirk" wrote: Oops. You do need the type=image and src= attributes, instead of what I wrote in the example. Good thing it's Friday :) -Original Message- From: Johnson, Kirk Sent: Friday, April 06, 2001 1:29 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] FORM input

Re: [PHP] mail() limit? Use aliases table [typo]

2001-04-08 Thread Lindsay Adams
Sorry, this: BTW, the format for an alias file is: addr1, addr2, addr3 OR should read ... The format for a mailing list file is: ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] Redirect

2001-04-08 Thread Philip Olson
have a look at the first example found here : http://www.php.net/manual/en/function.header.php also check out meta refresh : http://www.pageresource.com/html/metref.htm regards, philip On Sun, 8 Apr 2001, Fernando Buitrago wrote: Hi. Tell me te instruction to redirect (link) mi

[PHP] Pop Up Window

2001-04-08 Thread Claudia
Is there a way to initiate a pop up window containing a form using PHP code? I am trying to use Javascript to popup a window which contains a form. The form is processed via a PHP script. (miniquote.scp.php3) The popup window displays OK. The form processes OK in IE 5.0 however using NS 4.7 I

Re: [PHP] Pop Up Window

2001-04-08 Thread Lindsay Adams
Weird. My netscape 4.7x does not do this under the same circumstances. (tried 4.7 4.75, 4.76, 4.77) On 4/8/01 1:33 PM, "Claudia" [EMAIL PROTECTED] wrote: Is there a way to initiate a pop up window containing a form using PHP code? I am trying to use Javascript to popup a window which

[PHP] nested loops and PHPLIB templates

2001-04-08 Thread paula
I was sending desperate emails to this list related to nested loops and array comparision. Well, just let you know that the problem seems to be that I'm using this with PHPLIB templates and those can't handle nested loops. If I would know that a week ago I would avoid nightmares and had 6

Re: [PHP] nested loops and PHPLIB templates

2001-04-08 Thread eschmid+sic
On Sun, Apr 08, 2001 at 10:47:21PM -0400, paula wrote: I was sending desperate emails to this list related to nested loops and array comparision. Well, just let you know that the problem seems to be that I'm using this with PHPLIB templates and those can't handle nested loops. Please

[PHP] newbie question about variables

2001-04-08 Thread Victor
Hello, Is there any (easy) way to let a user to set the value of a variable by simply clicking on a hyperlink on a web page? I mean if I have a 3 links on a page if the user clicks on image1 to set a variable $var=1,if clicks on image2 to set it as $var=2,etc. Any suggestions (including

Re: [PHP] mail() limit? Use aliases table

2001-04-08 Thread Manuel Lemos
Hello Lindsay, On 08-Apr-01 16:14:00, you wrote: If you have access to /etc/aliases, this makes your code much easier It works but it requires that you have root permissions and use the real sendmail program and not another wrapped mailing system. For bulk mailing, like for mailing lists,

RE: [PHP] where might I find a good php page

2001-04-08 Thread Boaz Yahav
http://www.weberdev.com Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 08, 2001 5:13 PM To: [EMAIL PROTECTED] Subject: [PHP] where

Re: [PHP] newbie question about variables

2001-04-08 Thread eschmid+sic
On Mon, Apr 09, 2001 at 12:19:57AM +0300, Victor wrote: Is there any (easy) way to let a user to set the value of a variable by simply clicking on a hyperlink on a web page? I mean if I have a 3 links on a page if the user clicks on image1 to set a variable $var=1,if clicks on image2 to

Re: [PHP] newbie question about variables

2001-04-08 Thread Philip Olson
Something like the following HTML : a href="foo.php?var=1"img src="img1.gif"/a a href="foo.php?var=2"img src="img2.gif"/a a href="foo.php?var=3"img src="img3.gif"/a And in foo.php have : print $var; // 1 or 2 or 3 Also consider the following : a href="?php echo $PHP_SELF;

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

2001-04-08 Thread Stig Bakken
ssb Sun Apr 8 14:57:14 2001 EDT Modified files: /php4/ext/standard dir.c Log: @Add DIRECTORY_SEPARATOR constant ('/' on UNIX, '\' on Windows) (Stig) Index: php4/ext/standard/dir.c diff -u php4/ext/standard/dir.c:1.58 php4/ext/standard/dir.c:1.59 ---

RE: [PHP] where might I find a good php page

2001-04-08 Thread Jason Lotito
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 08, 2001 5:13 PM To: [EMAIL PROTECTED] Subject: [PHP] where might I find a good php page I'd really like to learn PHP but where ? I know some basic perl but havent lookt that deep in PHP

Re: [PHP] where might I find a good php page

2001-04-08 Thread Philip Olson
Here are some links : Most important, the PHP Manual : http://www.php.net/manual/ Some basic PHP Tutorials :

Re: [PHP] newbie question about variables

2001-04-08 Thread liman
Victor escribi: Hello, Is there any (easy) way to let a user to set the value of a variable by simply clicking on a hyperlink on a web page? I mean if I have a 3 links on a page if the user clicks on image1 to set a variable $var=1,if clicks on image2 to set it as $var=2,etc.

[PHP-CVS] cvs: php4 / Makefile.in configure.in /main build-defs.h.in /pear PEAR.php.in /sapi Makefile.in /sapi/cgi config.m4

2001-04-08 Thread Stig Bakken
ssb Sun Apr 8 15:30:18 2001 EDT Modified files: /php4 Makefile.in configure.in /php4/main build-defs.h.in /php4/pear PEAR.php.in /php4/sapi Makefile.in /php4/sapi/cgi config.m4 Log: * CGI version is always installed! *

Re: [PHP-CVS] cvs: php4 / Makefile.in configure.in /main build-defs.h.in /pear PEAR.php.in /sapi Makefile.in /sapi/cgi config.m4

2001-04-08 Thread Derick Rethans
On Sun, 8 Apr 2001, Stig Bakken wrote: * CGI version is always installed! Do we want this? I don't actually. It would be nice if the cgi build could be disabled. Regards, Derick Rethans - PHP: Scripting the Web -

Re: [PHP-CVS] cvs: php4 / Makefile.in configure.in /main build-defs.h.in /pear PEAR.php.in /sapi Makefile.in /sapi/cgi config.m4

2001-04-08 Thread Anil Madhavapeddy
Derick Rethans wrote: On Sun, 8 Apr 2001, Stig Bakken wrote: * CGI version is always installed! Do we want this? I don't actually. It would be nice if the cgi build could be disabled. With PEAR maturing, it'll be pretty useful to have it installed by default; an option to disable it

[PHP] getting commandline ?

2001-04-08 Thread NoSpeed
Hi I want to write a small application that will change something in databases on various locations. I can do this in Perl, but being used to the grace and simpleness of doing DB's with PHP, DB's with Perl became a real super drag : So what i would like to know is the following. I know

RE: [PHP] where might I find a good php page

2001-04-08 Thread Jeff Oien
I'd really like to learn PHP but where ? I know some basic perl but havent lookt that deep in PHP yet. any leads ?? =) sincerly // Ken http://www.webdesigns1.com/php/ Jeff Oien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] mail() limit? Use aliases table

2001-04-08 Thread Lindsay Adams
No, I use my manual lists without a problem. If I ever have to install on a system that does not allow normal use of an alias table by a normal user, then I might try something else. But under my resellers account on AIT, I get to do whatever I want with aliases, and the lists work find =) I

Re: [PHP] getting commandline ?

2001-04-08 Thread Joe Stump
$argv and $argc - also put #!/usr/local/bin/php -q at the top of your script (above the top ?) and then chmod +x it to run it like a regular script. --Joe On Sun, Apr 08, 2001 at 11:13:34PM +0200, NoSpeed wrote: Hi I want to write a small application that will change something in databases

[PHP] HTML table to MySQL?

2001-04-08 Thread Scott VanCaster
How would one go about getting each element from an HTML table to a database? The HTML will be the source code from a games site score report pasted into a form. I'm just learning, so don't waste you're valuable time explaining every detail of how this can be done, but if someone can point me

Re: [PHP] HTML table to MySQL?

2001-04-08 Thread Lindsay Adams
If you are sucking the scores off someones website, so you can put them into a database (you should first get permission from site owner ;) ) But the process would be as follows in pseudo code (can't be done with just SQL commands, btw.) Get page Find beginning and end of table, strip off

[PHP] anything wrong with php.net?

2001-04-08 Thread Christian Dechery
Is there anything wrong with www.php.net? I can't access it for two days now... . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] anything wrong with php.net?

2001-04-08 Thread Joe Stump
I'm on it right now. --Joe On Sun, Apr 08, 2001 at 09:02:54PM -0300, Christian Dechery wrote: Is there anything wrong with www.php.net? I can't access it for two days now... . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web

Re: [PHP] anything wrong with php.net?

2001-04-08 Thread Kath
Can you traceroute it? Maybe that can pinpoint the cause of the problem for you. Works for me. - Kath - Original Message - From: "Christian Dechery" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, April 08, 2001 8:02 PM Subject: [PHP] anything wrong with php.net? Is there

[PHP] Row colors

2001-04-08 Thread Mike P
I can change the column sof a table with the following code but how do I change the row colors instead.With the columns I have "i" to manipulate but not with rows. while ($row = mysql_fetch_row($result)) {{ echo "TR\n"; for ($i =1;$imysql_num_fields($result);$i++)

[PHP] Inputing data to a relational database

2001-04-08 Thread Nathan Roberts
I am a nebie to Mysql/php and am currently working on an urgent project, a on-line catalogue. I have been using phpmyadmin, to create the tables in MySQL. However I now want to add data into the tables. I am reluctant to program a php page to do this, as I do not (yet) have sufficient php

Re: [PHP] anything wrong with php.net?

2001-04-08 Thread Lindsay Adams
It is up just fine. Try one of the mirror addresses as a backup Like: http://php.he.net On 4/8/01 5:07 PM, "Kath" [EMAIL PROTECTED] wrote: Can you traceroute it? Maybe that can pinpoint the cause of the problem for you. Works for me. - Kath - Original Message - From:

[PHP] parse error

2001-04-08 Thread kenny.hibs
I am getting a parse error in the following line of code ** foreach ($messagearray as $value) { //print("strlen: " . strlen($value)); if (strlen($value) = 22) { ? script alert('Your post is too long...use the forum for longer stories.') /script ?

Re: [PHP] Row colors

2001-04-08 Thread Joe Stump
tr bgcolor="? $cell_color; ?" --Joe On Mon, Apr 09, 2001 at 12:08:10AM +, Mike P wrote: I can change the column sof a table with the following code but how do I change the row colors instead.With the columns I have "i" to manipulate but not with rows. while ($row =

Re: [PHP] Inputing data to a relational database

2001-04-08 Thread Joe Stump
www.mysql.com - Documentation - is you know how to insert data using SQL already then just make the PHP script. --Joe On Mon, Apr 09, 2001 at 01:11:57AM +0100, Nathan Roberts wrote: I am a nebie to Mysql/php and am currently working on an urgent project, a on-line catalogue. I have been

Re: [PHP] Row colors

2001-04-08 Thread Gfunk
see changes Gfunk - [EMAIL PROTECTED] - http://www.gfunk007.com/ - Original Message - From: "Mike P" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 09, 2001 10:08 AM Subject: [PHP] Row colors I

Re: [PHP] parse error

2001-04-08 Thread Joe Stump
Worked for me, but I had to make sure that $messagearray was in fact an array. So wrap that block of code in this: if(is_array($messagearray) sizeof($messagearray)) { } --Joe On Mon, Apr 09, 2001 at 01:13:00AM +0100, kenny.hibs wrote: I am getting a parse error in the following line

Re: [PHP] Inputing data to a relational database

2001-04-08 Thread Lindsay Adams
Not that I am aware of, because all the referential integrity relating to mysql, is in whatever code you write to access it. So you are going to have to use C,Perl,PHP,Python, or something to access your data, and control integrity. Play with mysql queries in php. As long as you only do selects,

RE: [PHP-CVS] cvs: php4 / Makefile.in configure.in /main build-defs.h.in /pear PEAR.php.in /sapi Makefile.in /sapi/cgi config.m4

2001-04-08 Thread Sean R. Bright
After "cvs update -dAP": Making all in sapi gmake[1]: Entering directory `/home/kroot/php4/sapi' Making all in cgi gmake[2]: Entering directory `/home/kroot/php4/sapi/cgi' gmake[2]: *** No rule to make target `all'. Stop. gmake[2]: Leaving directory `/home/kroot/php4/sapi/cgi' gmake[1]: ***

Re: [PHP] parse error

2001-04-08 Thread Philip Olson
Three questions : 1. What is the parse error. 2. What line corresponds with the parse error. 3. What are the two lines above the line in #2 Regarding your code, it works (no parse error) for me. Two possible issues/guesses/warnings are : a. Foreach is php4+ (see manual for

[PHP] uninstalling PHP4

2001-04-08 Thread David Loszewski
I just uninstalled MySQL, now how do i uninstall PHP4, I installed it from a .tar file. thx, Dave -- 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

Re: [PHP] uninstalling PHP4

2001-04-08 Thread Rasmus Lerdorf
I just uninstalled MySQL, now how do i uninstall PHP4, I installed it from a .tar file. Just remove the LoadModule line from your httpd.conf assuming you built PHP as a DSO. If you compiled it into your Apache as a static module you will need to recompile Apache. -Rasmus -- PHP General

RE: [PHP-CVS] cvs: php4 / Makefile.in configure.in /main build-defs.h.in /pear PEAR.php.in /sapi Makefile.in /sapi/cgi config.m4

2001-04-08 Thread Sean R. Bright
Sorry: ./configure --with-apxs=/usr/local/etc/httpd/bin/apxs --with-mysql -Original Message- From: Sean R. Bright [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 08, 2001 8:21 PM To: 'Stig Bakken'; [EMAIL PROTECTED] Subject: RE: [PHP-CVS] cvs: php4 / Makefile.in configure.in /main

RE: [PHP] uninstalling PHP4

2001-04-08 Thread David Loszewski
how do I tell? -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 08, 2001 8:32 PM To: David Loszewski Cc: [EMAIL PROTECTED] Subject: Re: [PHP] uninstalling PHP4 I just uninstalled MySQL, now how do i uninstall PHP4, I installed it from a .tar

RE: [PHP] uninstalling PHP4

2001-04-08 Thread Rasmus Lerdorf
httpd -l If php shows up in your list it is static. Or, check phpinfo() and see if the configure line you used was --with-apxs (DSO) or --with-apache (static) -Rasmus On Sun, 8 Apr 2001, David Loszewski wrote: how do I tell? -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL

Re: [PHP] uninstalling PHP4

2001-04-08 Thread Joe Stump
I think the more important question is: Why would you want to uninstall it? ;o) --Joe On Sun, Apr 08, 2001 at 08:40:57PM -0400, David Loszewski wrote: how do I tell? -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 08, 2001 8:32 PM To:

RE: [PHP] uninstalling PHP4

2001-04-08 Thread David Loszewski
because I uninstalled MySQL, don't you need MySQL to run PHP? -Original Message- From: Joe Stump [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 08, 2001 8:38 PM To: David Loszewski Cc: Rasmus Lerdorf; [EMAIL PROTECTED] Subject: Re: [PHP] uninstalling PHP4 I think the more important

Re: [PHP] Row colors

2001-04-08 Thread Joe Stump
Oh well ... ? function bg_color() { global $bg; if(++$bg % 2 == 0) return '#cc'; else return '#ee'; } // sql stuff ... while($row = mysql_fetch_array($result) { echo 'tr bgcolor="'.bg_color().'"'."\n"; // td's echo

Re: [PHP] uninstalling PHP4

2001-04-08 Thread Joe Stump
No. PHP is totally independent of all DB's... --Joe On Sun, Apr 08, 2001 at 08:50:34PM -0400, David Loszewski wrote: because I uninstalled MySQL, don't you need MySQL to run PHP? -Original Message- From: Joe Stump [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 08, 2001 8:38 PM

[PHP] Metaphone, Soundex , MySQL

2001-04-08 Thread bill
greetings everyone, is anyone using the soundex or metaphone functions to keyword match multi-word (TEXT type) database fields? if so, i really could use some pointers. i have found that MySQL's SOUNDEX() function will make one gigantic value from the entire paragraph, but that doesn't to me

php-general Digest 9 Apr 2001 01:12:41 -0000 Issue 616

2001-04-08 Thread php-general-digest-help
php-general Digest 9 Apr 2001 01:12:41 - Issue 616 Topics (messages 47646 through 47700): Re: where might I find a good php page 47646 by: Zeus 47665 by: Boaz Yahav 47668 by: Jason Lotito 47669 by: Philip Olson 47672 by: Jeff Oien adding postgresql

[PHP] Dynamic Module Load

2001-04-08 Thread Jochen Kaechelin
My ISP does not support PDF-Support in PHP 4.0.3pl1. But we urgently need to generate PDF-Files on the fly. Is it secure to use the dl-command? Is it possible to override the dl-extension-path defined in the php.ini? -- Jochen Kaechelin - Ihr WEBberater Stuttgarter Str.3, D-73033 Goeppingen

Re: [PHP] PHPSESSID sticks to every link after upgrate of Apache/PHP

2001-04-08 Thread trogers
Hi You will probably need to make clean and rebuild php config and do a new make against the new version of apache. Just a guess Tom At 12:28 PM 5/04/01 +0900, Maxim Maletsky wrote: Hello, my co-worker has reinstalled Apache and PHP over the last night. The Apache was upgraded to the new

[PHP] Where to get php_pdf.so?

2001-04-08 Thread Jochen Kaechelin
Where can I get a php_pdf.so file for trying the dl-function on our server? I locally use a Win-System and therfore only have a php_pdf.dll! -- Jochen Kaechelin - Ihr WEBberater Stuttgarter Str.3, D-73033 Goeppingen Tel. 07161-92 95 94, Fax 07161-92 95 98 http://www.wa-p.de, mailto:[EMAIL

Re: [PHP] Apache latest + PHP latest + GD latest + Freetype latest + Jpeg latest

2001-04-08 Thread trogers
Hi I don't think gd uses freetype by default .. seem to remember having to edit the makefile Tom At 12:12 PM 5/04/01 +0100, Alex Bloor wrote: Hi, Firstly, thanks for reading this message. Has anyone managed to compile and use : Apache latest + PHP latest + GD latest + Freetype latest + Jpeg

Re: [PHP] Apache latest + PHP latest + GD latest + Freetype latest+ Jpeg latest

2001-04-08 Thread Rasmus Lerdorf
It doesn't, but you don't need Freetype support in GD in order to get GD+Freetype support. PHP takes a vanilla GD library and adds Freetype support itself (assuming you have the Freetype lib, of course). -Rasmus On Mon, 9 Apr 2001, trogers wrote: Hi I don't think gd uses freetype by default

Re: [PHP] configure not doing anything and file not found

2001-04-08 Thread Yasuo Ohgaki
There is compile instruction at www.php4win.de I think you need CygWin and VC to compile windows version of PHP. You may get better answer on php-windows list. Regards, -- Yasuo Ohgaki ""Plutarck"" [EMAIL PROTECTED] wrote in message 9aor0h$uo0$[EMAIL PROTECTED]">news:9aor0h$uo0$[EMAIL

[PHP] Asking for input from shell?

2001-04-08 Thread enthalpy
anyone have sample code of how you can have a php script (cgi) ask for input from the shell? -CoreComm-Internet-Services---http://core.com- (Jon Marshall CoreComm Services Chicago) ([EMAIL PROTECTED] Systems Engineer II) ([EMAIL PROTECTED]

Re: [PHP] Asking for input from shell?

2001-04-08 Thread Jason Brooke
$fp = fopen("php://stdin", "r"); echo fgets($fp, 64); fclose($fp); - Original Message - From: "enthalpy" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 09, 2001 1:10 PM Subject: [PHP] Asking for input from shell? anyone have sample code of how you can have a php

Re: [PHP] Asking for input from shell?

2001-04-08 Thread enthalpy
Thank you. -CoreComm-Internet-Services---http://core.com- (Jon Marshall CoreComm Services Chicago) ([EMAIL PROTECTED] Systems Engineer II) ([EMAIL PROTECTED] Network Operations) -Enthalpy.org-http://enthalpy.org- ([EMAIL

[PHP] double byte problem

2001-04-08 Thread Subhrajyoti Moitra
hi, i am having a little problem in using php with double byte character. a user enters double byte character in some html form.. this user data is converted into a gif image. and later stored in a mysql/pgsql database... i have no clue how go about doing this .. can someone please please

[PHP] date/time in wrong zone

2001-04-08 Thread Duke
I'm using php 4.0.4pl1on a FreeBSD system. When I use a php date/time function, it reports the time in GMT, however, I have the date on my FreeBSD system set to EDT. I can't figure out what the problem is here. The only thing I can think of is that when I compiled php, my system timezone was set

Re: [PHP] date/time in wrong zone

2001-04-08 Thread Duke
It may also be relevant that the "T" format string for the date() function also reports GMT, even though I've set my system timezone to EDT. The command "date" in FreeBSD also reports the time in EDT. -Original Message- From: Duke [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL

[PHP] This loop is screwed up totally. Why o why o why....

2001-04-08 Thread Yo Bro
Hi I have a feild in a MySql database called features. It is delimited by | the line above the \ key. Anyway, the feild has things like PS|PW|AC etc in it. I have the code below to explode that feild. It all works fine, but when it comes to looping the code below it always misses that last value.

[PHP] select as

2001-04-08 Thread Christopher Allen
Greets: I have a bit of php code that looks for a matching user/pass in a mysql table. There are three user/pass phrases in the table along with a an email that corresponds to each user/pass pair. Is there any way to construct a query that will do both the matching of the user/passes and also

RE: [PHP] PHPSESSID sticks to every link after upgrate of Apache/PHP

2001-04-08 Thread Benjamin Munoz
In your php.ini, change the following line: session.use_trans_sid = 1 ; use transient sid support if enabled to session.use_trans_sid = 0 ; use transient sid support if enabled And see if that solves your problem. Also, check the change with phpinfo(), and if nothing

Re: [PHP] This loop is screwed up totally. Why o why o why....

2001-04-08 Thread David Robley
On Mon, 9 Apr 2001 13:56, you wrote: Hi I have a feild in a MySql database called features. It is delimited by | the line above the \ key. Anyway, the feild has things like PS|PW|AC etc in it. I have the code below to explode that feild. It all works fine, but when it comes to looping the

RE: [PHP] double byte problem

2001-04-08 Thread Benjamin Munoz
Can you send some code? -Original Message- From: Subhrajyoti Moitra [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 08, 2001 8:41 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [PHP] double byte problem hi, i am having a little problem in using php with double byte character.

Re: [PHP] This loop is screwed up totally. Why o why o why....

2001-04-08 Thread Yo Bro
I do have a matching image, and all cases it does work with different records from the database. IE Where there might be an array of 15 items, but it is always the last one that doesn't show. Even if the image is there, because it gets used if i add another value to the array. IE PS|PW|AC|CD In

Re: [PHP] This loop is screwed up totally. Why o why o why....

2001-04-08 Thread David Robley
On Mon, 9 Apr 2001 14:27, Yo Bro wrote: I do have a matching image, and all cases it does work with different records from the database. IE Where there might be an array of 15 items, but it is always the last one that doesn't show. Even if the image is there, because it gets used if i add

Re: [PHP] mail() limit? Use aliases table

2001-04-08 Thread Manuel Lemos
Hello Lindsay, On 08-Apr-01 20:02:57, you wrote: No, I use my manual lists without a problem. If I ever have to install on a system that does not allow normal use of an alias table by a normal user, then I might try something else. But under my resellers account on AIT, I get to do whatever I

Re: [PHP] Row colors

2001-04-08 Thread Manuel Lemos
Hello Mike, On 08-Apr-01 21:08:17, you wrote: I can change the column sof a table with the following code but how do I change the row colors instead.With the columns I have "i" to manipulate but not with rows. while ($row = mysql_fetch_row($result)) {{ echo "TR\n"; for ($i

Re: [PHP] Row colors

2001-04-08 Thread Harshdeep S Jawanda
Hi, Just make the modification listed below: while ($row = mysql_fetch_row($result)) { $cell_color = ++$i % 2 ? "#C0C0C0" : "#CC"; echo "TR bgcolor=\"$cell_color\"\n"; for ($i =1;$imysql_num_fields($result);$i++) { echo "td$row[$i]/td"; } } Mike P wrote: I can change the