Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
90% Quality Score
Upvotes Received
10
Posts with Upvotes
9
Upvoting Members
9
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
3 Commented Posts
Member Avatar for gacha23

hi guys pls help me with this problem i realy can't fix this problem <?php function protect($string){ $string = mysql_real_escape_string($string); $string = strip_tags($string); $string = addslashes($string); return $string; } function connect(){ $con = mysql_connect('127.0.0.1','root', '') or die(mysql_error()); $db = mysql_select_db("users",$con); } ?> // this is for the protect function and …

Member Avatar for zebnoon1
0
394
Member Avatar for Troy III

# Determine if a namespace/variable-name exists # ## Check for namespace existence in your environment variables and objects before writing to them. ## **Guess if "Book1.chapter22.paragraph37" exists without provoking errors and retrieve/send data if it exists with simplest JS expressions.** Call syntax: isNS( [string], [num] ); Example: var nsresult = …

Member Avatar for Troy III
0
308
Member Avatar for Echo89

Hi, The sqrt function does not accept integers of type `unsigned long long int`. Is there a pre-exisiting C++/C standard function that can compute square roots of integers of that size? Thanks in advance, Caelan.

Member Avatar for rubberman
0
2K
Member Avatar for Echo89

Hi, I wrote this implementation of Sieve of Eratosthenes, is there any way I could eek some more performance out of it. As in opitmising data types, calculations etc. #include <iostream> // cout #include <math.h> // sqrt #include <time.h> // clock/CLOCKS_PER_SEC #include <stdlib.h> // malloc/free using namespace std; int main(int …

Member Avatar for Moschops
0
170
Member Avatar for Echo89

# EDIT # Fixed - skipped ever having to use an array. Although, I'd still like to know if I was right about the stack size, and what the best way might be to keep that many elements in an array. ## Prerequisites ## Operating System: OS X 10.10 Yosemite …

0
85
Member Avatar for punith_1

I have a form which shows results if a proper roll number is entered... the results are fetched from http://results.vtu.ac.in and only the table is shown... now i want to add the data of the table to my database using php. Is there a way to do it..? for example …

Member Avatar for punith_1
0
433
Member Avatar for Echo89

This is a function that generates a string of random characters to the length that you specify.

Member Avatar for 5n0wn1nja
0
7K
Member Avatar for asifalizaman

*hi!guys i hope you all guys will be fine .Today i want to know from you that how many friends you have in the Facebook! i have only 250+ and why you guys use facebook instead of other social network .i am using facebook to read new stories and for …

Member Avatar for enbeeone3
1
211
Member Avatar for Echo89

OK, I've taken advice from some members here, and members from another forum. And I've come up with this, thouht I'd just share it with you.

Member Avatar for dexblack_1
0
223
Member Avatar for Echo89

OK, I have an idea of what I might do: I'm planning on making a Event handling system, and this is how I will connect events to functions and be able to send any type of data. This is the basic idea: #include <iostream> template <class T> T *from(void *data) …

Member Avatar for Echo89
0
224
Member Avatar for cudawella

Design a function that computes integers whose factorial is less than number read from input data?

Member Avatar for Echo89
0
123
Member Avatar for andrewtarant

Hi friends, i am andrewtarant and i am new to this community. I am really happy to join this community which is interesting about business promotion and various business marketing strategies.

Member Avatar for cproger
0
67
Member Avatar for Echo89

So, When I assemble this code, I get no errors. It flies through the build. However, when I go to execute this code, it does not display the window. I am unsure of why. I have tried invoking messageboxes at the start or WinMain, but it seems it's not getting …

Member Avatar for GunnerInc
0
245
Member Avatar for Echo89
Member Avatar for Echo89
-1
2K
Member Avatar for HelloJarvis

My desired effect is for a comment delete button like what Facebook has on mouseover. The parent element is inserting a new div that will be the "delete" button on mouseover, and removing it on mouseout. My problem is, when I try to mouse over the div being inserted, it …

Member Avatar for HelloJarvis
0
209
Member Avatar for Echo89

Hello, I have been learning how to use the MS WinAPI, but their documentations is extremely vague in a lot of places, without information on the proper use of functions (PHP.NET manages this just fine!). But anyhoo. When I handle the WM_DRAWITEM message, it SHOULD display an image on the …

Member Avatar for Echo89
0
1K
Member Avatar for johndohmen1963

