[PHP] Select box won't display in Netscape 4.xx

2001-12-31 Thread Edwin Boersma
Hi, I'm developing a website for multiple browsers. In Netscape 4.xx (both Win98 and Linux versions), the php-scripts display the select boxes in my forms only as plain text. I cannot make any selections. In other browsers (NS 6 and IE5), it works fine. Anyone seen this behavior before?

[PHP] Sessions Problems!

2001-12-31 Thread Phillip M.(Mike) Bishop
I am having problems with my sessions. I authenticate the user against a mysql db. The authentication works fine and the session script works fine for all my other domains except one. They all reside on the same webserver using the same session class. The problem I have is when the user logs in,

[PHP] How to strip off all html-comments

2001-12-31 Thread Martin
Hello! How can I easily strip off all html-comments (! Comment ) from a string? Martin -- 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] Re: Need some Linux/Apache help

2001-12-31 Thread Edwin Boersma
Hi Todd, Has Apache been restarted ton use the new libphp4.so? And if so, does it use the correct one (you might have another one on your system)? If Apache starts without probs, check the httpd.conf for php mime types. What does Apache respond if you load your test script? Regards, Edwin Todd

RE: [PHP] How to strip off all html-comments

2001-12-31 Thread James Cox
http://www.php.net/stripcodes happy new year! James Cox -- James Cox :: [EMAIL PROTECTED] Please CC me when replying to my messages -Original Message- From: Martin [mailto:[EMAIL PROTECTED]] Sent: Monday, December 31, 2001 11:07 AM To: [EMAIL PROTECTED] Subject: [PHP] How to strip

Re: [PHP] Select box won't display in Netscape 4.xx

2001-12-31 Thread Miles Thompson
Sounds like a problem with HTML syntax. NS is notoriously fussy and IE remarkably lax. Capture your source and compare against the HTML standard. I'm surprised NS6 is accepting what NS4 is choking on. Happy New Year - Miles PS I'd bet a cup of coffee that a closing tag is missing. At 12:06

[PHP] web mail clients?

2001-12-31 Thread Philip Jeffs
Hi, I'm looking into setting up a web based mail client for personal use. I've got most of it figured out (sending, recieving, forwarding etc..). I need to be able to use folders in the mail client to organise the messages. Whats the best way of moving messages around? Do i need to store

RE: [PHP] web mail clients?

2001-12-31 Thread Brian V Bonini
This has been done, no need to re-invent the wheel unless of course you wanted to. -Original Message- From: Philip Jeffs [mailto:[EMAIL PROTECTED]] Sent: Monday, December 31, 2001 8:30 AM To: [EMAIL PROTECTED] Subject: [PHP] web mail clients? Hi, I'm looking into setting up

Re: [PHP] web mail clients?

2001-12-31 Thread David Jackson
Philip -- If you just want to install one: http://freshmeat.net Browse down to PHP project, there 4-6 are ready out there. If you want to roll your own check out the tutorials at: http://www.melonfire.com/community/columns/trog/ Note: The mail client I send this mail from appears to be a PHP

[PHP] arrays aka headache

2001-12-31 Thread Louis Grenzebach
Okay so I have a multidimensional associative array, $userlist[$file][$stat], $stat only contains one value, I want to sort $userlist[$file] based off some associative element in $stat, say like 'wins'. array_multisort isn't appropriate as far as I can tell since $stat isn't an array, it's

[PHP] Testing: Igonore This Message

2001-12-31 Thread John Monfort
Test Cannot submit to list. Test -- 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] Testing: DON'T Ignore This Message

2001-12-31 Thread Bogdan Stancescu
It seems to work. I'll use this thread to ask an admin question: why doesn't the mailing list daemon add a reply-to address similar to the one I manually added here? Wouldn't it be more comfortable for all parties concerned? Bogdan John Monfort wrote: Test Cannot submit to list. Test --

[PHP] Apache Error 500

2001-12-31 Thread patricka
Hi, I am using the list comment to decompose urls for navigation. This works fine. Except on one particular server and I don't know why.. if my url is like : test.php everything is ok, but when I use test.php/1, I get the Apache Internal 500 Error. I believe that apache is checking if

Re: [PHP] Apache Error 500

2001-12-31 Thread Bogdan Stancescu
Out of curiosity, why would you ever need this kind of URL? And what would you expect Apache to do - issue a 404 error instead? Bogdan [EMAIL PROTECTED] wrote: if my url is like : test.php everything is ok, but when I use test.php/1, I get the Apache Internal 500 Error. -- PHP General

