Что-то эта схема не хочет создавать файл
схема
Add(EntryPoint,11917673,161,203)
{
link(onStart,9822336:doStrCat,[])
}
Add(File,12727094,287,203)
{
Mode="w"
link(onOpen,6367453:doWrite,[])
link(FileName,9822336:Result,[(293,191)(265,191)(265,247)(237,247)])
}
Add(ProtectVar,5301255,238,147)
{
Name="user"
Method=1
Type=1
}
Add(StrCat,9822336,231,203)
{
Str1="users/"
Extern=1
link(onStrCat,12727094:doOpen,[])
link(Str2,5301255:Value,[])
}
Add(FileWrite,6367453,336,203)
{
Text="new"
link(onWrite,12727094:doClose,[(380,209)(380,213)(275,213)(275,216)])
link(FileID,12727094:FileID,[(342,191)(318,191)(318,247)(293,247)])
}
{
link(onStart,9822336:doStrCat,[])
}
Add(File,12727094,287,203)
{
Mode="w"
link(onOpen,6367453:doWrite,[])
link(FileName,9822336:Result,[(293,191)(265,191)(265,247)(237,247)])
}
Add(ProtectVar,5301255,238,147)
{
Name="user"
Method=1
Type=1
}
Add(StrCat,9822336,231,203)
{
Str1="users/"
Extern=1
link(onStrCat,12727094:doOpen,[])
link(Str2,5301255:Value,[])
}
Add(FileWrite,6367453,336,203)
{
Text="new"
link(onWrite,12727094:doClose,[(380,209)(380,213)(275,213)(275,216)])
link(FileID,12727094:FileID,[(342,191)(318,191)(318,247)(293,247)])
}
php код
‹?php
$pvar2 = isset($_POST["user"]) ? ($_POST["user"]) : "";
$s1 = "users/".$pvar2;
$fid3 = fopen($s1, "w");
fwrite($fid3, "new");
fclose($fid3);
// made by "HiAsm 4.4 build 185"
?›
$pvar2 = isset($_POST["user"]) ? ($_POST["user"]) : "";
$s1 = "users/".$pvar2;
$fid3 = fopen($s1, "w");
fwrite($fid3, "new");
fclose($fid3);
// made by "HiAsm 4.4 build 185"
?›