« first day (293 days earlier)      last day (3824 days later) » 

2:42 AM
guys I'm really noob at php, but after a whole day trying and with some help I've came up with the following code, my fear is: Is it safe? Do it open breaches for SQL Injection or something?

							global $smarty;
							$itemCount = 0;
							$productKeys = array('domains', 'other', 'stuff');
							$language = $smarty->get_template_vars('language');
								foreach ($productKeys as $productKey)
									{
										if (!empty($_SESSION['cart'][$productKey]))
										{
											$itemCount += count($_SESSION['cart'][$productKey]);
 
1 message moved from PHP
 
 
1 hour later…
3:54 AM
Okay. Basically. Here's the page I'm working on. http://www.gamersunited.us/misc.php?page=livestreams

So, I'm trying to implement This PHP into the HTML.
<?php

$channelName = htmlspecialchars($_GET['ColdfireTube'], ENT_QUOTES);

$clientId = ''; // Register your application and get a client ID at http://www.twitch.tv/settings?section=applications
$online = 'online.png'; // Set online image here
$offline = 'offline.png'; // Set offline image here
$json_array = json_decode(file_get_contents('https://api.twitch.tv/kraken/streams/'.strtolower($channelName).'?client_id='.$clie
pastie.org/8476482 There's the pasties. One second and I'll post the other code.
 
2 messages moved from PHP
 
 
2 hours later…
6:20 AM
 
 
1 hour later…
7:27 AM
15 mins ago, by rekire
@chintankhetiya try http://chat.stackoverflow.com/transcript/message/12912725#12912725
?
 
12 mins ago, by rekire
camera and telephony are required? I think the last one is optional as long you have other connections
 
this one ?
 
7 messages moved from Java and Android era
 
7:55 AM
ANY ONE KNOWS WHICH IS THE CROSS MOBILE PLATFORM???
DEVELOPMENT TOOLS
 
8:37 AM
 
1 message moved from JavaScript
 
I'm sorry =[=================)
 
@EnglishMaster I assume this ASCII tongue will be edited out, too ;-)
2 messages moved from JavaScript
 
9:34 AM
@TheLittleNaruto basically, we want to leave this place deserted because the lack of responses to feature requests and because of a recent act of bureaucracy
 
@JanDvorak Let's bring back the welcome message, but have it advertise a new chat service that we create.
 
@sTACKoVERFLOW's NSA :
put water on the burns
i know you read this all spies
and now you will declare us a website threat and ban us off the network, but you shall never succeed the freedom of thought and speech shall always rule lol
 
9:48 AM
@FlorianMargaine also lets give them the option then ?
@Shea we are building one :P
and most likely we will cause a migration
@Shea no because we spend more time on chatrooms :P
so we know the requirements more !
and I credit my whole career to this chatroom .. being very honest . If i wouldn't have found this room in time I would have became a horrible piece of shit developer. The amount of knowledge i have learnt by staying here is insane :P .. by rants , by suggestions , by reading others , by watching drama , even by causing some . [ though i still dunno how to argue ]
6 messages moved from Unofficial JavaScript Room, The
 
10:07 AM
Unofficial JavaScript Room.... and un official web2students
 
 
1 hour later…
11:16 AM
 
user image
2
 
user652649
11:36 AM
2 messages moved from HTML / CSS / WebDesign
 
1:13 PM
I hope I'll get an answer in this room
I hope I'll get an answer in this room
 
2 messages moved from JavaScript
 
1:42 PM
0
Q: Solution for Browser back button tracking

CJ RamkiI want to track browser back button. If the user click on the browser back button, It should ask user to logout in pop-up confirm box. If the user press "ok", user account should log out. If user press "cancel", user should stay on the same page. I already visited: Confirm browser back button e...

0
Q: Solution for Browser back button tracking

CJ RamkiI want to track browser back button. If the user click on the browser back button, It should ask user to logout in pop-up confirm box. If the user press "ok", user account should log out. If user press "cancel", user should stay on the same page. I already visited: Confirm browser back button e...

 
2 messages moved from JavaScript
 
@rlemon Could you give solution to my problem?
 
no, I just take out the trash
 
2:08 PM
 
1 message moved from Python
 
3:06 PM
HTML / CSS / WebDesign

▇▇▇ DON'T ASK TO ASK, JUST ASK ▇▇▇ Support room for newest web technologies (HTML, CSS, DOM) and related ones
1 message moved from HTML / CSS / WebDesign
 
 
2 hours later…
4:48 PM
@BartekBanachewicz thisis50.com/video/784568:Video:784638 people can eat shit aswell ... that too on cam !
 
1 message moved from JavaScript
 
5:49 PM
!!live
 
@AbhishekHingnikar I'm not dead! Honest!
 
!!die
!!live
 
@AbhishekHingnikar And on this day, you shall paint eggs for a giant bunny.
 
!!are you alive ?
 
@AbhishekHingnikar Not at all
 
5:51 PM
7 messages moved from JavaScript
 
6:08 PM
colour me stupid, but why are we removing the welcome message?
*colour
@RyanKinal Sorry Geez
What did i do?
*American, *The Queens' English
:D
 
6 messages moved from JavaScript
 
 
3 hours later…
9:23 PM
Is this real?
[tag]no[/tag]
[tag]
I always forget how to tag :(
there you go
 

« first day (293 days earlier)      last day (3824 days later) »