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

2001-03-11 Thread Stanislav Malyshev
stasMon Mar 12 00:07:00 2001 EDT Modified files: /php4/ext/standard array.c Log: Use hash position with array_flip Index: php4/ext/standard/array.c diff -u php4/ext/standard/array.c:1.99 php4/ext/standard/array.c:1.100 --- php4/ext/standard/array.c:1.99

Re: [PHP] ASP vs PHP

2001-03-11 Thread Steve Edberg
At 11:48 PM -0500 3/11/01, Rick St Jean wrote: >I was told by someone that it is possible with apache. You can have >something parse >the page once then be parsed by something else. I don't know how >and I have never seen >it but I have been told that it is possible. > >Rick That would be 's

[PHP] header

2001-03-11 Thread Nick Kostirya
Hello! Why header under Windows do not work? Nick -- 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] Best way to pass SQL TEXT field via a link

2001-03-11 Thread Jens Nedal
Actually the best would be if you would remain in the page so you dont have to pass any variables along the url but just in a submit form to the current page. There you could include your addupdate.php with a trigger like and just ask that value of that field in an if-clause. if true just include

Re: [PHP] Good Free PHP Editor?

2001-03-11 Thread John LYC
http://www.ultraedit.com not free.. but worth the nominal fee Andrew Halliday wrote: > Does anyone know of a good PHP enabled editor that fits the following > criteria:? > > (in order of importance) > - Is free > - Runs under Windows > - Has colors (syntax highlighting) > - Can edit multiple f

Re: [PHP] Good Free PHP Editor?

2001-03-11 Thread David Robley
On Mon, 12 Mar 2001 17:34, Andrew Halliday wrote: > Does anyone know of a good PHP enabled editor that fits the following > criteria:? > > (in order of importance) > - Is free > - Runs under Windows > - Has colors (syntax highlighting) > - Can edit multiple files (ie multi threaded) > - Reports li

[PHP] Good Free PHP Editor?

2001-03-11 Thread Andrew Halliday
Does anyone know of a good PHP enabled editor that fits the following criteria:? (in order of importance) - Is free - Runs under Windows - Has colors (syntax highlighting) - Can edit multiple files (ie multi threaded) - Reports line numbers - Has good search & replace functionality ??? Ive been

Re: [PHP] ASP vs PHP

2001-03-11 Thread Rick St Jean
I was told by someone that it is possible with apache. You can have something parse the page once then be parsed by something else. I don't know how and I have never seen it but I have been told that it is possible. Rick At 11:28 PM 3/11/01 -0500, Michael Kimsal wrote: >You're comparing a fr

Re: [PHP] ASP vs PHP

2001-03-11 Thread Michael Kimsal
You're comparing a framework to a language. ASP is a technology which allows code for different languages to be embedded in a file parsed by a webserver (IIS). To accomplish this, different languages need to be written as modules for that webserver. MS has VBScript (default language), JScript

RE: [PHP] Resource for PHP and other technologies

2001-03-11 Thread Valter Santos
The site is very cool, narsu!!! Congratulations, and keep the good work! Valter Santos WEB/WAP Consultant Email : [EMAIL PROTECTED] Mobile: +351 93 9650075 WeDo Consulting - http://www.wedo.pt > -O

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

2001-03-11 Thread Andrei Zmievski
andrei Sun Mar 11 19:10:15 2001 EDT Modified files: /php4/ext/standard array.c Log: This will have to do until the docs come along. Index: php4/ext/standard/array.c diff -u php4/ext/standard/array.c:1.98 php4/ext/standard/array.c:1.99 --- php4/ext/standard

[PHP-CVS] cvs: php4 /ext/pcre php_pcre.c /ext/standard array.c basic_functions.c php_array.h

2001-03-11 Thread Andrei Zmievski
andrei Sun Mar 11 19:06:59 2001 EDT Modified files: /php4/ext/pcre php_pcre.c /php4/ext/standard array.c basic_functions.c php_array.h Log: @- Added array_reduce(), which allows iterative reduction of an array @ to a single value via a callback func

[PHP-CVS] cvs: php4 /pear/Console Getopt.php

