# Free PHP & FlashMX Guestbook/Shoutbox

**URL:** <https://forum.kirupa.com/t/free-php-flashmx-guestbook-shoutbox/11117>\
**Category:** flash\
**Created:** [January 12, 2003, 5:01pm UTC](https://forum.kirupa.com/t/free-php-flashmx-guestbook-shoutbox/11117 "2003-01-12T17:01:59Z")\
**Posts on this page:** 19\
**Page:** 2

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 1, 2003, 9:20pm UTC](https://forum.kirupa.com/t/free-php-flashmx-guestbook-shoutbox/11117/21 "2003-03-01T21:20:52Z")

</div>

**Layer: Submit/script  
Frame: 40  
Line: 16**

```php

_root.dataLoader.loadVariables("shout.php", _root.dataLoader, "POST"); 
// changed "send" to loadVariables

```

no popup, but couldn’t check for data being send…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 1, 2003, 10:41pm UTC](https://forum.kirupa.com/t/free-php-flashmx-guestbook-shoutbox/11117/22 "2003-03-01T22:41:13Z")

</div>

yeah i know about loadVariables and have been meaning to change it around, but I don’t have time to redo the file. Just been super busy with mid-term papers and tests and such… lots of school work this semester.

thanks for the heads-up 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 2, 2003, 7:23pm UTC](https://forum.kirupa.com/t/free-php-flashmx-guestbook-shoutbox/11117/23 "2003-03-02T19:23:20Z")

</div>

Hmmm… the data doesn’t get sent with loadVariables…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 2, 2003, 7:41pm UTC](https://forum.kirupa.com/t/free-php-flashmx-guestbook-shoutbox/11117/24 "2003-03-02T19:41:58Z")

</div>

fixed it. I scraped the entire LoadVars thing. It wasn’t working… went back to loadVariablesNum

IN the Submit Frame change this code:

```php

_root.dataLoader.nName = _root.nName;
_root.dataLoader.nEmail = _root.nEmail;
_root.dataLoader.nMess = _root.nMess;
_root.dataLoader.send("shout.php", _root.dataLoader, "POST")

```

change it to this:

```php

loadVariablesNum("shout.php", 0, "POST");

```

and you won’t get that annoying pop-up. For some reason LoadVars.Send likes to open a new window and there isn’t a way to close it without an alert… 🙂 But that code will fix it.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 5, 2003, 5:47pm UTC](https://forum.kirupa.com/t/free-php-flashmx-guestbook-shoutbox/11117/25 "2003-03-05T17:47:16Z")

</div>

Hello I’m a mediocore flasher and I have no knowledge of PHP… I can’t seem to get this to work. The problem is that I cannot put my PHP files in the same folder with the rest of the files in my free host.

So can anybody help me point out what to change or redirect me to a free host that supports php in the same folder? thanks.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 5, 2003, 6:11pm UTC](https://forum.kirupa.com/t/free-php-flashmx-guestbook-shoutbox/11117/26 "2003-03-05T18:11:06Z")

</div>

in the FLA flash file, you have to change the paths where it says LoadVariables or LoadVariablesNum

I believe the two locations are

Frame 2 in the Folder “Script”

then in the Folder “Submit” frame 40 change the entire code to this:

```php

ok_but.onRelease = function() {
	if (_root.nName eq "" || _root.nName eq " **Enter Name!**") {
		_root.nName = " **Enter Name!**";
	} else if (_root.nMess eq "") {
		_root.nMess = " **Enter Message!**";
		//} else if (_root.nEmail eq "") {
		//_root.nEmail = " **Enter E-Mail!**";
	} else {
		TotalEntries = "";
		correct = "yes";
		_root.nPage = 1;
		loadVariablesNum("shout.php", 0, "POST");
		_root.gotoAndPlay('loading');
		_root.nName = "";
		_root.nEmail = "";
		_root.nMess = "";
	}
};
cancel_but.onRelease = function() {
	gotoAndPlay("View");
	_root.nName = "";
	_root.nEmail = "";
	_root.nMess = "";
};

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 5, 2003, 6:14pm UTC](https://forum.kirupa.com/t/free-php-flashmx-guestbook-shoutbox/11117/27 "2003-03-05T18:14:59Z")

</div>

Here is the new ZIP file. It should work without poping open a new window.

Let me know how it goes…

the link to see it in action again is:

[http://www.livetoskateboard.com/shoutbox/newPHP/shout.html](http://www.livetoskateboard.com/shoutbox/newPHP/shout.html)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 21, 2003, 9:02pm UTC](https://forum.kirupa.com/t/free-php-flashmx-guestbook-shoutbox/11117/28 "2003-07-21T21:02:15Z")

</div>

nice job jubba 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 22, 2003, 12:53pm UTC](https://forum.kirupa.com/t/free-php-flashmx-guestbook-shoutbox/11117/29 "2003-07-22T12:53:37Z")

</div>

wow! this is nice! thanks Jubba! now… my problem is how can i edit this, to the size i wanted, and how can i put this into action on my craft webpages as i dont have knowledge in PHP.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 2, 2003, 9:52pm UTC](https://forum.kirupa.com/t/free-php-flashmx-guestbook-shoutbox/11117/30 "2003-11-02T21:52:07Z")

</div>

i would also like to get some help on loading into my movie - i tried loading the swf but it just keeps playing the loading animation forever, even thought i know it works for sure if you access it directly - someone PLEASE help!!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 11, 2003, 6:03am UTC](https://forum.kirupa.com/t/free-php-flashmx-guestbook-shoutbox/11117/31 "2003-11-11T06:03:44Z")

</div>

yes this came in more than handy! thanks! umm except i tried to load the movie from anohter main.swf and nothing came up, how do i manipulate the code so that the the stuff will actually show?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 11, 2003, 6:09am UTC](https://forum.kirupa.com/t/free-php-flashmx-guestbook-shoutbox/11117/32 "2003-11-11T06:09:28Z")

</div>

as a note i am trying out eyezberg’s new attachment, i am trying to load his into another movie…but like nothing pops up… its awefully blank…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 11, 2003, 6:16am UTC](https://forum.kirupa.com/t/free-php-flashmx-guestbook-shoutbox/11117/33 "2003-11-11T06:16:01Z")

</div>

yes, I never did get an answer to that problem - I finally had to move on to another guestbook - you may want to try making sure your main movie and the shoutbox are in the same folder and modifying the paths to reflect this - I had the same problem on the new guestbook and that fixed it… maybe it can work with this one too…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 11, 2003, 6:58am UTC](https://forum.kirupa.com/t/free-php-flashmx-guestbook-shoutbox/11117/34 "2003-11-11T06:58:36Z")

</div>

i hoping someone can modify the paths for me, cuz i am not too knowledged in this path stuff. anyone?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 11, 2003, 5:47pm UTC](https://forum.kirupa.com/t/free-php-flashmx-guestbook-shoutbox/11117/35 "2003-11-11T17:47:38Z")

</div>

just wanted to throw this in there, you will have problems viewing the file(s) if you are trying to look at it on your desktop. You will need to upload it to a localhost/webhost that supports PHP

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 11, 2003, 6:06pm UTC](https://forum.kirupa.com/t/free-php-flashmx-guestbook-shoutbox/11117/36 "2003-11-11T18:06:31Z")

</div>

this is true, but even if it works on its own, it will not work when loaded into another swf…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 12, 2003, 12:50am UTC](https://forum.kirupa.com/t/free-php-flashmx-guestbook-shoutbox/11117/37 "2003-11-12T00:50:21Z")

</div>

like piou piou said,  
i already uploaded it with all the correct php in the same directory and the txt file…but when i load it from another movie, it gets stuck at the loading screen,…if i just watch it with out loading it from another movie, it works fine, it will even let me post and what not…

heeellllpp

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 13, 2003, 1:42pm UTC](https://forum.kirupa.com/t/free-php-flashmx-guestbook-shoutbox/11117/38 "2003-11-13T13:42:31Z")

</div>

i looked over the code, and everything looks like its in the \_root.  
i don’t know if making everything \_parent will help…

is there another way to make it work, maybe replacing the \_roots with this?

has the new flash upgrade fixed the issue?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 24, 2003, 3:52pm UTC](https://forum.kirupa.com/t/free-php-flashmx-guestbook-shoutbox/11117/39 "2003-12-24T15:52:31Z")

</div>

Hey All,

I noticed that you can’t write long massages in the shoutbox what’s up with that and how can i fix this problem…

Andreas

[Previous page](https://forum.kirupa.com/t/free-php-flashmx-guestbook-shoutbox/11117.md?page=1)
