Simple Chat - simple flash mx/php/mysql chat

free web hosting
Open Discussion > CONTRIBUTE > Computers > Programming Languages > PHP Programming

Simple Chat - simple flash mx/php/mysql chat

wow
Has anyone here done a flash/php/mysql chat project? I have a few flash projects I could use some help with getting one of them to work.I would like to start with a simple chat that I picked up at http://www.sephiroth.it/tutorials/flashPHP..._chat/index.php
I'm able to edit the fla file ok, and know a little about php, and mysql, but this is the first time I have done a dynamic site, and could use some help with it to get it installed on the server,and get it to work.I have tryed on my own for awhile now with it, and it seems I'm on the ratty edge of getting it to work, but with no luck as of yet.If someonre here has the knowlage in these areas,and would be willing to help me get this thing working I sure could use the help.

Reply

round
try hotscripts.com, they have a huge collection of php scripts. Easy to configure and very stable. I don't think i've found a better site out there.round

Reply

wow
Hello, Round
Thank You for responding.Please dont missunderstand what I'm trying to do.I'm trying to get the bare bones of a flash chat to work, or maybe I should say to just get it setup on the server so it can work.From there I will worry about putting addons to it.I have been able to find alot of addon code such as gallerys...ect.
I have fooled around with this code a little bit now,and was able to addon movable avatars, just to see how it could be done or even if I had the skills to do so.I started to work on a gallery also, but I never tied either of them into the db or made the tables for them. The avatars I did do were just hard coded in as a test.
I did have another look at this tutorial,and see that the action script he has listed on the tutorial is a little differant then that of what he has applyed to the fla files frames.I edited those frames last night ,and have not tryed it out yet to see if its going to work or not.I'm pretty much a newbie at mysql,and sql at this point in time. My flash skills are growing.My strongest areas of skills lie in graphics, and
animation.As far as reading ,and understanding code those skills are growing as well, but having said that doesnt mean that I'm still not a newbie at the process of
working with theses tools.If you feel you could help me out with this project I would be a happy coder....lol
I look forward to your input ,and welcome anyones comments.

 

 

 


Reply

Mithshark
If you can afford it FlashChat is the way to go http://www.flashchat.com

Reply

wow
Yes, I think flash is a good platform for chat,but I'm not talking about using someone elses work,and for a beginner to learn the flash IDE,and its action script along with php,and mysql starting off with the bare bones of it is the way togo if you want to know how it works,and how to read code,and understand what is going on.This is what this post is all about ,and I welcome anyone with thier input newbies as well as experianced programmers.I and a group that I've been working with have a few chat systems setup at our site already,but these are mostly other people work and we have just added some to it in some cases.You can get a copy of flash chat for $5.00 you will receive the php files,and swf files with the package,but if you really want to edit it you need to decompile the swf files back into fla files.But to learn from these complex chats would be not such a good idea to me. I look forward to your reply.
Thank You

Reply

arboc7
Flash...that's tough. I don't like flash, especially when used with PHP and/or MySQL. Actionscript usually takes over most of the work. I think Flash is limited in its abilities across the board, especially from a dynamic content delivery and standards-compliancy view. It does have some artistic advantages though... I'm no expert in flash, but good luck, and I would be happy to help with any PHP and MySQL matters.


Why do you want to use flash anyway?? Is there any special reason?


Reply

wow
Hello, arboc7
I started to learn the flash IDE a few months ago, and I seem to beable to get around in it well now, and understand the action script. Ive upgraded to flash pro also. The php files in this project I also understand the code in these files as well.
I'm a complete newbie to mysql, so that means I'm a newbie to dynamic pages as well, but Ive red about it, and understand the concept.I'm thinking I havnt got the php config file db setting entered correctly.I have the project published, but it doesnt seem to be connecting to the db.It's not adding users to the whos online list. Would you be willing to see if you can get the project to work? I can compile the swf file for it,and the html file ,and sent them to you or leave you a download for the two files. The other php files you could get from the link I have posted.I would welcome your help indeed.

Reply

coolwaves4all
If u want to add a flash chat in ur on site then u can use the AVchat script which is a php with flash script and u only need to install this script and make a link to chat directory on ur server where u installed AVchat script.

U can find this script easily by searching on a google as a query:
Write this in google search text box.
Query:
=====
Avchat null

it works bcoz i got this script by appling this query.

Reply

