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.
[10:29 pm]
Oh_Man -- homeworld 3 = massive disappointment
[10:05 am]
Moose -- ya
[05:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
Please log in to shout.


Members Online: Vrael, Roy