Hi Cor,
I think it is because information added to a database is usually
escaped,
so when you pull it out, you get the escaped string instead of what
you originally typed.
Most, not all php coders, will put the string through something like
mysql_real_escape_string()
before inserting it into
Is the issue due to sending URLVariables to PHP and Flash expects a
value-pair back???
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
It looks good directly it is just in Flash:
This XML file does not appear to have any style information associated with
it. The document tree is shown below.
12011-07-191projec
t naam 1project omschrijving
1project
werkzhproject ordernummer
klant 1project Tinus
Plosteling3000.00lopend
I will lo
What's the best way to add signals to robotlegs?
Those of you coding in Robotlegs are probably familiar with signals being
used as a replacement for events. I'm looking to replace events in my app
for signals but there seem to be two methods of implementing them.
The first has been demonstrated b
Karl DeSaulniers skriver:
Hi Cor,
I think you will want to put htmlspecialchars() around what comes out of
the database.
More like using a proper XML generating library. I recommend the DOM php
extension.
___
Flashcoders mailing list
Flashcoders@ch
Hi Cor,
I think you will want to put htmlspecialchars() around what comes out
of the database.
$String = htmlspecialchars($database_result);
HTH,
Best,
Karl
On Jul 20, 2011, at 9:24 AM, Cor wrote:
I am loading data from a mySQL database into Flash with PHP.
But I get a string with all th
Paul,
Yes, I've heard that. I can't gush over how great it is, but it's worked well
and stably for me over an extended period of time. They're very slow at fixing
bugs and making improvements, but if you can live with what they've got...
--Dave
On Jul 20, 2011, at 9:00 AM, flashcoders-requ...
Sorry, I meant to say NOT wrapping. Problem is beyond that though.
On Wed, Jul 20, 2011 at 10:58 AM, Henrik Andersson wrote:
> Did you even look at the code he posted? The code already does that!
>
>
___
Flashcoders mailing list
Flashcoders@chattyfig.
Hmm, maybe not URL encoding.
What happens when you call the php page directly - in Firefox, does it
show you the XML, or do you have to view the source? (The former would
mean firefox considered it valid xml)
Does the XML show all the url-encoded characters, or is it just in Flash?
As an as
Did you even look at the code he posted? The code already does that!
As for the code itself, while I do not aprove of using string
concatenation to build xml, that seems to be ok.
You seem to have some sort of dodgey filter running somewhere later in
the chain. I recommend using a http reques
Have you tried without wrapping it in a CDATA tag? Could this be converting
the tags to ASCII?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This is it without the DB-conection ofcourse:
if (isset($_POST['sendRequest']) && $_POST['sendRequest'] ==
"read_all_projects") {
$sql = "SELECT * FROM tbl_projecten";
$result = mysql_query($sql);
header("Content-type: text/xml");
$response ='';
$response .="\n"
Your php code is broken then.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
http://php.net/manual/en/function.urldecode.php
On 20/07/2011 15:24, Cor wrote:
I am loading data from a mySQL database into Flash with PHP.
But I get a string with all the tag-signs replaced with %-characters:
%3C%3Fxml%20version=%221%2E0%22%20encoding%3D%22UTF%2D8%22%20%3F%3E%0A%3Cdat
a%3E%3C
I am loading data from a mySQL database into Flash with PHP.
But I get a string with all the tag-signs replaced with %-characters:
%3C%3Fxml%20version=%221%2E0%22%20encoding%3D%22UTF%2D8%22%20%3F%3E%0A%3Cdat
a%3E%3Cproject%3E%3Cproject%5Fcode%3E.
Hi,
I am using FlashDevelop with flex_sdk_4.1.0.16076 and Air 2.5 SDK -
can you change the Flex SDK your Flex Builder uses?
I think the Native Process API requires AIR 2.0 at least. You also
have to setup your #AppName-app.xml file to have the "extendedDesktop"
permissions:
extend
Thanks a lot for the help Glen,
One more question, I am using flex builder 3 and flex SDK 3.2.0, But I am
not able to find the nativeprocess API in this configuration. I tried
overlaying adobe air 2.0 on flex SDK 3.2.0 as mentioned in some forums but
still it does not work. Do I need flash builder
Hi,
Not sure, but if AppleScript files can be executable like shell
scripts in Linux, then you can call them from Air desktop using the
Native Process API.
If you download Air Launchpad and get it to generate the source
code example for the Native Process API, you can then hack it to
18 matches
Mail list logo