Loading views...
블러툴 검수툴 interface 리팩토링

블러툴 검수툴 interface 리팩토링

Date
Date
2020 Feb 12 0:0
Created by
Created by
Seonglae ChoSeonglae Cho
Created time
Created time
2023 Feb 28 12:39
Last edited by
Last edited by
Seonglae ChoSeonglae Cho
Last edited time
Last edited time
2023 Apr 15 16:50
Refs
Refs

일단 include require 할 파일 하나..

 
/api/BlurTool/common.php
  • 공통 글로별 변수
 
  • catchDBError 함수
 
  • dbTest 함수
 
 
 

 
 
이제 얘내를 어떻게 쓸거냐
Get the current script file name
If I have PHP script, how can I get the filename from inside that script? Also, given the name of a script of the form jquery.js.php, how can I extract just the "jquery.js" part?
Get the current script file name
일단 이러면
 
notion image
요런데 상대경로로 하고싶다
Getting relative path from absolute path in PHP
I noticed some similar questions about this problem when I typed the title, but they seem not be in PHP. So what's the solution to it with a PHP function? To be specified. $a="/home/apache/a/a.ph...
Getting relative path from absolute path in PHP
  • 얘는 작동 안하면서 함수 하나 더쓰기 귀찬..
realpath()함수는 그냥 _file_같은데 relpath()없나
 
[PHP] 열린 문서의 절대경로, 상대 경로, URL, URI 나타내기
여윽시 정리해둔게 있다 ㅎㅎ
 
 
include 하면 파일 상대경로 달라져서 그냥 하기로
간단한 것이 최고다
 
 
 

Recommendations