2001-03-11 Thread Andrei Zmievski
andrei Sun Mar 11 19:05:04 2001 EDT Modified files: /php4/pear/Console Getopt.php Log: Use proper class name. Index: php4/pear/Console/Getopt.php diff -u php4/pear/Console/Getopt.php:1.1 php4/pear/Console/Getopt.php:1.2 --- php4/pear/Console/Getopt.php:1.1

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

2001-03-11 Thread Jani Taskinen
sniper Sun Mar 11 18:06:07 2001 EDT Modified files: /php4/ext/ldap config.m4 Log: Cleaning this a little bit. Index: php4/ext/ldap/config.m4 diff -u php4/ext/ldap/config.m4:1.13 php4/ext/ldap/config.m4:1.14 --- php4/ext/ldap/config.m4:1.13Sun Oct

Re: [PHP] RegExp help..

2001-03-11 Thread David Robley
On Mon, 12 Mar 2001 12:10, John Vanderbeck wrote: > I really wish I could figure these darn things out :) I have a task I > need to do, and i'm certain I could do this easily with a regexp.. > > I have a file name in the format MMDDYY-*.txt...I need to parse it to > determine if the month and yea

[PHP] RegExp help..

2001-03-11 Thread John Vanderbeck
I really wish I could figure these darn things out :) I have a task I need to do, and i'm certain I could do this easily with a regexp.. I have a file name in the format MMDDYY-*.txt...I need to parse it to determine if the month and year matches a specified month and year. Day is irrelevant

[PHP] ASP vs PHP

2001-03-11 Thread Chris Anderson
This is going to sound like heresy, but is there any way to use ASP and PHP in the same fle/page? Seperated of course.

php-general Digest 12 Mar 2001 01:25:40 -0000 Issue 561

2001-03-11 Thread php-general-digest-help
php-general Digest 12 Mar 2001 01:25:40 - Issue 561 Topics (messages 43385 through 43422): new line in forms? 43385 by: Jens 43386 by: Bård Farstad 43416 by: Henrik Hansen Re: DB Abstraction 43387 by: Pierre-Yves Lemaire Re: Retrieving data from multiple se

Re: [PHP] Mailing List

2001-03-11 Thread David Robley
On Mon, 12 Mar 2001 11:54, Thomas Anderson wrote: > Ok, I've tried time and time again to unsubscribe from php.net's > mailing list unisubscribe instructions but it doesn't work. So how do I > get off the list? > > The following is at the bottom of each message from the list: To contact the list

[PHP] Mailing List

2001-03-11 Thread Thomas Anderson
Ok, I've tried time and time again to unsubscribe from php.net's mailing list unisubscribe instructions but it doesn't work. So how do I get off the list? __ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup -- PHP General

[PHP-CVS] cvs: php4 /ext/pdf config.m4

2001-03-11 Thread Jani Taskinen
sniper Sun Mar 11 17:20:14 2001 EDT Modified files: /php4/ext/pdf config.m4 Log: ws fixes. Plus removed unnecessary AC_MSG_ calls. Index: php4/ext/pdf/config.m4 diff -u php4/ext/pdf/config.m4:1.14 php4/ext/pdf/config.m4:1.15 --- php4/ext/pdf/config.m4:1.

[PHP-CVS] cvs: php4 /ext/muscat config.m4

2001-03-11 Thread Jani Taskinen
sniper Sun Mar 11 16:46:15 2001 EDT Modified files: /php4/ext/muscatconfig.m4 Log: ws fix. Index: php4/ext/muscat/config.m4 diff -u php4/ext/muscat/config.m4:1.1 php4/ext/muscat/config.m4:1.2 --- php4/ext/muscat/config.m4:1.1 Thu Jan 18 05:21:33 2001

Re: [PHP] Fetching mails from a mailbox in PHP

2001-03-11 Thread Jason Brooke
Yes - see the network functions in the Php manual. If you don't already know the protocol commands for the mail retrieval protocol you want to use, see the relevant rfc. jason - Original Message - From: "Filip Olsson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 12, 20

[PHP-CVS] cvs: CVSROOT / avail gen_acl_file.m4

