473,396 Members | 2,111 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

access php cli from flash

hi,
i will talk from a flash swf-file via actionscript with a php cli script but i don't know how. on the prompt i can access the php script and the variables but not from the swf-file. it reads only the php file without parsing throught the interpreter. what goes wrong??
Oct 5 '07 #1
3 1116
Atli
5,058 Expert 4TB
Hi tombender. Welcome to The Scripts!

I'm not entirely sure if this is a problem with your actionscript or you PHP code.

Could you post your code?
Oct 5 '07 #2
@atli

from flash:
Expand|Select|Wrap|Line Numbers
  1. var mc:MovieClip = this.createEmptyMovieClip("mc", this.getNextHighestDepth());
  2.  
  3. mc.onData = function() {
  4.  
  5.         trace(">> "  + mc.test);
  6.         _root.tf.text = mc.test; // tf = textfield on root
  7.  
  8. }
  9.  
  10. mc.loadVariables("test.php");

the php-script:

Expand|Select|Wrap|Line Numbers
  1. <?php
  2. echo "test=hallo world";
  3. ?>
Oct 6 '07 #3
pbmods
5,821 Expert 4TB
Heya, Tom. Welcome to TSDN!

Please use CODE tags when posting source code:

[CODE=javascript]
JavaScript code goes here.
[/CODE]
Oct 6 '07 #4

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

Similar topics

1
by: Burl Stafford | last post by:
Is it possible to install 2000 on a flash drive and then use the drive on a laptop that only has 97 installed? I am not allowed to install 2000 on the laptop, but I want to be able to do work with...
10
by: Scott | last post by:
I have written an Access application that our employees use on a daily basis to enter information. It's comprises of a series of forms, a few data integrity check queries that run in the...
1
by: just4me | last post by:
I would like to access the bios flash using watcom c. To start, I would like to be able to read the entire bios and back it up into a file. I can do everything except reading the bios flash. Any...
16
by: pshyamsunder | last post by:
Hi: I am facing a strange problem. I have opened a file "File1" using fopen() and while processing the records in the file in a loop, I have a call to access() to check existence of "File2"....
1
by: anandakumarpc | last post by:
I would like to know how to integrate FLASH and ASP. i.e A form designed in Flash has to collect details and the details are to be stored in an Ms-Access database thru an ASP Program. Then Data...
4
by: venkatesh.k.desai5 | last post by:
Hi, I m working on armboot bootloader. I m trying to access the large page(2112 bytes) NAND Flash from the bootloader. I had succeeded in writing a small pattern to test erase, write and read the...
22
by: J.Broeden | last post by:
Hi, I'm hoping to get some advice on this design query to see if I'm heading in the right direction. I would like to read a file of many lines and then search for a particular character to break...
3
by: mrbadboy | last post by:
Hi, I need to access javascript value from flash or i need to access html controls value(like hidden or text box value) from flash. How can i get i from flash. Can you help me how to get it ? ...
3
hariharanmca
by: hariharanmca | last post by:
Subject : I want to Connect Flash with Database ('Access' or 'Sql Server' or some Idea). My tool is to create a form desigen (Login Register) in flash and connect it to database. It will...
0
by: vinodkus | last post by:
dear sir/madam I have flash file there are two input text named user_name and password just i have to access these value of this text box in another asp page suppose an asp page index.asp and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...

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.