예, 프레임 워크없이 할 수 있습니다. 하지만 CodeIgniter는 설치 및 학습이 쉽고 무게가 많이 나가기 때문에 CodeIgniter를 고려해보십시오. 당신이없이 수행 할 경우 : 콘텐츠와 htaccess로 파일을 만들 필요가 : 파일이 파일 시스템에서 발견되지
RewriteEngine On
# The following rule tells Apache that if the requested filename
# exists, simply serve it.
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
# The following rewrites all other queries to index.php. The
# condition ensures that if you are using Apache aliases to do
# mass virtual hosting, the base path will be prepended to
# allow proper resolution of the index.php file; it will work
# in non-aliased environments as well, providing a safe, one-size
# fits all solution.
RewriteCond %{REQUEST_URI}::$1 ^(/.+)(.+)::\2$
RewriteRule ^(.*) - [E=BASE:%1]
RewriteRule ^(.*)$ %{ENV:BASE}index.php [NC,L]
경우, 페이지의 index.php가로드됩니다. $ _SERVER [ 'REQUEST_URI']를 사용하여 요청한 페이지를 가져올 수 있습니다.
요약 : 데이터베이스 - 확실히; url - 문제 없습니다. 요즘은 실제 디렉토리 구조를 거의 나타내지 않습니다. (Laravel과 같은) 프레임 워크를 더 잘 살펴보십시오 – Pevara
고맙습니다! : D Google과 같은 엔진을 검색하면 해당 페이지를 찾을 수 있습니까? 프레임 워크 없이도 가능합니까? –