2001-03-11 Thread Andrei Zmievski
andrei Sun Mar 11 16:30:22 2001 EDT Modified files: /CVSROOTavail gen_acl_file.m4 Log: PHP GTK web karma for James. Index: CVSROOT/avail diff -u CVSROOT/avail:1.116 CVSROOT/avail:1.117 --- CVSROOT/avail:1.116 Sun Mar 11 16:19:05 2001 +++ CVSROOT/avail

[PHP-CVS] cvs: CVSROOT / avail gen_acl_file.m4

2001-03-11 Thread Andrei Zmievski
andrei Sun Mar 11 16:19:06 2001 EDT Modified files: /CVSROOTavail gen_acl_file.m4 Log: Put dnl in. Index: CVSROOT/avail diff -u CVSROOT/avail:1.115 CVSROOT/avail:1.116 --- CVSROOT/avail:1.115 Sun Mar 11 14:40:11 2001 +++ CVSROOT/avail Sun Mar 11 1

[PHP] Fetching mails from a mailbox in PHP

2001-03-11 Thread Filip Olsson
Question: Can you by any other means except the IMAP functions get the mails from an mailbox? Appreciate an answer. -- 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,

[PHP-CVS] cvs: php4 /ext/midgard config.m4 config.m4.session

2001-03-11 Thread David Guerizec
davidg Sun Mar 11 15:45:58 2001 EDT Modified files: /php4/ext/midgard config.m4 config.m4.session Log: fixed misplaced PHP_SUBST Index: php4/ext/midgard/config.m4 diff -u php4/ext/midgard/config.m4:1.12 php4/ext/midgard/config.m4:1.13 --- php4/ext/midgard

[PHP-CVS] cvs: php4 /ext/midgard attachment.c config.m4 config.m4.session

2001-03-11 Thread David Guerizec
davidg Sun Mar 11 15:30:36 2001 EDT Modified files: /php4/ext/midgard attachment.c config.m4 config.m4.session Log: added PHP_SUBST(MIDGARD_SHARED_LIB) to dynamically link against libmidgard in config.m4 removed debug info in attachments Index: php4/ex

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

2001-03-11 Thread Jon Parise
jon Sun Mar 11 15:26:19 2001 EDT Modified files: /php4/pear DB.php Log: Revised version of the parseDSN function. Submitted by: "Tomas V.V.Cox" <[EMAIL PROTECTED]> Index: php4/pear/DB.php diff -u php4/pear/DB.php:1.49 php4/pear/DB.php:1.50 --- php4

[PHP] Flash call erase my session

2001-03-11 Thread Pierre-Yves Lemaire
Hello php people, I have a page with 3 frames, each one start the php4 session handler. When all page are loaded, all session variables are valid. After I receive request from a flash movie that will update one of the frame, my session does not exist anymore, all variables are empty. Any idea ?

[PHP] Flash call erase my session

2001-03-11 Thread Pierre-Yves Lemaire
Hello php people, I have a page with 3 frames, each one start the php4 session handler. When all page are loaded, all session variables are valid. After I receive request from a flash movie that will update one of the frame, my session does not exist anymore, all variables are empty. Any idea ?

Re: [PHP] new line in forms?

2001-03-11 Thread Henrik Hansen
> On Sunday 11 March 2001 14:37, Jens wrote: > > You have probably had this question a few times, but can anyone tell me how > > to detect "new line's" or breaks in form fealds from both PC and Mac. And > > then replacing the "new line" with a so that I can use it for the web? > > $string = nl2br

Re: [PHP] date (urgent!)

2001-03-11 Thread Henrik Hansen
> Hi! > > I have 2 dates... > $start = "20010101"; > $end = "20010312"; > > What is the easiest way of finding out how many days are between? I Would suggest you check put the followinf article from phpbuilder: http://www.phpbuilder.com/columns/akent2610.php3 -- Henrik Hansen -- PHP G

[PHP-CVS] cvs: CVSROOT / avail cvsusers gen_acl_file.m4

2001-03-11 Thread Zeev Suraski
zeevSun Mar 11 14:40:12 2001 EDT Modified files: /CVSROOTavail cvsusers gen_acl_file.m4 Log: Add Steph Fox PR: Submitted by: Reviewed by: Obtained from: Index: CVSROOT/avail diff -u CVSROOT/avail:1.114 CVSROOT/avail:1.115 --- CVSROOT/avail:1.

