Best Way To List Online Users With PHP But Without MySQL?
Apr 21, 2010
I want to make a script that will list online users when they enter a page.Simple way is record newly entered users into MySQL and list them for example every second.But I don't think it's a good idea with tons of users like in a facebook app come in and out of the page.There would be a way with Flash and PHP sockets but I really don't want to use Flash either.So is there any option left?
View 2 Replies
Similar Posts:
May 27, 2010
Example: If my SWF has a simple 2D charactor sprite, which moves around on a 2d background... What will I need to make it so that a player has to create an account and sign in, and then others can do the same and they can all see each other in the room. I have been unable to find resources on what it takes to turn a flash game into a chatroom or an "MMO".
View 3 Replies
Apr 30, 2004
How to make users online counter with AS and php.Sample: if in my page are 5 users and one of them close browser my page show online 4 users!!! and when another people come then show online 5 users
View 2 Replies
Apr 30, 2004
How to make users online counter with AS and php! Sample: if in my page are 5 users and one of them close browser my page show online 4 users!!! and when another people come then show online 5 users!!
View 2 Replies
Jul 22, 2009
I am a novice Flash user as I have built one "members section" website using Flash CS4 (but used Actionscript 2).I am now in the process of learning ActionScript 3 and am working towards building a v2.0 of my original website. The original website uses a PHP authentication system, where a user logs in through a regular HTML page. Once authenticated, they are given the option to access the members section.I wish to eliminate the need to have our users log in through this HTML page as I wish this to be built directly into Members Section 2.0 however I haven't got slightest clue how to construct a users "login" function.
have users login (authenticate themselves) through the main page of this Flash project by the flash project referencing the MYSQL user names and password database. Additionally, there are three types of users that will be logging into this site (Status A users, Status B users and Status C users).
We need to protect various downloadable documents (Word files and PDF's) to ensure only those with the correct authentication are granted access to particular files. I.E. Status "A" users get access to everything, Status B users get access to almost everything and Status C users get access to very few files.
I assume the best method for this, is to store the files in three folders, once for each Status Class therefore Status A users will access files from the Status A folder, Status B users will only be able to access files from the "B" folder and so on. best method to protect these files from unauthorized access I.E. "C" users attempting to download a document that is only intended for "A" users?
View 11 Replies
Aug 12, 2003
i'm trying to create an online brochure that users design with products/images they've selected. users will be able to drag a thumbnail to a pre-designed area, then swap them around to their liking. currently i'm in the beginning stages and just learning the power of actionscript.
i've attached two sample .fla files i've been working with. the first sample i have two thumbnails drag to a target and enlarge to a defined size. the second sample i used a tutorial from flashkit --- drag drop swap. it works but the as is not up-to-date. i'm trying to incorporate the two ideas together but get bizarre effects. most of the examples i find are close but no cigar.
View 7 Replies
Apr 16, 2012
So, here is the question. I have a small flash application that sends some variables to a php script (via POST), and that php script sends them to a mySQL database.
This works fine when I'm testing my flash offline, I go to phpmyadmin, and the registry is done. When I upload the swf to a online html, this stops working. It no longer creates another registry in the database. I have no ideia why this happens.
I read a bit about it and found out about cross domain policy, and thought it might be the problem. Thus I made a small .xml file and uploaded it to both servers (the one the swf is on, and the one that has the database), and its still not working.
[Code]...
View 1 Replies
Sep 30, 2009
I have bought a chat package, and over 9 months i am running into the problem hat it is gooing slow with more users online. So i decided to install the "flash debug player 10" and check what exacly is happening. Within 2 minutes the flashlog.txt (error log of debug player) was 195KB I will now paste the error messages that are dumped into flashlog.txt tha occur the most and i think it seems as if the error message comes from a loop, because there are so many of these warnings:
[Code]...
View 2 Replies
Jun 27, 2011
getting the list of the users currently connected to a BlazeDS server? Is there any built-in mechanism of knowing this? or do I have to implement some kind of server side logic every time a user access my Flex application and store all logged in users details somewhere and retrieve them later?
View 1 Replies
Sep 21, 2010
i have made a chat app and i want to let the user add another users that he can find by searching the database of users to his own list, and grouping them ,,, this is can be done but ,,, now in my app when the user connect to the lobby he get all the online connected users in his list i mean when connecting to the online user list sharedobject the user list contains all the connected clients to the lobby and if the number of the connected users is by hundreds or thousands i think
if i create a loop for updating the own user users list statues it would not be good idea,,,
so what is the best way to let the user build his own users list and get the statues of each user in his list from the application online users sharedObject witch connected to the lobby app
View 24 Replies
Mar 23, 2007
If I have variables coming in to flash from a PHP script.
Whats the best way to populate a drop down list with these variables?
View 3 Replies
Mar 2, 2012
Basically each row in my table is a different food. I have columns for basic things like description. But, I have a "ingredients" array, and "how much" array, in an array. Basically on my end I can go ingredientsArray[0] howMuch[0] to display the ingredient and how much of it. So, Id like to save both of these arrays in a cell for the row of the food. I heard I could serialize the array, and save it. But I need it to be searchable. (Also, there is no set limit to how many ingredients. So I cant like have a column for each thats why I am going the array route). I'm doing my programming in AS3, and usng AMFPHP to connect to Mysql.
View 4 Replies
Sep 13, 2009
I just launched the second version of my Flash chat framework for developers.I believe I have succeded creating one of the easiest and most customizable Flash chat components on the web .Check out the DEMO chatroom >>
View 6 Replies
Feb 2, 2011
I have a typical Flex-based application that was written to use a Java/Hibernate/MySQL backend. The client changed the requirements - now they want to distribute it on a CD where the user can just run the app without any installation or a network connection.
To do this, I certainly need to eliminate the web server and the database server and adapt my application (with as few changes as possible, of course) to a stand-alone application that will fit on a CD/DVD. I've managed to export the data to XML and read it into Flex, but I'm wondering if there's a way to recreate the Hibernate data structures in Flex so I could change as little code as possible. Failing that, is there any way to keep the existing Java/Hibernate external to the Flex code but retrievable without installing Apache Tomcat or MySQL?
View 3 Replies
Jan 13, 2010
I have a Flex application which manage a database composed by 7 tables.I have created the insert form and all work great. Now I wanto to improve the Form performances; the idea is to replace the TextInput of the Form with ComboBoxes which are provided by the DataBase tables
View 1 Replies
May 25, 2010
I have downloaded MySQL JDBC driver from [URL]... How do I configure it?
View 1 Replies
Oct 22, 2011
In my table the Collation is:latin1_swedish_ci (but i tried UTF8_unicode too).In my flex application when it shows the table,it displays it correct,with all accent and pointing correct,but in the table is like :
View 1 Replies
Aug 11, 2010
I'm using flex 4.1 to write an application. i read in the documents that has the rowCount property to set how many items to display. the does not have that property. how can I limit the list to display 3 items ?
View 3 Replies
Nov 9, 2010
I am working on an older Flash project created in CS3 ActionScript 2.0 How can I make the pointer cursor change to the hand when hover over a list item?_root.slidePanel.myList'myList' is the list. I have traced out the contents of the List MC and it has a child MC called 'content_mc'. I assumed this was the object containing all of my list items but the only members of this MC I can see (when tracing them out) are 'setRGB' and 'searchKey'.
View 1 Replies
May 26, 2011
Flex 3 List control had a itemRollOver event. Flex 4 List doesn't have it. Is there an equivalent or a workaround for this issue?
View 2 Replies
Jun 8, 2010
Creating a dynamic list and associating a picture with each list item. i need the list to be scrollable, and i want the list and it's associated picture to be displayed randomly when the application is re-launched. i.e it doesnt show the same list everytime.
I also what to be able to sort the displayed list items. e.g if the list items is about restaurants, i want users to be able to sort the displayed items by either; district, cusine type and gastro type.
View 0 Replies
May 10, 2007
I have a combobox and list component on the stage. The combobox has 3 selections. How do I get it so that each selection triggers the specific xml file to load into the list component? I can't get them to communicate to each other.
View 1 Replies
Dec 31, 2009
Here is a snip from within my code:
[Code]...
The 'recommendations' dataProvider is an ArrayCollection of String, which are generally sentences about as long as this one. By setting the variableRowHeight and wordWrap properties as shown, if a sentence is too long to fit on a single line, everything works fine- the row expands and the messages show on two lines, or occasionally three.
The space allocated for this panel within the entire canvas means if the total text size of 'recommendations' exceeds six lines, I need for the entire list scroll. This is also working just fine. The trouble is when using the mouse wheel to do the scrolling- Flex scrolls both the entire list and the single item where the mouse is hovering. Often this results in only the second half of a sentence being visible. Non-programmer friends I have asked to look at this noticed this, and tell me it as a problem. If a user does not notice the dual scrolling, and sees only a fragment of a sentence, it will be perceived as an error in the application.
[Code]....
View 1 Replies
Apr 23, 2011
I want to add a SimpleButton to a list item in a list component. I am getting the CellRenderer for the list item I want and using the addChild method to add the simple button. The button appears in the right spot on the list item but it doesn't function like a button. It's like the contents of the buttons first frame is added to the CellRenderer and nothing else.
View 1 Replies
Jul 6, 2011
When a user selects a category from the first drop down box then i want the 2nd drop down to be updated based on the selection of the first drop down. I have created multiple ArrayCollections whose names are set to the "data" values of the first drop down, for instance:
[Bindable]
public var countries:ArrayCollection = new ArrayCollection([
{label:"USA",data:"USA"},
[code].....
View 2 Replies
Aug 31, 2011
I am currently working on a project in Flex and I am having a hard time having a list's contents ALL be selected by default. Wondering how to do this.
<mx:List id="list" dataProvider="{dp}" allowMultipleSelection="true"/>
I'm just trying to have the list all selected.
View 2 Replies
Mar 23, 2012
Why I have to press 2 times the arrow key down to get a navigation through the list items in a list component of Flash?
Theres any workaround for this? I have a listener for keyboard event that checks if keyCode is equal to 40 if it is then I use 'stage.focus = list', but I have to press 2 times key arrow down to start navigating through list items.
View 1 Replies
Jun 28, 2010
I'm trying to animate a list as I delete the top row. All the examples I can find use itemsChangeEffect to bind to the effect, but this property exists only in MX lists, not spark lists.
Any idea how I can get the same effect done in Spark Lists?
I'm trying to remove the top most item in the list with a slight fade out effect before the rest of the items move up to replace the gap.
View 2 Replies
Sep 28, 2009
I am creating a map of the USA and when a user mouses over a particular state,I want to display a movie clip (which is just a text list of our dealers in that state). When the user mouses out I want the list to disappear.However, I want the user to be able to mouse over the list to scroll the list and whenever I try it, obviously the state loses focus and the MOUSE_OUT Event fires.How to I get around this?Here is the code I have currently:
Code:
PA.addEventListener(MouseEvent.MOUSE_OVER, showDealers);
PA.addEventListener(MouseEvent.MOUSE_OUT, hideDealers);[code]............
View 1 Replies
Nov 23, 2009
while i using drag & drop from listbox1 to listbox2 ,how can i get all the items of listbox2 in flex
View 1 Replies