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


Groups > comp.lang.php > #6822

Re: redirect on zend

From Jerry Stuckle <jstucklex@attglobal.net>
Newsgroups comp.lang.php
Subject Re: redirect on zend
Date 2012-08-20 19:27 -0400
Organization A noiseless patient Spider
Message-ID <k0uh4d$qmp$1@dont-email.me> (permalink)
References <b8dfaaab-008c-404a-af19-30b270da490c@googlegroups.com>

Show all headers | View raw


On 8/20/2012 6:58 PM, rhymejerky wrote:
> Hi,
>
> I have 2 pixel tracking pages, page 1 has a link like <a href=tracking/?page=1&url=host1.com> and the other has <img src=tracking/?page=1&url=host2.com>.  I am using Zend as my stack.
>
> When I click on the href in page 1, it does the pixel tracking and redirects the page to host1.com.  I did it using the gotoUrl() with the zend redirect helper
>
> For page 2, the pixel tracking code is loaded when the src image is requested.  I can see it hits the tracking code, but it doesn't do the redirect like page 1.  The 2 pages are essentially calling the same code.  The only diff is 1 uses a href and the other is an img src.  Another know why I am not redirecting with <img src>?
>
> TIA
> R
>

An image is not an href.  You can't redirect from an image.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

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


Thread

redirect on zend rhymejerky <rhymejerky@gmail.com> - 2012-08-20 15:58 -0700
  Re: redirect on zend Jerry Stuckle <jstucklex@attglobal.net> - 2012-08-20 19:27 -0400

csiph-web