| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| preg_replace urls; preg_replace urls help | |
|---|---|
| Tweet Topic Started: Jun 20 2005, 09:06 AM (392 Views) | |
| Cool Dude 2k | Jun 20 2005, 09:06 AM Post #1 |
|
<?php echo "Linux"; ?>
![]() ![]() ![]() ![]()
|
I want it to stop at the space and not replace urls in html tags like the image tag and anchor tag. Heres a Test of it. http://cd2k.madpage.com/Test/preg.php |
![]() |
|
| Dead Midgets | Jul 14 2005, 04:42 PM Post #2 |
|
Member
![]() ![]() ![]() ![]()
|
I think this code is what you want.
sorry not sure how to add https: and ftp: in there. |
![]() |
|
| Cool Dude 2k | Jul 14 2005, 04:46 PM Post #3 |
|
<?php echo "Linux"; ?>
![]() ![]() ![]() ![]()
|
Yep Thanks very much.
|
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Technology Chat · Next Topic » |
| Track Topic · E-mail Topic |
5:26 PM Jul 11
|



![]](../../../../0/1/0/p601690/pipright.png)



5:26 PM Jul 11