I checked the manual and it's comments as well as google, but didn't find the
simple answer i'm wanting..
I have the following line in a show php source code page:
if (ereg((\.php)$,$o0o) !ereg(\/\.\., $o0o)){
...
}
It works fine on .php files but I was hoping I could include
if (ereg(((\.)(php|inc))$,$o0o) !ereg(\/\.\., $o0o)){
Op zaterdag 17 augustus 2002 23:53, schreef eriol:
I checked the manual and it's comments as well as google, but didn't find
the simple answer i'm wanting..
I have the following line in a show php source code page:
if
Thank you Bas.. I appreciate the reply.. It works great..
Take care.. peace..
eriol
Bas Jobsen [EMAIL PROTECTED] disgorged:
: if (ereg(((\.)(php|inc))$,$o0o) !ereg(\/\.\., $o0o)){
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sunday 18 August 2002 05:53, eriol wrote:
It works fine on .php files but I was hoping I could include .inc files as
well when someone wanted to view the source of them.. To include .inc files
as viewable php source code, I'd rewrite it similar to below I assume, but
I'm not understanding
4 matches
Mail list logo