Précédent   Forum des professionnels en informatique > PHP > Langage > Fonctions
Fonctions Forum d'entraide sur les fonctions PHP. Avant de poster -> FAQ fonctions et Sources diverses
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 15/04/2008, 17h55   #1
Candidat au titre de Membre du Club
 
Inscription : janvier 2003
Messages : 45
Détails du profil
Informations forums :
Inscription : janvier 2003
Messages : 45
Points : 11
Points : 11
Par défaut [Configuration] Paramétrage du php.ini pour une compatibilité optimale avec php4

Bonjour,

Je sais que cela ne doit pas se faire dans cette logique mais quelle sont les valeurs à modifier dans le php.ini pour que php5 soit au maximum rétrocompatible avec php4 svp ?

Merci d'avance.
staive est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 15/04/2008, 18h41   #2
Membre éprouvé
 
Avatar de SphynXz
 
Développeur Web
Inscription : mars 2008
Messages : 439
Détails du profil
Informations personnelles :
Âge : 26

Informations professionnelles :
Activité : Développeur Web

Informations forums :
Inscription : mars 2008
Messages : 439
Points : 474
Points : 474
zend.ze1_compatibility_mode = 1;
__________________
I don't know what will be used in the next world war, but the 4th will be fought with stones. - Albert Einstein
Pour détourner un avion, il faut monter dedans - Frédéric beigbeder
SphynXz est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 16/04/2008, 13h36   #3
Candidat au titre de Membre du Club
 
Inscription : janvier 2003
Messages : 45
Détails du profil
Informations forums :
Inscription : janvier 2003
Messages : 45
Points : 11
Points : 11
Désolé de pas avoir répondu avant, peut-tu brievement m'expliquer ta commande ou si tu as un lien.
staive est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 16/04/2008, 14h12   #4
Candidat au titre de Membre du Club
 
Inscription : janvier 2003
Messages : 45
Détails du profil
Informations forums :
Inscription : janvier 2003
Messages : 45
Points : 11
Points : 11
J'ai essayer mais cela ne marche pas , même les varibleas passer "à l'ancienne" par l'URL ne marche pas avec register global à on.

Voilà je vous poste les valaeurs mon php.ini, dite moi si il y a quelque chose qui cloche. Merci d'avance.

Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
 
 
[PHP]
 
engine = On
 
zend.ze1_compatibility_mode = on
 
short_open_tag = Off
 
asp_tags = Off
 
precision    =  14
 
y2k_compliance = On
 
output_buffering = 4096
 
zlib.output_compression = Off
 
implicit_flush = Off
 
unserialize_callback_func=
 
serialize_precision = 100
 
allow_call_time_pass_reference = Off
 
safe_mode = Off
 
safe_mode_gid = Off
 
safe_mode_include_dir =
 
safe_mode_exec_dir =
 
safe_mode_allowed_env_vars = PHP_
 
safe_mode_protected_env_vars = LD_LIBRARY_PATH
 
disable_functions =
 
disable_classes =
 
expose_php = On
 
 
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
 
max_execution_time = 30     ; Maximum execution time of each script, in seconds
max_input_time = 60	; Maximum amount of time each script may spend parsing request data
memory_limit = 16M      ; Maximum amount of memory a script may consume (16MB)
 
 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Error handling and logging ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR
error_reporting  =  E_ALL & ~E_NOTICE
 
display_errors = On
 
display_startup_errors = Off
 
log_errors = On
 
log_errors_max_len = 1024
 
ignore_repeated_errors = Off
 
ignore_repeated_source = Off
 
report_memleaks = On
 
 
track_errors = Off
 
 
;;;;;;;;;;;;;;;;;
; Data Handling ;
;;;;;;;;;;;;;;;;;
variables_order = "GPCS"
 
register_globals = on
 
register_long_arrays = on
 
register_argc_argv = Off
 
auto_globals_jit = On
 
post_max_size = 8M
 
magic_quotes_gpc = Off
 
magic_quotes_runtime = Off
 
magic_quotes_sybase = Off
 
auto_prepend_file =
auto_append_file =
 
default_mimetype = "text/html"
 
 
 
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
 
