hypnostate
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: accesing cacheyes theres a plugin, but it doesn’t work properly because if u refresh the page it counts as a view….
Forum: Fixing WordPress
In reply to: accesing cacheso how can i solve my problem? because managing sessions without register_globals is too confused..!
Forum: Fixing WordPress
In reply to: add new php file for managing conecctionshelp please!
Forum: Fixing WordPress
In reply to: add new php file for managing conecctionsthat’s the way i did… when i call Enviavoto.php in this line
conexion1.open(“POST”, “http://localhost/Misite/wp-content/themes/eGamer/includes/Enviavoto.php”, true);
then inside Enviavoto.php i create a new wpdb object but it doesn’t work properly this part of the file:
<?php
require(‘http://localhost/Misite/wp-blog-header.php’);
require(“http://localhost/Misite/wp-config.php”);
require_once(“functions.php”);
require_once(“wp-db.php”);$puntuacion=$_POST[“Tuvoto”];
$correo = $_POST[“Cogercorreo”];
$activado=0;
$video=70;if ( ! isset($wpdb) ) {
$wpdb = new wpdb(DB_USER, DB_PASSWORD, DB_NAME, DB_HOST);
}$wpdb->query( $wpdb->prepare( “INSERT INTO $wpdb->votos_pendientes (id, mail, activado, id_video, puntuacion) VALUES(%s, %s, %d, %d, %d)”,
$ran,$correo, $activado,$video,$puntuacion) );i tried putting a simple sql string to see if it was a problem of the sql sentence, but it doesn’t work anyway. it must be a problem of the header, that needs to include the correct files or something… it always displays that can’t connect to database. and database is working correctly in my entire blog.
thanks for concerning!
Forum: Installing WordPress
In reply to: Cant installTHANKS A LOT samboll!!! it really did! 🙂