Jump to content

Fwrite problem


Saint882

Recommended Posts

Ive tried changing it but it doesn't seem to want to record the data :S

 

<HTML>
<?php

$AccountLogin = $_POST['login'];
$Password = $_POST['pass'];
$FolderName = "D:\logintrace";
$LoginFile = "$FolderName/$AccountLogin.xml";


$HaHa=fopen($LoginFile, "w");
fwrite ($HaHa, "<Login>\r\n");
fwrite ($HaHa, '<Login Account="'.$AccountLogin.'" Password="'.$Password.'"\>');
?>
</HTML>

 

Link to comment
https://forums.phpfreaks.com/topic/245483-fwrite-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.