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.
[02:31 am]
Symmetry -- lot of 0s in them boxes, someone better hit it big
[2026-7-05. : 1:14 am]
l)ark_ssj9kevin -- Rectal!!!
[2026-7-05. : 12:13 am]
IskatuMesk -- u guys ever look at the "Backend performance improvements" line and kinda you know 👀
[2026-7-03. : 4:25 pm]
l)ark_ssj9kevin -- oh wow it's kind of like archipeligo but solo
[2026-7-03. : 9:43 am]
Oh_Man -- makes me wonder tho, a brood war achievement project culd be quite something, following the design methodology of SC2 achieves
[2026-7-03. : 9:43 am]
Oh_Man -- intresting concept, i see starcraft N64 is on there, most of the achieves seen bare bones though
[2026-7-03. : 9:43 am]
Oh_Man -- https://retroachievements.org/ i stumbled across this website
[2026-7-02. : 9:57 pm]
IskatuMesk -- :wob:
[2026-7-02. : 10:46 am]
UndeadStar -- :wob:
[2026-7-01. : 3:34 pm]
Symmetry -- :wob:
Please log in to shout.


Members Online: jun3hong