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:16 pm]
ihjel -- A whole army of vacuum cleaners have signed up for the wiki
[11:00 am]
UndeadStar -- I want to commend bots for finally finding the Introductions subforum. But those huge blocks of text sometimes interrupted by a link? That's a regression compared to the other bots.
[2026-11-05. : 6:38 pm]
*l)ark_ssj9kevin ********
[2026-11-05. : 3:19 am]
*Symmetry chortles*
[2026-11-05. : 3:19 am]
Symmetry -- lmao butch doesn't know
[2026-11-05. : 12:28 am]
Butch -- *shits fat diapey and runs around*
[2026-11-05. : 12:11 am]
*lil-Inferno farts*
[2026-11-04. : 3:41 am]
*Symmetry dances*
[2026-11-03. : 2:47 pm]
l)ark_ssj9kevin -- /f m sup who wanna meme
[2026-11-03. : 2:46 pm]
l)ark_ssj9kevin -- /f l
Please log in to shout.


Members Online: Dem0n, Moose