wow
Thanks, coolwaves4all
Yes, I have that script, and many more, but I'm wanting to use my fla file that I've been working on, and make it public so I can keep on developing it as I go. I dont want someone elses work smile.gif I'm trying to figure out now how to use flash communications server which I have figured out how to use it as a local tool for development. I need to install server 2003 or 2000,and run it within it. So I can deploy my swf file. I enjoy your input,and value it very much hope to hear from you more,and anyone else about setting up your own server,and deploying flash apps.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. simplechat wow download - 59.10 hr back. (1)
  2. actionscript chat smiles - 64.50 hr back. (1)
  3. www.flashchat - 31.77 hr back. (2)
  4. script simple chat - 109.25 hr back. (1)
  5. simple flash chat - 169.22 hr back. (1)
  6. flash chat simple - 80.93 hr back. (3)
  7. simple php chat form smiles php - 190.61 hr back. (1)
  8. simple chat wow - 210.52 hr back. (1)
  9. flash simple chat - 214.94 hr back. (1)
  10. flashchat 5.0 user already exists error - 222.07 hr back. (1)
  11. simple chat program code using php - 249.27 hr back. (1)
  12. chat simple en flash - 330.60 hr back. (1)
  13. "simple flash chat" - 416.76 hr back. (1)
  14. you have an error in your sql syntax; check the manual that corresponds to your mysql server version for the right syntax to use near "how to read" - 428.76 hr back. (1)
Similar Topics

