Location: PHPKode > scripts > UNKNOW > webifycore/admin/update.php
<form name="form" method="post" action="index.php?page=doupdate">

<h1>Update</h1>

<h3 style="margin-top: 15px;">Domain</h3>
You shouldn't need to change anything here.<br>
<input type="text" name="DOMAIN" class="fieldbox" style="width: 50%;" value="<?php echo $_SERVER[HTTP_HOST]; ?>">

<h3 style="margin-top: 15px;">FTP Username</h3>

<input type="text" name="FTPUSERNAME" class="fieldbox" style="width: 50%;" value="">

<h3 style="margin-top: 15px;">FTP Password</h3>

<input type="text" name="FTPPASSWORD" class="fieldbox" style="width: 50%;" value="">

<h3 style="margin-top: 15px;">Website Directory</h3>

This is usually <i>public_html</i> but may be something else. If you are unsure, consult your web host or use the path beside this field to offer a hint.<br>

<input type="text" name="WEBDIR" class="fieldbox" style="width: 50%;" value="public_html">

<label for="WEBDIR"><?php echo $_SERVER[DOCUMENT_ROOT]; ?></label>

<h3 style="margin-top: 15px;">App Directory within the Website Directory</h3>

You shouldn't need to change anything here.<br>

<?PHP

$pieces = explode("/admin", "$_SERVER[PHP_SELF]");
$phpself = $pieces[0];

?>

<input type="text" name="APPDIR" class="fieldbox" style="width: 50%;" value="<?PHP echo $phpself; ?>">

<br>

<input class="sparklybutton" style="margin-top:15px;" type="submit" value="Update Now" name="Submit" />

</form>
Return current item: UNKNOW