SMS Bind

2012-03-20 Thread Fawzi Amadu
Hello, our project needs to bind to our SMSC as receiver (Rx) in order to receive SMS that is sent to our system, unfortunately Coldfusion 9 currently seems to only bind as transceiver (TRx). Has anyone figured out a work around to get the Coldfusion SMS Server bind with the other acceptable

Implementing Paging within a div

2009-09-18 Thread Fawzi Amadu
I have a page that has two divs one containing the text description of an Item and the other, pictures relating to the item. My design is such that I want to show the pictures in groups of four within the picture holding div, and so if there are more that four (4) pictures for the item, the

Product ID - enterprise level application

2009-06-11 Thread Fawzi Amadu
I am wondering the best way to create an ID for an online advertising site that I anticipate could have about a million products uploaded a day. I had considered using create UUID I read the following from Christian Cantrell If you want the convenience of generating your own primary key

Generating appopriate transaction IDs

2009-06-04 Thread Fawzi Amadu
I am building a electronic advertisement site and I need to generate transaction IDs. Since the page will hopefully be a high volume site, I am wondering the best form of generating transaction IDs. I was considering rand function, but I read that the randrange has an upper recommended upper

Generating Transaction ID's

2009-05-20 Thread Fawzi Amadu
Hi, My application will involve generating transaction ID's and I would love to generate them in sequential order. What is the best way to do this? Also I would appreciate any pointers to the best practice in generating transaction ID's

Query - can't understand the error

2009-04-23 Thread Fawzi Amadu
Hello, I am in a quandary with my query, I have looked at it many times and cannot find the error. I am getting a too few parameters error on the line with variable filename8, any insight into how to solve this is welcome. TIA Code: cfquery name=loadExtraImgs

Creating a dynamic variable to for storage

2009-04-22 Thread Fawzi Amadu
I have a loop within which I am trying to create a various variable. My code (below) is replying an error which I believe is due the my syntax being wrong. Please advise on how to construct such variable creation. Code: cfset filename#i# = #filename# Error: Invalid CFML construct found on

Re: Creating a dynamic variable to for storage

2009-04-22 Thread Fawzi Amadu
Thanks, Ben and Adrian that solved my problem. Wrap the whole variable name in quotes: cfset filename#i# = #filename# -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help?

CFIMAGE - File referencing

2009-04-20 Thread Fawzi Amadu
I have my images for my project under the webroot folder in the e-dang folder under the image folder and in the consumer folder i.e. (wwwroot/e-dang/images/comsumer). But when I reference the file within my code (below), I realize in the error report that the path returned by coldfusion is

Re: CFIMAGE - File referencing

2009-04-20 Thread Fawzi Amadu
this instead: #ExpandPath('images/consumer/' Cnsmr_ProductIMAGE)# or #ExpandPath('/e-dang/images/consumer/' Cnsmr_ProductIMAGE)# Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Fawzi Amadu wrote: I have my images for my project under the webroot folder in the e-dang

Re: CFIMAGE - File referencing

2009-04-20 Thread Fawzi Amadu
\images instead of in C:\ColdFusion8\wwwroot\e-dang\images try this instead: #ExpandPath('images/consumer/' Cnsmr_ProductIMAGE)# or #ExpandPath('/e-dang/images/consumer/' Cnsmr_ProductIMAGE)# Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Fawzi Amadu wrote: I have my

CFIMAGE - for all formats

2009-04-17 Thread Fawzi Amadu
Hi, I am trying to resize images with CFIMAGE but when I process my code, I keep getting an error that: The images/consumer/ image format is not supported on this operating system. Initially I left the format attribute out and got the same error with a suggestion that I try using

Re: CFIMAGE - for all formats

2009-04-17 Thread Fawzi Amadu
Actually as many formats as possible, but mainly jpeg, giff. What is the image type? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: Dynamic Renaming of uploaded file

2009-04-14 Thread Fawzi Amadu
This is to both Jason and Azad. Can I use a self generated ID for renaming the files instead of the function createuuid? TIA You don't want to use the '' inside the CFFILE tag. Try this, assuming #dest# is a variable holding a full file folder path ending with '\': cfif structKeyExists(form,

Re: Dynamic Renaming of uploaded file

2009-04-07 Thread Fawzi Amadu
()#.#cffile.serverFileExt# Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Fawzi Amadu wrote: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net

Re: Dynamic Renaming of uploaded file

2009-04-07 Thread Fawzi Amadu
a typo...) do you get any cf errors? Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Fawzi Amadu wrote: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http

Re: Dynamic Renaming of uploaded file

