Home » Messageboard »
Film of the Game » Message 2878261
(Thread)
It's a birdie!
Oops... just realised it's not really a valid entry for the comp., unless kids these days have wireless enabled laptops in the playground!
From the
Film of the Game challenge. See all
660 entries (closed)
(
Is it just me?,
Sat 13 Mar 2004, 22:11,
archived)
hahahaa
made me laugh more than any other pic today
(
anythingbutthisactually,
Sat 13 Mar 2004, 22:13,
archived)
Nice!
I give it 10 thumbs up!
(
Shoosh up your lips Not state-funded,
Sat 13 Mar 2004, 22:14,
archived)
damn mutants
;)
(
anythingbutthisactually,
Sat 13 Mar 2004, 22:15,
archived)
any PHPers around?
(
lemony,
Sat 13 Mar 2004, 22:15,
archived)
why
whats the problem?
(
anythingbutthisactually,
Sat 13 Mar 2004, 22:16,
archived)
i'm wanting a simple way to check whether a URL has the http:// on it
and if not then i'll add it
(
lemony,
Sat 13 Mar 2004, 22:17,
archived)
look into these two fucntions on php.net
strpos and strstr I will have a look also seeing as I have nothing better to do
(
anythingbutthisactually,
Sat 13 Mar 2004, 22:20,
archived)
i was going to use parse_url
but i've not used it before and have no idea how it works
(
lemony,
Sat 13 Mar 2004, 22:21,
archived)
well, heres something to check whether http:// exists
(
anythingbutthisactually,
Sat 13 Mar 2004, 22:23,
archived)
i think you included a < or > sign in that
(
lemony,
Sat 13 Mar 2004, 22:24,
archived)
something yes
linked to where I found it
(
anythingbutthisactually,
Sat 13 Mar 2004, 22:26,
archived)
never heard
of parse_url though
will check it out
(
anythingbutthisactually,
Sat 13 Mar 2004, 22:28,
archived)
if(strcmp(substr($url, 0, 7), 'http://') == 0)
then it has http:// on the front.
(zero from strcmp means the same)
not sure if the slashes in that string will cause problems, but it's in single quotes so presumably not.
(
_Felix 's school of dance and occult sciences,
Sat 13 Mar 2004, 22:30,
archived)
Good blood FX
.
(
Enigmatic ™ Voice No More ©,
Sat 13 Mar 2004, 22:16,
archived)
Hide
If you want to unhide this post later, click the "update profile" link in the top navigation bar, and scroll down to the bottom.
Ignore
You will be blisfully unaware of this user for just one week
You will not see this users messages again
You will not see them and they will not see you