![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveRe: A few newbie questions
From: Justin Koivisto <justin@koivi.com>
Date: Fri Jul 22 2005 - 18:39:01 CEST
SOR wrote:
> Although i'm working on and about half way though building
http://us3.php.net/exit (see Example 2) "die" is also an alias for "exit"
> instead of include - how do I tell it to goto the new page like clicking
header('Location: '.$url);
> going back to exit - instead of exit and a complete php full stop &
return
> strings - how do I strip carriage returns out of a string
$string=str_replace("\r",'',$string);
You could also use preg_replace if you are ok with using regular
> errors.txt - this gets save to whatever website folder i'm working on
This sounds like a web server feature if it isn't something that you
-- Justin Koivisto, ZCE - justin@koivi.com http://koivi.comReceived on Mon Oct 17 21:15:18 2005 |