Breakthru (for me at least)

I created a shout box/guestbook in Flash, and I thought I would show those of you that I converse with on a regular basis (ie the people in the random forum). It uses a simple text file to store the information and then uses PHP to send, call, and organize the data. The “Next” and “Prev” buttons don’t work yet, but you can view your entry after you put it in. I have a bunch of adjustments to make so this is pretty much a beta version. Click the link below to take a look and let me know what you think. Let me know if you find any glitches. I would appreciate any feed-back.

http://www.livetoskateboard.com/shoutbox/newPHP/shout.html

Thanks again!
Cheers,
Jubs

Rev: is that your real e-mail address? Or your responce to my demand?!

oh yeah, does anyone know how to make PHP close the window when its done with reading and writing the variables? The only problem with the guestbook is that when you post something, a new blank window pops up. I would like to make that close on its own when its done writing the variables to the text file… h88? anyone? any ideas…

it’s the email I give out at nightclubs to the “available girls”

my email is my real name@hotmail

all one word…

Rev

lol, I just thought it was funny :slight_smile: Thanks for posting in the book :slight_smile:

lol

I didn’t mention the blank page, because i figger’d you already knew about it…

Rev

Yeah, I’m in the process of looking for something that will close this ■■■■ window…

Jubba… the code for closing a window in javascript is
javascript:window.close()

Anyway you can incorporate that into your php that launches a new window?

with CGI, and with ASP, you have a redirect…

I know nothing about PHP, so I could be off by a mile…

Rev

You had bad timing. Try again. I was trying to edit the file and I had an error :slight_smile:

ok, now I have the script to close the window, but it alerts me and asks if thats what I want…anyway around that?

Thanks to everyone that posted. Today when I get back to my dorm I have to try to get those Next and Previous buttons to work so you can cycle thru the entries… I also put the link up in my away message for AIM because I need a lot of entries so I can test the buttons properly. The more people that post, the better.

Followed any tutorials made by Jeffrey Hill?
:slight_smile:
I have one guestbook too but it’s not uploaded yet! I’m gonna put it on my homepage.
I have also the mail form in flash! doh… gotta finsih my homepage!

Yeah I think that is who wrote the tutorial that I started working from. I had to highly modify it for my shoutbox to work. I’m using two different PHP files, both with different code, and my flash script is pretty complex. It was a great tutorial…

speaking of tutorials, I am in the middle of writing a few of them…

well Jeffrey Hill makes all kinds of tutes of
Flash+PHP/PERL/CGI
www.flash-db.com <— his site!

Ok. Its finished. The “Next” and “Prev” buttons work now, and I think I tweaked out all of the bugs. Let me know if any of you see anything strange happening to the file when you test it. Eventually I’m going to use this to go on a site, so I need it to be in perfect working condition…

Nice Jubba:

I still get a warning about closing my window, but it works great!

Rev

Well with IE6 SP1 that trick I sent you Rev… you know… the one where you don’t get that error… it doesn’t work anymore!!! GRRR!!! There is no way around it.

Well, lets see, what code pops up the new window Jubba? Can you post that segment?

*Originally posted by lostinbeta *
**Well with IE6 SP1 that trick I sent you Rev… you know… the one where you don’t get that error… it doesn’t work anymore!!! GRRR!!! There is no way around it.
**

Yes, I did see that… [SIZE=1]:: I didn’t want to be the one to tell you ::[/SIZE]

Microsoft knows about it… they call it a “feature”

Rev

A “feature” that should be able to be turned off!

lol

but this is a “security feature”

Rev