About editing a text file on my server with a URL call

From: J (no_at_email.com)
Date: 02/24/05

  • Next message: Michael Fesser: "Re: About editing a text file on my server with a URL call"
    Date: Thu, 24 Feb 2005 14:45:17 GMT
    
    

    Hi,

    I would like to edit a text file on my server by calling a URL ie:

    http://server.com/edittext.php?Api_id=1234&apimsgid=5678&status=yes
    etc...

    This is the edittext.php file #####################################
    <?
    $string = "\r\n[list]<del>". $Api_id. "<del>". $apimsgid. "<del>".
    $climsgid. "<del>". $status. "<del>". $timestamp. "<del>". $to. "<del>".
    $from. "<del>". $charge;

      $fp = fopen("status.txt", "a+");
      fwrite($fp, $string);
      fclose($fp);
    ?>

    but my results file only displays a string of the <del>'s ie:
    <del><del><del><del><del><del><del><del>

    So i know its opening the file, adding the <del>'s and then closing it ok,
    but its not adding the bits inbetween,

    I guess I must be missing something silly, but cos of my green-ness behind
    my ears in not sure,

    Thanks
    Jim


  • Next message: Michael Fesser: "Re: About editing a text file on my server with a URL call"

    Relevant Pages

    • RE: ceicw fails every time
      ... I'd like confirming CEICW steps with you to ensure there is not problem ... You have to rerun the CEICW to make sure your SBS 2003 server have right ... On the "Services Configuration" page, select all the items and then ... Calling CCertCommit::ValidatePropertyBag ...
      (microsoft.public.windows.server.sbs)
    • CEICW fails at network
      ... I have recently taken over the support of a site with SBS 2003 Premium ... had not prevously been run on the server so I ran the wizard to setup the RWW. ... Call to Reading hardware selection returned ok. ... calling CNetCommit::ValidateRouterConnectionProperties. ...
      (microsoft.public.windows.server.sbs)
    • Re: Can not access Web and FTP sites from Internet
      ... IP address to your router? ... unless you host a web site in your server. ... use the port 443 which is SSL more secure. ... > calling CNetCommit::ValidateRouterConnectionProperties. ...
      (microsoft.public.windows.server.sbs)
    • CEICW Fails at RegisterMSBOExchangeBP
      ... Ethernet adapter Server Local Area Connection: ... Call to Reading hardware selection returned ok. ... calling CNetCommit::ValidateRouterConnectionProperties. ... Call to Reading preferred DNS server IP returned ok. ...
      (microsoft.public.windows.server.sbs)
    • RE: CEICW Error on Email config
      ... Reboot the server. ... Install the ISA again from the SBS CD ... How to configure Internet access in Windows Small Business Server 2003 ... | calling CNetCommit::ValidateFulltimeConnectionProperties. ...
      (microsoft.public.windows.server.sbs)