2009-04-07 Thread Fawzi Amadu
that code just fine... do your files actually get uploaded? (you have a missing # after #dest in your code, but i assume that is just a typo...) do you get any cf errors? Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Fawzi Amadu wrote

Dynamic Renaming of uploaded file

2009-04-03 Thread Fawzi Amadu
Hello, I am trying to dynamically rename files that I am loading to my server. I have found this piece of instructional code by Christian Cantrell, but it only works for gif files. Is there a way to make it work for any type of file? And if not what is my alternative? Here is his code:

Re: Cfform upload - Form Field contains no file

2009-04-02 Thread Fawzi Amadu
I have re-written the code and it is working, except that the renaming of the files (filefield=#variables.filename#) part is not working. When I dump (see code below) the session variable that I am assigning to filefield, I get the correct result, but the filename is not changed on upload when

Cfform upload - Form Field contains no file

2009-03-31 Thread Fawzi Amadu
My code is throwing an error the baffles me. With the code below, when I select the files I need to be uploaded, the server returns an error that says that the field contained no file, while I had been able to select a file for that field. What is wrong with my code: cfform

Re: Cfform upload - Form Field contains no file

2009-03-31 Thread Fawzi Amadu
is a different issue. my guess would be because you are giving a wrong value to FILEFIELD attribute of cffile tag on the form's action page... Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Fawzi Amadu wrote: ~| Adobe

Re: Cfform upload - Form Field contains no file

2009-03-31 Thread Fawzi Amadu
is a different issue. my guess would be because you are giving a wrong value to FILEFIELD attribute of cffile tag on the form's action page... Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Fawzi Amadu wrote: ~| Adobe

Confused - page submitting to itself

2009-03-27 Thread Fawzi Amadu
I am trying to create a functionality to allow a user to upload multiple files. My code (adopted from Charles Kaufmann) attempts this by making my form page submit chosen files to the same page for processing. My attempts to achieve these have not succeeded. I either get an error telling me

Session Variable behaving oddly

2009-03-05 Thread Fawzi Amadu
I am using session variable to process user supplied information. The problem is when I submit the user form, the session variable is processed alright. But when I use the same session variable on another page, I get the wrong information. My session variable is defined as follows: cfset

Session Variable not being set - variable created during processing

2009-02-26 Thread Fawzi Amadu
I am trying to assign the value generated for the variable filename to a session variable, but when I process the page, Coldfusion reports that: The form field SESSION.consumerProductExtraImg.Img1 did not contain a file. yet I had uploaded files. What am I doing wrong? TIA cfset

Re: Session Variable not being set - variable created during processing

2009-02-26 Thread Fawzi Amadu
Hi, That variable (SESSION.consumerProduct.Cnsmr_ProductID) is being set when the session first starts and the customers enters initial details. So it is on a different page, that links to the page with the code I posted. Where are you setting this variable '

Re: Session Variable not being set - variable created during processing

2009-02-26 Thread Fawzi Amadu
Where are you setting this variable ' SESSION.consumerProduct.Cnsmr_ProductID ' prior to this block of code? William I am trying to assign the value generated for the variable filename to a session variable, but when I process the page, Coldfusion reports that: The form field

Re: Creating a variable to store information on the fly

2009-02-25 Thread Fawzi Amadu
When I try with this the coding style you gave me, I get the following error: The form field SESSION.consumerProductExtraImg.Img1 did not contain a file. The error occurred in C:\ColdFusion8\wwwroot\e-Ghana\process_UpLoadExtraConsumerProductImages.cfm: line 26 24 :

Re: Creating a variable to store information on the fly

2009-02-25 Thread Fawzi Amadu
This method also seems to create the session variable, but assignment fails. The error is: The form field SESSION.consumerProductExtraImg.Img1 did not contain a file. The error occurred in C:\ColdFusion8\wwwroot\e-G try this: cfset SESSION.consumerProductExtraImg[Img i] = filename Fawzi

Creating a variable to store information on the fly

2009-02-22 Thread Fawzi Amadu
I am trying to code an application to capture the name of multiple images that are being upload at once. I have created session variables to hold the values, but because I am using a loop to do the process I want to create the set the session variable to store current information on the fly,

Re: CFFILE - multiple uploads

2009-02-17 Thread Fawzi Amadu
Check out http://uploadformcfc.riaforge.org I have checked out this tag, but due to lack of documentation it has not been of much help. I wrote to the creator but he hasn't replied. So I still need to understand how to code for saving multiple file information into a database. TIA

CFIMAGE - writing to browser

2009-02-06 Thread Fawzi Amadu
I was trying to work with cfimage and needed to write it to the browser, unfortunately I realized that cfimage's write to browser function only used the png format which my system does not support. Is there a way (without saving the file) to write it into display it in another format? If I

CFFILE - multiple uploads

2009-02-06 Thread Fawzi Amadu
Having to alter the functionality of a site, I decided to add multiple upload functionality using CFFILE but I find that I am confused. Looking at my use of CFFILE and CFQUERY below, I am confused as to how to code for multiple uploads. cfset upLoadDestination =

Miniature images

2009-01-30 Thread Fawzi Amadu
Hello, I want to know if there is a way to have a user upload an image and then I automatically make a miniature version of it for showing summary information. TIA ~| Adobe® ColdFusion® 8 software 8 is the most important and

Using CFPRINT

2009-01-22 Thread Fawzi Amadu
I am developing a system to be used by various vendors to sell phone cards, due to the sensitive nature of the output, I want to ensure that the generated voucher details are immediate sent to the printer to be printed without the user first being shown the details (otherwise they could use the

Re: Using CFPRINT

2009-01-22 Thread Fawzi Amadu
Thanks for the direction, I thought I could print to any printer connection to the PC the user would be browsing with. So what is the best option to have a dynamically generated page printed to a printer without displays the content on screen first? Thanks. Fawzi Amadu wrote: How do I use

How to: Submitting a form to self

2009-01-18 Thread Fawzi Amadu
I am developing a site to help sell phone cards and I want to have a form that allows the seller to choose the card they want to sell from a list. I want to automatically populate the rest of the form with the relevant information about the card before submitting the complete details for

Re: Coldfusion: Real Life SMS Server

2008-11-18 Thread Fawzi Amadu
not sure i'm following you any longer but once again the test server's NOT a production server, its for testing. you want the SMS gateway. Sorry, I am not clear but that is because I may have confused myself. Yes, I understand it is a test server, and that is the experience I am not getting. My

Re: Coldfusion: Real Life SMS Server

2008-11-18 Thread Fawzi Amadu
ok (i think??). the test server's not for production connection to a your SMS provider. for that you want the SMS gateway. have you setup an instance of the SMS gateway (pointed to a CFC event handler a config file for this SMS provider)? and then started that instance? Yes, I have ( you can

Re: Coldfusion: Real Life SMS Server

2008-11-17 Thread Fawzi Amadu
it's probably not possible for most folks to debug your SMS gateway config w/out knowing the provider, etc. (and even then hard unless they have actually used them) but in general: IP OK? port OK? system ID password correct? does your provider need something special to connect? Thanks for

Re: Coldfusion: Real Life SMS Server

2008-11-17 Thread Fawzi Amadu
and just as obviously it's not clearly working. something's different between the setups. are you sure the connection to your the provider is SMPP (and not HTML)? But that is exactly my problem. I have followed the instructions and updated my configuration file with the parameters supplied by

Re: Coldfusion: Real Life SMS Server

2008-11-16 Thread Fawzi Amadu
I asked the earlier question because though, my settings in the SMS configuration file and all are correct and the server is started, it is not receiving Messages from my SMSC, though my nowSMS Server does. Fawzi Amadu wrote: Does this mean that this gateway will not work support real life

SMS Configuration

2008-11-15 Thread Fawzi Amadu
My SMS Server if failing to start after I updated the default configuration file with parameters submitted by my SMSC. Here if the file with the modifications: # # SMSGateway configuration file # Test server config # # This is the IP address of SMSC ip-address=195.4.64.43 # Port to bind to

Coldfusion: Real Life SMS Server

2008-11-14 Thread Fawzi Amadu
According to Coldfusion Developer Edition: To assist with the testing of SMS gateway applications, ColdFusion has a built-in SMS test server that works in conjunction with the pre-configured SMS test gateway. Does this mean that this gateway will not work support real life applications?

Re: Apache not working

2008-11-08 Thread Fawzi Amadu
://www.bifrost.com.au/blog/ 2008/11/8 Fawzi Amadu [EMAIL PROTECTED]: I have setup apache along with Coldfusion on a dedicates server. My problem is that when I try to access Coldfusion Administration (url: https://www.mysite.mobi/CFIDE/administrator/index.cfm, I get an error saying that apache coud

Re: Apache not working

2008-11-08 Thread Fawzi Amadu
://www.mysite.mobi/ and https://www.mysite.mobi/? mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2008/11/8 Fawzi Amadu [EMAIL PROTECTED]: I have setup apache along with Coldfusion on a dedicates server. My problem is that when I try to access Coldfusion Administration

Can't access ColdFusion Administrator on IIS

2008-11-07 Thread Fawzi Amadu
I have just installed ColdFusion 8 on and IIS 6 machine. Upon completion when I try to access Coldfusion administrator using www.mydomain.com/CFIDE/administrator/index.cfm. The system requests for an ID and password. But I did not setup any. How do I resolve this? TIA

Apache not working

2008-11-07 Thread Fawzi Amadu
I have setup apache along with Coldfusion on a dedicates server. My problem is that when I try to access Coldfusion Administration (url: https://www.mysite.mobi/CFIDE/administrator/index.cfm, I get an error saying that apache coud not reliable determine the server fully qualified domain name.

Error: ColdFusion 8 and JDBC

2008-10-17 Thread Fawzi Amadu
I am trying to create a datasource using coldfusion 8. Unfortunately after entering the required parameters (as below), CF DataSource Name: OraElectrack JDBC URL: jdbc:oracle:thin:@10.10.10.11:1521:ORCL Driver Class: oracle.jdbc.OracleDriver I get the following error message: *

Coldfusion 8 SMS Engine not sending acknowledgement

2008-10-15 Thread Fawzi Amadu
Using Coldfusion MX 7, I had the developed an SMS based program that receives SMS text and returns the appropriate acknowledgment. I have since upgraded to Coldfusion 8 and I though my SMS' are received and properly processed, I receive not acknowledgment. What am I doing wrong? or What is

SMS gateway not returning acknowledgment

2008-09-28 Thread Fawzi Amadu
I am using SMS to receive and enter data into my database. After successful processing of the data, I send an acknowledgment of receipt of the data sent to the recipient. My problem is that the acknowledgment is not being received by the simulator even though the data sent through it is

Using session variable data to create a chart?

2008-09-26 Thread Fawzi Amadu
I have written a query of queries that returns the required results. From those results I find aggregates of the various data groupings being returned (these are stored in session variables). What I need to do now is to use the aggregate results that exist in session variables to create a pie

Re: Using Max Function on more that two data values

2008-09-24 Thread Fawzi Amadu
Hi S. Isaac, this worked fine after some tweeking. Currently my first query returns 24 rows of records (because there are currently for constituencies returning results and each has 6 parties participating), but the logic beats me, how is it that your cfquery name=PartyConstituencyResults

Re: Using Max Function on more that two data values

2008-09-24 Thread Fawzi Amadu
Sorry for the premature posting I mistakenly hit the enter key. Now to my question Hi S. Isaac, this worked fine after some tweeking. Currently my first query returns 24 rows of records (because there are currently for constituencies returning results and each has 6 parties participating)so

How Do I treat this Changing Variable?

2008-09-24 Thread Fawzi Amadu
Hello, I am writing an application that is tracking the results arriving from various selected stations (230 of them). My application will dynamically displays only stations for which results have been received. I plan to have my page refresh every 5 minutes to update the results list. Now

Using Max Function on more that two data values

2008-09-23 Thread Fawzi Amadu
Hello, I have a query that returns sum of votes for each party in a constituency and I need to find out which party had the most votes within each constituency. Here is more detail about what I have done and what I want to do. I have the following tables along with their attributes(the stared

CFFILE

2008-07-25 Thread Fawzi Amadu
I have up written code to upload a file for my computer, but I am getting an error that I do not understand. I used destination=../images/with the intention of saving the file in the images folder of root of my site. Please help, TIA CODE: cffile action=upload

Re: CFFILE

2008-07-25 Thread Fawzi Amadu
Thanks for the info I changed my code as follows: CODE: cffile action=upload filefield=uploadProductIMAGE destination=C:\CFusionMX\wwwroot\e-Ghana\images\ nameconflict=makeunique and I get the following error message: Attribute validation error

Help: INNER JOIN

2008-03-06 Thread Fawzi Amadu
I have the following query in ColdFusion but I am getting an error buy I can't understand what I am doing wrong. I will appreciate any help I can get: SELECT c.ConstituencyName, s.ConstituencyNo, c.RegionCode, SUM(v.Votes) AS TotalVotes FROM Constituency c INNER JOIN

Adding Extra Conditions to an INNER JOIN

2008-03-04 Thread Fawzi Amadu
I am trying to use INNER JOIN for my query and have additional conditions, what is the right way to add them? When I run the code below, I get the error shown. How do I get this to work? SELECT v.Party, SUM(v.Votes), s.ConstituencyNo ,c.ConstituencyName, c.RegionCode FROM VoteResults v INNER