RE: [PHP-WIN] Configuring securely in IIS5

2002-04-03 Thread olinux
Eric, I am in the beginning of the same process. I do php, unfortunately our company has just made a large investment in an ASP/MSSQL based directory. I will be building a content management system and moving site from static to database driven (www.insurancejournal.com). I'd love to share tips o

[PHP-WIN] Re: testing for value in $HTTP_COOKIE_VARS

2002-04-03 Thread Steve Yates
To follow up with the group, I received an answer via e-mail within a few minutes with two methods (thanks AB). (1) $foo = @$HTTP_COOKIE_VARS["foo"]; # Where the @ suppresses the warnings on the call. if ($foo) { } (2) The one I ended up using (modified a bit): if ((isset($HTTP_COOKIE_VARS[

[PHP-WIN] Re: Any credability lost...

2002-04-03 Thread Brad Thomas
"Ross Fleming" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > It is after 6am, I am just going to bed after several friends have left my > flat after copious amounts of vodka consumed. Just thought people might be > interested to hear and share any similar st

php-windows Digest 3 Apr 2002 22:34:01 -0000 Issue 1076

2002-04-03 Thread php-windows-digest-help
php-windows Digest 3 Apr 2002 22:34:01 - Issue 1076 Topics (messages 12915 through 12922): problems with include under windows 12915 by: secrgb Re: Passing Javascript Variables to PHP 12916 by: Wayne Hinch sendmail 12917 by: Graham Dawes new to PHP...have some que

Re: [PHP-WIN] RE: [PHP-INST] XSLTransformation via Sablotron

2002-04-03 Thread Phillip Fox
On Tue, 2 Apr 2002, Steve at Puddletown wrote: > The result is that Sablotron itself (command line) works fine but this > code produces > following error "XML parser error 4: not well-formed (invalid token)". > > I would appreciate any hint. Thanx alot. > You need to add 'file://' before your

[PHP-WIN] Re: testing for value in $HTTP_COOKIE_VARS

2002-04-03 Thread Steve Yates
"Steve Yates" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Is there a better way to test for a cookie's existence > besides in_array()? To perhaps clarify I should say "...test for a variable's existence..." - Steve Yates - To know recursion, you must

[PHP-WIN] testing for value in $HTTP_COOKIE_VARS

2002-04-03 Thread Steve Yates
With PHP 4.1.x defaulting to turning off the automatically registered global variables, I am trying to code in such a way that the code will work on a server running 4.0.x as well. However I'm having trouble testing for the existence of variables. For example, given $HTTP_COOKIE_VARS...if the va

Re: [PHP-WIN] new to PHP...have some questions

2002-04-03 Thread Rasmus Lerdorf
foreach($_POST as $name=>$value) $$name = $value; On Wed, 3 Apr 2002, Matt Babineau wrote: > I have been playing with the $_POST variable > > how would I go about looping over the $_POST variable to retrieve the > variable and values? > > I can do this: > > <% > > if (count($_POST) > 0) { > /*s

[PHP-WIN] new to PHP...have some questions

2002-04-03 Thread Matt Babineau
I have been playing with the $_POST variable how would I go about looping over the $_POST variable to retrieve the variable and values? I can do this: <% if (count($_POST) > 0) { /*send mail */%>send out mail<% $var1 = array_keys ($_POST); $var2 = array_values ($_POST); print_r ($var1)

[PHP-WIN] sendmail

2002-04-03 Thread Graham Dawes
I have had some problems with a php application slowing down when it tries to send email. It will work but the same function will take 30 seconds instead of instant when the application is required to send an email aswell. I have been told that it may be that the problem is with a slow dns lookup

RE: [PHP-WIN] Passing Javascript Variables to PHP

2002-04-03 Thread Wayne Hinch
Thanks everyone for the help, much appreciated. The problem was solved by hiding text fields and doing it that way. Thanks again, Wayne -Original Message- From: Mike Flynn [mailto:[EMAIL PROTECTED]] Sent: 03 April 2002 01:51 To: Robin Bolton; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subjec

[PHP-WIN] problems with include under windows

2002-04-03 Thread secrgb
hey i have apache installed and also php on a win machine but this function does no t work http://domain.com/); ?> it gives an error, why? BW sun aga secrgb aka jaan -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-windows Digest 3 Apr 2002 08:25:11 -0000 Issue 1075

2002-04-03 Thread php-windows-digest-help
php-windows Digest 3 Apr 2002 08:25:11 - Issue 1075 Topics (messages 12899 through 12914): I am trying to get off of this list 12899 by: Steve at Puddletown 12914 by: Svensson, B.A.T. (HKG) Passing Javascript Variables to PHP 12900 by: Wayne Hinch 12905 by:

RE: [PHP-WIN] I am trying to get off of this list

2002-04-03 Thread Svensson, B.A.T. (HKG)
> -Original Message- > From: Steve at Puddletown > Sent: Tuesday, April 02, 2002 7:54 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] I am trying to get off of this list > > > How can I get off of this list...I have requested many times and no worky... "You can check out, but you can