Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

--TEST-- iptcembed() and wrong file --FILE-- <?php $file = __DIR__.'/iptcembed_001.data';..

Decoded Output download

--TEST--
iptcembed() and wrong file
--FILE--
<?php

$file = __DIR__.'/iptcembed_001.data';
$fp = fopen($file, "w");
fwrite($fp, "-1-1");
fclose($fp);

var_dump(iptcembed(-1, $file, -1));
unlink($file);

echo "Done
";
?>
--EXPECT--
bool(false)
Done	

Did this file decode correctly?

Original Code

--TEST--
iptcembed() and wrong file
--FILE--
<?php

$file = __DIR__.'/iptcembed_001.data';
$fp = fopen($file, "w");
fwrite($fp, "-1-1");
fclose($fp);

var_dump(iptcembed(-1, $file, -1));
unlink($file);

echo "Done\n";
?>
--EXPECT--
bool(false)
Done	

Function Calls

None

Variables

None

Stats

MD5 b2f4d8dd57b891e2e99b65d984c81f36
Eval Count 0
Decode Time 78 ms