
codrgii
Members-
Posts
89 -
Joined
-
Last visited
Never
Everything posted by codrgii
-
Basically i would like to filter out any junk posts with the same words in sequence more than 4 times, and if found then cancel/end the script.
-
how can i check to see if a poster has posted similar words when posting something? i want to stop them posting something like "hhhhh" or "aaaaa" and so on, how in php can that be done?
-
Is there a way in php to collect the url request? to be clear i would like to collect the info that is in red below www.mysite.com/collect_this is there a way?
-
I'm already aware of that method, however when i click on the link it appears "mysite.com/#foo" on the browser bar which i don't want, is there any other methods other than that one?
-
Move the page from a to b, just like the "move page to top" but i would like to set the page focus to the middle or move/set it manually.
-
I want to be able to focus a page when a link is clicked, mainly would like the page to be focused in the middle of the page or is there a way where i can set it where exactly i want it to be focused?
-
in php how am i able to filter all the $_GET varables without doing something like <? $_GET['varable1'] = filterfunctionhere($_GET['varable1']) $_GET['varable2'] = filterfunctionhere($_GET['varable2']) $_GET['varable3'] = filterfunctionhere($_GET['varable3']) $_GET['varable4'] = filterfunctionhere($_GET['varable4']) ?> but do something like <? $_GET['collect_all_1234varables_here'] = filterfunctionhere($_GET['collect_all_1234varables_here']) ?> how in php am i able to do that? and would someone explain what $_GET[0] would be used for?
-
Using the preg_replace function, how can i enable the use of Latin a-b letters alongwith basic english a-z and without jeopardising security? just to be clear i would like to only allow Latin a-b characters and english a-z removing anything else if anyone is unsure what Latin a-b characters are then goto http://en.wikipedia.org/wiki/List_of_Unicode_characters
-
They have mods, why do you care? Thanks for pointing that out, i found it but not what i originally asked for. Does anyone know how to use latin a-b unicode with preg_replace?
-
It's just too easy to do that, i'm aware of the function just not so with some unicode latin letters hence this topic, every thing you have said thus far has not worked, if you don't know yourself then please don't act like you do. I appreciate your effort but theres irony in your last post.
-
Thanks for your help, but it still dosen't work, i don't know if i put this wrong, so i'll lay it out for you to see. $unicode = "pízza1234"; preg_replace('/[^\x{0100}-\x{024F}]+/u', '', $unicode); echo $unicode; doing that returns nothing at all, it dosen't even show the basic a-z, 0-9.
-
It is Latin A and B.
-
I new to php, so i don't quite know how to do that yet... I tried the example you shown but it dropped the unicode letters.
-
How in php using the preg_replace php function can i allow only the basic english a-z letters, numbers 0-9 and unicode code letters and remove anything else?
-
How in php using the preg_replace php function can i allow only the basic english a-z letters, numbers 0-9 and unicode code letters and remove anything else?
-
It says it all there. I want to only allow the basic English letters and words a-z0-9 but with that also allow foreign accent letters, then remove anything else.
-
I tried your example but when i do, nothing shows, not even the basic a-z or numbers.
-
I forgot to add, these foreign letters are like í and so on.
-
Would someone tell me how to allow foreign letters, normal english letters and numbers using the preg_replace php function?
-
Well then how would i be able to show what the date is in text form using the time() function?
-
How am i able to setup a countdown timer? I use the time(); function and want to compare that time with another time that is 8 hours ahead to form a countdown timer, how am i able to do this using php?
-
are there any php functions that are best used when testing to see if a server is busy or not? and if the server is busy then display a "server is busy" message in the php script?