|
|
|
@ -47,6 +47,7 @@ if( isset($_POST["PentabarfUser"]) && isset($_POST["password"]) && isset($_POST[
|
|
|
|
|
echo "Update XCAL-File from Pentabarf..";
|
|
|
|
|
if($PentabarfGetWith=="fsockopen")
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
//backup error messeges and delate
|
|
|
|
|
$Backuperror_messages = $error_messages;
|
|
|
|
|
$fp = fsockopen( "ssl://$PentabarfXMLhost", 443, $errno, $errstr, 30);
|
|
|
|
@ -112,6 +113,8 @@ if( isset($_POST["PentabarfUser"]) && isset($_POST["password"]) && isset($_POST[
|
|
|
|
|
//user uns password in url einbauen
|
|
|
|
|
$FileNameIn = "https://". $_POST["PentabarfUser"]. ':'. $_POST["password"]. "@".
|
|
|
|
|
$PentabarfXMLhost. "/". $PentabarfXMLpath. $_POST["PentabarfURL"];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if( ($fileIn = fopen( $FileNameIn, "r")) != FALSE)
|
|
|
|
|
{
|
|
|
|
|
if( ($fileOut = fopen( "$Tempdir/engelXML", "w")) != FALSE)
|
|
|
|
|