git-svn-id: svn://svn.cccv.de/engel-system@257 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
cookie 2007-12-28 13:01:32 +00:00
parent 2cef94af74
commit 890d7115ac
1 changed files with 96 additions and 93 deletions

View File

@ -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)