register_form_update.php 코드 질문 채택완료
Copy
if ($w == '' || $w == 'u') {
if ($msg = empty_mb_id($mb_id)) alert($msg, "", true, true); // alert($msg, $url, $error, $post);
if ($msg = valid_mb_id($mb_id)) alert($msg, "", true, true);
if ($msg = count_mb_id($mb_id)) alert($msg, "", true, true);
register_form_update.php 코드에서 위와 같은 코드가 있는데
php에서 alert를 저렇게 쓸 수 있나요?
답변 1개
채택된 답변
+20 포인트
답변에 대한 댓글 5개
5년 전
common.lib.php 에 167줄 보시면 alert 펑션도 있습니다
거기에 연계된 bbs 내의 알러트 php도 있구요
거기에 연계된 bbs 내의 알러트 php도 있구요
5년 전
php 내에서 alert 함수를 따로 만들어주는데 들어가 보시면 alert함수가 결국
?><script>window.alert("hello")</script><?php 이런식으로 결국 브라우저의 alert을 쓰더라구요
?><script>window.alert("hello")</script><?php 이런식으로 결국 브라우저의 alert을 쓰더라구요
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인