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>

24th Jun 2018, 3:14 AM
Nikhil Ekhande
Nikhil Ekhande - avatar
1 Resposta
+ 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)
24th Jun 2018, 3:34 AM
Kirk Schafer
Kirk Schafer - avatar