Posts
 
Reputation
Joined
Last Seen
Ranked #99
Strength to Increase Rep
+14
Strength to Decrease Rep
-3
95% Quality Score
Upvotes Received
136
Posts with Upvotes
111
Upvoting Members
85
Downvotes Received
7
Posts with Downvotes
6
Downvoting Members
7
65 Commented Posts
~487.42K People Reached
About Me

PHP programmer, I do C++ Dev on the side along with a little C from working on MUD codebases. I repaired computers before I programmed them and got my A+ a while back then worked as the assistant sysadmin for the school I graduated from.

Interests
Programming, Sleep, Fixing things
PC Specs
DesktopHP Whitebox (Athlon Phenom II, 6GB RAM, 1TB HDD/500GB HDD) (Lucid Lynx)Frankenstein Box (Kubuntu)LaptopDell…
Favorite Tags
Member Avatar for sam023

i want to know is there any inbuild function to add spaces in javascript after particular interval..!!? there is string '00009999' i want to add blank space 0000 9999 after every 4 digits.?

Member Avatar for Dani
1
33K
Member Avatar for samaru

Is everyone familiar with this game? Just reply with the first word that comes to your mind when you think of the last word posted. You can't respond to the post with a comment, just the word that comes to your mind. It can only be a word or a …

Member Avatar for Dani
1
52K
Member Avatar for piyush gandhi
Member Avatar for KarmaHunter
-2
11K
Member Avatar for cwarn23

I've followed a tutorial for making php extensions in C++ and although there are no compilation errors, the extension just won't communicate with php. The tutorial is at [URL="http://www.talkphp.com/vbarticles.php?do=article&articleid=49&title=creating-custom-php-extensions"]http://www.talkphp.com/vbarticles.php?do=article&articleid=49&title=creating-custom-php-extensions[/URL] and my code is as follows: main.cpp [code=c++]#include "stdafx.h" ZEND_FUNCTION(fetch_talkphp_links); zend_function_entry talkphp_ext_functions[] = { ZEND_FE(fetch_talkphp_links, NULL) {NULL, NULL, NULL} }; zend_module_entry …

Member Avatar for Muhammad_137
0
1K
Member Avatar for shankmuchlove

I am using xampp and windows.... I need to call java classes from php. How to use php java bridge... I am using php 5.2.6

Member Avatar for Abid_4
0
201
Member Avatar for hail2dthief

I'm using visual c++ compiler and I want to change the text color in my c++ dos program. What choices do I have if i don't wanna use system function (example: system("color 0a"))?

Member Avatar for Ancient Dragon
0
23K
Member Avatar for duttydea

Hi all, I have an array: [CODE]<?php $product_id = $_GET[id]; //the product id from the URL $action = $_GET[action]; //the action from the URL //if there is an product_id and that product_id doesn't exist display an error message if($product_id && !productExists($product_id)) { die("Error. Product Doesn't Exist"); } switch($action) { //decide …

Member Avatar for diafol
0
2K
Member Avatar for ShawnCplus

This is just a little something for those of you used to using the Eclipse IDE, it's syntax highlighting almost identical to Eclipse save a bit of enhancement. Eclipse doesn't highlight ints, octal and hex individually but DevC++ can, there are a few other things in there that promote very …

Member Avatar for Tech_1
3
376
Member Avatar for nileshjaiswal

Plz help me tell me how we can convert the C program in C++ I working on OCX(Active X controls) plzzzzzzzzzzz...............reply

Member Avatar for frta
0
754
Member Avatar for anuj_sharma

Hey Guys, I am interested in web development but i am confused in which platform to choose, Java or .NET. I have done core java but i got to know from somewhere that Java is basically for software development and DotNet is specifically for web development but Java can be …

Member Avatar for rumisa
0
338
Member Avatar for owen99

hi can anyone help me i am trying to get a random character generator which generates 10 characters in ASCII range and then cast them into characters heres my code but its not working. it says error C2440: '<function-style-cast>' : cannot convert from 'std::string' to 'char' heres my code [code=c++] …

Member Avatar for Anilorap
0
1K
Member Avatar for twhite

I am running windows xp on my pc and recently I have had a "blue box" with a lock inside that appears locked sometimes and then flashes to unlock. It is always in the center of the screen and briefly disappears at times. Whatever is on the screen this blue …

Member Avatar for proex
0
257
Member Avatar for zippee

Is there any way I can convert dynamic URL into static URL in php? i.e. convert php file into html so that the page is search engine friendly. For example: Change this: [url]http://mysite.com/pagename.php[/url] To this: [url]http://mysite.com/pagename[/url] or this: [url]http://mysite.com/pagename.html[/url] I know there is something called mod_rewrite in Apache, but not …

Member Avatar for mikerock
0
775
Member Avatar for ero100@live.com

