Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
7
Posts with Upvotes
6
Upvoting Members
6
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
1 Endorsement
Ranked #856
Ranked #1K
~38.6K People Reached
About Me

I am programmer who likes connecting the real world to the web!

Interests
Gardening, Programming, Guitar, Bealgebone, Minecraft
PC Specs
I5 running Windows 7
Favorite Tags
Member Avatar for cjohnweb

I spent some 30 minutes or so writing up my question and upon submitting my question I was forced to create an account called Dahzz or something along those lines. And now my question that I just perfected for 30 minutes, is gone. Poof! Gone. Deleted. Doesn't exist anymore. It's …

Member Avatar for pty
0
4K
Member Avatar for cjohnweb

Hi there, I'm a long time PHP programmer, 6 month newb python developer, but entirely new to git and gitlab. I've spent 2 solid work days trying to solve this issue, I've chatted with others in chat rooms, all to no avail. I'm not certain where I should post this …

Member Avatar for Jorge_10
0
2K
Member Avatar for cjohnweb

Hello! I'm working on a program at work for a device we are building, it's a device that (basically) in real-time reads in sensors, makes decisions about said data, and performs output. I have a loop that runs, and then calculates how long to sleep, so we can get as …

Member Avatar for vegaseat
0
354
Member Avatar for cjohnweb

Hi there! I've googled around, and can't seem to find an answer to this question: How do you check if UART# has already been enabled or not? And what I mean is, I need to be able to get into python and say "If uart1 is not enabled, enable it". …

0
129
Member Avatar for cjohnweb

At work I am taking on some development stuff on the beaglebone black and I have to learn Python. I've had a blast so far!! So I'm trying to understand what some of the code is doing. I have a sample script that opens a port and listens for connections …

Member Avatar for Gribouillis
0
1K
Member Avatar for cjohnweb

Hello! I am normally in the PHP / Web Development section of DaniWeb. It's a pleasure to finally have a reason to check out other sections of DaniWeb! So, I am logged in as root at the Command Line Interface over SSH - on Debian 7 Wheezy running on a …

Member Avatar for cjohnweb
0
336
Member Avatar for cjohnweb

I have a PHP script that opens a port and asks the server if it is running, with PHP I echo a "Server Running" or an error - I want to access this script with JQuery/AJAX. Then on the website, I have a little box on the side of the …

Member Avatar for LaxLoafer
1
188
Member Avatar for cjohnweb

Hello all, I have a wordpress site, http://gardenoftomorrow.com/ As of the first 3 years, my wordpress permalink structure has been /%category%/%postname%-%post_id%/ I now plan on changing the category each post is filed under, and changing my permalink structure to /%postname%/ I made the permalink change, and I've setup redirection for …

Member Avatar for Josh Connerty
0
312
Member Avatar for cjohnweb

So I am trying to do a neat little script in a wordpress plugin that replaces matching keywords with links to other articles on the site. I think I'm done all except one little thing down here below. I need to fix the preg replace function. It should match anything …

Member Avatar for cjohnweb
0
378
Member Avatar for LastMitch

