Why, when I use the following code, does my script add an extra blank line after the last </user> tag?
$webdata=<<END;
<User Name="$FORM{'username'}">
<Option Name="Pass">$md5</Option>
<Option Name="Group">users</Option>
<Option Name="Bypass server userlimit">2</Option>
<Option Name="User...
I am very new to both Perl and XML but was wondering how I could write a script which would take data from a web form and add it to an XML file. Basically I just wanna add users to my Filezilla server from a web form. The script needs to take the data from the form, add it to the XML file (in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.