[PHP] TEST---Please Ignore

2001-12-31 Thread John Monfort
=Testing= Having trouble sending mail... =Testing= Please ignore. -- 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] Apache Error 500

2001-12-31 Thread Andrew Hill
Patrick, It's likeley that one that one server PHP is installed as a GGI - unfortunatley the trick you want to use only work when PHP is installed as a module. Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software http://www.openlinksw.com Universal Data Access Data

[PHP] Regular Expression

2001-12-31 Thread John Monfort
Hello everyone! I'm trying to get the text inside the BODY tag, using regular expression. $area = eregi('(body)(.*))',$str); Where $str is the string containing body bgcolor=#99 tex=#... ... When I print $area, the string contains the entire content of $str. I get something like: body

Re: [PHP] Re: Need some Linux/Apache help

2001-12-31 Thread Brian Clark
* Edwin Boersma ([EMAIL PROTECTED]) [Dec 31. 2001 06:15]: Has Apache been restarted ton use the new libphp4.so? And if so, does it use He will have no libphp4.so since he used --with-apache. In order to create a DSO, he'll need to use --with-apxs the correct one (you might have another one

Re: [PHP] How to strip off all html-comments

2001-12-31 Thread Brian Clark
* James Cox ([EMAIL PROTECTED]) [Dec 31. 2001 06:38]: http://www.php.net/stripcodes I think you mean strip_tags() http://www.php.net/strip_tags [...] Hello! How can I easily strip off all html-comments (! Comment ) from a string? Martin -- Brian Clark | Avoiding the general public

Re: [PHP] How to strip off all html-comments

2001-12-31 Thread Richard S. Crawford
Martin, strip_tags() would be useful for removing *all* HTML from a string, though you can specify that certain tags should be retained. For example, if you want to remove all *but* anchor tags from your string, your function would look like this: $str = strip_tags($str,'a');

[PHP] Regular Expression Help

2001-12-31 Thread John Monfort
Hello everyone, I'm using regular expression to extract all text within the body tag. With a BODY tag like body bgcolor= ... text= \\only interested in this line. I use eregi(( body ) (.*) (\) ,$str,$out); \\spaces included, here, for easy reading. echo $out[0]; However, this prints

[PHP] Listing files

