Home » Messageboard »
Film of the Game » Message 2878261
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
665 entries (closed)
(
Is it just me?, Sat 13 Mar 2004, 22:11,
archived)
hahahaa
made me laugh more than any other pic today
(
freakimus, 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
;)
(
freakimus, Sat 13 Mar 2004, 22:15,
archived)
any PHPers around?
(
lemony, Sat 13 Mar 2004, 22:15,
archived)
why
whats the problem?
(
freakimus, 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
(
freakimus, 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
link
(
freakimus, 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
(
freakimus, Sat 13 Mar 2004, 22:26,
archived)
never heard
of parse_url though
will check it out
(
freakimus, 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 suspicious character from prehistoric caucasus, Sat 13 Mar 2004, 22:30,
archived)
Good blood FX
.
(
Enigmatic ™ Voice No More ©, Sat 13 Mar 2004, 22:16,
archived)