if i've got
$mydomain = 'karinne.net';
$ref = strtolower(addslashes(trim($_SERVER['HTTP_REFERER'])));
what does this do?
$ref = (preg_match("/^http:\/\/[^\.]*\.?$mydomain/", $ref))?'':$ref;
$ref = str_replace("www.","", $ref);
$ref = preg_replace("/\/(index\.html?|index\.php)?$/",'',$ref);
i'm so lost nevermind... i figured it out!
it basically just put $ref = "" if $ref == $mydomain.Hmm, I have trouble figuring that stuff out, so you'll have to explain what each line of code does (and WHY you are doing it) so my brain can hurt less too.
$ref = (preg_match("/^http://[^.]*.?$mydomain/", $ref))?'':$ref;
check to see what domain i'm grabbing and if it's the same one that i stated in $mydomain then $ref = "" (nothing!)
$ref = str_replace("www.","", $ref);
check $ref. if it has a www. in from of the domain like <!-- w --><a class="postlink" href="http://www.domain.com">www.domain.com</a><!-- w --> replace it with "" so <!-- w --><a class="postlink" href="http://www.domain.com">www.domain.com</a><!-- w --> becomes domain.com
the last one i'm not really sure!
btw giz... you PM mailbox is full!!! When did you last try?
I emptied the Inbox much earlier today.
There was nothing in the PM system to tell me it was full (nothing obvious anyway). I just happened to do a tidyup and move everything that was in the Inbox into another folder.when you PM'd me i tried to reply and got the "the users' mailbox is full" message!Try again and let me know here if it fails.
I am reasonably sure that I had cleared the inbox before I sent any PMs today.i just tried it now and it still didn't work?! Inbox: 0
Forum bug?:bluescrn:Originally posted by giz
Inbox: 0
Forum bug?
but make sure "Show Messages From" is the begining (not 30 days) and check your sent items and trackingI have 155 messages stored in total. They are stored in several folders, including "Sent Items".
The inbox has NIL ZERO ZIPPO NADA ZILCH in it, and says so.
There is no error message anywhere in the PM system to tell me that there is any sort of problem at all.the max is total of all messages. not just inbox
$mydomain = 'karinne.net';
$ref = strtolower(addslashes(trim($_SERVER['HTTP_REFERER'])));
what does this do?
$ref = (preg_match("/^http:\/\/[^\.]*\.?$mydomain/", $ref))?'':$ref;
$ref = str_replace("www.","", $ref);
$ref = preg_replace("/\/(index\.html?|index\.php)?$/",'',$ref);
i'm so lost nevermind... i figured it out!
it basically just put $ref = "" if $ref == $mydomain.Hmm, I have trouble figuring that stuff out, so you'll have to explain what each line of code does (and WHY you are doing it) so my brain can hurt less too.
$ref = (preg_match("/^http://[^.]*.?$mydomain/", $ref))?'':$ref;
check to see what domain i'm grabbing and if it's the same one that i stated in $mydomain then $ref = "" (nothing!)
$ref = str_replace("www.","", $ref);
check $ref. if it has a www. in from of the domain like <!-- w --><a class="postlink" href="http://www.domain.com">www.domain.com</a><!-- w --> replace it with "" so <!-- w --><a class="postlink" href="http://www.domain.com">www.domain.com</a><!-- w --> becomes domain.com
the last one i'm not really sure!
btw giz... you PM mailbox is full!!! When did you last try?
I emptied the Inbox much earlier today.
There was nothing in the PM system to tell me it was full (nothing obvious anyway). I just happened to do a tidyup and move everything that was in the Inbox into another folder.when you PM'd me i tried to reply and got the "the users' mailbox is full" message!Try again and let me know here if it fails.
I am reasonably sure that I had cleared the inbox before I sent any PMs today.i just tried it now and it still didn't work?! Inbox: 0
Forum bug?:bluescrn:Originally posted by giz
Inbox: 0
Forum bug?
but make sure "Show Messages From" is the begining (not 30 days) and check your sent items and trackingI have 155 messages stored in total. They are stored in several folders, including "Sent Items".
The inbox has NIL ZERO ZIPPO NADA ZILCH in it, and says so.
There is no error message anywhere in the PM system to tell me that there is any sort of problem at all.the max is total of all messages. not just inbox