Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
61% Quality Score
Upvotes Received
4
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
~15.2K People Reached
About Me

I like making sites, and doing a little scripting.

Interests
Web programming, Scripting.
Member Avatar for awesomelemonade

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?

Member Avatar for Slavi
1
2K
Member Avatar for Sh4dowz

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 …

Member Avatar for tuto.narahenpitiya
0
633
Member Avatar for james.lu.75491856

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 …

Member Avatar for james.lu.75491856
0
474
Member Avatar for Sanchixx

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 …

Member Avatar for iamthwee
0
236
Member Avatar for David2012

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 …

Member Avatar for jlauer2003
1
545
Member Avatar for Sanchixx

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> : …

Member Avatar for Sanchixx
0
169
Member Avatar for Sanchixx

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

Member Avatar for LastMitch
0
96
Member Avatar for 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 …

Member Avatar for Sanchixx
0
463
Member Avatar for Sanchixx

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'] ." …

Member Avatar for almostbob
0
306
Member Avatar for Sanchixx

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 …

Member Avatar for diafol
0
235
Member Avatar for Sanchixx

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>

Member Avatar for diafol
-1
74
Member Avatar for Sanchixx

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 = …

Member Avatar for iamthwee
0
128
Member Avatar for Sanchixx

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 …

Member Avatar for Sanchixx
1
129
Member Avatar for Sanchixx

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); } ?>

Member Avatar for urtrivedi
0
140
Member Avatar for Sanchixx

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 = …

Member Avatar for Sanchixx
0
181
Member Avatar for garima.nanda.50

Hi friends, I want to built a website in php but i am totaly confused. plz do help me..want it to be perfect..!!

Member Avatar for JameB
-1
169
Member Avatar for Sanchixx

How can i make a jquery timer that each 3 seconds triggers a php action?

Member Avatar for Sanchixx
0
70
Member Avatar for Sanchixx

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, "<!-- …

Member Avatar for Sanchixx
0
424
Member Avatar for Sanchixx
Member Avatar for kreitje
0
67
Member Avatar for sillyboy

I usually listen to music while I'm browsing here, what are you listening to right now? EL-P - Fantastic Damage

Member Avatar for Helianthus
0
5K
Member Avatar for Sanchixx
Member Avatar for Sanchixx

does anyone know how to add one to an integer with bash? I tried ++$i (name of the integer)

Member Avatar for L7Sqr
0
119
Member Avatar for Sanchixx

<html> <body> <?php $i=1; echo"$i"; if(up) ++$i; ?> </body> How can i add one to $i when a button is clicked?

Member Avatar for Biiim
0
194
Member Avatar for Sanchixx

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

Member Avatar for ko ko
0
135
Member Avatar for 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 …

Member Avatar for Sanchixx
0
514
Member Avatar for Sanchixx

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

Member Avatar for pritaeas
0
121
Member Avatar for sneekula

Just wondered which computer language is best suited for preteen students. Any ideas or experiences?

Member Avatar for Sanchixx
0
476
Member Avatar for Sanchixx
Member Avatar for Troy III
0
185
Member Avatar for Sanchixx
Member Avatar for Sanchixx

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 …

Member Avatar for diafol
0
303