TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Showing results 1 to 13 of 13
Search took 1.36 seconds.
Search: Posts Made By: trmbne2000
Forum: MySQL & Databases 06-30-2009, 02:52 PM
Replies: 2
Views: 1,490
Posted By trmbne2000
OK, I actually ended up fixing up the problem by...

OK, I actually ended up fixing up the problem by experimenting. This SQL solved it:

SELECT Lat,Lng FROM zip_lookup WHERE LOWER(ZIP) = 'k1a 0b1' AND ID > 0

Anyone know of any reasons why this would...
Forum: MySQL & Databases 06-30-2009, 01:07 PM
Replies: 2
Views: 1,490
Posted By trmbne2000
Problem executing MSSQL query in PHP

Hello, I'm trying to run the following query against an MSSQL database in php:

SELECT Lat,Lng FROM zip_lookup WHERE LOWER(ZIP) = 'k1a 0b1'

zip_lookup is a table with latitude an longitude stored in...
Forum: General 02-21-2009, 08:37 PM
Replies: 5
Views: 559
Posted By trmbne2000
All of their subdomains like...

All of their subdomains like username.wordpress.com are probably handled with wildcard dns (http://en.wikipedia.org/wiki/Wildcard_DNS_record). As far as being able to get www.username.com to map to...
Forum: Absolute Beginners 02-06-2009, 10:17 PM
Replies: 1
Views: 817
Posted By trmbne2000
Try this: ...

Try this: http://www.codeassembly.com/Simple-chained-combobox-plugin-for-jQuery/
Forum: Absolute Beginners 02-06-2009, 10:15 PM
Replies: 1
Views: 921
Posted By trmbne2000
The problem with your code is the if...

The problem with your code is the if (count($errors)) { on line 4 of the login function. Your error array is $error earlier in the code.

I see that you are passing in the username and password...
Forum: Absolute Beginners 02-06-2009, 10:03 PM
Replies: 1
Views: 1,754
Posted By trmbne2000
The way I read this is that you have the 3...

The way I read this is that you have the 3 records, and a form where you want to be able to update the status for all three at the same time? You would need to give each input element a unique name...
Forum: General 12-07-2007, 01:14 AM
Replies: 4
Views: 2,212
Posted By trmbne2000
I was browsing the web today, and I found...

I was browsing the web today, and I found (http://www.darknet.org.uk/2006/04/ajax-is-your-application-secure-enough/) an interesting article on securing AJAX apps. Based on that reading, I came up...
Forum: General 12-06-2007, 03:58 AM
Replies: 4
Views: 2,212
Posted By trmbne2000
I have permissions in my actual script already....

I have permissions in my actual script already. Say that I am User #27, someone could send a post to the ajax page using userID of 27. Say User #27 has permission to do the requested action, the...
Forum: General 12-06-2007, 03:13 AM
Replies: 4
Views: 2,212
Posted By trmbne2000
Application Error Secure AJAX Server Scripts

Hi,

I'm building an information portal using AJAX. However, I have a concern about the security of the server side scripts that perform the AJAX operations. They are secured using sprintf(), so I'm...
Forum: General 12-03-2007, 05:23 AM
Replies: 7
Views: 1,026
Posted By trmbne2000
Ok, the one thing I see is this...

Ok, the one thing I see is this line:
'.$o['choice']. ' - ' .$v['total'].' - ' . round(100 * $v['total'] / 3, 2) .'
I may not be following your logic right, but it looks like you are dividing the...
Forum: General 11-30-2007, 07:41 PM
Replies: 39
Views: 1,871
Posted By trmbne2000
PHP Quiz

Result:
20 of 20
100%

Perfect!!!

Time Spent
2:23
Forum: General 11-30-2007, 04:37 PM
Replies: 7
Views: 1,026
Posted By trmbne2000
It also uses MSSQL, so its slightly different...

It also uses MSSQL, so its slightly different from mysql.
Forum: General 11-30-2007, 04:36 PM
Replies: 7
Views: 1,026
Posted By trmbne2000
Poll sample

Hi, this is my first post... A way back I did a simple poll for a web site, here is a snippet from the code that displayed everything: (its an excrept from a class, but everything you need should be...
Showing results 1 to 13 of 13

 

All times are GMT. The time now is 02:33 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design