dev on

  • 홈
  • 태그

PHP 13

리다이렉트

$rUrl = "http://".$_SERVER['SERVER_NAME'].str_replace("[현재폴더명]/", "[리다이렉트시킬폴더명]/", $_SERVER['REQUEST_URI']); header('location:'.$rUrl); $rUrl = "http://".$_SERVER['SERVER_NAME'].str_replace("[현재폴더명]/", "[리다이렉트시킬폴더명]/", $_SERVER['REQUEST_URI']); header('location:'.$rUrl); 지정 아이피는 리다이렉트 안되게 하려면 if($_SERVER['REMOTE_ADDR'] != '{IP주소}'){ $rUrl = "http://".$_SERVER['SERVER_NAME'].str_replace("[현재폴더명]/..

PHP 2023.04.11

PHP 에러 출력

error_reporting(E_ERROR | E_WARNING | E_PARSE); ; E_ERROR (fatal run-rime errors) ; E_WARNING(run-time warnings (non-fatal errors) ; E_NOTICE (run-time notices) 에러 출력하지 않을 때

PHP 2023.04.11

Warning: implode(): Invalid arguments passed in

Warning: implode() [function.implode]: Invalid arguments passed in xxx on line xx implode 변수가 넘어갔다.. 배열이 아닌걸 자를려고(?) 할때 뜨는거 같네요 implode로 자를 변수를 처음에 $array = array(); 해줍시다 혹은 안에 내용이 잘못들어갔을 경우! https://hungry2s.tistory.com/21 Warning: implode() [function.implode]: Invalid arguments passed in xxx on line xx Warning: implode() [function.implode]: Invalid arguments passed in xxx on line xx implode 변수..

PHP 2023.04.11
이전
1 2
다음
더보기
프로필사진

web 개발자

  • 분류 전체보기 (47)
    • JAVA (1)
    • PHP (13)
    • MySQL (9)
    • JavaScript (11)
    • ETC (13)

Calendar

«   2025/12   »
일 월 화 수 목 금 토
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바