Staredit Network > Forums > Technology & Computers > Topic: Automatic Link-Detection
Automatic Link-Detection
Sep 25 2009, 5:21 am
By: Devourer  

Sep 25 2009, 5:21 am Devourer Post #1

Hello

Hey again,
like in SEN's shoutbox link-codes (like http://www.staredit.net) are getting to a real clickable link just automatic, I wondered: how have you done that?
It cannot be really done but str_replace because you won't really find an ending of the link I guess (but for that [ url=staredit.net]SEN[/ url] you probably used a str_replace, but that's now what I care about. I want normal links generated automaticly.)
Thanks in advance.



Please report errors in the Staredit.Network forum.

Sep 25 2009, 6:03 am Jack Post #2

>be faceless void >mfw I have no face

http://us2.php.net/manual/en/function.parse-url.php

That? Using php.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Sep 25 2009, 4:22 pm Syphon Post #3



Regular expression parsing.

http://us3.php.net/manual/en/function.preg-replace.php



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[04:15 am]
DarkenedFantasies -- you eat lots of beans
[03:46 am]
IskatuMesk -- how do i get gas
[11:43 pm]
Moose -- you don't
[10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
Please log in to shout.


Members Online: Roy