Keywords : simple, chat, simple, flash, mx, php, mysql, chat

  1. Create Table - Mysql Code - Help
    (1)
  2. Mysql Error
    (3)
    ok i need some more help from the wonderful coders here at Trap. I'm almost done with my CMS
    script, but i'm having a problem with the installer.php file, when it trys to inseret the user
    data into the database i keep getting the following error: CODE mySQL Error: You have an
    error in your SQL syntax; check the manual that corresponds to your MySQL server version for the
    right syntax to use near ';INSERT INTO `members` (`id`, `name`,
    `username`, `password`, `email`, `title`) ' at lin....
  3. Html Form!
    Using MySQL?! (4)
    Hey, I need your help again! I need some good working tutorial how I can update my SQL through
    HTML form. I did use some tutorials online found with the help of google; but they do not work
    properly; I mean there are still small mistakes. I need to have a good tutorial to follow. It
    should be based on security and more things. It has to be done in proper way.......
  4. Flash And Php
    How? (5)
    Guys, if I did some flash game. How can I say set it that it works with php?....
  5. Best Php And Mysql Editor For Noobs
    anyone any php or mysql editor that is good for noob (6)
    hi there guys, from my previous posting, i am a noob in php and mysql programming. I want to know
    if there are any php and mysql editors which are best for me as a noob. i appreciate your kindness
    ....
  6. Php And Mysql Programming
    anyone knows a code for mysql and php (2)
    hi everyone! I am making a program using php and mysql...I am a noob on this so i need your
    help guys...I want to make a simple program that will some values and then store them on a database
    and then retrieve them...uhmm let me give an example out put of what i need. This is the example
    say..: Enter First Name: Enter Last Name:
    Enter Age: Enter Address: ..those
    are the data needed for input values...my question now is how can I make a database....
  7. Best Sites For Learning Php-mysql
    (4)
    Hi I was reminded of this earlier by a post in a topic, meant to post it but forgot and the topic on
    php books reminded me. Well anyway there is tyhschools for learning php (unless someone else knows
    a better 1) but I wan't to know what is the best site for using php with mysql (using
    phpmyadmin) also whats the difference between postgresql and mysql? though I must admit the
    postgresql version of phpmyadmin whatever it's called looks better (visually)!....
  8. Tools Needed!
    PHP & MySQL (9)
    Hello, everyone! I need some tools for those two things to test PHP scripts coming together with
    database on my laptop, instead checking them on a web-server which takes time.....
  9. Php + Mysql Question!
    While inserting data into MySQL, how can I know if the data I'm in (4)
    Basically, I want to know if the Data I'm inserting through a Form is already there or not. Sort
    of a Username registration page. I have this, but it doesn't appear to work... CODE
    $result = mysql_query("SELECT * FROM users WHERE
    username='$username'"); if($result == 1)     {     echo
    '<h1>ERROR!</h1>The username you have chosen already exists!';     }
    ....
  10. Mysql Won't Update
    (4)
    Ok, so I'm making some arcade administration software so I don't have to add games the hard
    way, well anyway, one of the features I have is that on the homepage is a featured author and as
    such I just have it so it updates one line in the mySQL. Well, the page with the form passes on the
    varibles fine and the updating page recieves them because I echoed everything, then I build the
    query and I even echo the query and it comes out exactly how I want it to, but for some reason, the
    database itself won't update even though all the varibles are there. Here's....
  11. [php/mysql]id Trouble [resolved]
    (3)
    session_start(); include "database.php"; if (!$_SESSION || $_SESSION { // User
    not logged in, redirect to login page Header("Location: main.php"); } $result =
    mysql_query("select * from users order by id asc"); while($r=mysql_fetch_array($result))
    { $username=$r ; $info=$r ; $msn=$r ; $email=$r ;
    $id=$r ; $password=$r ; $userlevel=$r ; echo "
    user ID User Level U....
  12. [mysql/php]need Som Basic Help
    (13)
    QUOTE session_start(); include "database.php"; include "edit.inc.php"; if (!$_SESSION
    ) { // User not logged in, redirect to login page Header("Location: main.php"); }
    if(isset($_POST )){ $email = $_POST ; $msn = $_POST ; $info =
    $_POST ; $updateemail = "UPDATE users SET email = '$email', msn =
    '$msn', info = '$info' WHERE username = '$username'";
    mysql_query($updateemail) or die("culd not edit your info"); echo "info updated"; } //
    Display log....
  13. [mysql]get Id Of Loged In User?
    (7)
    how to get the id number of the loged in user? my db is id. username. password. i have tryed a
    few things.. but i never seem to get it right /ohmy.gif" style="vertical-align:middle" emoid=":o"
    border="0" alt="ohmy.gif" />....
  14. Flash With Php
    (1)
    Is it possible pass flash variables to be processed in PHP language? Example: Enter Login and
    password in a flash aplication and this variables (login and password) to be used in PHP?....
  15. Real Time Updating With Ajax
    I need a bit help with ajax in this real time chat script. (5)
    CODE <script type='text/javascript'> function submitForm() {     var
    xhr;     try { xhr = new XMLHttpRequest(); }                     catch(e)
        {           xhr = new ActiveXObject(Microsoft.XMLHTTP);     } xhr.onreadystatechange
    =function() { if(xhr.readyState == 4) { if(xhr.status == 200)
    document.getElementById('c').innerHTML="SENT"; else
    document.ajax.dyn.value="ERROR CODE" + xhr.status; } }; var data=document.ajax.dyn.value;
    //var chat=document.aja....
  16. Php And Flash Image Gallery
    Need some help in creating or editing an xml file while viewing some o (5)
    Hello there and thanks for the helping hand you are offering. PHP newbie here! /ph34r.gif"
    style="vertical-align:middle" emoid=":ph34r:" border="0" alt="ph34r.gif" /> So here is my problem:
    On my website I have a flash image gallery.The way the gallery works is by uploading pictures in a
    folder and editing? an xml file.(pics.xml) where it adds the following code when you upload a
    picture: CODE <pictures>     <image location="nameofpicture1.jpg"
    desc="" />     <image location="nameofpicture2.jpg" desc="" /&#....
  17. The Artists Tutorials :mysql Basic Commands
    The Artists is an online programming unit and gfx designing clan. (0)
    Let's Talk about basic mysql commands used in php. I will now show you a list of the most common
    MySQL FUNCTIONS : QUOTE mysql_connect(MySQL server name,username,password) - opens a connection
    to a MySQL server. mysql_select_db(database name,connection id) - selects a database residing on
    the MySQL server. The database name parameter referes to an active database on the MySQL server that
    was opened with the mysql_connect function. The connection identifier is a reference to the current
    MySQL connection. mysql_query(sql query) - sends a query to the currently ac....
  18. Problem With A Mysql Join
    Problem with a mysql join (2)
    Hello I am trying to write a script whereby I can pull an image out of one database table and
    display it in relation to its category_id in another table. I am using a my_sql join function that
    is joining the tables correctly, however it only shows the one same image from the top field of
    those combined rows on every single page. I need it display the image according to its category_id
    for that particular page. I am thinking I need to set variables to represent those specific rows but
    I'm not sure how to do that. Here is my code CODE { $result = mysql_que....
  19. Getting Php 5 To Work With Mysql
    getting PHP 5 to work with MySQL (0)
    Just thought this would be of extreme help to those who are planning to migrate to php5 and still
    continue using MySQL same way as before:.... to get mysql work with the php 5 copy
    /dll/libmySQL.dll to the directory where php 5 resides and copy the /extensions/php_mysql.dll to the
    directory where php.exe resides.(if you can't find the two above files probably you are using an
    old release of php 5.you should check for latest at :http://snaps.php.net/) in additon uncomment
    extension line in php.ini and add the following code to a gnereal database file(dbcon.php) in m....
  20. Php And Mysql Applications
    (3)
    Ok I have started useing PHP and MySQL recently and I am wondering how I go about createing an
    application. I looked for tutorials and guids at w3schools.com but couldnt find what i was looking
    for. All I really need is a list of a few steps to take to get a general idea on were to start when
    makeing an application. I would appreciate any help you may have to offer.....
  21. Flash + PHP: How can I transfer vars?
    (4)
    I am making a little section for a friends website. Here is what I have so far. :SWF File here:
    And I made it you match the layout of here site. Here As you can see I pretty much have the
    layout of it down. Some little bugs to be worked out with characters allowd in the text boxes and
    what not. But I have a good platform. NOW for the fun part! Getting vars from flash to send,
    via POST, to PHP. I have been trying to find a good tutorial on this online but I am not having such
    great outcomes! So if anyone can help me here please go for it! This is ....
  22. Some Mysql Basics
    (4)
    Greetings this tutorial will show you some mysql basics.. MySQL is one of the most used database. a
    simple config file at the top add this CODE <?php ?> after <?php add
    $username= "root"; // Username that has access to your database $password=
    ""; //Password that has access to your database $host = "localhost"; // The
    host where the database is (mostly this is localhost) $db = "databasename"; //
    The name of the database where you want to work with //connect to the database mysql_connect(....
  23. Php Search Engine Script For Mysql Database
    (11)
    A search engine is provided to facilitate the user with undemanding and clear-cut search options.
    The search facility includes simple search, search by title, search by word/phrase, ect… Thus, the
    user is at a safe distance from the risk of selecting files/folders ambiguously. In addition, a
    history of recent searches can be preserved for future perusal. Now
    day’s visitors have a large option for his needs on internet and so visitors are not vesting their
    time by following the dead links on your site. So a search engine is essential for your....
  24. Wappychat_oldskool
    old version of my wap chat script :-) (15)
    here is a very old version of my wap chat script, its not very advanced but has privates, smileys
    etc. I will post some further versions (with owner, admin, mod status and profiles) when i have time
    to write the readme/install instructions for them. You will find instructions inside the zip. If you
    have any problems post here but i know it don't work on all servers for some reason but it does
    work on the trap server so will be cool ok /tongue.gif" style="vertical-align:middle" emoid=":P"
    border="0" alt="tongue.gif" /> ....
  25. Creating Profiles In Php/mysql ?
    (7)
    i've started to learn php..im familiar to basics of php and mysql now.Now for example i want
    that some user can register to my website , and after that he can Login and log out , and he can see
    his profile.is there any tutorial about this ? or any helping url .. or any helping answer please
    /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />....
  26. Subquery In Mysql
    (5)
    Is there anyway to make subqueries work in MySQL? I'm pretty certain someone out there knows
    how. /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> Can anyone help?
    CODE Select * from ITEMS where ID="Select Max(ID) from ORDERS"; This works
    for MSAccess and SQL Server but why not in MySQL? I'll be writing some reports and I've
    shifted database from MSAccess to MySQL. Help! Thanks.....
  27. Can You Add Images Into A Mysql Database?
    Using Php? (20)
    I'm learning php in class right now, but I'm still not that good at it, what I'm
    wondering is when I write the php so that it can connect with a database, can I at the same time
    have it that it is able to display back images that I choose. Like, I want a search feature, where
    you can search for a keyword, and it will bring back a list of all the possible entries with that
    keyword, but each of these entries will have a photo associated with it. Now, do I put these image
    files directly into the database, or do I write the code to link them from my files to th....
  28. Increment A Mysql Column
    how to increment a MySQL column one unit (7)
    Hi, I have a column in a MySQL table which contains a counter of the views of the object described
    by this table. I would like to increment this value by one everytime the object is viewed. Obviously
    came into my mind the possibility of retrieving the value of this field, store it in a variable
    increment this value by one and perform an UPDATE query again with this new value. My question is if
    there is a MySQL option to update the field with its actual value plus an unit increment. I hope you
    understand the issue.....
  29. Php News Script
    how to make news script that uses MySQL writen in PHP (19)
    How to make a News script with PHP + MySQL So..in this tutorial i will explain how to create PHP
    news script. first we have to create the table in My SQL.. with the code below you will do this (
    you have to enter it into SQL field ..in PHPmyADMIN) CODE CREATE TABLE news ( id
    int(10) unsigned NOT NULL auto_increment, postdate timestamp(14) NOT NULL, title
    varchar(50) NOT NULL default '', content text NOT NULL, PRIMARY KEY (id),
    KEY postdate (postdate), FULLTEXT KEY content (content) ) >>....
  30. Problem On Mysql "order By"
    (5)
    Can someone please help...? I have a problem with using "ORDER BY" in mysql... CODE SELECT *
    FROM `foo` WHERE b='abc' ORDER BY 'number' ASC i want to sort the table out by
    the value in "number" which is a number.. but it came out to be sort by like this way...
    1->10->2->20 it only sort out the front digit.... but what i want is it will sort by how great the
    number is like this... 1->2->3........->10....->20 sorry my english isn't good enough...to
    describe my problem properly... hope you can understand and help me on this.....thx....

    1. Looking for simple, chat, simple, flash, mx, php, mysql, chat

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for simple, chat, simple, flash, mx, php, mysql, chat

*MORE FROM TRAP17.COM*
advertisement



Simple Chat - simple flash mx/php/mysql chat



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE