Home »
Imported messages »
comp.lang.php »
redirect on zend
Re: redirect on zend [message #178893 is a reply to message #178892] |
Mon, 20 August 2012 23:27 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
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(at)attglobal(dot)net
==================
|
|
|
Goto Forum:
Current Time: Sun Nov 24 07:33:43 GMT 2024
Total time taken to generate the page: 0.04324 seconds