I'd like to do something similar. In my case, drive space is limited. So, I'd
really like to store the image once, but then control how it is displayed
totally on the fly.
I'd like 3 options..
1) Display as thumbnail
2) Display full size for web
3) download original picture for printing
I'm
Can you give me an example of the code to take a filename and turn it into a
variable?
So xyz.com/253435 turns into xyz.com/display.cfm?id=253435
We do this with several of our apps. In IIS, we set the Custom Error
for 404 to a cfm page (/404.cfm for example). That page looks at the
URL's
I have a website that has listings, but I want to make it so that people can
type in a much smaller url that will then redirect (so they can put them in
classifieds for example).
In my example, I want to have http://HomeZula.com/1057 automatically direct
people to
I am using cfdirectory to get the directory listing of a remote folder. I
upload pictures to this folder and then run a script on my webserver to look
for new files and enter them into a database.
I am using a different webserver for the picture files then my website is
hosted on for space
I am using cfdirectory to get the directory listing of a remote folder. I
upload pictures to this folder and then run a script on my webserver to look
for new files and enter them into a database.
I am using a different webserver for the picture files then my website is
hosted on for space
In what form are the search results originally - a query?
Yes
I ended up saving the results to a table and then sorting them there.
I tried SortStruct... but it kept giving me an error about a complex variable.
Thanks for the help and I'll check out the book. :)
I subscribe to a service that I pass an address and it displays the addresses
Lat and Long.
Currently, I manually grab these coords and update a table, but I'd really like
to automate this process.
I know there has got to be a way in CF to grab the contents of a web page and
then parse it
Thanks!
As I mentioned.. this is a service that I subscribe to, so I am expected to
automate this.
CFHTTP
and beware the legal issues of such screen scraping ;-)
Bryan Stevenson B.Comm.
VP Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax:
I've been playing with this for awhile and I can't quite seem to get it to
work. (Nothing new there!)
I have a search page and I want to rate results with relevance to the search.
So, I decided to loop through all the possible listings and place them into a
struct
Structs still confuse me a
I am trying to find a way to get a list of all files (including those in sub
directories) in a given directory.
I've found how to get the name of a given path
CFSET FileName =
GetFileFromPath(http://members.wri.com/brettb/pictures/2002/2002_05_06/;)
But I'd like this to be more generic.
I need to pass some varibles into a LIKE clause in a SELECT statement.
I am having trouble with the format.
AND valuedesc LIKE '[EMAIL PROTECTED]@year%' is what I was doing and know this
is wrong cause it see that garb as a literal string. How do I pass
this so the vars
show?
Here is
hole thing in JS and don't
post if the user clicks cancel:
function delete_presentation()
{
return confirm(Do you really want to delete this
presentation??);
}
Pascal
-Original Message-----
From: Brett Barnhart [mailto:[EMAIL PROTECTED]
Sent: 13 September 2004 18:15
To: CF-Tal
Right, and that is the approach that I got to work. But, I really don't want to have to call an external file. Right now, it reloads the current page when a button is pressed and tests to see which button is pressed. I just need a way to block the reload if they didn't mean to press the button.
If you are interested, I'd be happy to send you the code. I am adding to something that someone else wrote, so I am not 100% sure how it all works.
But you're still going to need to do something if they hit 'OK',
right?Which would require you to 'call an external file'.
You should really
INPUT TYPE=image NAME=delete SRC="">
ALT=Delete Presentation confirm(Do you really want to
delete this presentation??);
Pascal
Thanks! That did it... FYI for archival purposes, I had to change the link to
INPUT TYPE=image NAME=delete SRC="" ALT=Delete Presentation
The double in onClick
Yes it did, thanks for your help!
Unfortunately, having them on the same page made it enough more difficult that it was beyond my introductory knowledge of _javascript_ (but I am taking a class!). :)
I was having a hard time passing a variable from the _javascript_ to use in CFIF.. if I could
I've been working on this all morning and I am missing something. I have a
delete button on a page and I want a _javascript_ Confirm box to pop up.
I am trying to assign a variable in the _javascript_ and then Test that script
in my CFIF. This works fine until I add the confirmation box.
I
Ah, I see... my approach is all wrong... OK.. I'll go down this avenue!
Thanks!
Looks to me like you're trying to mix _javascript_ and server side coding.
Can't do that.
You could make the delete button a form submit button, using _javascript_,
then on the form handler page, test your cfif
Could someone post the script to do this? I could figure it out if I spent some time.
I'd like to have a debug include tag that I can use to display this info at the very end..
I would say that you should include any scope that is used in your
application.So, like I said, depending on your
19 matches
Mail list logo