Hello!
I have installed and used XAMPP for about half a year.
I have encountered a werid problem.
Problem Descriptions:
I have created a function to read CSV file using fgetCSV() function (I have tried both fgetcsv() and splfileobj method, both produce same result)
(it is a news system, with date and news field)
If I run apache server with service installed
eg. http://localhost/test1.php, the first character of the line consists of unicode will become ?? character.
If I run apache server without service installed and using XAMPP START
eg. http://localhost/test1.php, the first character of the line will not have problem.
This problem appear in my office computer which is clean installed not long ago.
System descriptions:
Windows XP SP3 English version
I have tried:
1. Test it at home. It does not produce the same result.
2. Put the scripts to the server, works too.
3. Reinstall the XAMPP many times with different folder but it is still the same.
I would like to know what is the difference between starting it with XAMPP and starting automatically in services?
This may help in identifying the problem source.
Many thanks!