include_path = ".;${path}\php5\pear\"
 
doc_root =
 
user_dir =
 
extension_dir = "${path}\php5\ext\"
 
enable_dl = On
 
file_uploads = On
upload_tmp_dir = "${path}\tmp\"
 
upload_max_filesize = 2M
 
 
allow_url_fopen = On
allow_url_include = On
 
default_socket_timeout = 60
[Date]
 
[filter]
 
[iconv]
[sqlite]
 
[xmlrpc]
 
[Pcre]
 
[Syslog]
define_syslog_variables  = Off
 
[mail function]
SMTP = localhost
smtp_port = 25
 
 
[SQL]
sql.safe_mode = Off
 
[ODBC]
 
odbc.allow_persistent = On
 
odbc.check_persistent = On
 
odbc.max_persistent = -1
 
odbc.max_links = -1
 
odbc.defaultlrl = 4096
 
odbc.defaultbinmode = 1
 
[MySQL]
mysql.allow_persistent = On
 
mysql.max_persistent = -1
 
mysql.max_links = -1
 
mysql.default_port =
 
mysql.default_socket =
 
mysql.default_host =
 
mysql.default_user =
 
get_cfg_var("mysql.default_password")
mysql.default_password =
 
mysql.connect_timeout = 60
 
mysql.trace_mode = Off
 
[MySQLi]
 
mysqli.max_links = -1
 
mysqli.default_port = 3306
 
mysqli.default_socket =
 
mysqli.default_host =
 
mysqli.default_user =
 
mysqli.default_pw =
 
; Allow or prevent reconnect
mysqli.reconnect = Off
 
[mSQL]
; Allow or prevent persistent links.
msql.allow_persistent = On
 
; Maximum number of persistent links.  -1 means no limit.
msql.max_persistent = -1
 
; Maximum number of links (persistent+non persistent).  -1 means no limit.
msql.max_links = -1
 
[PostgresSQL]
; Allow or prevent persistent links.
pgsql.allow_persistent = On
 
; Detect broken persistent links always with pg_pconnect().
; Auto reset feature requires a little overheads.
pgsql.auto_reset_persistent = Off
 
; Maximum number of persistent links.  -1 means no limit.
pgsql.max_persistent = -1
 
; Maximum number of links (persistent+non persistent).  -1 means no limit.
pgsql.max_links = -1
 
; Ignore PostgreSQL backends Notice message or not.
; Notice message logging require a little overheads.
pgsql.ignore_notice = 0
 
; Log PostgreSQL backends Noitce message or not.
; Unless pgsql.ignore_notice=0, module cannot log notice message.
pgsql.log_notice = 0
 
[Sybase]
; Allow or prevent persistent links.
sybase.allow_persistent = On
 
; Maximum number of persistent links.  -1 means no limit.
sybase.max_persistent = -1
 
; Maximum number of links (persistent + non-persistent).  -1 means no limit.
sybase.max_links = -1
 
;sybase.interface_file = "/usr/sybase/interfaces"
 
; Minimum error severity to display.
sybase.min_error_severity = 10
 
; Minimum message severity to display.
sybase.min_message_severity = 10
 
; Compatibility mode with old versions of PHP 3.0.
; If on, this will cause PHP to automatically assign types to results according
; to their Sybase type, instead of treating them all as strings.  This
; compatibility mode will probably not stay around forever, so try applying
; whatever necessary changes to your code, and turn it off.
sybase.compatability_mode = Off
 
[Sybase-CT]
; Allow or prevent persistent links.
sybct.allow_persistent = On
 
; Maximum number of persistent links.  -1 means no limit.
sybct.max_persistent = -1
 
; Maximum number of links (persistent + non-persistent).  -1 means no limit.
sybct.max_links = -1
 
; Minimum server message severity to display.
sybct.min_server_severity = 10
 
; Minimum client message severity to display.
sybct.min_client_severity = 10
 
[bcmath]
; Number of decimal digits for all bcmath functions.
bcmath.scale = 0
 
[browscap]
;browscap = extra/browscap.ini
 
