PHP Server Side Output Not Showing In Safari? -
this more of general browser related question code checking. have wrote calculator function in php
, works great in traditional web browser on pc, whatever reason ipad
not display calculated results.
i cannot share code, here's bit w/ session data:
//gather form data session_start(); if(count($_post) > 0) { $_session['dob-month'] = $_post['dob-month']; $_session['dob-day'] = $_post['dob-day']; $_session['dob-year'] = $_post['dob-year']; if(isset($_post['submit'])){ $_session['submit'] = 1;} header("http/1.1 303 see other"); header("location: " . $_server['request_uri']); die(); } elseif (isset($_session['dob-month'])||isset($_session['dob-day'])||isset($_session['dob-year'])){ $month = $_session['dob-month']; $day = ltrim(sanitizenuminput($_session['dob-day']),'0'); $year = sanitizenuminput($_session['dob-year']); $submit = $_session['submit']; /* put database-affecting code here. */ session_unset(); session_destroy(); }
is there other reason other possible error in code cause issues w/ browser showing results?
i'm not receiving errors, there's no output.
Comments
Post a Comment