Thread: mod for <form>
View Single Post
  #1  
Old 1st March 2023, 10:02
xbdevsponsor xbdevsponsor is offline
Member
 
Join Date: Feb 2023
Canada
Posts: 10
Wink mod for <form>
[COLOR="lime"]
so how it should work /output
Code:
<?php
//[Original_Code_Here]

begin_form();
<input type="text" placeholder="regenerate new username">
<button>submit</button>
end_form();
?>
now let's get your ftp file which we extracted from previous ftp attempt. GetForm.php

Save to desktop and upload this to your ftp default directory destination.

GetForm.php
Code:
function begin_form($action='', $extra='', $method='post')
{
 //if (!$action) $action = substr($_SERVER['REQUEST_URI'], 1);
 print("<form method=\"$method\" action=\"$action\" $extra>\n");
}

function end_form()
{
 print("</form>\n");
}
save in with functions.php so you use it kinda thing
Reply With Quote