0
Parse error: syntax error, unexpected '<', expecting end of file in ..\Playground\ PHP Parse error: syntax error, unexpected '<'
<?xml version=”1.0″ encoding=”UTF-8″?> <configuration> <system.webServer> <handlers accessPolicy=”Read, Script, Write”> <add name=”web_config” path=”*.config” verb=”*” modules=”IsapiModule” scriptProcessor=”%windir%\system32\inetsrv\asp.dll” resourceType=”Unspecified” requireAccess=”Write” preCondition=”bitness64″ /> </handlers> <security> <requestFiltering> <fileExtensions> <remove fileExtension=”.config” /> </fileExtensions>
1 Odpowiedź
+ 1
Well, that's definitely the error you get if you paste xml into PHP:
<?php
<?xml version=”1.0″ encoding=”UTF-8″?>
...php is expecting to see code (you are giving it tags, which is more like data)