Assuming I understand you–

  1. Request to Perl to initiate creation of PHP page.
  2. Perl serves a very small dummy/placeholder page immediately saying “Please wait…” perhaps forking such that parent serves page and exits while child creates PHP–
    1. The new page has a small Ajax routine; I like jQuery, there are MANY other good libraries.
    2. The Ajax polls for the PHP resource every $x milliseconds.
    3. When the PHP page is ready, the JS replaces the location of the page, effectively redirecting; but not quite the same and there are other ways to do this and they have various implications in browser history.

Barring JS, you can do this with meta refresh and redirect tricks but it’s messy and gross. :P Might/should include <noscript/> tags such that non-JS enabled browsers will see they cannot properly use the resource.


In reply to Re: Temp Webpage While Creating Final PHP Webpage by Your Mother
in thread Temp Webpage While Creating Final PHP Webpage by bobinyec

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.