나는 PHP에 익숙하지 않습니다. 누구든지 PHP에서 putenv()를 사용할 좋은 정의 나 예를 줄 수 있습니까? 감사.PHP putenv() question
0
A
답변
-2
PHP 내부의 putenv 함수는 $ _ENV [] 전역 배열 안에 환경 변수를 설정하는 데 사용됩니다. 추가 정보를 원하시면 PHP 매뉴얼을 체크 아웃 : 도움이 http://php.net/manual/en/function.putenv.php
희망, RayQuang
+4
다른 사람들이이 문제를 겪고 있음을주의하십시오. putenv()는 $ _ENV [] superglobal보다 다른 저장소입니다. putenv ('FOO')! == $ _ENV [ 'FOO']. –
관련 문제
- 1. 대체를 사용하여 putenv/setenv
- 2. PHP preg_replace regex question
- 3. PHP : newbie question - recordset
- 4. PHP Regex Question
- 5. jquery ajax - php question
- 6. PHP transclusion question (regex)
- 7. PHP ini Question
- 8. php newbie question : classes
- 9. RegEx, preg_replace_callback Question PHP
- 10. PHP 정규식 question..adding 쉼표
- 11. 수학 관련 PHP question + latitude
- 12. Facebook IFrame App Question (Flash, PHP, MySQL)
- 13. PHP : Application Framework Question (토론을위한 위로)
- 14. jquery ajax pagination with php question
- 15. Iframe Question
- 16. UpdatePanel Question
- 17. Factorial Question
- 18. Regex Question
- 19. get_or_create() question
- 20. jsfiddle question
- 21. CGRectIntersectsRect Question
- 22. Scrollbar Question
- 23. js migrate question
- 24. zend newbie question - "어댑터가 없습니다"
- 25. question in array_unique
- 26. 나는 진술을 되풀이하고 아무도 듣지 않는다. (PHP cron job question)
- 27. XCode Intellisense Question
- 28. 기본 게임 Archecture Question
- 29. Question on JInternalFrames
- 30. Rails 3 - Params question
정의는 [PHP는 문서]에을 (http://us.php.net/putenv). – cdhowie