PDA

View Full Version : error in guestbook


mol
10-07-2003, 01:21 AM
Hi all.....

I need ur help.....I am learning to make guestbook so I download guestbook fla from this site :

http://actionscripts.org/show/Movie.php?id=368

but when I try it in my computer I got errror message :

Error opening URL "file:///C|/Web/GuestBook.php?NumLow=0&NumHigh=10&R=296"


Is there something wrong with it.....please give advice


many thanks

CyanBlue
10-07-2003, 03:59 AM
The PHP file better be called with http protocol rather than file protocol... In other words, publish your movie along with the HTML file, and open that HTML file within the web browser by using http protocol..

mol
10-09-2003, 12:49 AM
U mean I have to insert the movie into the html page first, then I call it ...l


thanks

CyanBlue
10-09-2003, 07:46 AM
Howdy... Did you try that from the web browser???

mol
10-10-2003, 06:26 AM
Hi........

Ya....I did it...It works.....but I dont know when I fill in the form
then press Submit button what I filled not appeared on the display.....but It should ....:(


thanks

CyanBlue
10-10-2003, 06:48 AM
Um... I am not sure if there is a question in your reply... :confused:

mol
10-10-2003, 07:48 AM
Hi....Cyan Blue


I mean when u told me to insert the movie into the HTML , it solve my problem (no more erorr ) , but I found another problem ( althought it is not related to my first problem). That problem is the guestbook still not work......when I fill in the form...the data could not be appeared .....actually It could
sorry make you getting lost.......:)



thanks

CyanBlue
10-10-2003, 08:03 AM
Um... My crystal ball is in the shop today...
Can you at least show me what your code look like so that I can try to help you??? :confused:

mol
10-13-2003, 06:24 AM
I didn't attach the code cause it's too long, so I attach the file....





thanks

CyanBlue
10-14-2003, 01:21 AM
Well... It's working just fine... ;)
http://CyanBlue.FlashVacuum.com/tmp/GuestBook/GuestBook.html

This is what I did...

Unzip the ZIP file...
Open up the FLA file into the Flash...
Publish the HTML & SWF file...
Upload the HTML, SWF, PHP and TXT file to the server which supports PHP...
Change the file permission of the TXT file to 777 as it says in the instruction...
Test the site with that given URL...

It's working just fine... ;)

mol
10-18-2003, 12:32 AM
Hi....CyanBlue

Sorry....I got trouble with my computer for days so our consultation halted :(

I think I have not changed the file permission of TXT file to 777...
but I dont understand what it means....as I know the name of TXT file is guestbook.txt .....does it means I got to change it become 777.TXT :confused:

as u know I try it in my computer (localhost)


many thanks

CyanBlue
10-18-2003, 01:33 AM
No... The file name should be remaining as guestbook.txt...

Read this page to learn some more on the file permission...
http://www.phpbb.com/kb/article.php?article_id=22

And, if you still cannot change the file permission to 777 or read/write, you might want to ask your host how to do it specifically... (There are lot more examples/howtos on the Internet... Do some searching with 'chmod' to find more information...)

mol
10-21-2003, 12:20 AM
Hi...CyanBlue

you are very helpful....l'll do it. Many thanks for you