Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #9568

Re: testing for source to use

From Doug Miller <doug_at_milmac_dot_com@example.com>
Newsgroups comp.lang.php
Subject Re: testing for source to use
Date 2013-05-24 10:50 +0000
Organization A noiseless patient Spider
Message-ID <XnsA1CA4644ADFF2dougmilmaccom@78.46.70.116> (permalink)
References <1ij92ldq768qa.1x65hwkghfrwa.dlg@40tude.net>

Show all headers | View raw


richard <noreply@example.com> wrote in news:1ij92ldq768qa.1x65hwkghfrwa.dlg@
40tude.net:

[...]
> the problem is, no matter what link I select, the url is always MY SITE!
> 
[...]

> if ($v1="/"){$yt="http://mroldies.net".$vid[0];}

Same problem you had on your last question: the above is an assignment statement, not a 
comparison. The equality comparison operator in php is ==, not =.

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

testing for source to use richard <noreply@example.com> - 2013-05-23 23:23 -0400
  Re: testing for source to use "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2013-05-24 03:36 +0000
  Re: testing for source to use JohnT <john@example.com> - 2013-05-24 10:17 +0000
  Re: testing for source to use Doug Miller <doug_at_milmac_dot_com@example.com> - 2013-05-24 10:50 +0000
    Re: testing for source to use Tim Streater <timstreater@greenbee.net> - 2013-05-24 12:53 +0100
      Re: testing for source to use The Natural Philosopher <tnp@invalid.invalid> - 2013-05-24 13:23 +0100
      Re: testing for source to use Doug Miller <doug_at_milmac_dot_com@example.com> - 2013-05-24 13:10 +0000
        Re: testing for source to use richard <noreply@example.com> - 2013-05-24 15:10 -0400
          Re: testing for source to use Doug Miller <doug_at_milmac_dot_com@example.com> - 2013-05-24 21:41 +0000
  Re: testing for source to use Scott Johnson <noonehome@chalupasworld.com> - 2013-05-24 05:38 -0700
    Re: testing for source to use richard <noreply@example.com> - 2013-05-24 15:22 -0400
      Re: testing for source to use Scott Johnson <noonehome@chalupasworld.com> - 2013-05-24 15:12 -0700

csiph-web