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.
[2026-4-18. : 3:57 am]
NudeRaider -- https://staredit.net/381600/ You have 5 minutes, then you can only edit your posts.
[2026-4-17. : 4:05 pm]
NudeRaider -- DarkenedFantasies
DarkenedFantasies shouted: you eat lots of beans
:lol:
[2026-4-17. : 11:30 am]
NudeRaider -- I would like 3000 minerals, please
[2026-4-16. : 7:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
[2026-4-16. : 3:46 am]
IskatuMesk -- how do i get gas
[2026-4-15. : 11:43 pm]
Moose -- you don't
[2026-4-15. : 10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
Please log in to shout.


Members Online: anoeth47, odygisit