php-windows Digest 7 Jul 2007 11:12:10 -0000 Issue 3275

Topics (messages 28170 through 28172):

Re: Apache copnfig
        28170 by: Stut

Re: Thank you, we are accepting your refinance loan request
        28171 by: Clarissa Mayberry

Re: array walk?
        28172 by: Ben

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Jacob Bergman wrote:
Hello all, I am new to this list as well as new to PHP, I want to start
by saying thank you in advanced to everyone that will provide help for
me in the future :-)
I am learning how to use PHP with MySQL and Apache, running on a windows
box.  I am under the impression that a LoadModule line for php needs to
be included in the httpd.conf for everything to work well between apache
and php.  The book I am reading says that it should already be there,
and that I just need to uncomment the line, but it isn't.  Can I just
add the line to the conf file, or have I done something wrong already...
I am running php version 5.2.3 and apache 2.0.59.

The line they say should already be there is #LoadModule php5_modul
"c:\php\php5apache2.dll"  or something to that affect.

My only idea is that perhaps this is strictly a unix/linux deal, since I
notice the slashes are going / instead of \ in what they say.  Anyways,
thanks for all the help!

http://php.net/install.windows.apache2

-Stut

--
http://stut.net/

--- End Message ---
--- Begin Message ---
Your credit score does not matter to us!

If your family OWN real estate and want IMMEDIATE money to spend ANY way you 
like, or simply want to LOWER your payments by a third or more, here is the 
deal we can offer you TONIGHT (hurry, this deal will expire THIS EVENING):

$264,000+ debt

AND EVEN MORE: After further review, our lenders have established the lowest 
entire payment!

Hurry, when our best deal is gone, it is gone. Simply fill in this simplified 
form...

Don't worry about approval, your credit score will not disqualify you!

http://katzhthyok.com/

--- End Message ---
--- Begin Message ---
Take a look at array_walk()
http://be2.php.net/manual/en/function.array-map.php

It might be better for what you're doing.

Juan Ignacio Borda wrote:
this code doesn't work on my PHP Version 5.2.1 (i'm trying to protect a stie from XSS)

<?php
$a=Array();
$a[]='<i>como</i>';
$a[]=Array('<b>hola</b>','hello');
array_walk_recursive($a,'strip_tags');
echo "<pre>";
var_dump($a);
echo "</pre>";
?>
it outputs:

<pre>array(2) {
[0]=>
string(11) "<i>como</i>"
[1]=>
&array(2) {
  [0]=>
  string(11) "<b>hola</b>"
  [1]=>
  string(5) "hello"
}
}
</pre>

any clues?

--- End Message ---

Reply via email to