Jump to content

xagutxu

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

About xagutxu

  • Birthday 11/08/1973

Profile Information

  • Gender
    Male
  • Location
    Bilbao

xagutxu's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. It works! Thank you, requinix! Xagutxu
  2. Hi: I have found that something strange happens in my php script. I wish someone could explain me why. I receive an image via POST, and it is saved as a temporary file in the server: $tmpName = $_FILES['uploadedfile']['tmp_name']; The filesize I obtain doing: $fileSize = $_FILES['uploadedfile']['size']; is 79733, the same as if I did: filesize($tmpName). Ok. Now, I resize the image, and save it in the same $tmpName, and everything is ok, but when I try to obtain the size, I get the first size, that is: 79733. Anybody has an explanation? Thank you in advance, Xagutxu
  3. Hi! I create a Table within a connexion in mySQL: $query = "CREATE TABLE `dbchat`.`".$table."` ("; $query .= "`line_id` INT(11) NOT NULL AUTO_INCREMENT, "; $query .= "`line_txt` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, "; $query .= "PRIMARY KEY (`line_id`)) ENGINE = MyISAM CHARACTER SET utf8 COLLATE utf8_general_ci;"; mysql_query($query,$con) or die(mysql_error()); And, after that, I try to create another table, using the same $table variable, but attaching "_online": $query = "CREATE TABLE `dbchat`.`".$taula."online"."` ("; $query .= "`usr_id` VARCHAR(32) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, "; $query .= "`usr_time` INT(11) NOT NULL, "; $query .= "PRIMARY KEY (`usr_id`)) ENGINE = MyISAM CHARACTER SET utf8 COLLATE utf8_general_ci;"; mysql_query($query,$con) or die(mysql_error()); But I obtain the next error: Incorrect table name 'xxxxxxxxxx_online' Any help...? Thank you, Xagutxu
  4. Hello: I have bought a code for a chat script, and I have some problems making the changes I need. One of them is that I have to pass some variables to an iframe. The iframe is created by javascript, when an icon is clicked: document.getElementById('xxx').innerHTML='<iframe src="phpscript.php" scrolling="no" frameborder="0" style="margin:0px;padding:0px;width:400px;height:260px;border-width:0px;overflow:hidden"></iframe>'; I would like to know whether the variables can be passed using the url (via GET) or not. In case I cannot, which other method can I use to pass variables to an iframe? Or, maybe, is better using global variables...? Thank you, Xagutxu
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.