Jump to content
php.lv forumi

problemas ar javascript un php =/


Mikijs

Recommended Posts

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

×
×
  • Create New...