I've got a mid-sized site a client needs to have translated into a few
languages. They do not want to use a web service (like google) for this. They
would like to have more control over the output.
The content is partially in html on the pages, and partially in the database as
well (a
I have a CF page with this:
cfhttp method=POST url=http://test.local/test.php;
cfhttpparam type=formField name=msg value=I \ am
/cfhttp
cfoutput#cfhttp.filecontent#/cfoutput
And a PHP receiving page:
you said: ?php
echo $_POST['msg'];
?
The output of the CFML page is:
you said: I \\ am
So, who
The wireshark dump confirmed that it WAS NOT cfhttp doing this, but rather a
feature of php called magic quotes
More info posted here:
http://help.imified.com/faqs/building-imified-bots/backslashses-are-inserted-before-certain-characters-when-my-bot-replies
I have a CF page with this:
cfhttp
Has anyone out there actually used the SMS gateway in CF? If so, which
provider did you use? I hear talk about compatible providers but have never
actually know someone who had a provider that integrated well with CF. We
ended up writing our own wrapper for our providers API. But a nice
I need to index web page contents for doing verity (or similar) searching. I'd
like to insert just the text that a web page returns and not any of the other
stuff (like html, JS, CSS, images, etc)
I noticed that cfhttp.filecontent returns the entire contents of the page,
anyone have a good
Thanks for the tip I will have a look at doing this using some regex.
I did find this excellent sud tutorial on extracting text for indexing from
html. I really wish there was something equivalent in a nice cfc, because
there is ton here that I really never considered.
I'm not so set on extracting specific elements from a page, more about indexing
all the actual text on a page to index and show our users pages like their
search term. Search engines do this extraction and analysis on web pages.
Hi all, been banging my head against the wall getting a simple hello world
app running on CF8. Apparently there is some issues with the form field
validator in CF8?
At any rate more details are here:
http://www.facebook.com/topic.php?uid=2205007948topic=9278post=69186#post69186
Looks like
Looks to me like the problem is that it is trying to validate the element that
you deleted when you inserted the new item with _CFFIX appended.
cf8 must be doing form validation by looping over the fieldnames instead of the
form structure itself, and when you delete elements from the structure,
I tried changing form.fieldnames and replacing the old fieldnames with the new
ones on the whim that maybe it was looping over that list for validation, but
that did not do anything. It is referencing that element of the form some
other way.
Is anyone aware of how to just disable form
Seems like this would work, I must say I've seen uglier hacks in my day...
Any other ideas out there? FYI I am running mySQL 5.
Thanks for the tips!
~|
Download the latest ColdFusion 8 utilities including Report Builder,
CF ships with the directory watcher gateway which is pretty cool. Saves from
having to set those scheduled tasks for every 5 min watching for changes in a
directory.
I have had need lately to do that same thing on a DB table. A sort of queue
system where I will write records to a DB table,
Something like a trigger would be perfect. But the thing is I need to do some
stuff that is not DB related (like send a message, etc). Can the trigger call
a cfc or do an http call to some cfm? Can a stored proc call that? I've
usually had my cfm calling stored procs not vice versa.
13 matches
Mail list logo