Jump to content
xisto Community

majklisko

Members
  • Content Count

    22
  • Joined

  • Last visited

Posts posted by majklisko


  1. u can never understand what the bad on the comunism is if u didn't experience it yourself...neither did i, but my parents did...to get rid of the differences between social classes is whole nonsense, cuz there would be no motivation to study, work and get better at what u're doing...i'm not saying capitalism is absolutely fair, but its better solution anyway...that's not what i wanted to talk about ...the worst thing on comunism is the lack of freedom, which has an influence in all the parts of life...one example: my grandparents openly said out they disagree with the things are happening, and thats the reason why they weren't allowed to study...people expressing their thoughts had many worse problems than just cant study,.. i think in china its still lasting even the economical system seems to be capitalism


  2. I live in the slovakia (middle europe, not balkans or eastern), probably u've never heared about this country, but it really exists...I've already seen some american, they came here and they were wondering, that there is no war :D, be sure there isn't...I nearly forgot, we have 70Mbit/s just for $60/month


  3. how to create tablei mention 2 ways:1. go to 'Databases' in cpanel, select phpmyadmin go to your database, u will see the 'create table' form - that's it u're looking for2. create a script and run itinsert this code into this:

    <?php// Make a MySQL Connectionmysql_connect("localhost", "admin", "1admin") or die(mysql_error());mysql_select_db("test") or die(mysql_error());// Create a MySQL table in the selected databasemysql_query("CREATE TABLE example(id INT NOT NULL AUTO_INCREMENT, PRIMARY KEY(id), name VARCHAR(30),  age INT)") or die(mysql_error());  echo "Table Created!";?>

    replace the parameters u need


  4. I play football (for u american I should say soccer) and I don't know anything better. It's my biggest passion, I can't imagine life without this game. I used to play in a team, but I had to give it up cause of my still hurting knees. I'm sure what's the reason of the pain, but I simply can't survive without this. Nowadays I play approximately once a week. Besides I often make a break while working with pc and I train the football tricks in the hall.I like to watch the game on tv very much too...this time runs the european championship, everyday at least 2 games - I'm in heaven.But don't think it's the only sport I like. In winter I love freestyle skiing, even I'm just a beginner. But I'm still getting better. Last winter I finally managed to jump 360 degrees rotation.


  5. Not so very long time ago I read about the negativ influence of running. It demages more the body than it helps. The knees the most. But it's important to say, it depends a lot on the facet u're running on. I find it very pesimistic and excessive vision.I never used to run without better reason to run than just to keep fit, so I think when u play periodically football, u aren't so pleasured while running just for running than while running by game. My advice: train more football if u think u need more move, among other things it improves your football skills.


  6. At the beginning I was learning from a book, I don't remember the name anymore...then once I realized I don't need it I found the same things in the internet, mainly on php.net, which is the online manual...I want to say, important is to learn the grounds from anywhere and then u can do anything u wanna just with the help of internet, cuz u can't remember everything of course


  7. hey guys,u forgot that Mozilla Firefox is the second most used browser after IE. The speed is comparable with Opera and the great advantage is the coders community creating countless amount of the add-ons for everything it comes to your mind. I don't argue that Firefox is better than Opera, but it has more fansI'm not gonna talk about the pros of IE, cause u can't compare this one with the 2 others. This one is just for the users, they are happy, when they manage to turn their pc on


  8. maybe my solution will be helpful

    at first create a folder 'images_full'
    create an upload script:

    <html><head><title>Upload foto</title></head><body><?  	if($img):				$date=date("Y-m-d");		copy($img,"images_full/".$img_name);		list($width,$height)=getimagesize("images_full/".$img_name);		$insert=mysql_query("insert into $tabulka(image,descript,date,width,height) values('$img_name','$_POST[obr_popis]','$date','$width','$height')");		?><img style="visibility:hidden;" src="th2.php?f=<? echo $img_name;?>&width=110&height=80&u=images_small"  /><div><table border="0" cellspacing="0" cellpadding="0"><tr><td>Foto: </td><td><form method="post" enctype="multipart/form-data" onsubmit="" ><input size="10" type=file name="img" accept="image/*" /></td></tr><tr><td><input type="submit" value="vloz" /></td></tr></form></table></div></body></html>

    the script uses another script th2.php to change the size of the image (u can select the maximal width and height) and save it, even the full size image is saved in 'images_full' folder :

    <?header ("Content-type: image/jpeg");//vygeneruje thumbnailif(!$_GET[width]||!$_GET[height]):$new_width=133;//rozmery do ktorych sa ma obrazok zmestit$new_height=100;else:$new_width=$_GET[width];$new_height=$_GET[height];endif;$nasobic=$new_width/$new_height;    	$filename="images_full/".$_GET[f];	$path=$_GET[u]."/".$_GET[f];	$type=substr($filename,strpos($filename,'.')+1,strlen($filename)-strpos($filename,'.'));		if ($type=="jpg"||$type=="JPG"){	$obrazok =imagecreatefromjpeg($filename);	}	elseif($type=="gif"||$type=="GIF"){	$obrazok =imagecreatefromgif($filename);	}	elseif($type=="png"||$type=="PNG"){	$obrazok =imagecreatefrompng($filename);	}		list($width,$height)=getimagesize($filename);		if($width>$height*$nasobic)://vypocet rozmerov	 $new_height=round($height*$new_width/$width,0);	else:	 $new_width=round($width*$new_height/$height,0);	endif;	$obr=imagecreatetruecolor ($new_width,$new_height);		imagecopyresampled($obr, $obrazok,0, 0, 0, 0, $new_width, $new_height, $width, $height);		imagejpeg($obr,$path,100);?>

    save this code to th2.php

  9. hi guys, I'm the roman catholic and after reading all those comments, I'd say, we can connect our both beliefs. There aren't any important differences between us.That comment from Trap FeedBacker represents everything I wanted to say: religion contains just some instructions what's the best for us people, not to have to try everything to realize whats the best way...but unfortunately its written in us not to keep any rules


  10. I'd do it this way:
    Make this div tag:

    <div id="whole_content" style="position:absolute;">content</div>write this java script:<script type="text/javascript">var height={write here the height of the element you wanna put in the middle of the page};document.getElementById('whole_content').style.left=Math.round((screen.height-height)/2)+'px';</script>
    Notice from jlhaslip:
    added code tags


  11. My favourite gun is one of the other guns not in the vote list...i'm speaking about awp. I think noone has a chance against players being good at using it. Unfortunately I'm not one of them, even sometimes I've got lucky days. The only disadvantage of this weapon is the speed of the shooting, but it can't be another by a sniper rifle. ...I've nearly forgotten: the combination with deagle is really unbeatable :D

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.