Mikijs Posted March 11, 2008 Report Posted March 11, 2008 man ir sads kods <?php $mbox_id=INBOX; echo '<button class="button" onClick="java script:window.location=\'sendmail.php?topmsg='.$topmsg.'&post_act='.$reply_act.'&msg_id='.$msg_no.'&mbox_id='.$mbox_id.'\'"><img src=\'dizains/reply.png\' width=\'16\' height=\'17\' border=\'0\'> '.$text34.'</button>'; ?> tagad ieks sendmail.php man ir ievadits <?php if($_GET['mbox_id']) { ... }else{ header("Locati...."); } bet joks ir tads ka man met vislaik uz to citu lapu izmantojot HEADER tatad ELSE =/ bet mainigie tak ir padoti.. kapec ta?
andrisp Posted March 11, 2008 Report Posted March 11, 2008 (edited) Točna zini, ka tieši tas header izpildās ? Varbūt cits ? mbox_id varbūt ir 0 vai tukšs ? Ja izkomentē to header(), tad tas pats ? Edited March 11, 2008 by andrisp
Grey_Wolf Posted March 11, 2008 Report Posted March 11, 2008 (edited) INBOX ir defineets? ieliec aiz: $mbox_id=INBOX; echo 'tas ir MB id='.$mbox_id; Edited March 11, 2008 by Grey_Wolf
black Posted March 12, 2008 Report Posted March 12, 2008 Mikij, bezmaksas ieteikums - nemiksē kopā HTML un Javascript.
Recommended Posts