Joel, without knowing more about the details of your system - I would say that your solution strategy seems to be introducing a lot of complexity and indirection. If there is a problem with the php/javascript application, I think your time is best spent solving it within that environment. Alternately, php developers are plentiful for contract...<br>

<br>-nw<br><br><div class="gmail_quote">On Wed, Oct 6, 2010 at 11:59 AM, Joel Fentin <span dir="ltr">&lt;<a href="mailto:joel@fentin.com">joel@fentin.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div class="im">On 10/6/2010 11:26 AM, Nicholas Wehr wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
hm, well I see how this can be challenging.<br>
<br>
is your goal to download a webpage and redisplay it with perl? or<br>
do you just want the php web content?<br>
<br>
if so, I recommend WWW::Mechanize<br>
</blockquote>
<br></div>
As brief as I can make it.<br>
<br>
+ go to <a href="http://calscape.com/" target="_blank">http://calscape.com/</a><br>
<br>
+ click the &quot;Trees&quot; dynamic link. You should see a list of trees.<br>
<br>
+ click the thumbnail or common name of the first tree. A page is displayed specific to that tree. Note the slide show.<br>
<br>
+ Click the &#39;Next Plant&#39; link (near upper right corner). Another plant page is displayed. Note the slide show.<br>
<br>
+ Click the browser back button. the prior plant data is displayed but not the prior slide show.<br>
<br>
===============<br>
<br>
+ I put that slide show into that page with an iframe.<br>
<br>
+ I create the show on the fly per the specific plant we are looking at.<br>
<br>
+ The slide show is an older version (also php) soon to be replaced by plant1.php or something very like it.<br>
<br>
+ I was experimenting with system() as a means to solve the back button problem.<br>
<br>
===============<br>
<br>
Is anybody still awake?<br><font color="#888888">
<br>
-- <br></font><div><div></div><div class="h5">
Joel Fentin       tel: 760-749-8863<br>
Biz Website:      <a href="http://fentin.com" target="_blank">http://fentin.com</a><br>
Personal Website: <a href="http://fentin.com/me" target="_blank">http://fentin.com/me</a><br>
</div></div></blockquote></div><br>