/ Forside / Teknologi / Udvikling / PHP / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
PHP
#NavnPoint
rfh 3959
natmaden 3372
poul_from 3310
funbreak 2700
stone47 2230
Jin2k 1960
Angband 1743
Bjerner 1249
refi 1185
10  Interkril.. 1146
ftp-get sætter end-of-line til \r\r (ikke ~
Fra : John Smith


Dato : 12-05-04 18:05

Jeg har allerede posted dette i comp.lang.php, men ikke faaet noget svar.

When I FTP get a file (in Win2000pro with Apache 1.3.29 (the latest) and PHP
4.3.6 (the latest)), it stores the file with 0d0d (hex) as end-of-line
(except the very last line ONLY ends with 0d0d0a). One of the 0d's should
of course be an 0a, and that is exactly what can be seen coming in in a
trace, thus it is PHP that changes this. Changing auto_detect_line_endings
does not change this. What to change???

Thanks,
J.S.



 
 
Søg
Reklame
Statistik
Spørgsmål : 177501
Tips : 31968
Nyheder : 719565
Indlæg : 6408527
Brugere : 218887

Månedens bedste
Årets bedste
Sidste års bedste