Помогите найти расширение для вставки кода

Тема в разделе "Подбор расширений", создана пользователем Help, 11.06.2010.

  1. Offline

    Help Недавно здесь

    Регистрация:
    05.02.2010
    Сообщения:
    91
    Симпатии:
    0
    Пол:
    Мужской
    Нужно расширение для вставки кода но чтоб он был в определенной по размеру рамки и не располагался на всю длину вот пример как я вставил php.ini в тег code
    Код (CODE):
    1. ;;;;;;;;;;;
    2. ; WARNING ;
    3. ;;;;;;;;;;;
    4. ; This is the default settings file for new PHP installations.
    5. ; By default, PHP installs itself with a configuration suitable for
    6. ; development purposes, and *NOT* for production purposes.
    7. ; For several security-oriented considerations that should be taken
    8. ; before going online with your site, please consult php.ini-recommended
    9. ; and http://php.net/manual/en/security.php.
    10.  
    11.  
    12. ;;;;;;;;;;;;;;;;;;;
    13. ; About php.ini   ;
    14. ;;;;;;;;;;;;;;;;;;;
    15. ; This file controls many aspects of PHP's behavior.  In order for PHP to
    16. ; read it, it must be named 'php.ini'.  PHP looks for it in the current
    17. ; working directory, in the path designated by the environment variable
    18. ; PHPRC, and in the path that was defined in compile time (in that order).
    19. ; Under Windows, the compile-time path is the Windows directory.  The
    20. ; path in which the php.ini file is looked for can be overridden using
    21. ; the -c argument in command line mode.
    22. ;
    23. ; The syntax of the file is extremely simple.  Whitespace and Lines
    24. ; beginning with a semicolon are silently ignored (as you probably guessed).
    25. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    26. ; they might mean something in the future.
    27. ;
    28. ; Directives are specified using the following syntax:
    29. ; directive = value
    30. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    31. ;
    32. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    33. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    34. ; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
    35. ;
    36. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    37. ; |        bitwise OR
    38. ; &        bitwise AND
    39. ; ~        bitwise NOT
    40. ; !        boolean NOT
    41. ;
    42. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    43. ; They can be turned off using the values 0, Off, False or No.
    44. ;
    45. ; An empty string can be denoted by simply not writing anything after the equal
    46. ; sign, or by using the None keyword:
    47. ;
    48. ;  foo =         ; sets foo to an empty string
    49. ;  foo = none    ; sets foo to an empty string
    50. ;  foo = "none"  ; sets foo to the string 'none'
    51. ;
    52. ; If you use constants in your value, and these constants belong to a
    53. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    54. ; you may only use these constants *after* the line that loads the extension.
    55. ;
    56. ;
    57. ;;;;;;;;;;;;;;;;;;;
    58. ; About this file ;
    59. ;;;;;;;;;;;;;;;;;;;
    60. ; All the values in the php.ini-dist file correspond to the builtin
    61. ; defaults (that is, if no php.ini is used, or if you delete these lines,
    62. ; the builtin defaults will be identical).
    63.  
    64.  
    65. ;;;;;;;;;;;;;;;;;;;;
    66. ; Language Options ;
    67. ;;;;;;;;;;;;;;;;;;;;
    68.  
    69. ; Enable the PHP scripting language engine under Apache.
    70. engine = On
    71.  
    72. ; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
    73. zend.ze1_compatibility_mode = Off
    74.  
    75. ; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.
    76. ; NOTE: Using short tags should be avoided when developing applications or
    77. ; libraries that are meant for redistribution, or deployment on PHP
    78. ; servers which are not under your control, because short tags may not
    79. ; be supported on the target server. For portable, redistributable code,
    80. ; be sure not to use short tags.
    81. short_open_tag = On
    82.  
    83. ; Allow ASP-style <% %> tags.
    84. asp_tags = Off
    85.  
    86. ; The number of significant digits displayed in floating point numbers.
    87. precision    =  12
    88.  
    89. ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
    90. y2k_compliance = On
    91.  
    92. ; Output buffering allows you to send header lines (including cookies) even
    93. ; after you send body content, at the price of slowing PHP's output layer a
    94. ; bit.  You can enable output buffering during runtime by calling the output
    95. ; buffering functions.  You can also enable output buffering for all files by
    96. ; setting this directive to On.  If you wish to limit the size of the buffer
    97. ; to a certain size - you can use a maximum number of bytes instead of 'On', as
    98. ; a value for this directive (e.g., output_buffering=4096).
    99. output_buffering = Off
    100.  
    101. ; You can redirect all of the output of your scripts to a function.  For
    102. ; example, if you set output_handler to "mb_output_handler", character
    103. ; encoding will be transparently converted to the specified encoding.
    104. ; Setting any output handler automatically turns on output buffering.
    105. ; Note: People who wrote portable scripts should not depend on this ini
    106. ;       directive. Instead, explicitly set the output handler using ob_start().
    107. ;       Using this ini directive may cause problems unless you know what script
    108. ;       is doing.
    109. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    110. ;       and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    111. ; Note: output_handler must be empty if this is set 'On' !!!!
    112. ;       Instead you must use zlib.output_handler.
    113. ;output_handler =
    114.  
    115. ; Transparent output compression using the zlib library
    116. ; Valid values for this option are 'off', 'on', or a specific buffer size
    117. ; to be used for compression (default is 4KB)
    118. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    119. ;       outputs chunks that are few hundreds bytes each as a result of
    120. ;       compression. If you prefer a larger chunk size for better
    121. ;       performance, enable output_buffering in addition.
    122. ; Note: You need to use zlib.output_handler instead of the standard
    123. ;       output_handler, or otherwise the output will be corrupted.
    124. zlib.output_compression = Off
    125. ;zlib.output_compression_level = -1
    126.  
    127. ; You cannot specify additional output handlers if zlib.output_compression
    128. ; is activated here. This setting does the same as output_handler but in
    129. ; a different order.
    130. ;zlib.output_handler =
    131.  
    132. ; Implicit flush tells PHP to tell the output layer to flush itself
    133. ; automatically after every output block.  This is equivalent to calling the
    134. ; PHP function flush() after each and every call to print() or echo() and each
    135. ; and every HTML block.  Turning this option on has serious performance
    136. ; implications and is generally recommended for debugging purposes only.
    137. implicit_flush = Off
    138.  
    139. ; The unserialize callback function will be called (with the undefined class'
    140. ; name as parameter), if the unserializer finds an undefined class
    141. ; which should be instantiated.
    142. ; A warning appears if the specified function is not defined, or if the
    143. ; function doesn't include/implement the missing class.
    144. ; So only set this entry, if you really want to implement such a
    145. ; callback-function.
    146. unserialize_callback_func=
    147.  
    148. ; When floats & doubles are serialized store serialize_precision significant
    149. ; digits after the floating point. The default value ensures that when floats
    150. ; are decoded with unserialize, the data will remain the same.
    151. serialize_precision = 100
    152.  
    153. ; Whether to enable the ability to force arguments to be passed by reference
    154. ; at function call time.  This method is deprecated and is likely to be
    155. ; unsupported in future versions of PHP/Zend.  The encouraged method of
    156. ; specifying which arguments should be passed by reference is in the function
    157. ; declaration.  You're encouraged to try and turn this option Off and make
    158. ; sure your scripts work properly with it in order to ensure they will work
    159. ; with future versions of the language (you will receive a warning each time
    160. ; you use this feature, and the argument will be passed by value instead of by
    161. ; reference).
    162. allow_call_time_pass_reference = On
    163.  
    164. ;
    165. ; Safe Mode
    166. ;
    167. safe_mode = Off
    168.  
    169. ; By default, Safe Mode does a UID compare check when
    170. ; opening files. If you want to relax this to a GID compare,
    171. ; then turn on safe_mode_gid.
    172. safe_mode_gid = Off
    173.  
    174. ; When safe_mode is on, UID/GID checks are bypassed when
    175. ; including files from this directory and its subdirectories.
    176. ; (directory must also be in include_path or full path must
    177. ; be used when including)
    178. safe_mode_include_dir =
    179.  
    180. ; When safe_mode is on, only executables located in the safe_mode_exec_dir
    181. ; will be allowed to be executed via the exec family of functions.
    182. safe_mode_exec_dir =
    183.  
    184. ; Setting certain environment variables may be a potential security breach.
    185. ; This directive contains a comma-delimited list of prefixes.  In Safe Mode,
    186. ; the user may only alter environment variables whose names begin with the
    187. ; prefixes supplied here.  By default, users will only be able to set
    188. ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
    189. ;
    190. ; Note:  If this directive is empty, PHP will let the user modify ANY
    191. ; environment variable!
    192. safe_mode_allowed_env_vars = PHP_
    193.  
    194. ; This directive contains a comma-delimited list of environment variables that
    195. ; the end user won't be able to change using putenv().  These variables will be
    196. ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
    197. safe_mode_protected_env_vars = LD_LIBRARY_PATH
    198.  
    199. ; open_basedir, if set, limits all file operations to the defined directory
    200. ; and below.  This directive makes most sense if used in a per-directory
    201. ; or per-virtualhost web server configuration file. This directive is
    202. ; *NOT* affected by whether Safe Mode is turned On or Off.
    203. ;open_basedir =
    204.  
    205. ; This directive allows you to disable certain functions for security reasons.
    206. ; It receives a comma-delimited list of function names. This directive is
    207. ; *NOT* affected by whether Safe Mode is turned On or Off.
    208. disable_functions =
    209.  
    210. ; This directive allows you to disable certain classes for security reasons.
    211. ; It receives a comma-delimited list of class names. This directive is
    212. ; *NOT* affected by whether Safe Mode is turned On or Off.
    213. disable_classes =
    214.  
    215. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    216. ; <span style="color: ???????"> would work.
    217. ;highlight.string  = #DD0000
    218. ;highlight.comment = #FF9900
    219. ;highlight.keyword = #007700
    220. ;highlight.bg      = #FFFFFF
    221. ;highlight.default = #0000BB
    222. ;highlight.html    = #000000
    223.  
    224. ; If enabled, the request will be allowed to complete even if the user aborts
    225. ; the request. Consider enabling it if executing long request, which may end up
    226. ; being interrupted by the user or a browser timing out.
    227. ; ignore_user_abort = On
    228.  
    229. ; Determines the size of the realpath cache to be used by PHP. This value should
    230. ; be increased on systems where PHP opens many files to reflect the quantity of
    231. ; the file operations performed.
    232. ; realpath_cache_size=16k
    233.  
    234. ; Duration of time, in seconds for which to cache realpath information for a given
    235. ; file or directory. For systems with rarely changing files, consider increasing this
    236. ; value.
    237. ; realpath_cache_ttl=120
    238.  
    239. ;
    240. ; Misc
    241. ;
    242. ; Decides whether PHP may expose the fact that it is installed on the server
    243. ; (e.g. by adding its signature to the Web server header).  It is no security
    244. ; threat in any way, but it makes it possible to determine whether you use PHP
    245. ; on your server or not.
    246. expose_php = On
    247.  
    248.  
    249. ;;;;;;;;;;;;;;;;;;;
    250. ; Resource Limits ;
    251. ;;;;;;;;;;;;;;;;;;;
    252.  
    253. max_execution_time = 30     ; Maximum execution time of each script, in seconds
    254. max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
    255. ;max_input_nesting_level = 64 ; Maximum input variable nesting level
    256. memory_limit = 512M      ; Maximum amount of memory a script may consume (128MB)
    257.  
    258.  
    259. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    260. ; Error handling and logging ;
    261. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    262.  
    263. ; error_reporting is a bit-field.  Or each number up to get desired error
    264. ; reporting level
    265. ; E_ALL             - All errors and warnings (doesn't include E_STRICT)
    266. ; E_ERROR           - fatal run-time errors
    267. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    268. ; E_WARNING         - run-time warnings (non-fatal errors)
    269. ; E_PARSE           - compile-time parse errors
    270. ; E_NOTICE          - run-time notices (these are warnings which often result
    271. ;                     from a bug in your code, but it's possible that it was
    272. ;                     intentional (e.g., using an uninitialized variable and
    273. ;                     relying on the fact it's automatically initialized to an
    274. ;                     empty string)
    275. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    276. ;                     to your code which will ensure the best interoperability
    277. ;                     and forward compatibility of your code
    278. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    279. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    280. ;                     initial startup
    281. ; E_COMPILE_ERROR   - fatal compile-time errors
    282. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    283. ; E_USER_ERROR      - user-generated error message
    284. ; E_USER_WARNING    - user-generated warning message
    285. ; E_USER_NOTICE     - user-generated notice message
     
  2.  

Поделиться этой страницей

Загрузка...