Shib Metadata

Kevin Foote kpfoote at uoregon.edu
Thu Sep 18 15:14:31 EDT 2014



On Sep 18, 2014, at 12:11 PM, Nate Klingenstein <ndk at internet2.edu> wrote:

>    if(!isValidMetadataFile($_FILES['userfile']['tmp_name']))
>       die('<p><font color=\'red\'>The file you are attempting to upload is not valid metadata.  Please correct any errors and try again.</font></p></div></div></div>');
> 
> 
> function isValidMetadataFile($filename) {
> 
>         $xmllintCall = "xmllint --noout --schema /opt/xmlschema/saml-schema-metadata-2.0.xsd {$filename}”;


whew you had me worried that file was missing :-) 

--------
thanks
 kevin.foote



More information about the users mailing list