replacement? Also, how could I then limit how many are in the post?
- Original Message -
From: Tom Culpepper [EMAIL PROTECTED]
To: Stephen [EMAIL PROTECTED]
Cc: PHP List [EMAIL PROTECTED]
Sent: Saturday, November 23, 2002 9:46 PM
Subject: Re: [PHP] Parse URLs
from the archives
Before asking, you should have done a search at google.com... I searched for
'emoticons replace php', and it returned HEAPS of results, including this
one, which seems close to what you're asking...
http://www.devarticles.com/art/1/161/2
Search the archives and google before posting please!
Yes, I found that after posting my last message. Sorry and I'll use google
more...
- Original Message -
From: Justin French [EMAIL PROTECTED]
To: Stephen [EMAIL PROTECTED]; PHP List
[EMAIL PROTECTED]
Sent: Sunday, November 24, 2002 6:42 PM
Subject: Re: [PHP] Parse URLs
Before asking
I have a simple post script and I want to make it so if a user
types in a URL of some sort, to change it to make it clickable. How could I do
that?
Thanks,Stephen Cratonhttp://www.melchior.us
"Life is a gift from God. Wasting it is like destroying a gift you got from
the person you love
not entirely sure what is going on there, but if the user is entering
the url in a html form. Then just grab the variable on the next page
and run this
$url=user $HTTP_GET_VARS[url]; (or $HTTP_POST_VARS depending on your
form method)
$url=a href=.$url..$url./a;
echo $url;
the only way to
, November 23, 2002 9:05 PM
Subject: Re: [PHP] Parse URLs
not entirely sure what is going on there, but if the user is entering
the url in a html form. Then just grab the variable on the next page
and run this
$url=user $HTTP_GET_VARS[url]; (or $HTTP_POST_VARS depending on your
form method
.
- Original Message -
From: Tom Culpepper [EMAIL PROTECTED]
To: Stephen [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, November 23, 2002 9:05 PM
Subject: Re: [PHP] Parse URLs
not entirely sure what is going on there, but if the user is entering
the url in a html form. Then just grab
7 matches
Mail list logo