473,657 Members | 2,294 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating dynamic INDEPENDANT instances of XML

2 New Member
I am creating a website, using flash instances which will be dynamicly based on xml information (pulled from, the users, sql db; thru php).

I am running into a problem, mapping this out on paper; How can I create independant instances of the same xml information file, seperate for each user.

I can pull the information from the sql db, thru php, into an xml file. However if 2 users perform the same query, at the same time, I am worried that it will only pull one of the persons information out of the xml file, thus being exploited.

Please forgive me, this is my first post, and I believe this is where php can solve this problem. If not, please point me in the right direction if you can. Thanks
Jul 30 '08 #1
3 1119
Atli
5,058 Recognized Expert Expert
Hi. Welcome to Bytes!

Just to make sure I understand.
Your PHP code is pulling data from various sources, creating XML markup containing this data, and saving it to a file, which is then loaded by your flash application?

If so, rather than saving it to a .xml file, could you not simply have your PHP print the XML data (just as if you were showing it to a client via a browser) and have your Flash application load the .php file instead of the .xml file?
Jul 31 '08 #2
tedmoseby
2 New Member
never thought of that approach, just dynamicly creating a php file from sql, in xml format: and pointing the flash to that php file as xml?, sounds abstract, I love it, as long as it works I will crawl back into my shell. Nevertheless THANK YOU so much for the guidance, I am sure you have not heard the last of my questions..

Thanks !!!
Jul 31 '08 #3
Atli
5,058 Recognized Expert Expert
Glad I could help.
Hope we'll be seeing you around here again.
Jul 31 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
561
by: Altramagnus | last post by:
I have 30 - 40 type of different window. For each type I need about 20 instances of the window. When I try to create them, I get "Error creating window handle" My guess is there is a maximum number of window handle, because if I reduce to about 2 instances of each window, it can run. But not 20 instances of each window. Does anyone know what the problem is? is it really because it exceeds the maximum number of window handle?
5
2861
by: Stephen Lamb | last post by:
How would one do the following at runtime? I'm really interested in steps 2 and 3. 1. Read data from somewhere that describes types and instances. 2. Construct new types from data. 3. Construct instances of types from data. 3. Use new types and instances in a type safe manner. e.g.
2
4560
by: Patrick | last post by:
I want to define a set of web-form templates in XML and render the equivalent web-form with ASP.NET, then process any input server controls on the form. Reading the XML file from Page_load is easy, but 1) How do I set about dynamically creating user controls (like TextBox, TextArea) --- simply Declare and initialised (new) the user controls?? How do I "place" it graphically on the form. Ideally, I want them to lay out in a table, one...
12
3153
by: Mats Lycken | last post by:
Hi, I'm creating a CMS that I would like to be plug-in based with different plugins handling different kinds of content. What I really want is to be able to load/unload plugins on the fly without restarting the application. What I did was to create an AppDomain that loaded the plugins and everything was great, until I tried to pass something else that strings between the domains...
9
2831
by: Daz | last post by:
Hello people! (This post is best viewed using a monospace font). I need to create a class, which holds 4 elements: std::string ItemName int Calories int Weight int Density
16
10320
by: pukivruki | last post by:
hi, I wish to create a temporary table who's name is dynamic based on the argument. ALTER PROCEDURE . @PID1 VARCHAR(50), @PID2 VARCHAR(50), @TICKET VARCHAR(20)
6
1972
by: jimbo | last post by:
Dear all, I am more or less new to c++ programing and therefore still have problems with some fundamentals :( At the moment I try to build a GUI-Application with Qt4. Sometimes I have seen in the tutorials I have to instance a class with the new command. Like QWidget QLabel *label = new QLabel("Hello World"); Then I have created a pointer to a QLabel Object. The other way I have seen is to just use QLabel label("Hello World"); Without...
3
3548
by: DaveJ | last post by:
Hi, This is quite a simple question (hopefully). If I create a vector (on any container) on the heap e.g. std::vector<std::string* m_VectorOfStrings = new vector<std::string>; I know that the vector itself will be placed on the heap, but if I just add strings to it such as:
8
1614
by: Marc | last post by:
I am studying ASP.NET and have a simple question reading the first lines in this page: http://msdn.microsoft.com/en-us/library/ms366723(VS.80).aspx Are they talking about compilation of C# code to IL code or about compilation of IL code to machine dependant instruction code?
0
8407
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8837
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8739
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8512
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7347
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5638
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4171
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1969
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.