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


Groups > comp.lang.php > #6821 > unrolled thread

redirect on zend

Started byrhymejerky <rhymejerky@gmail.com>
First post2012-08-20 15:58 -0700
Last post2012-08-20 19:27 -0400
Articles 2 — 2 participants

Back to article view | Back to comp.lang.php


Contents

  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

#6821 — redirect on zend

Fromrhymejerky <rhymejerky@gmail.com>
Date2012-08-20 15:58 -0700
Subjectredirect on zend
Message-ID<b8dfaaab-008c-404a-af19-30b270da490c@googlegroups.com>
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

[toc] | [next] | [standalone]


#6822

FromJerry Stuckle <jstucklex@attglobal.net>
Date2012-08-20 19:27 -0400
Message-ID<k0uh4d$qmp$1@dont-email.me>
In reply to#6821
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
==================

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web