[Informix]
; Default host for ifx_connect() (doesn't apply in safe mode).
ifx.default_host =
 
; Default user for ifx_connect() (doesn't apply in safe mode).
ifx.default_user =
 
; Default password for ifx_connect() (doesn't apply in safe mode).
ifx.default_password =
 
; Allow or prevent persistent links.
ifx.allow_persistent = On
 
; Maximum number of persistent links.  -1 means no limit.
ifx.max_persistent = -1
 
; Maximum number of links (persistent + non-persistent).  -1 means no limit.
ifx.max_links = -1
 
; If on, select statements return the contents of a text blob instead of its id.
ifx.textasvarchar = 0
 
; If on, select statements return the contents of a byte blob instead of its id.
ifx.byteasvarchar = 0
 
; Trailing blanks are stripped from fixed-length char columns.  May help the
; life of Informix SE users.
ifx.charasvarchar = 0
 
; If on, the contents of text and byte blobs are dumped to a file instead of
; keeping them in memory.
ifx.blobinfile = 0
 
; NULL's are returned as empty strings, unless this is set to 1.  In that case,
; NULL's are returned as string 'NULL'.
ifx.nullformat = 0
 
[Session]
; Handler used to store/retrieve data.
session.save_handler = files
 
; Argument passed to save_handler.  In the case of files, this is the path
; where data files are stored. Note: Windows users have to change this
; variable in order to use PHP's session functions.
;
; As of PHP 4.0.1, you can define the path as:
;
;     session.save_path = "N;/path"
;
; where N is an integer.  Instead of storing all the session files in
; /path, what this will do is use subdirectories N-levels deep, and
; store the session data in those directories.  This is useful if you
; or your OS have problems with lots of files in one directory, and is
; a more efficient layout for servers that handle lots of sessions.
;
; NOTE 1: PHP will not create this directory structure automatically.
;         You can use the script in the ext/session dir for that purpose.
; NOTE 2: See the section on garbage collection below if you choose to
;         use subdirectories for session storage
;
; The file storage module creates files using mode 600 by default.
; You can change that by using
;
;     session.save_path = "N;MODE;/path"
;
; where MODE is the octal representation of the mode. Note that this
; does not overwrite the process's umask.
session.save_path = "${path}\tmp\"
 
; Whether to use cookies.
session.use_cookies = 1
 
;session.cookie_secure =
 
; This option enables administrators to make their users invulnerable to
; attacks which involve passing session ids in URLs; defaults to 0.
; session.use_only_cookies = 1
 
; Name of the session (used as cookie name).
session.name = PHPSESSID
 
; Initialize session on request startup.
session.auto_start = 0
 
; Lifetime in seconds of cookie or, if 0, until browser is restarted.
session.cookie_lifetime = 0
 
; The path for which the cookie is valid.
session.cookie_path = /
 
; The domain for which the cookie is valid.
session.cookie_domain =
 
; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
session.cookie_httponly = 
 
; Handler used to serialize data.  php is the standard serializer of PHP.
session.serialize_handler = php
 
; Define the probability that the 'garbage collection' process is started
; on every session initialization.
; The probability is calculated by using gc_probability/gc_divisor,
; e.g. 1/100 means there is a 1% chance that the GC process starts
; on each request.
 
session.gc_probability = 1
session.gc_divisor     = 1000
 
; After this number of seconds, stored data will be seen as 'garbage' and
; cleaned up by the garbage collection process.
session.gc_maxlifetime = 1440
 
; NOTE: If you are using the subdirectory option for storing session files
;       (see session.save_path above), then garbage collection does *not*
;       happen automatically.  You will need to do your own garbage
;       collection through a shell script, cron entry, or some other method.
;       For example, the following script would is the equivalent of
;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
;          cd /path/to/sessions; find -cmin +24 | xargs rm
 
; PHP 4.2 and less have an undocumented feature/bug that allows you to
; to initialize a session variable in the global scope, albeit register_globals
; is disabled.  PHP 4.3 and later will warn you, if this feature is used.
; You can disable the feature and the warning separately. At this time,
; the warning is only displayed, if bug_compat_42 is enabled.
 
session.bug_compat_42 = 0
session.bug_compat_warn = 1
 
; Check HTTP Referer to invalidate externally stored URLs containing ids.
; HTTP_REFERER has to contain this substring for the session to be
; considered as valid.
session.referer_check =
 
; How many bytes to read from the file.
session.entropy_length = 0
 
; Specified here to create the session id.
session.entropy_file =
 
;session.entropy_length = 16
 
;session.entropy_file = /dev/urandom
 
; Set to {nocache,private,public,} to determine HTTP caching aspects
; or leave this empty to avoid sending anti-caching headers.
session.cache_limiter = nocache
 
; Document expires after n minutes.
session.cache_expire = 180
 
; trans sid support is disabled by default.
; Use of trans sid may risk your users security.
; Use this option with caution.
; - User may send URL contains active session ID
;   to other person via. email/irc/etc.
; - URL that contains active session ID may be stored
;   in publically accessible computer.
; - User may access your site with the same session ID
;   always using URL stored in browser's history or bookmarks.
session.use_trans_sid = 0
 
; Select a hash function
; 0: MD5   (128 bits)
; 1: SHA-1 (160 bits)
session.hash_function = 0
 
; Define how many bits are stored in each character when converting
; the binary hash data to something readable.
;
; 4 bits: 0-9, a-f
; 5 bits: 0-9, a-v
; 6 bits: 0-9, a-z, A-Z, "-", ","
session.hash_bits_per_character = 5
 
; The URL rewriter will look for URLs in a defined set of HTML tags.
; form/fieldset are special; if you include them here, the rewriter will
; add a hidden <input> field with the info which is otherwise appended
; to URLs.  If you want XHTML conformity, remove the form entry.
; Note that all valid entries require a "=", even if no value follows.
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
 
[MSSQL]
; Allow or prevent persistent links.
mssql.allow_persistent = On
 
; Maximum number of persistent links.  -1 means no limit.
mssql.max_persistent = -1
 
; Maximum number of links (persistent+non persistent).  -1 means no limit.
mssql.max_links = -1
 
; Minimum error severity to display.
mssql.min_error_severity = 10
 
; Minimum message severity to display.
mssql.min_message_severity = 10
 
; Compatibility mode with old versions of PHP 3.0.
mssql.compatability_mode = Off
 
; Connect timeout
;mssql.connect_timeout = 5
 
; Query timeout
;mssql.timeout = 60
 
; Valid range 0 - 2147483647.  Default = 4096.
;mssql.textlimit = 4096
 
; Valid range 0 - 2147483647.  Default = 4096.
;mssql.textsize = 4096
 
; Limits the number of records in each batch.  0 = all records in one batch.
;mssql.batchsize = 0
 
; Specify how datetime and datetim4 columns are returned
; On => Returns data converted to SQL server settings
; Off => Returns values as YYYY-MM-DD hh:mm:ss
;mssql.datetimeconvert = On
 
; Use NT authentication when connecting to the server
mssql.secure_connection = Off
 
; Specify max number of processes. -1 = library default
; msdlib defaults to 25
; FreeTDS defaults to 4096
;mssql.max_procs = -1
 
; Specify client character set. 
; If empty or not set the client charset from freetds.comf is used
; This is only used when compiled with FreeTDS
;mssql.charset = "ISO-8859-1"
 
[Assertion]
; Assert(expr); active by default.
;assert.active = On
 
; Issue a PHP warning for each failed assertion.
;assert.warning = On
 
; Don't bail out by default.
;assert.bail = Off
 
; User-function to be called if an assertion fails.
;assert.callback = 0
 
; Eval the expression with current error_reporting().  Set to true if you want
; error_reporting(0) around the eval().
;assert.quiet_eval = 0
 
[COM]
; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
;com.typelib_file =
; allow Distributed-COM calls
;com.allow_dcom = true
; autoregister constants of a components typlib on com_load()
;com.autoregister_typelib = true
; register constants casesensitive
;com.autoregister_casesensitive = false
; show warnings on duplicate constant registrations
;com.autoregister_verbose = true
 
[mbstring]
; language for internal character representation.
;mbstring.language = Japanese
 
; internal/script encoding.
; Some encoding cannot work as internal encoding.
; (e.g. SJIS, BIG5, ISO-2022-*)
;mbstring.internal_encoding = EUC-JP
 
; http input encoding.
;mbstring.http_input = auto
 
; http output encoding. mb_output_handler must be
; registered as output buffer to function
;mbstring.http_output = SJIS
 
; enable automatic encoding translation according to
; mbstring.internal_encoding setting. Input chars are
; converted to internal encoding by setting this to On.
; Note: Do _not_ use automatic encoding translation for
;       portable libs/applications.
;mbstring.encoding_translation = Off
 
; automatic encoding detection order.
; auto means
;mbstring.detect_order = auto
 
; substitute_character used when character cannot be converted
; one from another
;mbstring.substitute_character = none;
 
; overload(replace) single byte functions by mbstring functions.
; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
; etc. Possible values are 0,1,2,4 or combination of them.
; For example, 7 for overload everything.
; 0: No overload
; 1: Overload mail() function
; 2: Overload str*() functions
; 4: Overload ereg*() functions
;mbstring.func_overload = 0
 
; enable strict encoding detection.
;mbstring.strict_encoding = Off
 
[FrontBase]
;fbsql.allow_persistent = On
;fbsql.autocommit = On
;fbsql.show_timestamp_decimals = Off
;fbsql.default_database =
;fbsql.default_database_password =
;fbsql.default_host =
;fbsql.default_password =
;fbsql.default_user = "_SYSTEM"
;fbsql.generate_warnings = Off
;fbsql.max_connections = 128
;fbsql.max_links = 128
;fbsql.max_persistent = -1
;fbsql.max_results = 128
 
[gd]
; Tell the jpeg decode to libjpeg warnings and try to create
; a gd image. The warning will then be displayed as notices
; disabled by default
;gd.jpeg_ignore_warning = 0
 
[exif]
; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
; With mbstring support this will automatically be converted into the encoding
; given by corresponding encode setting. When empty mbstring.internal_encoding
; is used. For the decode settings you can distinguish between motorola and
; intel byte order. A decode setting cannot be empty.
;exif.encode_unicode = ISO-8859-15
;exif.decode_unicode_motorola = UCS-2BE
;exif.decode_unicode_intel    = UCS-2LE
;exif.encode_jis =
;exif.decode_jis_motorola = JIS
;exif.decode_jis_intel    = JIS
 
[Tidy]
; The path to a default tidy configuration file to use when using tidy
;tidy.default_config = /usr/local/lib/php/default.tcfg
 
; Should tidy clean and repair output automatically?
; WARNING: Do not use this option if you are generating non-html content
; such as dynamic images
tidy.clean_output = Off
 
[soap]
; Enables or disables WSDL caching feature.
soap.wsdl_cache_enabled=1
; Sets the directory name where SOAP extension will put cache files.
soap.wsdl_cache_dir="/tmp"
; (time to live) Sets the number of second while cached file will be used 
; instead of original one.
soap.wsdl_cache_ttl=86400
 
; Local Variables:
; tab-width: 4
; End:
 
 
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
;   extension=modulename.extension
;
; For example, on Windows:
;
;   extension=msql.dll
;
; ... or under UNIX:
;
;   extension=msql.so
;
; Note that it should be the name of the module only; no directory information
; needs to go here.  Specify the location of the extension with the
; extension_dir directive above.
 
 
; Windows Extensions
; Note that ODBC support is built in, so no dll is needed for it.
; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
; extension folders as well as the separate PECL DLL download (PHP 5).
; Be sure to appropriately set the extension_dir directive.
;PHPExt
;extension=php5activescript.dll
;extension=php5servlet.dll
;extension=php_apd.dll
;extension=php_bcompiler.dll
;extension=php_bitset.dll
;extension=php_blenc.dll
;extension=php_bz2.dll
;extension=php_bz2_filter.dll
;extension=php_classkit.dll
;extension=php_cpdf.dll
;extension=php_crack.dll
;extension=php_curl.dll
;extension=php_cvsclient.dll
;extension=php_db.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_dbx.dll
;extension=php_dio.dll
;extension=php_docblock.dll
;extension=php_domxml.dll
;extension=php_event.dll
;extension=php_exif.dll
;extension=php_fdf.dll
;extension=php_fileinfo.dll
;extension=php_filepro.dll
;extension=php_fribidi.dll
extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_gmp.dll
;extension=php_gopher.dll
;extension=php_http.dll
;extension=php_hyperwave.dll
;extension=php_ibm_db2.dll
;extension=php_id3.dll
;extension=php_ifx.dll
;extension=php_iisfunc.dll
;extension=php_imagick.dll
;extension=php_imap.dll
;extension=php_ingres.dll
;extension=php_interbase.dll
;extension=php_java.dll
;extension=php_ldap.dll
;extension=php_lzf.dll
;extension=php_mailparse.dll
extension=php_mbstring.dll
;extension=php_mcrypt.dll
;extension=php_mcrypt_filter.dll
;extension=php_memcache.dll
;extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
;extension=php_msql.dll
;extension=php_mssql.dll
extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_netools.dll
;extension=php_ntuser.dll
;extension=php_oci8.dll
;extension=php_oggvorbis.dll
;extension=php_openssl.dll
;extension=php_operator.dll
;extension=php_oracle.dll
;extension=php_parsekit.dll
;extension=php_pdf.dll
extension=php_pdo.dll
;extension=php_pdo_firebird.dll
;extension=php_pdo_mssql.dll
;extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_oci8.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
;extension=php_pgsql.dll
;extension=php_phar.dll
;extension=php_phpdoc.dll
;extension=php_pop3.dll
;extension=php_printer.dll
;extension=php_pspell.dll
;extension=php_radius.dll
;extension=php_rar.dll
;extension=php_runkit.dll
;extension=php_sdo.dll
;extension=php_shmop.dll
;extension=php_smtp.dll
;extension=php_snmp.dll
;extension=php_soap.dll
;extension=php_sockets.dll
;extension=php_sqlite.dll
;extension=php_ssh2.dll
;extension=php_stats.dll
;extension=php_stem.dll
;extension=php_svn.dll
;extension=php_swish.dll
;extension=php_sybase_ct.dll
;extension=php_threads.dll
;extension=php_tidy.dll
;extension=php_timezonedb.dll
;extension=php_translit.dll
;extension=php_win32ps.dll
;extension=php_win32scheduler.dll
;extension=php_win32service.dll
;extension=php_win32std.dll
;extension=php_xmlrpc.dll
;extension=php_xsl.dll
;extension=php_yaz.dll
;extension=php_zip.dll
;extension=php_zlib_filter.dll
;/PHPExt
staive est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 17/04/2008, 14h25   #5
Candidat au titre de Membre du Club
 
Inscription : janvier 2003
Messages : 45
Détails du profil
Informations forums :
Inscription : janvier 2003
Messages : 45
Points : 11
Points : 11
Hola Amigo,

Après de très nombreuses recherche je suis enfin parvenu à trouver quelque chose.

Plus de register_global a on mais voilà deux liens fort sympathique sur la fonction extract (que je ne connaissais pas )


http://www.developpez.net/forums/sho...egister+global

Voilà, maintenant mes valeurs sont bien récupérés et mes scripts fonctionnent tous .
staive est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 18/04/2008, 11h46   #6
Membre éprouvé
 
Avatar de SphynXz
 
Développeur Web
Inscription : mars 2008
Messages : 439
Détails du profil
Informations personnelles :
Âge : 26

Informations professionnelles :
Activité : Développeur Web

Informations forums :
Inscription : mars 2008
Messages : 439
Points : 474
Points : 474
en effet extract() est la solution à ton problème. mais ta question principale est bien trop générale alors qu'elle ne concerne que le register_global (qui n'a plus que quelques moi à vivre )
__________________
I don't know what will be used in the next world war, but the 4th will be fought with stones. - Albert Einstein
Pour détourner un avion, il faut monter dedans - Frédéric beigbeder
SphynXz est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 15h20.


 
 
 
 
Partenaires

Hébergement Web