Posts
 
Reputation
Joined
Last Seen
Ranked #126
Strength to Increase Rep
+11
Strength to Decrease Rep
-2
94% Quality Score
Upvotes Received
51
Posts with Upvotes
43
Upvoting Members
29
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
2
43 Commented Posts
3 Endorsements
Ranked #486
Ranked #221
~177.69K People Reached
About Me

I survive.

Interests
Playing with kids, Snowboarding, Waisting time at forums when I should be working on my own stuff.
PC Specs
Dual boot Hack Pro/Microjunk:i7950 6GB Ram 1GB VRam 5750BTW: I have reformatted and rebuilt the M$ side…
Favorite Tags

450 Posted Topics

Member Avatar for Duki
Member Avatar for Dani
22
17K
Member Avatar for sreein1986

This will give you the basic functionality: [code=javascript] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script language="javascript" type="text/javascript"> var timerid = 0; var images = new Array( "image1.jpg", "image2.jpg", "image3.jpg"); var countimages = 0; function startTime() { if(timerid) { …

Member Avatar for diafol
0
7K
Member Avatar for bimaljr

[QUOTE=bimaljr;704109]I tried it but it only converts ASP to PHP.. and my site is based on ASP.NET 2.0 (VB based)[/QUOTE] Yeah, I'm pretty sure that is going to be way too complicated to find a widget that will do it for you since asp.net is just the framework. The code …

Member Avatar for Neo_1
0
4K
Member Avatar for R0bb0b

Hello. Quick question. I have several thousand emails pulled in from several email boxes throuph php imap and I need to search each subject with an array of search terms which returns a bitmask, one bit for each index of the array. 1 = found, 0 = not found. So, …

Member Avatar for diafol
0
160
Member Avatar for spiderling

I have not played with it yet, I'm sure the functionality is limited, but I think you may be able to add, insert and possibly delete pages. You may be able to do more with it too, not quite sure, but check this out [URL="http://www.daniweb.com/forums/thread133021.html"]http://www.daniweb.com/forums/thread133021.html[/URL]

Member Avatar for Isaac_4
0
7K
Member Avatar for R0bb0b

I am building a selenium test suite which pulls a list of tests to run and then forks those tests to multiple parallel processes. Each process needs its own connection to the database because of two reasons: one, when the child process ends the connection is closed and two, when …

Member Avatar for veedeoo
0
285
Member Avatar for zaheerprince

Unless you want to pay an hourly rate I suggest reading this: http://www.w3schools.com/php/php_forms.asp and this: http://www.w3schools.com/php/php_mysql_insert.asp . If you have any questions about the process, those go here.

Member Avatar for zaheerprince
0
749
Member Avatar for R0bb0b

Hi, I am a PHP developer that has been put on a Java project and am trying to apply the same principles with new ones that Java provides and am stuck. I have successfully instantiated a class with a variable class name, which contains a constructer that has one parameter. …

Member Avatar for R0bb0b
0
174
Member Avatar for debasisdas

[QUOTE=Shanti Chepuru;697086]"Fear of Suffering is Worst than Suffering itself "[/QUOTE] You can try to explain this to people until your face turns blue and they just don't get it.

Member Avatar for James_28
8
17K
Member Avatar for dudegio

This is certainly not the best place to ask about desk top applications but I would probably start with something like this [URL="http://www.download3k.com/Software-Development/Components-Libraries/Download-Barcode-Reader-SDK.html"]http://www.download3k.com/Software-Development/Components-Libraries/Download-Barcode-Reader-SDK.html[/URL]

Member Avatar for phpdeveloper123
0
3K
Member Avatar for zeeshan_kust

that title's a bit deceptive huh? here is your standard join query: (by the way, try to get away from doing "select *", just gets slopy after a while) [CODE=sql] select * from table1 inner join table2 on table1.fieldname = table2.fieldname inner join table3 on table2.fieldname = table3.fieldname [/CODE] that …

Member Avatar for anson davis
0
692
Member Avatar for snadboy6371

Try uninstalling it, then going into the file system and completely removing the wamp directory and then reinstalling it. Or try installing xamp or apache2triad instead.

Member Avatar for veedeoo
0
245
Member Avatar for antwan1986

[QUOTE=antwan1986;702676]Hi everyone and thanks for reading! I use JavaScript to create sets of text boxes on the fly. I also have a hidden counter in a text box on the form which I also post to my PHP script. This hidden counter is how I tell PHP how many text …

Member Avatar for com00085
0
3K
Member Avatar for davy_yg

K, a few things here: first, If you have purchased a hosting account from a company, I doubt that your username is going to "root" and your servername is going to be localhost. second: this line doesn't make sense: $sql=("SELECT * FROM user WHERE username='$username' and password='$encrypted_password'") or die(mysql_query); and …

Member Avatar for davy_yg
0
136
Member Avatar for R0bb0b

I am running multiple sites on one server and am tired of seeing 404s coming from missing apple-touch-icons. I am required to have 6: apple-touch-icon-57x57-precomposed.png apple-touch-icon-72x72-precomposed.png apple-touch-icon-114x114-precomposed.png apple-touch-icon-144x144-precomposed.png apple-touch-icon-precomposed.png apple-touch-icon.png Each "property" docroot I am hosting may, and probably will, have several sub-docroots all using the same apple touch icons …

Member Avatar for R0bb0b
0
666
Member Avatar for pham.vanmanh.50

just curious, what happens when you put an exit(); after the header() call? If that doesn't solve the problem then put an exit("End"); just before the header call and then view source after you run it to see if there is any white space or characters prior to the word …

Member Avatar for diafol
0
1K
Member Avatar for gopi17
Member Avatar for broj1
0
257
Member Avatar for kishoresai438

This should be done while you are filling the array not afterward, that is unless the array is auto populated through some data reading process. While you are filling the array you should be searching it for duplicate values while populating two other arrays for duped and nonduped keys. As …

Member Avatar for R0bb0b
0
88
Member Avatar for anirban1087

check to see if you are running php in safe mode. if not you may have allow_url_fopen turned off in your php.ini file. I believe that in order to do what you are trying to do that you need to have this option turned on.

Member Avatar for R0bb0b
0
293
Member Avatar for monsterpot

[QUOTE=monsterpot;700093]Apologies first if this is covered elsewhere - I searched but could not find. I am looking for a way to search the web for the presence of a JavaScript code snippet within the HTML <body> of a web page. I would specify the code snippet and send the bot …

Member Avatar for aqeel.mmd
0
940
Member Avatar for thomasjc

Here's one way [CODE=PHP]<select name="selLanguage"> <? while ($row = mysql_fetch_assoc($result)) { ?> <option <? if($row['langid'] == $userslangid) { echo 'selected="selected" '; } ?>value="<? echo $row['langid']; ?>"><? echo $row['langname']; ?></option> <? } ?> </select>[/CODE]

Member Avatar for almostbob
0
931
Member Avatar for umcookeg

I would use an ajax call to the following script. [code=php]$allowedfuncs = array([allowed function calls]) if(in_array($_get['funccall'], $allowedfuncs)) { $func = $_get['funccall']; $output = $func(); // This calls $_get['funccall']() echo $output; } else { exit(); } /* functions go here */[/code] //Or something along those lines. Don't see a need for …

Member Avatar for rajeevphp2011
1
2K
Member Avatar for rkayd

Use jquery and ajax, then on saveBroserSizeSession.php you can save the dimensions to session and use them throughout your website. [CODE=javascript] function sendBrowserSize() { var myWidth = 0, myHeight = 0; if( typeof( window.innerWidth ) == 'number' ) { //Non-IE myWidth = window.innerWidth; myHeight = window.innerHeight; } else if( document.documentElement …

Member Avatar for almostbob
0
4K
Member Avatar for allena

I am not a Java developer so I may be speaking out of turn here, but don't you have to install Java on the local machine in order to run it? If that's the case then can you actually classify it as a server side language?

Member Avatar for umorenpaul
0
948
Member Avatar for R0bb0b

I am trying to do a simple focus() on mobile. Actually I am using an iphone simulator, but from what I can tell, I am not the only one having this issue but I cannot find a solution. Is there something that I can use instead with jquery? This works …

0
83
Member Avatar for veledrom

You are going to have to stick this part: [CODE=php] <?php if ($_POST["Submit"] == "Add") { ....inserting data in here } ?> [/CODE] at the top so that you don't leave any white space before the opening <?php tag. Then after your mysql_query use a the header() function. [CODE=php] header("location: …

Member Avatar for tarun305
0
207
Member Avatar for kuldeep04

I'm reading that the way to go on this is PDFlib-PDI, I cannot give you any examples as I have only worked with pdflib, not pdi.

Member Avatar for sdjewani
0
1K
Member Avatar for Shanti C
Member Avatar for Netcode
0
924
Member Avatar for abs0lut01

without cron the only way would be from a page that is accessed from the web. You would probably have to keep a log of successful mail events and use an if statement in one of your more visited pages. In the if statement you would use the date() function …

Member Avatar for hostobtain
0
202
Member Avatar for ptara1

I would do something like this. It's not yet debugged. [CODE=php] <?php $arrQueryParts = array(); $arrQueryParts["age"] = ""; $arrQueryParts["sex"] = ""; $arrQueryParts["hair"] = ""; $arrQueryParts["Dress"] = ""; foreach($arrQueryParts as $key=>&$value) { $strVarName = $key . "F"; if(strtolower($$strVarName) != 'no preference') { $arrQueryParts[$key] = " " . ucwords($key) . "='" . …

Member Avatar for R0bb0b
0
689
Member Avatar for Shantanu88d

I would use jquery [URL="http://api.jquery.com/keyup/"]keyup[/URL] or [URL="http://api.jquery.com/keypress/"]keypress[/URL] for that at

Member Avatar for Shantanu88d
0
247
Member Avatar for singaiah39

try: html [CODE=html] <DIV ID="Loading" STYLE="position:absolute;z-index:5;top:30%;left:42%;display:none;"> Please Wait.... </DIV> [/CODE] javascript [CODE=javascript] function getData() { document.getElementById('Loading').style.display = 'block'; ajaxGetData() document.getElementById('Loading').style.display = 'none'; } [/CODE] but personally I use jQuery for all this stuff now.

Member Avatar for R0bb0b
0
1K
Member Avatar for ray_broome

This is how I usually do it: [CODE=php] <?php $querylog = "TRANSACTION STARTED<br /><br />"; $commit = "commit"; mysql_query("begin", $dbconn); $query = "insert into ..."; if(!mysql_query($query, $dbconn)) { $commit = "rollback"; $querylog .= "error in query: " . $query . " : " . mysql_error($dbconn) . "<br /><br />"; } …

Member Avatar for onlysumon
0
1K
Member Avatar for 08dce335

nobody is going to teach you relational databases on a forum. You need to take the time to read some tutorials and pick up a book or two.

Member Avatar for R0bb0b
-1
72
Member Avatar for duliduli556

I'm so glad, but there are places for gloating about what you've just learned and this isn't it.

Member Avatar for R0bb0b
-2
151
Member Avatar for Joshua Kidd

[QUOTE=Joshua Kidd;1516005]Hello all, Is there any way that I can count the number of lines in one column in a table? Such as I want to count all the names in this column on First name: [url]http://www.globalvirtualairlines.com.../web%20app.php[/url] How would I do so? Thanks in advance![/QUOTE] that's a dead link but …

Member Avatar for evanism
0
146
Member Avatar for Joshua Kidd

we can start here: [CODE=php] $strMiddleColumnValue = "0"; echo trim($strMiddleColumnValue) == "0"?"NONE":$strMiddleColumnValue; [/CODE]

Member Avatar for Joshua Kidd
0
116
Member Avatar for branding4you

use mysql_num_rows [CODE=php] if (mysql_num_rows($result) == 0) { echo "No records found"; } [/CODE]

Member Avatar for branding4you
0
148
Member Avatar for vforchova

See my response here: [QUOTE=R0bb0b;1515792]I've never done bound a click event handler to a table row but you could try: include this in the head section: [CODE=html]<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>[/CODE] here would be your javascript [CODE=javascript] var srcTable = this.iContext.getElementById("tbody"); var tmpRow = null; var tmpCell = null; var i; var …

Member Avatar for R0bb0b
0
222
Member Avatar for vforchova

I've never done bound a click event handler to a table row but you could try: include this in the head section: [CODE=html]<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>[/CODE] here would be your javascript [CODE=javascript] var srcTable = this.iContext.getElementById("tbody"); var tmpRow = null; var tmpCell = null; var i; var arrRowOnclicks = []; for(i=0; …

Member Avatar for R0bb0b
0
1K
Member Avatar for jacob21

use [URL="http://php.net/strtotime"]http://php.net/strtotime[/URL] in conjunction with [URL="http://php.net/date"]http://php.net/date[/URL]

Member Avatar for paulrajj
0
82
Member Avatar for rpv_sen

what is the most recent error in phpmailer [CODE=php]echo $objMail->ErrorInfo;[/CODE]

Member Avatar for rpv_sen
0
3K
Member Avatar for samsons17

try putting single quotes around the email address. Also, make sure that you are at least using mysql_real_escape_string for all human interaction into the database.

Member Avatar for kurtopia
0
2K
Member Avatar for Scottmandoo

I don't see anything wrong syntax wise but that doesn't always mean much. I've made some modifications to your code, which should shed some light on what is going on. Replace your code with this, run it and if it doesn't make the issue completely obvious then post the output. …

Member Avatar for happytogether
0
104
Member Avatar for swilliamrobert

I don't know if it is possible but maybe there is a little lag in the update to the database or the time that it takes the script to finish processing? If that is the case then it also maybe the case that a browser is hitting the address multiple …

Member Avatar for R0bb0b
0
877
Member Avatar for jacob21

I would never send an email like that professionally. You should use something like phpmailer, which is open source and is well documented. [URL="http://phpmailer.worxware.com/"]http://phpmailer.worxware.com/[/URL]

Member Avatar for R0bb0b
0
187
Member Avatar for gazzy1
Member Avatar for okiiya

It's ok as long as you have permission. I have actually built several like this. At work we have url wrappers turned off but generally it is turned on though. If url wrappers are turned on then you can just do a file_get_contents on the url save that to a …

Member Avatar for metalix
-1
108
Member Avatar for epicrevolt

You know, a good read might do you some good. I would start with something like this: [URL="http://articles.sitepoint.com/article/ajax-jquery"]http://articles.sitepoint.com/article/ajax-jquery[/URL] BTW: Jquery is a javascript library that makes ajax much easier but if you don't want to use Jquery the same concept applies. Find a good tutorial and spend a few hours …

Member Avatar for epicrevolt
0
197
Member Avatar for ahsan1

ensure that you are not exceeding your max upload size. You can update the following values on your php.ini file: upload_max_filesize post_max_size Or if you don't have access to php.ini, you can also do this with .htaccess. If you are sure that this is not the case start off with …

Member Avatar for R0bb0b
0
93

The End.