gonzalarcon
Chevereto Noob
Since people are requesting it, i posted it
1. Open index.php with Notepad.
2. Copy and paste the following code where do you want to display the message:
3. Now under the line 232 put this:
4. Download the sqlite database (3kb) and extract it in the Chevereto's path.
Enjoy
1. Open index.php with Notepad.
2. Copy and paste the following code where do you want to display the message:
Code:
<?php
if ($database = sqlite_open('dataStorage.sqlite')) {
$selectQuery = sqlite_query($database,"SELECT filename FROM dataStorage LIMIT 1");
while($printData = sqlite_fetch_array($selectQuery, SQLITE_ASSOC)) {
print "<br>Last image uploaded is <a href=\"".PATH_SCRIPT.DIR_IM.$printData['filename']."\">".$printData['filename']."</a> ";
}
sqlite_close($database);
} else {
print "Ups! The addon can't print the data.";
}
?>
Code:
<?php
if ($database = sqlite_open('dataStorage.sqlite')) {
sqlite_query($database, "UPDATE dataStorage SET filename = '$name'", SQLITE_ASSOC);
sqlite_close($database);
} else {
// Here i do nothing :P
}
?>
Enjoy