Mikijs Posted March 11, 2008 Report Share 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? Link to comment Share on other sites More sharing options...
andrisp Posted March 11, 2008 Report Share 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 Link to comment Share on other sites More sharing options...
Grey_Wolf Posted March 11, 2008 Report Share 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 Link to comment Share on other sites More sharing options...
black Posted March 12, 2008 Report Share Posted March 12, 2008 Mikij, bezmaksas ieteikums - nemiksē kopā HTML un Javascript. Link to comment Share on other sites More sharing options...
Recommended Posts