Jump to content

codrgii

Members
  • Posts

    89
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

codrgii's Achievements

Member

Member (2/5)

0

Reputation

  1. 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.
  2. 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?
  3. 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?
  4. 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?
  5. 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.
  6. 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?
  7. 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?
  8. codrgii

    filtering

    is it possible?
  9. codrgii

    filtering

    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
  10. 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?
  11. 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.
  12. 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.
  13. It is Latin A and B.
  14. 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.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.