[PHP] Re: mail function

2003-09-12 Thread Curt Zirzow
On Thu, 11 Sep 2003 11:24:29 +0545, Deependra B. Tandukar <[EMAIL PROTECTED]> wrote: Dear all, Recently installed PHP in my Linux server. It says, mail function is not enabled? How is turn this on? That means that the configure script couldn't find your sendmail program. You need to tell conf

[PHP] Re: array encapsulate

2003-09-12 Thread Curt Zirzow
On Fri, 12 Sep 2003 18:58:22 -0400, Bill <[EMAIL PROTECTED]> wrote: I'd like to do this, but it produces an error: if ($_POST{["detail"][11][116]} && !$_POST{["detailtext"][19][114]}) { so I'm left doing this if ($_POST["detail"][11][116] && !$_POST["detailtext"][19][114]) { How can I encapsul

[PHP] problems and segmentation fault with constants in PHP5

2003-09-12 Thread Cristiano Duarte
Is this suppose to work ? Currently it does not. class Priority { const DEBUG = 0; const INFO = 1; const WARN = 2; const ERROR = 3; const FATAL = 4; const MAX_PRIORITY = FATAL; } class ExtendedPriority extends Priority { const REMOTE = Prio

Re: [PHP] array encapsulate

2003-09-12 Thread Bill
How do I know it won't just assume that $_POST["detail"][11][116] means the 116th character in the string $_POST["detail"][11]? "Larry E . Ullman" wrote: > > if ($_POST["detail"][11][116] && !$_POST["detailtext"][19][114]) { > > > > How can I encapsulate the array so it is a multi-dimensional ar

RE: [PHP] Calling functions from Button actions

2003-09-12 Thread Vail, Warren
I would assume you are referring to PHP functions since that is the nature of this list and since PHP only really executes on a web server, and since the button click occurs on the browser machine, in it's strictest sense the answer to your first question "Is their an easy way to call a function

Re: [PHP] Integrating an Applet with PHP

2003-09-12 Thread Raditha Dissanayake
HI, I tried it on netscape and it works. My jre is 1.4.2. AFAIK this is the only stable jre after 1.3xx series. It's a simple matter to add a line of code to the java applet to do the base64 decoding if you are concerned about compatibility. On the point raised about activex : The default plug

Re: [PHP] array encapsulate

2003-09-12 Thread John W. Holmes
Bill wrote: How do I know it won't just assume that $_POST["detail"][11][116] means the 116th character in the string $_POST["detail"][11]? Because $_POST['detail'][11] is an array (or it should be). If you're in doubt, make sure it is with is_array(). -- ---John Holmes... Amazon Wishlist: www.a

[PHP] accept/type

2003-09-12 Thread John Ryan
Is it possible with an Apache confiugartion file to redirect users, if their browser sends a certain accept/type header, and somewhere else if not?? I dont want to do it with PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] Integrating an Applet with PHP

2003-09-12 Thread Tom Rogers
Hi, Saturday, September 13, 2003, 2:09:58 AM, you wrote: >> why does it work in IE and not in Netscape 7.1? DA> I'm pretty sure ActiveX controls don't run on anything besides MS DA> Windows Lockinware (TM). There are a number of other things that DA> netscape does not fully support (try loading

Re[2]: [PHP] Calling a function.

2003-09-12 Thread Tom Rogers
Hi, Saturday, September 13, 2003, 5:39:47 AM, you wrote: CJWH> From: "Jason Wong" <[EMAIL PROTECTED]> >> On Saturday 13 September 2003 01:40, CPT John W. Holmes wrote: >> > From: "Vincent M." <[EMAIL PROTECTED]> >> > >> > > Is there any way to call a function with a variable inside the call. CJWH

Re: [PHP] accept/type

2003-09-12 Thread Raditha Dissanayake
Read the apache url redirecting guide. (it's incldued with your apache download) John Ryan wrote: Is it possible with an Apache confiugartion file to redirect users, if their browser sends a certain accept/type header, and somewhere else if not?? I dont want to do it with PHP -- http://www

<    1   2