maybe stripslashes() can solve your problem?
Paul Nowosielski wrote:
> I'm trying to strip quotation marks out of user from input but it
> doesn't seem to work correctly.
>
> $string=ereg_replace("\"","",$string);
>
> I get a \ mark after I run a quote through the form. When I want the
> quote tu
"Todd Cary" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I have a string,
This does not work
$fullpath = $HTTP_SERVER_VARS[PATH_TRANSLATED];
$fullpath = ereg_replace("\\[^\\]+$","",$fullpath) . '\\';
What have I missed?
Todd
--
You could just use:
$path = dirname($fullpath
I'd do something like this:
$str = "
User : [EMAIL PROTECTED]
Dir : /home/eXtremail/mbox/i-redlands.net/3/1/liam
Forward :
Copy :
Account mapping :
User Disk Quota : 0
Disk Space Used : 0
Max In Mail Size : 0
Max Out Mail Size : 0
Autoreply : No
Mailbox Access : POP,IMAP
Created : Sat Jul 6 09:21
In article <079201c1151f$ec6472e0$650a@cicse>,
[EMAIL PROTECTED] (Clayton Dukes) wrote:
> Can someone tell me why this doesn't work?
>
> $home street = ereg replace (" " , "+" , $home street);
>
> The input is "123 happy trail"
> I need the output to be "123+happy+trail"
Using an ereg her
4 matches
Mail list logo