Re: [PHP] State and City Database

2010-07-09 Thread Jason Pruim
On Jul 9, 2010, at 10:43 AM, tedd wrote: At 2:07 PM +0200 7/9/10, Thijs Lensselink wrote: On 07/07/2010 10:02 PM, tedd wrote: Hi gang: Does anyone have a source for a US State and City database? Cheers, tedd Hey Tedd, Maybe this helps. I used the data files for some other projects.. h

[PHP] SOAPParam - Does it possible?

2010-07-09 Thread Augusto Flavio
Hi, I'm creating a wsdl server but I have one doubt about the soapparam::soapparam(). I want to know how to return several parameters using the soapparam::soapparam(). I'm doing this: class MyApi implements API { public function Send($param) { $resp = array('resposta' => 'works', 'eve

RE: [PHP] State and City Database

2010-07-09 Thread Tommy Pham
> -Original Message- > From: Tommy Pham [mailto:tommy...@gmail.com] > Sent: Friday, July 09, 2010 3:15 PM > To: 'PHP' > Subject: RE: [PHP] State and City Database > > > -Original Message- > > From: tedd [mailto:tedd.sperl...@gmail.com] > > Sent: Friday, July 09, 2010 12:17 PM > > T

RE: [PHP] State and City Database

2010-07-09 Thread Tommy Pham
> -Original Message- > From: tedd [mailto:tedd.sperl...@gmail.com] > Sent: Friday, July 09, 2010 12:17 PM > To: PHP > Subject: Re: [PHP] State and City Database > > To all: > > http://php1.net/b/zipcode-states/index.php > > I have not tried the state/city/zip demo with any other than the

Re: [PHP] Login In script quesitons

2010-07-09 Thread Gary
; >> ?> >> > > That bit of the code has a newline in it, which counts as output :p > > I've not looked over the rest yet, but see if that helps. > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > > > > > __ Informati

Re: [PHP] Login In script quesitons

2010-07-09 Thread Gary
it be easier if I sent you the files? Thanks again. Gary __ Information from ESET Smart Security, version of virus signature database 5266 (20100709) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Arrays passed to functions lose their indexing - how to maintain?

2010-07-09 Thread Marc Guay
My bad, I had some leftover code running array_values() on it before it got passed. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Login In script quesitons

2010-07-09 Thread Ashley Sheridan
On Fri, 2010-07-09 at 16:04 -0400, Gary wrote: > ?> > http://www.ashleysheridan.co.uk

Re: [PHP] Login In script quesitons

2010-07-09 Thread Gary
already sent by >> >> (output >> >> started at >> >> /home/content/45/6359745/html/login/include/loginGlobals.php:281) >> >> in /home/content/45/6359745/html/login/include/form_token.php on line >> >> 22 >> >> >>

Re: [PHP] Login In script quesitons

2010-07-09 Thread Ashley Sheridan
t; > >> Line 15 is: setcookie("token", "", time()-42000); > >> Line 22 is :if (setcookie("token", $_SESSION["token"], time()+86400)) { > >> > >> loginGlobals stops at line 278 > >> > >> Again, thank you fo

Re: [PHP] Login In script quesitons

2010-07-09 Thread Gary
hp:281) >> in /home/content/45/6359745/html/login/include/form_token.php on line 22 >> >> Line 15 is: setcookie("token", "", time()-42000); >> Line 22 is :if (setcookie("token", $_SESSION["token"], time()+86400)) { >> >> loginGl

Re: [PHP] Arrays passed to functions lose their indexing - how to maintain?

2010-07-09 Thread Ashley Sheridan
On Fri, 2010-07-09 at 15:55 -0400, Marc Guay wrote: > Hi folks, > > I have an array that looks a little something like this: > > Array ( [6] => 43.712608, -79.360092 [7] => 43.674088, -79.388557 [8] > => 43.674088, -79.388557 [9] => 43.704666, -79.397873 [10] => > 43.674393, -79.372147 ) > > bu

[PHP] Arrays passed to functions lose their indexing - how to maintain?

2010-07-09 Thread Marc Guay
Hi folks, I have an array that looks a little something like this: Array ( [6] => 43.712608, -79.360092 [7] => 43.674088, -79.388557 [8] => 43.674088, -79.388557 [9] => 43.704666, -79.397873 [10] => 43.674393, -79.372147 ) but after I pass it to a function, it loses it's indexing and becomes: A

Re: [PHP] Login In script quesitons

2010-07-09 Thread Ashley Sheridan
oken", $_SESSION["token"], time()+86400)) { > > loginGlobals stops at line 278 > > Again, thank you for all your help. > > gary > > > > > > > __ Information from ESET Smart Security, version of virus signature > database 5266 (20100709) __ &g

Re: [PHP] Login In script quesitons

2010-07-09 Thread Gary
Line 15 is: setcookie("token", "", time()-42000); Line 22 is :if (setcookie("token", $_SESSION["token"], time()+86400)) { loginGlobals stops at line 278 Again, thank you for all your help. gary __ Information from ESET Smart Security, versio

Re: [PHP] State and City Database

2010-07-09 Thread tedd
To all: http://php1.net/b/zipcode-states/index.php I have not tried the state/city/zip demo with any other than the Safari browser. It works for that browser. Sorry, I should have checked it out via other browsers before introducing it to the list. I will work on it. Cheers, tedd -- ---

Re: [PHP] State and City Database

2010-07-09 Thread Floyd Resler
On Jul 9, 2010, at 2:32 PM, Jim Lucas wrote: > Floyd Resler wrote: >> On Jul 9, 2010, at 1:58 PM, Jim Lucas wrote: >> >>> Paul M Foster wrote: On Fri, Jul 09, 2010 at 10:43:09AM -0400, tedd wrote: > Here's an example of my copy working: > > http://php1.n

Re: [PHP] State and City Database

2010-07-09 Thread Jim Lucas
Floyd Resler wrote: > On Jul 9, 2010, at 1:58 PM, Jim Lucas wrote: > >> Paul M Foster wrote: >>> On Fri, Jul 09, 2010 at 10:43:09AM -0400, tedd wrote: >>> >>> >>> >>> Here's an example of my copy working: http://php1.net/b/zipcode-states/index.php >>> Problem: the city and state se

Re: [PHP] State and City Database

2010-07-09 Thread Floyd Resler
On Jul 9, 2010, at 1:58 PM, Jim Lucas wrote: > Paul M Foster wrote: >> On Fri, Jul 09, 2010 at 10:43:09AM -0400, tedd wrote: >> >> >> >> >>> Here's an example of my copy working: >>> >>> http://php1.net/b/zipcode-states/index.php >> >> Problem: the city and state select drop-downs won't sta

Re: [PHP] State and City Database

2010-07-09 Thread Jim Lucas
Paul M Foster wrote: > On Fri, Jul 09, 2010 at 10:43:09AM -0400, tedd wrote: > > > > >> Here's an example of my copy working: >> >> http://php1.net/b/zipcode-states/index.php > > Problem: the city and state select drop-downs won't stay dropped for me, > and won't accept anything but Lansing, M

Re: [PHP] State and City Database

2010-07-09 Thread Paul M Foster
On Fri, Jul 09, 2010 at 10:43:09AM -0400, tedd wrote: > > Here's an example of my copy working: > > http://php1.net/b/zipcode-states/index.php Problem: the city and state select drop-downs won't stay dropped for me, and won't accept anything but Lansing, Michigan. They don't drop down long eno

Re: [PHP] Login In script quesitons

2010-07-09 Thread Richard Quadling
On 9 July 2010 16:42, Gary wrote: [snip] Take a look at https://code.google.com/p/loginsystem-rd/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Login In script quesitons

2010-07-09 Thread Gary
ww.w3.org/1999/xhtml";> xxx ' . $error_msg . ''; ?> You are logged in as ' . $_SESSION['username'] . '.'); } ?> Story//text to let me know if the page opened __ Information from ESET Smart

[PHP] Re: validating form input

2010-07-09 Thread Shawn McKenzie
On 07/08/2010 02:38 PM, David Mehler wrote: > Hello, > Got a form that takes in data to enter in to a database. I want to > make it as secure and as invulnerable to sql injection and other > attacks as possible. I'm wondering if mysqli_real_escape_string or > stripslashes should be used or if the f

[PHP] Last day to submit your Surge 2010 CFP!

2010-07-09 Thread Jason Dixon
Today is your last chance to submit a CFP abstract for the 2010 Surge Scalability Conference. The event is taking place on Sept 30 and Oct 1, 2010 in Baltimore, MD. Surge focuses on case studies that address production failures and the re-engineering efforts that led to victory in Web Application

Re: [PHP] State and City Database

2010-07-09 Thread tedd
At 2:07 PM +0200 7/9/10, Thijs Lensselink wrote: On 07/07/2010 10:02 PM, tedd wrote: Hi gang: Does anyone have a source for a US State and City database? Cheers, tedd Hey Tedd, Maybe this helps. I used the data files for some other projects.. http://earth-info.nga.mil/gns/html/ http://ge

Re: [PHP] MSSQL failing.

2010-07-09 Thread Andrew Ballard
On Fri, Jul 9, 2010 at 7:10 AM, Paul Halliday wrote: > On Fri, Jul 9, 2010 at 7:12 AM, Paul Halliday wrote: >> It was a typo :) The installation is running on FreeBSD. I am looking >> at TDS right now as a possible cause. >> > > Got it: > > In /usr/local/etc/freetds.conf: > > [global] >       hos

Re: [PHP] State and City Database

2010-07-09 Thread Thijs Lensselink
On 07/07/2010 10:02 PM, tedd wrote: Hi gang: Does anyone have a source for a US State and City database? Cheers, tedd Hey Tedd, Maybe this helps. I used the data files for some other projects.. http://earth-info.nga.mil/gns/html/ http://geonames.usgs.gov/ -- PHP General Mailing List

Re: [PHP] MSSQL failing.

2010-07-09 Thread Paul Halliday
On Fri, Jul 9, 2010 at 7:12 AM, Paul Halliday wrote: >>> >>> What am I missing? >>> >> >> Is the slash before the domain name above just a typo in your e-mail? >> It took a while to get mssql configured to where I could test it here >> since we're using Microsoft's SQL Server Driver for PHP (if yo

Re: [PHP] MSSQL failing.

2010-07-09 Thread Paul Halliday
>> >> What am I missing? >> > > Is the slash before the domain name above just a typo in your e-mail? > It took a while to get mssql configured to where I could test it here > since we're using Microsoft's SQL Server Driver for PHP (if you are > running PHP under Windows, I'd strongly recommend thi