Welcome, Guest. Please login or register.
Did you miss your activation email?
05/23/12, 01:03
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  Recent Tutorial Support
| |-+  Flash GuestBook Support (Moderators: Flash-db, vesa kortelainen, Ronald Wernecke, Mohsin Sumar, Jorge Solis)
| | |-+  path troubles
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: path troubles  (Read 2496 times)
mathieu
Server what's that
*
Posts: 2


Flash-db Rules


View Profile Email
« on: 01/23/02, 17:29 »

Hi,
i'm a newbie using flash (a french newbie!!). To begin, i'd like to say that your site is a gold mine for all flash users !

I've got a trouble with the guestbook tutorial : my flash movie is place in a "flash" folder, and the other files are in the root.
I would like to know from where I have to load the guestbook.php and guestbook.txt in the fla. Must i load ../guestbook.php or can I just use guestbook.php ? I don't know if i am clear enough, but if you could help me, it would be great !

just for your information, my 'guest book' field stays with the 'loading..' sentence, that proves that nothing is loaded.

thanxx,

Mathieu
Logged
Flash-db
Administrator
Systems Administrator
*****
Posts: 1867



View Profile WWW
« Reply #1 on: 01/23/02, 17:40 »

Try using the absoute path to the guestbook instead of just a relative one.

For example:

loadVariablesNum ("http://www.YourSite.com/GuestBookDirectory/GuestBook.php?NumLow="+NumLow+"&NumHigh="+NumHigh+"&R="+random(999), 0);


Just change everything over to use:
http://www.YourSite.com/GuestBookDirectory/GuestBook.php
instead of Just guestbook.php.  Make sure to make this the Path to your GuestBook.php file on your server.   Then it will not matter where it is located.
Logged

-Jeff.
mathieu
Server what's that
*
Posts: 2


Flash-db Rules


View Profile Email
« Reply #2 on: 01/23/02, 18:04 »

thanks, it works now !

just another information. my web hoster is FREE (http://www.free.fr) and their servers only accept .php3 extension !!

that was my second mistake.

thanks for your help , and long life to FlashDB!
Logged
ccurrie
Server what's that
*
Posts: 1



View Profile Email
« Reply #3 on: 02/08/02, 21:15 »

NOTE: if you're using IE under win98, full path names will not work.  It's no problem if your browser is running under win2000.  The safest thing to do is put the scripts in the same server directory as your .swf file or specify a relative path to the script (e.g., loadVariablesNum ("PHP/setup.php",...).  The same rules seem to apply if you're using 'loadVariables.'  If anyone has any insight as to why it might work this way, let me know.

- Cheers,
       Christopher
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!