PHP geçici önceki çıktısını depolamak parkur

1 Cevap php

Ben bir sayfa çıkışı (Uploader.php). Şimdi ben başka bir sayfaya gidin ve bu sayfaya yönlendirmek için o sayfada bir düğme var (Uploader.php). Ben sayfanın giriş yerine sayfayı yeniden işleme daha görülebilir istiyorum.

1 Cevap

Ben kullanıcı olursa olsun bilgi yüklemek için izin veren bir form olmasını istediğiniz sorunun anlaması ne gelen. Onlar gönderdikten sonra, / giriş tarih / gerçekleştirildi ne yorumlayan (yapılacak eylemi onaylamak ya da reddetmek için bir kullanıcı için) bir 'inceleme' sayfasını, ya da bir 'sonuç' sayfasını göstermek ya istiyorum.

For easy of programming I would have two PHP files, Uploader.php and Uploader-View.php Uploader.php would have your form and post to whatever form action script you have for processing it. The action script could then redirect to Uploader-View.php with the form values placed in the page as text, rather than as form fields. If you wanted to re-use Uploader.php you could have some variable to determine the state of the workflow and decide whether to show form fields or variable values.