diff --git a/appendices/wrappers.xml b/appendices/wrappers.xml index de2cb654af..d203c85d11 100644 --- a/appendices/wrappers.xml +++ b/appendices/wrappers.xml @@ -1,5 +1,5 @@ - + List of Supported Protocols/Wrappers @@ -584,7 +584,7 @@ readfile("php://filter/read=string.toupper|string.rot13/resource=http://www.exam /* This will filter the string "Hello World" through the rot13 filter, then write to example.txt in the current directory */ -file_set_contents("php://filter/write=string.rot13/resource=example.txt","Hello World"); +file_put_contents("php://filter/write=string.rot13/resource=example.txt","Hello World"); ?> ]]>