2009년 07월 17일 PHP 버전 5.3 적용 한글 매뉴얼 다운로드 에디터플러스 설정 방법 : 도구 > 사용자 도구 구성 > 추가 > HTML 도움말 파일 > 파일 이름 (찾기) php 함수에서 ctrl + 1 를 입력하면 도움말 실행됨
# yum install php-gd 실행시 Missing Dependency: php-common = 5.1.6-39.... 라는 메시지가 나오면 # yum --enablerepo=webtatic install php-gd 실행. 참고 http://mattiasgeniar.be/2008/09/17/install-gd-library-for-php5-on-centos/
자세한 내용은 원문, 은두고수님의 블로그 참고 http://okkks.tistory.com/900 php 파일을 리눅스에서 쉘 방식으로 직접 실행을 해보자. 실행할 php파일이 있는 디렉토리로 이동한다. ]# cd 실행할 php파일 디렉토리 방법1> ]# ./파일명.php 방법2> ]# php 파일명.php * 방법1,2처럼해도 실행이 안된다면 whereis 명령어로 먼저 php파일 위치를 알아낸다. ]# whereis php php: /usr/bin/php /etc/php.d /etc/php.ini /usr/lib/php /usr/share/man/man1/php.1.gz 위 내용은 php설치설정에 따라 다를 수 있다. 방법3> ]# /usr/bin/php 파일명.php 참고1> 권한이 없다고 하면(P..
$dir_file = "$docroot/fotofiles/";// 파일이 있는 디렉토리 $dir_tar = "$docroot/fotofiles/down/";// 파일을 묶어서 저장할 디렉토리 $tarname = "down.tar.gz";// 묶은 파일명 $downfilename = "홍길동사진.tar.gz";// 다운로드받을 파일명 chdir($dir_tar); exec("tar czf $tarname ../file1 ../file2 ../file3"); sleep(1);//파일이 많거나 용량이 큰경우, gzip으로 압축할 경우 1초 정도 대기 chdir($dir_file); if(eregi("(MSIE 5.5|MSIE 6.0)", $HTTP_USER_AGENT)){ header("content-type..
@http://www.datguri.net/B_83/4087 @http://phpthumb.sourceforge.net
ServerAdmin webmaster@domain.com DocumentRoot /home/userid/www ServerName domain.com ServerAlias *.domain.com other.com *.other.com #2차도메인 및 기타 연결도메인 ErrorLog "/home/userid/log/error.log" #로그경로 CustomLog "/home/userid/log/access.log" common #접속로그 php_admin_value upload_max_filesize 10M #업로드한계 AddType application/x-httpd-php .html .htm .php .php3 .php4 .php5 .phtml .cgi .inc #실행스크립트확장자 SSL 사용시 Se..