2001-12-31 Thread Todd Cary
I would like to present the surfer with a list of files in a directory (I'll probably put then into a drop-down) and then I want to send the file to the surfer if one is selected. I am not sure of the syntax to 1) List the files in a directory 2) Send a selected file to the surfer Many thanks

Re: [PHP] Re: Need some Linux/Apache help

2001-12-31 Thread Todd Cary
Brian - That is correct: libphp4.so no longer exists (locate libphp4.so). I am not sure where the Apache source code exists with the default RH 7.2 intallation, or if it exists at all. When I do # rpm -qa | grep apache I am told that apache-1.3.20-16 is loaded, however there are 4 or so

RE: [PHP] Real Simple, but i'm new!!

2001-12-31 Thread Robert V. Zwink
FYI This example does not return the expected result. Accessing: http://server.com/empty.phtml?variable Then: ?php if(!empty($variable)){ echo TRUE; } ? Will never print TRUE according to the example. The isset() function is likely better suited for this person's purposes. Robert

Re: [PHP] Regular Expression Help

2001-12-31 Thread Brian Clark
* John Monfort ([EMAIL PROTECTED]) [Dec 31. 2001 11:30]: I'm using regular expression to extract all text within the body tag. With a BODY tag like body bgcolor= ... text= \\only interested in this line. [...] echo $out[0]; However, this prints everything following (and including) the

Re: [PHP] Listing files

2001-12-31 Thread Brian Clark
* Todd Cary ([EMAIL PROTECTED]) [Dec 31. 2001 11:32]: I would like to present the surfer with a list of files in a directory (I'll probably put then into a drop-down) and then I want to send the file to the surfer if one is selected. I am not sure of the syntax to 1) List the files in a

[PHP] Re: php4 and PHPLib

2001-12-31 Thread Gerard Samuel
I was looking through the archive and there were some references about changing apache's config to recognise php3 files in php4. When I tried to add a mime type for php3, restarted apache and tried to go to a test php3 page with phpinfo() in it my browswer wants to download it, instead of

[PHP] Re: Listing files

2001-12-31 Thread George Nicolae
$path=c:/;//your path function GetDirArray($sPath) { //Load Directory Into Array $handle=opendir($sPath); while ($file = readdir($handle)) if(($file!=.)($file!=..)) $retVal[(isset($retVal))?count($retVal):0] = $file; //Clean up and sort closedir($handle); sort($retVal); return $retVal; }

[PHP] Test

2001-12-31 Thread John Monfort
Test: cannot send mail, but can read. Please ignore. -- 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] length of string

2001-12-31 Thread Ray Todd Stevens
I can't seem to find this anywhere in the manuals. What is the maximum length of a string? Ray Todd Stevens Specialists in Network and Security Consulting Senior ConsultantSoftware audit service available Stevens

Re: [PHP] Re: Need some Linux/Apache help

2001-12-31 Thread Brian Clark
* Todd Cary ([EMAIL PROTECTED]) [Dec 31. 2001 11:34]: [...] I am told that apache-1.3.20-16 is loaded, however there are 4 or so other applications dependent on it. If I were to do a rpm -e apache-1.3.20-16 with the ignore dependencies directive, what will happen? You probably don't need

Re: [PHP] how to read posted data?

2001-12-31 Thread Emile Bosch
USE $HTTP_RAW_POST_DATA or something like that i'll look it up for you Zhiqiang He [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... i have resolved this problem, use $HTTP_RAW_POST_DATA. On Thu, 11 Oct 2001 13:12:54 GMT, [EMAIL PROTECTED] (Zhiqiang He) wrote: problem like this:

Re: [PHP] length of string

2001-12-31 Thread Bogdan Stancescu
Take a look at the maximum allowed memory size used by PHP -- too much in a hurry to provide a link. Approx. 8MB is the default. That's the limit for strings too. Bogdan Ray Todd Stevens wrote: I can't seem to find this anywhere in the manuals. What is the maximum length of a string?

Re: [PHP] length of string

2001-12-31 Thread Brian Clark
* Ray Todd Stevens ([EMAIL PROTECTED]) [Dec 31. 2001 12:15]: I can't seem to find this anywhere in the manuals. What is the maximum length of a string? This probably depends on the Operating System.. for Linux you can check out limits.h, but for Windows, I have no idea. -- Brian Clark |

[PHP] Re: Select box won't display in Netscape 4.xx

2001-12-31 Thread Mike Eheler
This happens when a select tag is not within a form block in netscape 4.. if the select isn't meant to be part of a form, and is just for navigation (javascript onchange or whatever), then just do formselect.../select/form Mike Edwin Boersma wrote: Hi, I'm developing a website for

Re: [PHP] mysql_fetch_array

2001-12-31 Thread Vincent Stoessel
you can also do $queryString = select table1.uid as 'my_uid' , table2.uid as 'their_uid' from table1, table2 where ... ; Greg Sidelinger wrote: Subject: [PHP] mysql_fetch_array From: Greg Sidelinger

[PHP] Re: web mail clients?

2001-12-31 Thread Mike Eheler
Depends what you want to do with it. If you want it to grab messages from a POP server, and download them to your local machine, then some sort of cyclic folders database structure would help: int auto_inc folderid int default(0) parentid (= 0 if root, otherwise id of parent folder) str

[PHP] Re: How to strip off all html-comments

2001-12-31 Thread Mike Eheler
Checkout the preg_replace page in the PHP manual (at http://www.php.net/manual/en). There is an example there on removing all HTML tags. You can just modify it to work on just comments. Mike Martin wrote: Hello! How can I easily strip off all html-comments (! Comment ) from a string?

Re: [PHP] Select box won't display in Netscape 4.xx

2001-12-31 Thread Jim Lucas [php]
check and make sure the you have the correct opening and closing form tags. NS 4.x will choke if you don't have an opening and closing tag. While IE 5, 5.5 and 6 will work fine. Jim - Original Message - From: Edwin Boersma [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December

Re: [PHP] Sessions Problems!

2001-12-31 Thread Jim Lucas [php]
when you say that nothing changed, does that include permissions on the tmp session directory, the httpd.conf file or any related configurations? Jim - Original Message - From: Phillip M.(Mike) Bishop [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 31, 2001 2:58 AM

[PHP] Support for GIF, PNG and JPEG. How ?

2001-12-31 Thread Robert Mena
Hi, I was wondering if there is a wayto compile php with gd support for the gif, png and jpg file types. As far as I know gd dropped gif support while ago when it added png. regards, __ Do You Yahoo!? Send your FREE holiday greetings online!

Re: [PHP] Support for GIF, PNG and JPEG. How ?

2001-12-31 Thread Brian Clark
* Robert Mena ([EMAIL PROTECTED]) [Dec 31. 2001 13:00]: I was wondering if there is a wayto compile php with gd support for the gif, png and jpg file types. As far as I know gd dropped gif support while ago when it added png. I know gd version 1.3 supports gif. YOu can probably dig it up

Re: [PHP] Re: Need some Linux/Apache help

2001-12-31 Thread Brian Clark
* Todd Cary ([EMAIL PROTECTED]) [Dec 31. 2001 13:15]: Brian et al - Looks like you meant to send this to the list? :-)) I waited to see if one would roll on in, but it doesn't look like it will be, sooo... This is starting to make some sense, however, there are still some areas of

Re: [PHP] how to read posted data?

2001-12-31 Thread David Jackson
Also check out tutorials at: http://www.melonfire.com/community/columns/trog/ -- david USE $HTTP_RAW_POST_DATA or something like that i'll look it up for you Zhiqiang He [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... i have resolved this problem, use $HTTP_RAW_POST_DATA.

Re: [PHP] Select box won't display in Netscape 4.xx

2001-12-31 Thread sundogcurt
Have you double and triple checked to be sure your form elements are nested properly? [EMAIL PROTECTED] wrote: Hi, I'm developing a website for multiple browsers. In Netscape 4.xx (both Win98 and Linux versions), the php-scripts display the select boxes in my forms only as plain text. I

[PHP] servlet sapi is broken in 4.1.0

2001-12-31 Thread Vincent Stoessel
After doing a lot of hoop jumping trying to get php4.1.0 compiled and working as a servlet for tomcat 4.0.1 I finally tried going back to php 4.0.6 with the same configure options and so far it runs flawlessly as a servet. You can view the history of my problem here:

[PHP] Re: Listing files

2001-12-31 Thread George Nicolae
I am very honour of your suggestion but I am not the author of the function GetDirArray($sPath). The author is [EMAIL PROTECTED] (I don't know him). It isn't ethic to publish this function under my name. Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web

Re: [PHP] Sessions Problems!

2001-12-31 Thread Phillip M.(Mike) Bishop
Correct. The same authentication script is used on 4 other domains on my server. They are able to write the session file to /tmp and so is the other domain expect the file is a 0 byte file. - Original Message - From: Jim Lucas [php] [EMAIL PROTECTED] To: Phillip M.(Mike) Bishop [EMAIL

php-general Digest 31 Dec 2001 20:15:47 -0000 Issue 1084

2001-12-31 Thread php-general-digest-help
php-general Digest 31 Dec 2001 20:15:47 - Issue 1084 Topics (messages 79096 through 79146): Re: php4 and PHPLib 79096 by: Björn Schotte 79125 by: Gerard Samuel Select box won't display in Netscape 4.xx 79097 by: Edwin Boersma 79102 by: Miles Thompson

[PHP] work with mobile by PHP !!

2001-12-31 Thread Alawi
How can I send msg to PHP ? what I need and what I must read ??

Re: [PHP] Testing: DON'T Ignore This Message

2001-12-31 Thread Michael Sims
At 05:07 PM 12/31/2001 +0200, you wrote: It seems to work. I'll use this thread to ask an admin question: why doesn't the mailing list daemon add a reply-to address similar to the one I manually added here? Wouldn't it be more comfortable for all parties concerned? I agree. It's a pain to have

[PHP] Getting elapsed time between two MySQL time fields

2001-12-31 Thread Tom Beidler
I have some records in a MySQL database that store a start and stop time. In my display page that displays the record info I would like to use PHP to find the elapsed time between the two fields. So if I had; Start 13:44:20 Stop 13:49:25 Possibly use a function to calculate Elapsed 5:05 Do I

[PHP] What the hell?!?!

2001-12-31 Thread LaserJetter
I've just been preparing a site for upload from my local test server to the net and have come accross a php.error.log file which was 13.4Mb! I'm using PHP 4.1.0 and Apache 1.3.19 on Win98se and ever since upgrading to 4.1 PHP has been creating these error log files all over the place. Does anyone

[PHP] Comment About- [PHP] TEST---Please Ignore

2001-12-31 Thread [EMAIL PROTECTED]
While I understand your frustration, and agree with your pre-judgement, I fail to understand why you would read, let along complain about, something that clearly says PLEASE IGNORE. It's like touching a wall that's marked Wet Paint, then complain when your hands get dirty. This is something

Re: [PHP] Testing: DON'T Ignore This Message

2001-12-31 Thread B. van Ouwerkerk
I agree. It's a pain to have to click Reply-to-all and then strip out the individuals email address (leaving only the address of the list)...other lists that I'm on have the reply-to always pointing back to the list so all you have to do is click Reply and you know it will go where it needs

Re: [PHP] Re: Need some Linux/Apache help

2001-12-31 Thread Todd Cary
Brian et al - How do I redirect the output *if* the output is errors? For example # make /home/todd/makeerr.txt I am getting an error when I run make after configuring with --with-apxs. The configure runs fine; it is just the make and I have noticed that with the above redirect, everything

Re: [PHP] Re: Need some Linux/Apache help

2001-12-31 Thread Brian Clark
* Todd Cary ([EMAIL PROTECTED]) [Dec 31. 2001 18:59]: How do I redirect the output *if* the output is errors? For example # make /home/todd/makeerr.txt Try this: make 2 /home/todd/makeerr.txt I am getting an error when I run make after configuring with --with-apxs. The configure runs

Re: [PHP] Re: Need some Linux/Apache help

2001-12-31 Thread Brian Clark
* Brian Clark ([EMAIL PROTECTED]) [Dec 31. 2001 19:05]: How do I redirect the output *if* the output is errors? For example # make /home/todd/makeerr.txt Try this: make 2 /home/todd/makeerr.txt Oh, and if you want it *all* to go to that file: make 21 /home/todd/makeerr.txt You can

Re: [PHP] Re: Need some Linux/Apache help

2001-12-31 Thread Brian Clark
* Brian Clark ([EMAIL PROTECTED]) [Dec 31. 2001 19:09]: make 21 /home/todd/makeerr.txt Gah! I need to just go watch TV or something. I meant: make 21 /home/todd/makeerr.txt That directs STDERR to STDOUT and that's redirected to /home/todd/makeerr.txt Sorry for the list bomb. -- Brian

[PHP] Re: Getting elapsed time between two MySQL time fields

2001-12-31 Thread George Nicolae
? $d1=mktime(13,44,20,1,1,2002);//first three variables are your time and last are a random day $d2=mktime(13,49,25,1,1,2002); echo date(i:s,$d2-$d1); ? -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com Tom Beidler [EMAIL

[PHP] XML Parsing Problem

2001-12-31 Thread Ben Gollmer
Hi all - I'm experimenting with PHP's XML parser for an application that maps XML tags to MySQL database fields. As a test for my parsing program, I've been grabbing XML from the Slashdot news feed (http://www.slashdot.org/slashdot.xml) and inserting it into a database. This is very simple

[PHP] Happy new year!

2001-12-31 Thread George Nicolae
A happy new year with a lot of dynamic sites to all php community! -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] Testing: DON'T Ignore This Message

2001-12-31 Thread Michael Sims
At 11:45 PM 12/31/2001 +0100, B. van Ouwerkerk wrote: u.. I can give you one good reason.. Out Of the Office replies don't get to the list.. M$ Lookout is specilized in bombing lists with those stupid messages. Seems a complete list with reasons why you shouldn't set reply to to the

[PHP] Re: Happy new year!

2001-12-31 Thread Arcadius A.
Thanks ! :-) -- --- Student Arcadius Ahouansou ICQ# : 37119073 http://arcadnet.net/ George Nicolae [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... A happy new year with a lot of dynamic sites to all php

Re: [PHP] What the hell?!?!

2001-12-31 Thread Michael Sims
At 10:10 PM 12/31/2001 +, LaserJetter wrote: Also, apart from my coding being rubbish and causing lots of errors, does anyone know of any reason why an error log file would grow to such a huge size? Why don't you actually look at the error log and see what it contains? -- PHP General

Re: [PHP] Happy new year!

2001-12-31 Thread Miles Thompson
A DYNAMIC, Happy, New Year. PHP is great. Through it, and Linux, I've had a very interesting two years of programming and my career seems to be bending away from desktop apps and towards net-oriented ones. Regards to alll - Miles Thompson On Monday 31 December 2001 08:20 pm, George Nicolae