Or, as always, try a preg ;)
$string = preg_replace("/\n/", "\n", $string);
---
Scott Hurring
Systems Programmer
EAC Corporation
[EMAIL PROTECTED]
Voice: 201-462-2149
Fax: 201-288-1515
> -Original Message-
> From: Nikolai Jeliazkov [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 31, 2002
php-windows Digest 31 May 2002 20:59:14 - Issue 1171
Topics (messages 14038 through 14040):
Re: Somebody please help beginner with variable problem
14038 by: Zoombie
htaccess and PHP in general
14039 by: Matt Babineau
14040 by: Scott Hurring
Administrivia:
To subs
Handle everything thru PHP/Mysql, but write a little function
that will read thru the Mysql database and write the .htaccess
files to disk as needed.
Of course, you'll have to set proper permissions on the files.
That's what i'm doing now for a project i'm working on...
all user data is in the
I have a client that wants to use htaccess for verification and
authentication into certain areas of a web site. I suggested to use a
combination of PHP/MySQL to get the jobs done. it makes my life easier
and reduces low-level administration tasks on his part letting me bundle
all the administrati
I noticed in your code that you use the short PHP tag, ' wrote in message
01c2081c$ac9b7190$6401a8c0@athlon">news:01c2081c$ac9b7190$6401a8c0@athlon...
> Hi,
>
> Please don't reply with RTFM. I just installed Apache 2.0.36 and PHP
> 4.2 in Win XP Pro. Apache is running fine */localhost/