I like making sites, and doing a little scripting.
- Interests
- Web programming, Scripting.
Re:
here is how it goes, I played it on tnbforum.com ask a stupid question, get a stupid answer for example, why do dinosaurs lay eggs cause they are permanent why don't you lay eggs ...and so on I'll start why is the sky blue? |
|
Re:
Hello, I'm new to these forums and I was wondering if any of you guys know a programmming language that is more designed for Video Games than casual software. I want to make a basic 2D platformer or maybe a simeple RPG that has a moving sprite. I have tried … |
|
Re:
Jokes related to code. For example: (Python/Pythoncard eample) Traceback (most recent call last): File "C:/Python programs/The world.py",line 50 in <module> program.run() File "C:/Python programs/The world.py",line 20 in <module> def on_click_thesky(self,event): File "C:/Python programs/The world.py",line 21 in <module> raise MchammerError("You can't touch that!") MchammerError:You can't touch that! Another exception occurred while … |
|
Hi, I am making a game I added a mouselistener in my game class but when i add a mouse listener in my class to make a custom button it doesn't work, so i had to make a variables mousePressed and variables for the mouse location mX and mY but … |
|
Re:
Hi, I have a very simple question but one which creates a lot of bother!! In Notepad (and even notepad++) when I open an html file and after editing try to save it, it says..'the process cannot access the file because it is being used by another process' and follows … |
|
Hello, how do i add an hour to time with DATE_ADD in DATE_FORMAT? Here is my code : <?php session_start(); include('includes/main_funcs.php'); $db = db(); $reponse = $db->query('SELECT name, message, DATE_FORMAT(time, '%H:%i') AS forTime FROM chat ORDER BY ID DESC LIMIT 0, 10'); while ($donnees = $reponse->fetch()) { echo'['.$donnees['forTime'].'] <strong>'.htmlspecialchars($donnees['name']).'</strong> : … |
|
Hello guys, I have some questions : * how can i play a sound when the contentChat.php is new. * How can i make a loading message? > <script type="text/javascript"> > setInterval(function() { > $('#contentChat').load('contentChat.php'); > }, 1000); > </script> Thank you for your help! Sanchixx |
|
I have a text file that i would like to display a part of so i use this code: <?php $page = file_get_contents('news.txt'); echo $page; ?> But in news.txt if i have this code `<?php echo"hello world!"; ?>` It will not display... when i look at the source code of … |
|
I have a chat script but when you submit it without writing a message it submits the only the name of a person. How can i stop this? here is the code : <? session_start(); if(isset($_GET['logout'])){ $ip=$_SERVER['REMOTE_ADDR']; //Simple exit message $fp = fopen("log.html", 'a'); fwrite($fp, "<div class='msgln'><i>User ". $_SESSION['name'] ." … |
|
Hello, I have a comment system that i wrote in PHP when i have used linebreak: `$area = wordwrap($area, 62,"<br>",1);` to auto break after 67 charectars so my comments don't go over a css box but when i write in uppercase; since the letters are larger it overflows. How can … |
|
Is there a problem with this code? <div id="center"> <ul id="list-nav"> <li><a href="/" >Home</a></li> <li><a href="/articles">Articles</a></li> <li><a href="#">News</a></li> <li><a href="#">Projects</a></li> <li><a href="#">Contact</a></li> </ul> </div> |
|
I would like to split a txt file that i use as a log in a comment system after each 10 comments how can i do that? Here is my code, Sorry for the bad indentation: <?php $act = $_POST['act']; if ($act == "post") { $name = $_POST['name']; $area = … |
|
Hello, I made a first version of a comment system which can be viewed here: http://t-s.bugs3.com/index.php . Could I have some suggestions too inprove it and to know if theres anyway to hack it? If people like it i will make a site where you can download it. By the … |
|
How can i reload `$file` with ajax or javascript each 5 seconds? <?php if ('' == file_get_contents($file)) { echo '<div id="shadow">Nobody has commented yet. Be the first? </div>'; } else { include($file); } ?> |
|
I am makeing a comment system, i have a string where i remove html code: `$area = stripslashes(htmlspecialchars($area));` But i replace text sometimes by code, but it doesn't work because of the code above: $txtSmileys = array (':-)', ':-('); $imgSmileys = array ('<img src="smiley.jpg" />', '<img src="smiley-sad.jpg" />'); $text = … |
|
Re:
Hi friends, I want to built a website in php but i am totaly confused. plz do help me..want it to be perfect..!! |
|
How can i make a jquery timer that each 3 seconds triggers a php action? |
|
How can i replace :), :-),O.o or B) in my a file, that is used to display chat content, by an image. Here is my code: <? session_start(); if(isset($_GET['logout'])){ $ip=$_SERVER['REMOTE_ADDR']; //Simple exit message $fp = fopen("log.html", 'a'); fwrite($fp, "<div class='msgln'><i>User ". $_SESSION['name'] ." has left the chat session.</i><br></div>"); fwrite($fp, "<!-- … |
|
I have a chat log in php how can i reload it each 3 seconds? |
|
Re:
I usually listen to music while I'm browsing here, what are you listening to right now? EL-P - Fantastic Damage |
|
does anyone know how to add one to an integer with bash? I tried ++$i (name of the integer) |
|
<html> <body> <?php $i=1; echo"$i"; if(up) ++$i; ?> </body> How can i add one to $i when a button is clicked? |
|
I would like to put a scollbar in my page so that people would not see all the comments in my commentbox and would have to scroll down. I **do not** want to add an iframe or a textarea to do this. How can i do this? Sanchixx |
|
how can i make this div unresizable in a smaller screen size: #space3 { display:inline margin:auto; font-family:Arial; text-align : left; font-size:16px; width:490px; background-color:#f2f2f2; border-bottom:0px; padding-bottom:0px; padding-top:0px; padding-left:20px; border-style:solid; border-width: 1px; border-top:1px; border-right:0px; right:345px; position:absolute; } #space3 a { -moz-border-radius: 5px 5px 0px 0px; -webkit-border-radius: 0px 0px 5px 5px; font-family:Arial; text-align … |
|
How can i stop someone from posting when this form is empty? Here is my form: <form name="message" action="" > <center><input name="usermsg" type="text" id="usermsg" size="63" /> <input name="submitmsg" type="submit" id="submitmsg" value="Send" /></center> </form> Sanchixx |
|
Re:
Just wondered which computer language is best suited for preteen students. Any ideas or experiences? |
|
Whenever i make a site my css works fine in all major browsers exept IE. Is it the same for you? |
|
Hello, I have a comment box that uses php her is the code: <?php $act = $_POST['act']; if($act == "post") { $name = $_POST ['name']; $area = $_POST ['area']; @$fp = fopen("comments.html", 'a'); if (!$fp) { //The file could not be opened echo "There was an error! Please try again … |