Search found 38 matches
- Sat Mar 12, 2005 6:54 pm
- Forum: PHP - Code
- Topic: preg_replace() isn't working like I think it should ^^;
- Replies: 5
- Views: 989
THAT's weird. I've tried this over and over again with different stuff and always get the html. Just double-checked it again too. I can't see anything else in my code that would affect it... These are the only other lines that have to do with it: $content = file_get_contents('wiki/' . $_REQUEST['pg'...
- Sat Mar 12, 2005 5:35 pm
- Forum: PHP - Code
- Topic: preg_replace() isn't working like I think it should ^^;
- Replies: 5
- Views: 989
preg_replace() isn't working like I think it should ^^;
:x this is weird. I'm writing (well, actually have written) a wiki. I'm basically using bbcode to format the stuff. Trouble is, I can't see why the list part isn't working... Here's the text file: <ul> <li>test</li> </ul> <br />&a...
- Thu Mar 03, 2005 11:08 am
- Forum: PHP - Code
- Topic: htmlMimeMail -> ends up as junk mail
- Replies: 4
- Views: 1202
gmail source: X-Gmail-Received: e996081c163cef00a19071651db162d1a8d0ea8c Delivered-To: removed@gmail.com Received: by 10.38.74.4 with SMTP id w4cs9428rna; Thu, 3 Mar 2005 09:04:51 -0800 (PST) Received: by 10.54.69.20 with SMTP id r20mr34845wra; Thu, 03 Mar 2005 09:04:46 -0800 (PST) Return-Path: <apa...
- Wed Mar 02, 2005 9:50 pm
- Forum: PHP - Code
- Topic: htmlMimeMail -> ends up as junk mail
- Replies: 4
- Views: 1202
- Wed Mar 02, 2005 9:09 pm
- Forum: PHP - Code
- Topic: htmlMimeMail -> ends up as junk mail
- Replies: 4
- Views: 1202
htmlMimeMail -> ends up as junk mail
I was just using the plain mail() function because I don't really have need for anything complicated, but it kept ending up as junk mail. I read that a lot of times it will be read as junk if it doesn't have a message-id. So now I'm using htmlMimeMail. But it still ends up as junk mail! :( Am I just...
- Tue Dec 07, 2004 10:42 pm
- Forum: PHP - Code
- Topic: List files in folder?
- Replies: 11
- Views: 1753
>.> oh. Well, I guess that means I'm doing something wrong. ^^; I probably just put the path in wrong... ^^;
Here's what I have:
Here's what I have:
Code: Select all
if (!preg_match("/C:\/BeZkript_me\/webfiles\/files/", getcwd()))
{
@chdir('C:\\BeZkript_me\\webfiles\\files');
$_SESSION['cwd'] = getcwd();
}- Mon Dec 06, 2004 10:11 pm
- Forum: PHP - Code
- Topic: List files in folder?
- Replies: 11
- Views: 1753
alrighty! thanks. Now how can I make it work for that folder AND all subfolders? btw, got it to change the windows address to linux style w/ the main dir as home ^_^ : $location = str_replace('C:\\BeZkript_me\\webfiles', '', $_SESSION['cwd']); $location = str_replace('\\files', '/', $location); echo...
- Mon Dec 06, 2004 9:38 am
- Forum: PHP - Code
- Topic: List files in folder?
- Replies: 11
- Views: 1753
- Mon Dec 06, 2004 8:49 am
- Forum: PHP - Code
- Topic: List files in folder?
- Replies: 11
- Views: 1753
- Sun Dec 05, 2004 11:07 pm
- Forum: PHP - Code
- Topic: List files in folder?
- Replies: 11
- Views: 1753
List files in folder?
Ok, I just got a fileserver started with mIRC... on top of THAT, I just added php support. I am quite happy with myself. ^_^ So anyway, how can I echo all the files in a folder? (with them set inside anchors). Also, I'd like to add an icon next to certain types. (piece of paper next to txt files, et...
- Fri Nov 12, 2004 3:58 pm
- Forum: PHP - Code
- Topic: validate. if bad, refresh (how?)
- Replies: 11
- Views: 2608
- Fri Nov 12, 2004 3:27 pm
- Forum: PHP - Code
- Topic: validate. if bad, refresh (how?)
- Replies: 11
- Views: 2608
- Fri Nov 12, 2004 12:18 pm
- Forum: PHP - Code
- Topic: validate. if bad, refresh (how?)
- Replies: 11
- Views: 2608
- Thu Nov 11, 2004 6:44 pm
- Forum: PHP - Code
- Topic: validate. if bad, refresh (how?)
- Replies: 11
- Views: 2608
- Wed Nov 10, 2004 4:42 pm
- Forum: PHP - Code
- Topic: validate. if bad, refresh (how?)
- Replies: 11
- Views: 2608