HI, HE IS MY FORM, I WOULD LIKE TO THE PHP CODE TO : DISPLY A MESSAGE IF THE ONE FIELD OR OTHER IS EMPTY, [code=html]<form id="form1" name="form1" method="post" action="form.php"> <label> NAME: <input type="text" name="name" id="name" /> </label> <p> Address: <label> <input type="text" name="address" id="address" /> </label> </p> </form>[/code] THANK …

Member Avatar for diafol
0
236
Member Avatar for Avasulthiris

Hi all, I've been hitting the same problem over and over in my development. Sometimes when i do a MySQL query I keep getting the error Warning: mysql_fetch_row() expects parameter 1 to be resource. I don't understand why. What does this error mean, am I doing something wrong? I've googled …

Member Avatar for Dr. Raven
0
10K
Member Avatar for Woobag

Assuming that PHP_EOL directive and the new line "\n" do the same thing, neither are working. I've recently updated to PHP5 after a long hiatus from PHP altogether. I have tried putting the newline character in single and double quotes, but to no avail... Anyone have any suggestions? Thanks in …

Member Avatar for EvolutionFallen
0
2K
Member Avatar for codedome

I need my php application to be able to work with biometric device, such as fingerprint scanner. I need ideas/resources, pls.

Member Avatar for diafol
1
830
Member Avatar for janzaldo

when im test in my local machine i dont have any error but when im trying to test in web i have this error, the same DB, the same tables, the same data in both structures any idea???? Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in …

Member Avatar for sudhir1234
0
2K
Member Avatar for servis

i want to get the alert on responce text, but getting nothing, my code is as follow, [ICODE] <?php session_start(); ?> <script type="text/javascript"> var xmlHttp function checkCAP(str) { if (str=="") { alert("plase enter the code"); return } xmlHttp=GetXmlHttpObject() if (xmlHttp==null) { alert ("Browser does not support HTTP Request") return } …

Member Avatar for karlosdpm
0
3K
Member Avatar for ItecKid

How to check if a vector is NULL? [code=c++] vector <int> test; [/code] How to check if this is NULL? [code] if (test == NULL) [/code] returns compiler errors.

Member Avatar for Lucaci Andrew
0
5K
Member Avatar for rm_daniweb

Hi All, I just want to share my code. A lots of website said that php is on server side and javascript is on client side...they said we cannot run php on javascript... here's how we can run php function when you click call the onchange events on javascript. [code=php]function …

Member Avatar for talad
0
3K
Member Avatar for xeption12

hello guys, what is the difference between padding and margin in css? isnt the same thing?

Member Avatar for hudonkotel
0
108
Member Avatar for laetitia--

Hello, I am newb with php I got a strange message error, that is: [U]Notice: Use of undefined constant y - assumed 'y' in /home/www/healthforum.uib.no/htdocs/ohcsurvey/survey/sp1.php on line 139 [/U] I am making a survey where the user , by cliking radio buttons, can choose between yes or no to a …

Member Avatar for ryantroop
0
1K
Member Avatar for mbabaali

hi everybody i have this code for selecting data from my sql database but when i outpot it it it looses align ment,can someone help me ,pliz,thanks [code]<?php //The code is for selecting all patients records in the database //This selects the database and connects to the database require_once('Connections/Database.php'); mysql_select_db($database_Database, …

Member Avatar for gopinathan
0
159
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 raine

<? $connect = mysql_connect("localhost", "adamf", "adamf123") or die ("Wrong password, jerk."); mysql_select_db ("adamf"); $insert="INSERT INTO product (product_id, product_name, product_type, product_brand, product_year) VALUES (1, 'Cyber', 1, 1, 2001), (2, 'Motive', 8, 1, 2005), (3, 'Oracle', 8, 2, 2005)"; $results = mysql_query($insert) or die(mysql_error()); $type="INSERT INTO producttype (producttype_id, producttype_label) VALUES (1, 'Heads'), …

Member Avatar for get-innocuous
0
845
Member Avatar for cwarn23

In these three functions, you can filter to a url to just the domain name. There are three main methods of doing so which are all shown in the example and the usage of each function is shown in the example.

Member Avatar for diafol
0
705
Member Avatar for pete harby

Hi I am really struggling here and cant see the syntax error. It is probably a " but could really do with a hand as to why I get the error: unsxpected T_STRING on line 14 My php code is as follows: [php]<?php include_once("php/library/lib.php"); include_once("php/library/template.php"); include_once("php/library/database.php"); // //$database = new …

Member Avatar for hoffmen99
0
4K
Member Avatar for stangn99

Hi All....this looks like a nice place to ask questions :) I'll start off by saying that I'm a total noob. I have a DIV with a static height set. Some dynamic content is being loaded into the DIV via PHP. My problem is, when I click on a link …

Member Avatar for aditya19897
0
2K
Member Avatar for vijaysoft1

i want the best secured php class to provide [B]log in[/B] feature in my web with access protection and session timeout , plz help me

Member Avatar for jonhy22
0
122