[PHP] Re: php4 and PHPLib

2001-12-31 Thread Björn Schotte
Hi, * Gerard Samuel wrote: > I want to), and I didn't see anything in its docs about php4 > Is it possible to run this thing on a box with php4?? Of course, since PHPLIB is only a set of PHP classes. -- Sichere PHP Applikationen / Notfall-Consulting mit der PHP Feuerwehr / Code inspection / Co

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

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

[PHP] How to strip off all html-comments

2001-12-31 Thread Martin
Hello! How can I easily strip off all html-comments () 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 st

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 P

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

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 se

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 PH

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

2001-12-31 Thread David Jackson
Miles --- Here's the link to W3C: HTML/XHTML and CSS validation page. It's a excellent tool for debuging pages. http://validator.w3.org/ David > > Sounds like a problem with HTML syntax. NS is notoriously fussy and IE > remarkably lax. Capture your source and compare against the HTML > standar

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

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

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

2001-12-31 Thread Jaime Bozza
Sean, From your php error_log, it's saying the following: Failed to write session data (user) which sounds like it's having problems writing to the user-defined session handler. Are you using a user-defined session handler? If not, make sure your php.ini file has: session.s

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 In

[PHP] Regular Expression

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

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() [...] > > Hello! How can I easily strip off all html-comments () from > > a string? > > Martin -- Brian Clark | Avoiding the general public si

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,''); Howev

[PHP] Regular Expression Help

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

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

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: Will never print TRUE according to the example. The "isset()" function is likely better suited for this person's purposes. Robert V. Zwink http://www.zwink.net/daid.php -Orig

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 tag. > With a BODY tag like >\\only interested in this line. [...] > echo "$out[0]"; > However, this prints everything following (and including) the ' portion of the BOD

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 display

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

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'

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 li

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 tag is not within a 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 ... Mike Edwin Boersma wrote: > Hi, > > I'm developing a website for multiple browsers. In Netscape 4.xx

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 Sid

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

[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 () from > a string? > > Martin >

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

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 S

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

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 u

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 confusi

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_RA

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 c

[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: http://marc.theaimsgroup.com/

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

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

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 ha

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

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

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

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

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 confi

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 2>&1 /home/todd/makeerr.txt

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

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

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

2001-12-31 Thread George Nicolae
-- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Tom Beidler" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have some records in a MySQL database that store a start and stop time.

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

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

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

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 Ma

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 wr