Hi I have a few questions. **1) I want to put the a text editor in the admin section so I can edit the 'home page' context from the admin section which is in php language (I have no context in the admin created yet, this will be my first …

Member Avatar for dannette
1
4K
Member Avatar for kaleem_ullah

I have developed a contact us page and also PHP code that works perfect. Know the only problem is that after submitting the form it shows only "Message sent" on a new page. I want that after submitting the form page will redirect back to home page. It is only …

Member Avatar for cjohnweb
0
3K
Member Avatar for Panathinaikos22

Hello, i want to make this site http://dotest.webege.com/main.php To show datas per pages, how all this work? How i just show 10 recrods per page, how i create dynamic pages? Any link for this, how all that work?

Member Avatar for cjohnweb
0
2K
Member Avatar for cjohnweb

I'm trying to understand XPath, but I've come acrost an issue I can not seam to find an answer for. In this case it seams that XPath is not returning what it should. I've got a sample html file, test.html: <html> <div> <p>1</p> <p>2</p> <p>3</p> <p>4</p> <p>5</p> </div> </html> And …

Member Avatar for pritaeas
0
660
Member Avatar for cjohnweb

I've considered myself somewhat of a procedural PHP expert, there is nothing I can't solve...Except this. You know when you try to declare a function that already exists and in the error you get a reference to where the function is located, the file and line number? Well, I am …

Member Avatar for veedeoo
0
177
Member Avatar for cjohnweb

I have a project that, instead of using MySQL, I am supposed to use txt files to manage data. I have no say in this, I'm doing the project for a client. So I wrote a test file with functions for writing these data files, reading, etc. But it's not …

Member Avatar for cjohnweb
0
170
Member Avatar for cjohnweb

So I am trying something new in a script and I can't seam to find more information on it. I've seen it and I've used it, but what do you call it? How would you search for it? [code=php] <?php $var = <<<UPPERCASELETTERS "Some Content in which I don't have …

Member Avatar for cjohnweb
0
120
Member Avatar for cjohnweb

Overview So I've got this site I've been working on for months. I thought I had it all figured out. But then I Google'd for my site, and clicked a link, and the same functionality does not work. Details Site: [url]http://whentoplant.com/[/url] Walkthrough - Everything seams to work Ok, lets walk …

Member Avatar for cjohnweb
0
185
Member Avatar for cjohnweb

Hello, I've built myself a nice, simple little store to sell some stuff I've got laying around and some nice jewelry I got last week. I would like to give users the option to pay with PayPal exclusively (since it will also process CC's I figure that's all I really …

Member Avatar for cjohnweb
0
498
Member Avatar for cjohnweb

I've been looking, and there seams to be a lack of Ron Paul (for president 2012) Wordpress Themes. So I think I'm going to have to make my own...but then I remembered I suck as design. So I was wondering if anyone might know of a good resource where I …

Member Avatar for kertjoert
0
115
Member Avatar for cjohnweb

Hey there, I'm still kinda learning JS. I can't figure this one out. I googled and discovered the issues is with placing the <!DOCTYPE html> tag at the top, but how to resolve the issue? I've a document with some Javascript and JQuery in it, it works great! I add …

Member Avatar for Taywin
0
2K
Member Avatar for vasuv

Hi, I am new to HTML kind of stuff. I have some documents in my own folders for different applications. I want keep all the documents in related Hyperlink under that particular department. after creating all the hypertlinks that link link should navigate to that particular document. once it is …

Member Avatar for Taywin
0
102
Member Avatar for cjohnweb

I google'd myself silly, I can't find tutorials for this. I hope someone could lend me a hand. I'll try to make this simple. I have a PHP & MySQL driven site. I have a form for adding new content. The form has a set of check box options that …

Member Avatar for cjohnweb
0
464
Member Avatar for cjohnweb

I have this in a script of mine: [code=javascript] function add_option(section){ var sec = section.id; var addnew = document.myform.addnew.value; alert('add_option: section: '+addnew); [/code] I am pulling text from the input with the name of addnew, and it works. I would like to use a variable in place of the "addnew" …

Member Avatar for cjohnweb
0
195
Member Avatar for clbembry

I have a mySQL that is continuously being added to and I need to make an AJAX function that checks the database periodically and only returns the results that it hasn't seen before.

Member Avatar for Brillig
0
159
Member Avatar for vizz

I am using following code to generate menus [CODE]<?php $menu = array(); $menu['home'] = 'Home'; $menu['mypage'] = 'My Page'; //Add in the format of: $menu['page name'] = 'Page Title'; $title='Home'; //Default title function generateMenu() { global $menu,$default,$title; echo ' <ul>'; $p = isset($_GET['p']) ? $_GET['p'] : $default; foreach ($menu as …

Member Avatar for vizz
0
1K
Member Avatar for Mona Ali

Hi to all i have done validation on single fields but i have to apply validation on 3 text field that at least one of thre is filled .i make a code but that logic doesnot work .. html code [CODE]<html> <head> <script type="text/javascript" src="jstest.js"></script> </head> <img src="idtech_logo.jpg" alt="logo" width="1500" …

Member Avatar for Mona Ali
0
147
Member Avatar for cjohnweb

Hey there, So I have this domain, let's call it "keyword.com". People search google for "keyword", and I want to show up numero uno. Now, I have made the URLS on my site nice and pretty, in which lies my question. Often times, people will search for "keyword related-keyword". Is …

Member Avatar for RSSeosolution
0
368
Member Avatar for cjohnweb

Let's say this is an unknown error, possibly a syntax error, possibly an HTML error - I can't be sure. Hey there, I'm a PHP expert, but not so well with JQuery - I'm just starting out with JS in general. I have a PHP based site I am working …

Member Avatar for Airshow
0
216
Member Avatar for HelenLF

Just heard about this today. Does anyone know if this could be used as a marketing tool, or if using it is likely to help website rankings for a business? [CODE]https://plus.google.com/up/start/?sw=1&type=st[/CODE]

Member Avatar for Ken Peterson
0
143
Member Avatar for Stefano Mtangoo

This have been a problem to me for long now and I want to settle it once and for all. PHP and MySQL DateTime and date fields have been headache to me. Suppose I have fields ------Name--------------BirthDate--------LastTimeYouAte-- ------VARCHAR(255)------DATE-------------DATETIME-------- Now, When I do insert, How do I format PHP Date and …

Member Avatar for Stefano Mtangoo
0
264