Who can help me with the following. I have an allertbox with text in it but i want different languages for the text in the allertbox $lang = array(); $lang['ALERTBOX_A'] = 'To do this, you must first be logged in.'; onClick="alert(' <?php $lang['ALERTBOX_A']; ?>')" In this case the language is …

Member Avatar for radhakrishna.p
0
445
Member Avatar for davy_yg

Hallo, I wonder how to change css in the middle of the program. For instance: <div id="container"> if(case1){ container css height=200} elseif(case2) { container css height=300} else { container css height=400} </div> How to write the code? I am actually trying to program with Joomla which is confusing since it …

Member Avatar for davy_yg
0
140
Member Avatar for Shodow

Warning: Cannot modify header information - headers already sent by (output started at E:\xampp\htdocs\freeelec2\deliveryupdate.php:179) in E:\xampp\htdocs\freeelec2\deliveryupdate.php on line 222 <?php include('conn.php'); session_start(); if (!isset($_SESSION['Username'])){ header('location:index.php'); } // $tror=$_GET['tror']; ?> <html> <head> <title>Delivery Update</title> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/jquery.validate.js"></script> <script language="javascript" src="js/cal2.js"></script> <script language="javascript" src="js/cal_conf2.js"></script> <script type="text/javascript"> function Price(data) { …

Member Avatar for Shodow
0
576
Member Avatar for ChrisJ

I have this Form that works successfully (I know it's not state-of-the-art). I simply want to add code to make Contact Name field mandatory. Can you help me? I don't know how much code I should post. Here's some: <script type="text/javascript"> function checkemail(){ var str=document.myform.email_address.value; var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i; if (filter.test(str)) testresults=true; …

Member Avatar for Echo89
0
146
Member Avatar for Shodow

on dropdown change i would like to put the price on the textbox "price" base on the selected value in dropdown function Price(data) { document.getElementById ("productprice").value = data.value; } <select name="product" onchange="Price(this)"> <option value="" disabled="disabled" selected="selected">Please select a product</option> <?php foreach ($product as $product) { ?> <option value="<?php echo $product['Product']?>" …

Member Avatar for Echo89
0
192
Member Avatar for Echo89

I just donated because i think this is a great place, full of great members, not that I've met many. But it is from what I can see from older threads and posts. Hope I enjoy my time here. And I hope to learn from other members of the community. …

Member Avatar for Echo89
2
101
Member Avatar for Echo89

There appears to be a small bug. Where if I edit a post, save it, and then edit it again without reloading the page, it won't show the edits when the edit box shows up, it will show the original post. If you didn't get that, follow these steps to …

Member Avatar for pritaeas
0
237
Member Avatar for sai.aleenus

**how to draw a line in c program given the slope and intercept of the line**

Member Avatar for Echo89
0
237
Member Avatar for filxy

when i debug this code it is giving few errors whats wrong in this code can anyone please help out :S #include "stdafx.h" #include <iostream> #include <conio.h> #include <string> #define T_SEMICOLON';' #define T_LPAREN'(' #define T_RPAREN')' #define T_ASSIGN'=' #define T_DIVIDE'/' #define T_WHILE 257 #define T_IF 258 #define T_RETURN 259 #define T_IDENTIFIER …

Member Avatar for sepp2k
0
283
Member Avatar for mohdshafiqanas

Okay, I'm a newbie in this matter, and my lecturer seems to punish my class for not coming early to class. He asks us to write this assembly languange program, by using the information from internet. I really need your help about this question. Question 1. Initialize the grade listed …

Member Avatar for Echo89
0
114
Member Avatar for Echo89

When I hover over the little ad at the top of each thread, it's usually the ebook one. It shows up normally. However, if you hover the cursor over that ad text multiple times very quickly. The small dialog continues to appear and then disappear the ammount of times that …

Member Avatar for Echo89
1
348
Member Avatar for Echo89

Here is a fully working PHP page viewer, set the variables $pages[] = "ANY URL HERE"; to suit your needs, and change the variable $max = 10; to however many views you want for each $page. -Echo

Member Avatar for Echo89
1
449
Member Avatar for Echo89
Member Avatar for Echo89

I know I could parse the files name for the extension, but that can be faked. I know I can get the mime type, but they can also be faked. I know I could use Magic Numbers, but on some files, they are not at the top of the file. …

Member Avatar for phorce
0
307