On Mon, May 7, 2018 at 4:40 AM Christoph M. Becker <cmbecker69@xxxxxx> wrote: > On 06.05.2018 at 22:01, Lester Caine wrote: > > > As I said on the other reply, the Apache rewrite is pulling the number > > cleanly and passing it, while on the nginx rewrite it was including the > > '/'. But the problem is ACTUALLY with the php end which SHOULD simply > > filter the number anyway! > > Obviously, that depends on what you do exactly to get/validate/sanitize > the query parameter, and how you handle potential failures. > > > http://npc.smallbrook.co.uk/fisheye/view.php?gallery_id=45 works, but > > http://npc.smallbrook.co.uk/fisheye/view.php?gallery_id=45/ gives a > > white screen. > > I get “404 Not found” for the latter, which doesn't appear to be a > problem per se. > > -- > Christoph M. Becker > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > I generally use below snippet on the first list of php file when I get white screen, it displays the last error on script shutdown. function died(){ print_r(error_get_last()); } register_shutdown_function('died'); -- <https://about.me/jigar?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb> Jigar Dhulla about.me/jigar <https://about.me/jigar?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb>