CF Query to WDDX to Javascript. Possible?

2010-07-20 Thread Will Blake
Hello all, I have a select menu that I need to be dynamically populated with the results of a db query. I am using jQuery/ajax to pass a value to search for in the database. This all seems to work fine except what is returned is a WDDX packet and I cannot figure out how to take the data th

Re: CF Query to WDDX to Javascript. Possible?

2010-07-20 Thread Will Blake
> It's been a long time since I've done this so this may not be useful, > but isn't the returned packet a Javascript array? At least it was > when I used to use cfwddx, so it was just a matter of normal array > manipulation. Thanks for the response! You would think so, but from my experienc

Re: CF Query to WDDX to Javascript. Possible?

2010-07-20 Thread Will Blake
OK, first not sure why there are two threads going about this question... Anyway, to address some of the comments: I currently on CF 6.1 so I (should?) be able to get a JSON response, I will take a look at that route. I do not have a lot of experience doing this type of thing so I am pretty

Re: CF Query to WDDX to Javascript. Possible?

2010-07-20 Thread Will Blake
Cameron, Agreed. We do have CF 9 we just have not installed it yet. I am not 100% sure what is taking so long to get it done, but that is a decision that much higher up in the food chain than I am. I'll check out CFLib.org and see what I can find. Thanks for the info. Will >> OK, fi

Re: Can anyone decode this?

2011-05-17 Thread Will Blake
I know this is a few days old, but just curious the OP says this attack was caught by some custom code. Will cfqueryparam not protect input sufficiently enough to disrupt this kind of attack? Should additional measures be used? Thanks, Will >Bobby, > >Good work... except don't respond and

Re: web service image upload issue

2011-06-06 Thread Will Blake
Peter, I am noticing you are using fileRead to read the file into memory and then convert it to base 64 and then to binary. Why not use cffile action=readbinary to avoid jumping through all the hoops to start? Plus I am thinking that it is likely that using fileread to start and cffile to w

CFFTP connection problems

2009-02-23 Thread Will Blake
Hello All, I am sure this is something simple, but I am attempting to use CFFTP to put a file on our web server. I can access this web server using any FTP software I want (i.e. Core FTP) but when I try to connect using CFFTP I get an error stating the connection has timed out. To be exact

Re: CFFTP connection problems

2009-02-23 Thread Will Blake
> Hello All, > I am sure this is something simple, but I am attempting to use CFFTP > to put a file on our web server. I can access this web server using > any FTP software I want (i.e. Core FTP) but when I try to connect > using CFFTP I get an error stating the connection has timed out.

Re: CFFTP connection problems

2009-02-23 Thread Will Blake
>Can you telnet from the coldfusion to the remote host? > >telnet remote.myserver.com 21 > >If you get something like this: >Escape character is '^]'. >220 (vsFTPd 2.0.1) > >Then there is nothing blocking communication to the remote FTP server. That >way, you can remove that from the list of prob

Re: CFFTP connection problems

2009-02-24 Thread Will Blake
>Will, > >Ah... Your problem could be networking. On our network (for example) we have >both "internal" and "external" IP addresses running through cisco pix. We >have to run an "internal" DNS server to dole out interal IP addresses for >the reason you describe below. A web server could not (for e

CFLOOP inside a CFQuery

2009-06-09 Thread Will Blake
Hello all, I have a dynamically generated form that I need to figure out how to get the data from that form in to our database. Here is the way it works. First the client types in the number of machines they have and the form generates the correct number of rows so that the info about each

Re: CFLOOP inside a CFQuery[RESOLVED]

2009-06-09 Thread Will Blake
>Check the following link might help... >http://tutorial431.easycfm.com/ > Thank you! I was thinking I had to do something like this to get it to work. I just did not know exactly what it was I needed to do so searching for it was difficult. Thanks again! Will ~

Re: CFLOOP inside a CFQuery

2009-06-09 Thread Will Blake
WOW! Thanks for all the feedback! One question about CFQUERYPARAM, I use this when I accept anything that is available to the general public, but is it necessary to use this when the form is only accessible via username/password? Is there ever a reason not to use CFQUERYPARAM? Thanks everyone