Php :: What Design Should Be Used For Holding File Information

Jul 31, 2011

I want to create flex/actionscript directory view for my files with php/mysql. I have some ideas that I want to share:

1)I am thinking of creating table (in mysql) "files" and another table "folders", when user loges in i will require all data from "files" and "folders" where Username = 'something'. But the problem is, I will create a lot of entries inside of tables. For example if I will have 100 users, and each user could create 100 entries (files or folders) it means that i will get 10000 entries inside table.

2)My second idea, and I think more safe way of doing it is creating table "users" where will be set id, username, password, ... , files, folders. In files (text format entry) will be listed information about files, and they will be dividend by "*" symbol like this:

id*file name*size(in kbytes)*path*status
example:
15*test.exe*150*/root/*private
16*test2.exe*200*/root/folder1/*public

[Code]....

Now here is only 3 file info but there can be more than 1000.

View 2 Replies


Similar Posts:


ActionScript 1/2 :: Getting Information From XML Information Sent To Flash File From The Socket Server

Jul 5, 2009

I'm kinda noobish when it comes to getting information from XML information sent to my flash file from the socket server. OK so for example the server sends me this:

[Code]...

I want to get the name of the user and the X and Y position! Is there a way I can get this information without a load of fuss from functions and other junk remember im kinda noobish.

View 1 Replies

ActionScript 2.0 :: Detect Keystrokes When The Flash File Is Not Selected And Send That Information To An .swf File

Jul 21, 2010

I need to find a way to detect keystrokes when the flash file is not selected and send that information to an .swf file. The file would be stored locally (not on the internet).

View 3 Replies

Flash :: SWC File Fails To Load In Design Mode?

Feb 10, 2012

I am exporting an SWC via Flash Professional CS5 version 11.0.0.485 with the latest Flex Component Kit (2.0.0) installed in the Extension Manager. In Symbol properties, I'm Exporting for Actionscript in Frame 1 with the Class name equal to the Symbol name.

I've imported the SWC into Flash Builder 4.6 with all the different available SDKs.

With all of them I get an error in Design Mode

"SWC File Failed to load. Any component dependent on this SWC will not be displayed in the design mode."


If I instantiate the component via the Source it runs ok and in the browser I see the component.

I know I could just say "whatever, I don't need Design mode" but I'd like to know what is happening.

Any ideas?

View 2 Replies

IDE :: Design Banner - Get Stuck When The Ball Move In The Fla-file?

Apr 8, 2009

I have tried for a while to do a flash banner but i am stuck.I have cs4 flash installed.I want to have a banner like this one on top:http:[url]....My question is how to design this banner?I have tried to do a big banner in startup panel, i have read cs4 flash for dummies but i get stuck when the ball shall move in the fla-file.

View 4 Replies

Flash - Obtain System Information Or Cpu Information Using Adobe Flex?

Feb 11, 2011

I want to build a program built around my pc specs. Is there a way to access such information as how much ram I have or how much cpu usage is being consumed, etc.?

View 2 Replies

Attach File Information After Saving It?

Aug 2, 2010

I'm currently working on a Flash application that needs to save files to Drupal. I already saved the file to the Drupal site with the File service, but I can't get to attach the file to the node with the node.save service (Upload module, not CCK file field).[code]...

View 2 Replies

AS3 :: Flash - Read Information From FLV File?

Nov 1, 2010

I am now using FancyUpload to make an upload tool for my website, for the video module, so user can upload their video in FLV format with limited size and time

With the limited size i can handle it, but with the time . I dont know how to know the total length of FLV file

View 2 Replies

ActionScript 3.0 :: Send Any Other Information Along With PDF File

Nov 13, 2010

I'm using AlivePDF in a project, and this is actually the first time I've used it. I've gotten it to work just fine except for when I send the PDF file to a server. The problem is the save() function makes a few assumptions:

1. it assumes I don't need to send any other information along with the PDF file.

2. It assumes I want to pop open another page.

3. It assumes that Flash doesn't need to know what's happened to the file after it was sent.

What I want to do is send the PDF file along with some other data with a URLRequest, and then get the response back from the server, and depending on the response move on. AlivePDF seems to have this "one size fits all" function for sending the PDF to the server. has anyone dealt with this before? Any resources I can look at? I've been all over Google trying to find answers, but I'm kind of at a loss.

View 2 Replies

ActionScript 2.0 :: Value Can Be Sent To The Php Script Along With The File Information?

May 11, 2008

I have some Actionscript code that will hopefully upload multiple files to my web server (via a PHP script). A user simply selects their files by clicking on a "select" button, then uploads them by clicking "upload".To see a current version of this, goto [url]...., sign-in using (username: test1, password: freedom7901), and click the active link.

However, I also want the user to fill out some text that will describe each file upload (the property name) - so I've also included an input text box in the flash panel, and called this instance "property_txt". Can someone give me the correct code so that this value can be sent to the php script along with the file information? I'd like to access the value via the GET or POST function in the PHP code.Here's my AS code:

import flash.net.*;
var currentListItem:Number;
var fullFileBytes:Number;
var progressBar:MovieClip;[code]...

View 2 Replies

IDE :: Load Information From A Text File?

Aug 18, 2009

I want to load information from a Text file and then want to use in action script as a variable.What I did. I make a file with the name Text.txt and write there TextFld=You are Good Boy In flash I make a getText.fla in which i build a Text box at stage and set it to dynamic and the name of this variable is also TextFld Instance Name is Txt. Write the following code at main timeline

loadVariables("Text.txt",_root);

pretty fine it shows this information in flash but i want to use this variable in action script to do more action i.e i want to make flashy text. I want to store this information in a variable and then use that variable for other purpose.

View 2 Replies

Actionscript 3 :: Get Back File Information After Overwriting?

Feb 25, 2012

I wrote over my actionscript code, saved it and closed it. now i cant get the information back. Do you have any tips. Been writing for 2 weeks on it. Iknoow i should backup it :)

View 1 Replies

ActionScript 3.0 :: Extract Information From File On YouTube?

Feb 3, 2012

have been trying to extract information from this file on YouTube using AS3. I have managed to access ytID (YouTube video ID) along with the ytName (YouTube video name) from a specific channel (called through the loader). I am stumped on how to get the thumbnail URL. I have managed to find out that through YouTube, its tag is media:thumbnail, however, Flash gives me an error for trying to use a semicolon.

Code:
stop();
var xml:XML;
var videoDisplayLimit:Number = 1;[code]....

View 1 Replies

ActionScript 3.0 :: Load Individual ChildNode Information Into From An XML File?

Jul 7, 2009

I have seven movieclips that I want to load individual ChildNode information into from an XML file. Is there a way to pass that XML info into individual MovieClips for each individaul ChildNode?
 
Here's the code I have so far.
  
var myXML:XML; 
var myLoader:URLLoader = new URLLoader();myLoader.load(new URLRequest("links.xml"));myLoader.addEventListener(Event.COMPLETE, processXML);function processXML(e:Event):void {myXML = new XML(e.target.data);trace(myXML.*);}

View 1 Replies

ActionScript 3.0 :: Populate The Array With The Information Contained In The Xml File?

Jun 8, 2010

I am currently working  on an educational project. After submitting for review, the clients have  requested I make an array which was hard coded in the as file, to read  from xml. The problem I am having is that I do not know how to populate  the array with the information contained in the xml file.
 
hard coded in the as file
 
wordList  = ("Paper,Plastic,Reduce,Retrieve,Litter,Trash,Glass,Recycle").split(",");
  
I am  wantying to replace the word lists that are included with the  information in the xml file so as to allow different users to create  different words for the list without having to edit anything othere than  the xml file.

View 3 Replies

Professional :: Extract Information Present In Library Of Fla File To Php?

Jul 20, 2011

I am thinking of creating an app which will read the contents i mean the library of the fla/swc file and use it to check whether the items present in that swc/fla is used in as3 project.... can do it manually... but wanna automate it..

View 1 Replies

ActionScript 3.0 :: Pulling & Updating Information Based On XML File

Feb 18, 2009

I'm having trouble pulling & updating information based on an XML file.Each node contains a couple text items and a date. When the date arrives and gets to 00:00:00:00, the next XML node should be called.What would be the best way to store each node so that based on a timer reset (or something to that effect), it would pull the next node until that specified date and then pull the next set of info until the end of the nodes?

View 2 Replies

ActionScript 3.0 :: Save Debug Information To A Text File?

Nov 1, 2010

I have an as3 game that I am trying to debug. To do this, I allow the game to play itself repeatedly over-night (which generates information for around 500k games) and then I analyze the info in the morning. I would like to save the debug info to a text file instead of using trace statements. Currently, the game creates about ten strings per play which are printed to the screen. Is there an easy way to save these strings to a text file?

View 1 Replies

ActionScript 3.0 :: Flash Creating A Search For Information In A XML File?

Jun 17, 2010

I'm trying to figure out the best way to create a search box that searches an XML document and returns the results. So far I know how to do a search that returns exact matches but I want to make it so if someone typed in say "Manager" it would return results that Also had "Sales Manager" or "Account Manager".

Currently I have

PHP Code:

var  authorList:XMLList  =  xmlData.job.(title  == citySearch.text); 

Which only works with exact results. What is the best way to get around this? Do I just need to bring in everything from the XML file and then compare it using .search()?

View 2 Replies

ActionScript 3.0 :: Retrieve Information About Size (in Pixels) Of Loaded FLV File?

Feb 25, 2009

how to retrieve information about size (in pixels) of loaded FLV file? Video object returns 2 pairs of parameters (width,height) which are useless because returns always parameters passed in constructor of Video() object. Another pair is (videoWidth,videoHeight) which is always (0,0). I gave up...


I need this information to scale proportionally video clip to size of area designed to display this video.

View 3 Replies

Flex :: Getting Feedback From URLLoader After Sending Information To A Coldfusion File

Jun 28, 2011

I have a scheduling application that allows users to save any changes. When the user clicks the save button, Flex sends all the information to a coldfusion script which picks the information apart and sends saves it to the database. That all works well and good, but I would like to be able to display some sort of text to the user saying something like "Your file was successfully saved" or "There has been an error.

[Code]...

View 1 Replies

ActionScript 3.0 :: Grab Information From A Text File And Save Them In Variables?

Jan 4, 2012

I got a request today conserning .txt files.What I want to accomplish is to grab information from a text file and save them in variables (or an array, depends).Whats the best way to do this, and whats the do's and don'ts?I'm planning to use the LoadVars class to pass the variables through and i've got a working test, but isn't there a more efficient way to do this?

View 9 Replies

ActionScript 3.0 :: Extracting XML Data - Extract Information From File On YouTube

Feb 4, 2012

I have been trying to extract information from this file on YouTube using AS3. I have managed to access ytID (YouTube video ID) along with the ytName (YouTube video name) from a specific channel (called through the loader). I am stumped on how to get the thumbnail URL. I have managed to find out that through YouTube, its tag is media:thumbnail, however, Flash gives me an error for trying to use a semicolon.

ActionScript Code:

View 3 Replies

ActionScript 2.0 :: Saving Information From The Output Panel To A Text File?

Apr 16, 2009

I am trying to save information that I have displaying in my output panel to a .txt fille. I have tried this tutorial here: [URL] but it is not working for me.

I have the output panel displaying information such as:

PHP Code:

[URL]

I need to somehow save this information to a text file so I can forward it onto my email. Or if anyone knows a way to forward information from the output panel to your email

View 9 Replies

ActionScript 2.0 :: Make Flash 'communicate' With Notepad File To Store Information?

Jun 17, 2003

i want to make a discussion/message board. but a very very simple one. no username, password.. just a board where people can wite one or two lines. thats all.its very hard to find one out there. i think if i can manipulate a guestbook files, i can make a simple discussion board. The problem is that i dont understand how to make flash 'communicate' with notepad file to store information like how they did in guestbook. this is link to one of flash message board i found, but it has too many section - like kirupa forum. i dont have any ideas to make it as simple as i want. i dont understand the AS

View 2 Replies

ActionScript 3.0 :: Send Some Information To A Javascript Function On The Same Html Page As The Swf File Is In?

Nov 3, 2011

I am trying to send some information to a javascript function on the same html page as the swf file is in. I used the tutorial here on Kirupa but for same way it doesnt work.

ExternalInterface.call("fillForm('"+ l.x, l.y +"')");
ExternalInterface.call("fillForm", l.x, l.y);

These are the variations I tried.

View 1 Replies

Actionscript 3.0 :: Send A Bitmap Data And Ssome Text Fields Information To A Php File?

Oct 4, 2010

I was creating a program and now i need to send a bitmap data and ssome text fields information to a php file in my site, how can i do that?

View 2 Replies

ActionScript 2.0 :: Save Information Obtained From Users To Files If The User Is Accessing The Flash File From A Cd

Sep 27, 2003

i'd like to know if its possible to save information obtained from users to files if the user is accessing the flash file from a cd. I would also like to know how it works if possible. And can the flash file be in .exe instead of .swf?

View 5 Replies

ActionScript 1/2 :: Holding Down A Key: Execute ONCE?

Mar 28, 2011

scripting for holding a button down and having the action take place once.So thing is, I have code for pressing a button (which is the up arrow button)This was suppose to show the animation for someone shooting constantly until released:
 
if (Key.isDown(Key.UP)){        fox.gotoAndPlay(16);        deploy.gotoAndPlay(2);        trace("Pressed.");    }
 
Unfortunetly the results are:Holding down the up key places out "Pressed." constantly instead of once.fox.gotoAndPlay(16) stays on 16 rather progressing the animation (to which should come back to 16 at a repeated process)deploy.gotoAndPlay(2) plays a sound but before: the sound played constanlty rather once) recently: sound never playsI also need code that prevents the player from moving when holding down the up arrow key.So in total, I want the player to be able to hold the up key, and everything executed is played once until pressed agan after release.I heard about adding listeners:
 
var myListener:Object = new Object(); myListener.onKeyDown = function() {     KEY = Key.getCode();     if (!this[KEY]) {         trace("You pressed "+KEY);     }     this[KEY] = true; }; myListener.onKeyUp = function() {     KEY = Key.getCode();     trace("You released a key."+KEY);     this[KEY] = false; }; Key.addListener(myListener);
 
but I can't understand this technobabble and everytime I try to work it, it only puts error outputs.

View 7 Replies

Php :: Holding The Session In Flex?

Jun 23, 2009

I am getting the session generated in Flex Application in a hidden text field, but when i refresh the page it gets back me to login page...

How can i hold the session of the page until the browser is not closed...

I am getting the session value from PHP.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved