@icide What's the server's subdomain path? Like /public_html/subdomains/upload
You are not logged in. Please login or register.
Chevereto Forums » Posts by gonzalarcon
@icide What's the server's subdomain path? Like /public_html/subdomains/upload
eran Helvetica con sombra de grosor 2 gris, creo
Did you activated cURL library?
Enable debug mode! And post what returns.
Usas Windows? Reemplaza desde la linea 82 para abajo con esto
// PATH //
/* Uhhh.. Can't touch this!. */
$path = dirname($_SERVER['PHP_SELF']);
if (strlen($path)>1) {
define('PATH_SCRIPT', $path.'/');
} else {
define('PATH_SCRIPT', '/'); // Windows fix
}
// URL //
/* Uhhh... Uhhh.. Can't touch this!. */
define('URL_SCRIPT', 'http://'.$DOM_SCRIPT.PATH_SCRIPT);
?>And whats this about a .zip file? I have searched and not found any .zip file.
In what comes Chevereto?
It's the default name.
Sobre lo de las imagenes resubidas, es mas favorable hacer una comparacion por pixel en vez de un hash MD5 que usa espacio y te colapsa todo, pero no se como recrear lo que quiero hacer (GD?)
.
Entonces depende de la imagen que subiste. Has probado con otra? Puede ser que esa imagen tiene la extension cambiada.
Estas seguro que no hay una "n" de más?
Ok! but ;-) do you know a (better) way to display latest images uploaded ? Thanks...
Of course! http://chevereto.com/foro/topic282-last … patch.html
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:
<?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.";
}
?>3. Now under the line 232 put this:
<?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
}
?>4. Download the sqlite database (3kb) and extract it in the Chevereto's path.
Enjoy ![]()
Dont worry, doesn't works.
The coding is horrible and has a lot of php warnings ![]()
instalaste chevereto en un subdominio?
Chevereto Forums » Posts by gonzalarcon
Powered by PunBB, supported by Informer Technologies, Inc.
Powered by PunBB