Re: [PHP] Problems with string replacement

2001-03-11 Thread James, Yz
>> Well, I'm having problems again. This time with string replacement. >> I'd like people to be able to write notes on one of the site's I'm >> helping with, and would like them to be able to use Bold, Italic, >> Underline and tags. I tried using striptags(); but that would >> strip anything wi

Re: [PHP] Problems with string replacement

2001-03-11 Thread Christian Reiniger
On Sunday 11 March 2001 18:45, you wrote: > Well, I'm having problems again. This time with string replacement. > I'd like people to be able to write notes on one of the site's I'm > helping with, and would like them to be able to use Bold, Italic, > Underline and tags. I tried using striptag

Re: [PHP] Variable dynamique

2001-03-11 Thread Christian Reiniger
On Sunday 11 March 2001 16:58, you wrote: > I receive 2 variables, $var and $num > I need to make a variable out of these two like this > > $var2 where $num = 2 or > $var3 where $num = 3 > > How can I do that ? http://php.net/manual/en/language.variables.variable.php -- Christian Reiniger LGDC

[PHP] displaying pictures form db [problem]

2001-03-11 Thread Siim Einfeldt aka Itpunk
I`m trying to display the picture from the database, but I can`t get it to work. That`s just a short version of your script. I try to display the picture like that: and showpic looks like this: Any ideas why it might not work as expected? I have written picture to the db, but ...? I writ

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

2001-03-11 Thread Hartmut Holzgraefe
hholzgraSun Mar 11 13:26:47 2001 EDT Added files: /functable xslgen Modified files: /functable update.all Log: XSL version info for the phpdoc manual thanks to Jirka Kosek <[EMAIL PROTECTED]> Index: functable/update.all d

[PHP-CVS] cvs: functable / dslgen

2001-03-11 Thread Hartmut Holzgraefe
hholzgraSun Mar 11 13:25:26 2001 EDT Modified files: /functable dslgen Log: added some linebreaks Index: functable/dslgen diff -u functable/dslgen:1.3 functable/dslgen:1.4 --- functable/dslgen:1.3Wed Feb 14 03:32:30 2001 +++ functable/dslgen

[PHP-CVS] cvs: CVSROOT / avail gen_acl_file.m4

2001-03-11 Thread Rasmus Lerdorf
rasmus Sun Mar 11 13:24:35 2001 EDT Modified files: /CVSROOTavail gen_acl_file.m4 Log: Add karma Index: CVSROOT/avail diff -u CVSROOT/avail:1.113 CVSROOT/avail:1.114 --- CVSROOT/avail:1.113 Sun Mar 11 02:02:35 2001 +++ CVSROOT/avail Sun Mar 11 13:

Re: [PHP] problem with include/require

2001-03-11 Thread Yasuo Ohgaki
- Original Message - From: "Erick Papadakis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, March 11, 2001 9:05 PM Subject: Re: [PHP] problem with include/require > Hi Yasuo, > > Thanks for the reply, but yes I do know that the include_path in php.ini > should have the entries.

Re: [PHP] When a form var is empty, how do you tell?

2001-03-11 Thread Lewis Bergman
isset($somevar) if($somevar == '') { } foreach ($HTTP_POST_VARS as $k => $v){ if(!isset($v)){ } } Take your pick. There are probably about two dozen other better ways. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Variable dynamique

2001-03-11 Thread Pierre-Yves Lemaire
I receive 2 variables, $var and $num I need to make a variable out of these two like this $var2 where $num = 2 or $var3 where $num = 3 How can I do that ? __ Pierre-Yves Lemaire 514.729.8100

[PHP] date (urgent!)

2001-03-11 Thread FredrikAT
Hi! I have 2 dates... $start = "20010101"; $end = "20010312"; What is the easiest way of finding out how many days are between? Thanx! - Fredrik A. Takle [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROT

[PHP] fscanf

2001-03-11 Thread Kubol
hello if this is really a silly problem dont blame me, i'm a newbie in php (but i'm experienced in c++ a bit :-) well, imagine i want to write a content of some text file word by word. example will be more understandable than my english: let file.txt consists: lenin lives forever i want my php

Re: [PHP] Sending "pretty" email

2001-03-11 Thread Chris Adams
On 11 Mar 2001 10:57:32 -0800, Michael Geier <[EMAIL PROTECTED]> wrote: >So don't refrain from doing it because some people say it shouldn't be done >for one reason or another. Simply fix those reasons so they don't know any >different. I'll second this - while I personally consider HTML email a

Re: [PHP-CVS] cvs: php4 /ext/curl config.m4

2001-03-11 Thread Sterling Hughes
Why this? -Sterling > sniper Sat Mar 10 16:49:16 2001 EDT > > Modified files: > /php4/ext/curl config.m4 > Log: > If AC_CHECK_LIB fails, assume that --with-openssl is needed > > Index: php4/ext/curl/config.m4 > diff -u php4/ext/curl/config.m4:1.3 php4/ext/curl/config.m4:1.4 > --- php4

Re: [PHP] date

2001-03-11 Thread Chris Adams
On 11 Mar 2001 10:25:25 -0800, FredrikAT <[EMAIL PROTECTED]> wrote: >I have 2 dates... >$start = "20010101"; >$end = "20010312"; Use mktime() (http://www.php.net/manual/en/function.mktime.php) on those strings to convert them into Unix timestamps: $start_time = mktime(0,0,0, substr($sta

RE: [PHP] Sending "pretty" email

2001-03-11 Thread Michael Geier
Although I will probably getting tarred and feathered for this, I send out at least a million (multiple emails for lists around the 200 thousand customer mark) emails a week, mostly html. When I wrote the software interface (in PHP) to do so, I mentioned to my bosses that many people would not be

Re: [PHP] date

2001-03-11 Thread Pierre-Yves Lemaire
Hello, This works when you have a separator of some sort, a space would work too. The tricky part is that mktime works with mm dd yy format. $start = "2001-01-01"; $end = "2001-03-12"; $start = explode( "-", $start ); $start = mktime( 0, 0, 0, $start[1], $start[2], $start[0] ); $end = explode(

Re: [PHP] Best way to pass SQL TEXT field via a link

2001-03-11 Thread Pierre-Yves Lemaire
Yes it would be a lot better to just passed the id in the url. py - Original Message - From: Fates <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, March 11, 2001 5:12 PM Subject: [PHP] Best way to pass SQL TEXT field via a link > I'm trying to update an existing record based

[PHP] spidering dynamic pages

2001-03-11 Thread Derek Sivers
>if I move everything to php and just use a different text file for each >page for the main body of text and load each text file depending on what >page the user wants, would the search engine search though those text >files and just link to those and not to the php file? Would it even be >spide

Re: [PHP] Sending "pretty" email

2001-03-11 Thread Derek Sivers
At 07:49 AM 3/11/01 , Richard Scott Crawford wrote: >The first thing to do is to take two aspirin and lie down until the >temptation to do this passes. It may be cool, but those of us who use >Eudora or Pine for our e-mail don't read HTML-encoded mail, don't *want* >to read HTML-encoded mail,

[PHP] When a form var is empty, how do you tell?

2001-03-11 Thread Dennis Gearon
-- Sites by friends of mine: http://www.myhiddentreasures.com/ WARNING personal propaganda signature TAKE WHAT YOU LIKE AND LEAVE THE REST SINCE OUR GOVERNMENT WON'T

[PHP] date

2001-03-11 Thread FredrikAT
Hi! I have 2 dates... $start = "20010101"; $end = "20010312"; What is the easiest way of finding out how many days are between? Thanx! - Fredrik A. Takle [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PRO

[PHP] Problems with string replacement

2001-03-11 Thread James, Yz
Hello all, Well, I'm having problems again. This time with string replacement. I'd like people to be able to write notes on one of the site's I'm helping with, and would like them to be able to use Bold, Italic, Underline and tags. I tried using striptags(); but that would strip anything with

[PHP] Best way to pass SQL TEXT field via a link

2001-03-11 Thread Fates
I'm trying to update an existing record based on a link that represents the record to update. I have a link and I am passing variables that were assigned from a SQL database to another php form page which will be used to update the record. I'm passing variable like so:http://www.php.net/) To unsu

Re: [PHP] Retrieving data from multiple select list

2001-03-11 Thread Carsten Gehling
From: "Ben Cheng" <[EMAIL PROTECTED]> Sent: Sunday, March 11, 2001 3:27 PM > Yeah I saw this in the online manual but is there any other way of > doing this that doesn't require naming the select box in HTML with a > [] at the end? Cause I have another button that calls a JavaScript > to sel

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

2001-03-11 Thread David Guerizec
davidg Sun Mar 11 07:40:03 2001 EDT Modified files: /php4/ext/midgard attachment.c Log: added missing conversion. Index: php4/ext/midgard/attachment.c diff -u php4/ext/midgard/attachment.c:1.8 php4/ext/midgard/attachment.c:1.9 --- php4/ext/midgard/attachm

Re: [PHP] Passing string variable gets cut off

2001-03-11 Thread Jens Nedal
on 11.03.2001 16:16 Uhr, Fates at [EMAIL PROTECTED] wrote: > My strings are getting cut off when I pass to destination web page > > Example: > > Assign variable from database > $subcategory = mysql_result($result,$i,"subcategory"); > > Variable $subcategory is assigned "Graphic Editors" from

Re: [PHP] objects in functions?

2001-03-11 Thread Carsten Gehling
From: "Jørg Vidar Bryne" <[EMAIL PROTECTED]> Sent: Saturday, March 10, 2001 11:52 PM > What do you mean by it fails? Any particular error, or does it just time > out? > > I've made a different recursive function to print a tree-menu, you can have > a look at it if you want but it might not be wh

[PHP] Passing string variable gets cut off

2001-03-11 Thread Fates
My strings are getting cut off when I pass to destination web page Example: Assign variable from database $subcategory = mysql_result($result,$i,"subcategory"); Variable $subcategory is assigned "Graphic Editors" from database (notice two words) Next I make a link and pass the variables to ne

Re: [PHP] Sending "pretty" email

2001-03-11 Thread Todd Cary
Richard - For me you are pointing out one of the dilemmas I face on a daily basis that I call the "fin dilemma". I coined this expression from the era when Detroit put fins on the cars. These did not make the car perfrom better; they only appealed to need to get a car with fins because the neig

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

2001-03-11 Thread David Guerizec
davidg Sun Mar 11 06:36:43 2001 EDT Modified files: /php4/ext/midgard sitegroup.c Log: Added missing parameter. Index: php4/ext/midgard/sitegroup.c diff -u php4/ext/midgard/sitegroup.c:1.7 php4/ext/midgard/sitegroup.c:1.8 --- php4/ext/midgard/sitegroup.c:

Re: [PHP] PHP & Apache with SSL

2001-03-11 Thread Rouvas Stathis
In .htaccess use SSLRequireSSL for AuthType Config and redirect to https using ErrorDocument. Example for www.foo.goo/sec .htacess AuthType Config SSLRequireSSL ErrorDocument 403 https://www.foo.goo/sec Options -Indexes Options directive is not neccessary but I assume that if yo

Re: [PHP] Retrieving data from multiple select list

2001-03-11 Thread Ben Cheng
Yeah I saw this in the online manual but is there any other way of doing this that doesn't require naming the select box in HTML with a [] at the end? Cause I have another button that calls a JavaScript to select all the options within CategoryID[] and it doesn't seem to work cause it's looki

Re: [PHP] DB Abstraction

2001-03-11 Thread Pierre-Yves Lemaire
Hello, For the most popular one, it is include in the phplib package: http://phplib.netuse.de/download/index.php3 Or for just the mysql database class, I like this one: MySQL_class at: http://phpclasses.upperdesign.com/ (login required) py - Original Message - From: Jordan Elver <[EM

Re: [PHP] new line in forms?

2001-03-11 Thread Bård Farstad
On Sunday 11 March 2001 14:37, Jens wrote: > You have probably had this question a few times, but can anyone tell me how > to detect "new line's" or breaks in form fealds from both PC and Mac. And > then replacing the "new line" with a so that I can use it for the web? $string = nl2br( $string )

[PHP] new line in forms?

2001-03-11 Thread Jens
You have probably had this question a few times, but can anyone tell me how to detect "new line's" or breaks in form fealds from both PC and Mac. And then replacing the "new line" with a so that I can use it for the web? Thanks in advance Jens -- PHP General Mailing List (http://www.php.net

php-general Digest 11 Mar 2001 13:21:01 -0000 Issue 560

2001-03-11 Thread php-general-digest-help
php-general Digest 11 Mar 2001 13:21:01 - Issue 560 Topics (messages 43349 through 43384): Re: UTF 43349 by: Yasuo Ohgaki problem with include/require 43350 by: Erick Papadakis 43363 by: Yasuo Ohgaki 43379 by: Erick Papadakis Re: a solution for getmxrr() an

Re: [PHP] isset and multiple selects

2001-03-11 Thread Jens Nedal
on 10.03.2001 10:10 Uhr, Alexander Lohse at [EMAIL PROTECTED] wrote: > Hi, > > is it a fact that: If I have multiple select with e.g. "pers[]" as > name, I cannot check for an isset($pers) if the user left the field > blank? > > I know it all works with textfields ... But in this case isset() >

[PHP] DB Abstraction

2001-03-11 Thread Jordan Elver
Hi, I thought it was about time I started using a db abstraction class. Problem is, there are so many out there that I don't which one to start using? I've heard of ADODB (I think). Anyone have any suggestions? Cheers, Jord -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] PHP & Apache with SSL

2001-03-11 Thread Daniel B I
Hello, any idea how to limit file access (php files) by protocol type call? I mean how could I serve a php file only if it is called with SSL (https://... not http://...) I saw this on a site when I was refused because I didn't use secure protocol, and I wonder, how could I do that? Is there a spe

Re: [PHP] problem with include/require

2001-03-11 Thread Erick Papadakis
Hi Yasuo, Thanks for the reply, but yes I do know that the include_path in php.ini should have the entries. But is this something new? I want to know how to allow including and requiring files just like we used to do in PHP3! For instance, let us say that we have two software programs on the ser

[PHP] get_browser

2001-03-11 Thread GBuschbeck
Hi! I've a problem with "get_browser" i got the browscap.ini from http://www.cyscape.com/browscap/  and installed it in: /usr/local/lib/browscap.ini then i added browscap = /usr/local/lib/browscap.ini in the php.ini but $test = get_browser(); echo $test; gives an empty response. i've use

[PHP-CVS] cvs: php4 / NEWS /ext/standard config.m4 file.c

2001-03-11 Thread Alexander Feldman
sasha Sun Mar 11 02:08:28 2001 EDT Modified files: /php4 NEWS /php4/ext/standard config.m4 file.c Log: Fixed a compatibility problem is some file functions (fgets, fputs, fread, fwrite). The ANSI standard says that if a file is opened in read/write

[PHP-CVS] cvs: CVSROOT / avail gen_acl_file.m4

2001-03-11 Thread Zeev Suraski
zeevSun Mar 11 02:02:36 2001 EDT Modified files: /CVSROOTavail gen_acl_file.m4 Log: Add some karma to Sasha PR: Submitted by: Reviewed by: Obtained from: Index: CVSROOT/avail diff -u CVSROOT/avail:1.112 CVSROOT/avail:1.113 --- CVSROOT/avail:1

[PHP] Re: isset and multiple selects

2001-03-11 Thread Alexander Lohse
Hi, No, empty(), also does not apply, because it is not set. It is NOT in the HTTO_POST_VARS Array! Is this a usual behavior? Greets, Alex -- ___ Alexander Lohse Human Touch Medienproduktion GmbH Am See 1 17440 Klein Jasedow Tel: (038374) 75211 Fax: (038374) 75223 eM

Re: [PHP] Retrieving data from multiple select list

2001-03-11 Thread Edi Murfy
try this: in the form: Item 1 Item 2 Item 3 in the script: $num = sizeof($CategoryID); // Number of array items for($i=0;$i<$num;$i++) { // $CategoryID[$i] --> whatever you wanna do with it... } "Ben Cheng" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:p05010402b6d0b285663b