Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 500
Search took 0.69 seconds.
Search: Posts Made By: bdl
Forum: JavaScript programming 12-06-2011, 03:51 PM
Replies: 3
Views: 350
Posted By bdl
Is there a question in there somewhere? How...

Is there a question in there somewhere?

How is your code working / not working?
Forum: MySQL 12-06-2011, 03:49 PM
Replies: 9
Views: 1,586
Posted By bdl
Just to be clear here, `gameId` isn't a variable...

Just to be clear here, `gameId` isn't a variable in your database, it's a field in a table (`wp_rpgmax_games`). The variables referenced are $gameId and $_GET['gameId'] (technically an array index)....
Forum: PHP 11-18-2011, 09:42 PM
Replies: 12
Views: 564
Posted By bdl
Not true. You're confusing a PHP function and a...

Not true. You're confusing a PHP function and a MySQL function. SHA (or the alias SHA1) is a MySQL function run within the context of the query itself. So it's perfectly legal to have SHA('text'), or...
Forum: PHP 12-17-2010, 04:39 PM
Replies: 2
Views: 376
Posted By bdl
Assuming the second bit of code (the 'send form'...

Assuming the second bit of code (the 'send form' code, as you put it) is the script 'send_update_english.php', let's examine what the script is doing.
$message="$detail";
Ok, so in this...
Forum: MySQL 10-31-2010, 05:30 AM
Replies: 4
Views: 1,095
Posted By bdl
Understand two things: 1) The value from the...

Understand two things:

1) The value from the $row['INDEX_ID'] is in the GET query string when the script 'mod.php' loads. Thus you will access that value using $_GET['id'].
2) Your SQL statement...
Forum: JavaScript programming 08-26-2010, 09:25 PM
Replies: 6
Views: 7,077
Posted By bdl
Don't forget the jQuery Event object...

Don't forget the jQuery Event object preventDefault() method (http://api.jquery.com/event.preventDefault/), e.g.

<form id="theForm">
<input type="text" id="username" name="username"/>
<input...
Forum: JavaScript programming 07-16-2010, 03:39 PM
Replies: 2
Views: 639
Posted By bdl
You're building a Chrome plug-in or you're...

You're building a Chrome plug-in or you're working on an HTML document with JS/DOM code embedded in it?
Forum: PHP 07-09-2010, 08:36 PM
Replies: 4
Views: 943
Posted By bdl
Right, agree with Keleth for the most part, you...

Right, agree with Keleth for the most part, you should be looking at using "unobtrusive JavaScript" on your site and design the client side code as an "enhancement" to a fully functional site.
...
Forum: PHP 07-09-2010, 08:13 PM
Replies: 11
Views: 991
Posted By bdl
Holy crap. Use a session or base64 encode...

Holy crap. Use a session or base64 encode part/all of that data (note that base64 will not necessarily shorten the data, just make it more manageable).

EDIT: if this is a realistic real estate web...
Forum: PHP 07-09-2010, 03:41 PM
Replies: 4
Views: 943
Posted By bdl
First let's make sure you understand that PHP...

First let's make sure you understand that PHP (server-side) scripting is different than JavaScript (client-side scripting). You cannot simply put links in a document and have PHP "include" content...
Forum: MySQL 06-01-2010, 07:52 PM
Replies: 3
Views: 624
Posted By bdl
You do realize your connection params are shown...

You do realize your connection params are shown in the clear there, don't you?
Forum: DOM and JSON scripting 04-22-2010, 01:54 AM
Replies: 2
Views: 1,192
Posted By bdl
Since these aren't actual hardcoded elements in...

Since these aren't actual hardcoded elements in your markup, have you reviewed what the DOM generated markup looks like using Firebug or the Firefox "web developer" extension?
Forum: PHP 04-22-2010, 01:51 AM
Replies: 2
Views: 495
Posted By bdl
Pretty vague question, please elaborate. Do you...

Pretty vague question, please elaborate. Do you intend to perform the conditional statements in the database (MySQL? SQLite? Postgresql, etc).

Why would the `user` field store a numeric value?...
Forum: PHP 04-02-2010, 12:51 AM
Replies: 10
Views: 18,107
Posted By bdl
Echo out your $sql variable, and use...

Echo out your $sql variable, and use mysql_error() to track down any errors.
Forum: Apache configuration 04-02-2010, 12:39 AM
Replies: 2
Views: 968
Posted By bdl
Why is this in Apache? If you wanted a...

Why is this in Apache?

If you wanted a cronjob to run once a month, it can run either on the 1st of each month, or once per month on the date starting with today, tomorrow, etc. It's in how you...
Forum: General web building 03-17-2010, 01:16 AM
Replies: 6
Views: 1,508
Posted By bdl
What programming experience do you currently...

What programming experience do you currently have? Languages you're adept with? What do you want to "do"? I might not recommend PHP at all, but maybe Python or Ruby.

It's tough nowadays to work on...
Forum: PHP 03-15-2010, 01:18 AM
Replies: 4
Views: 489
Posted By bdl
Please edit your code and remove your username...

Please edit your code and remove your username (root) and password. I suggest you never allow any connections as root from anything but the mysql command line running on localhost. Always create a...
Forum: JavaScript programming 03-14-2010, 08:16 AM
Replies: 2
Views: 450
Posted By bdl
What was your JavaScript question?

What was your JavaScript question?
Forum: PHP 03-13-2010, 06:47 PM
Replies: 7
Views: 746
Posted By bdl
Hey Ron. From a purely technical standpoint, no...

Hey Ron. From a purely technical standpoint, no script should be named "name.php.html", it should either be "name.php" or "name.html". Either one of these two extensions can be parsed as PHP if the...
Forum: PHP 03-13-2010, 05:15 PM
Replies: 5
Views: 704
Posted By bdl
I read the title as "how to secure the PHP /...

I read the title as "how to secure the PHP / MySQL server platform". Might want to change that.

As per the comment Dormilich made, try Google (http://tinyurl.com/ykzyxbx).

What is this script...
Forum: HTML & CSS 03-13-2010, 05:03 AM
Replies: 16
Views: 5,061
Posted By bdl
What sort of file? A CSS or JavaScript file can...

What sort of file? A CSS or JavaScript file can be included using the LINK and SCRIPT tags, respectively. Otherwise, you'll have to utilize some method using a client side or server side script to...
Forum: PHP 03-07-2010, 06:36 PM
Replies: 11
Views: 1,019
Posted By bdl
@el_nino> Hopefully by now you've realized that...

@el_nino> Hopefully by now you've realized that you commented out your call to mysql_query(), and that you've omitted the call to return the resultset, e.g.

$result= mysql_query($query);
while(...
Forum: PHP 03-07-2010, 02:16 AM
Replies: 6
Views: 685
Posted By bdl
Hmm. You have two lines that perform either an...

Hmm. You have two lines that perform either an UPDATE or an INSERT statement, and they both look like this:

mysql_query($sql);


You should add some additional troubleshooting in there...
Forum: PHP 03-06-2010, 08:14 PM
Replies: 11
Views: 1,019
Posted By bdl
Ah. Ok, now I see this: <a...

Ah. Ok, now I see this:

<a href="update.php?id=<?php echo $row['PlayerID']; ?>">update</a>


and this:

$id=$_GET['PlayerID'];
Forum: PHP 03-06-2010, 06:49 PM
Replies: 11
Views: 1,019
Posted By bdl
What does your actual markup look like? In other...

What does your actual markup look like? In other words, do the links look correct and actually work to send a valid `PlayerID` value to the "update.php" script?

If you load "update.php?id=100" (or...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT +1. The time now is 03:54 AM.