Welcome, Guest. Please login or register.
Did you miss your activation email?
05/23/12, 02:00
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 Ecards (Moderators: Flash-db, vesa kortelainen, Ronald Wernecke, Mohsin Sumar, Jorge Solis)
| | |-+  sendecard.php not writing *.txt file
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 Print
Author Topic: sendecard.php not writing *.txt file  (Read 8127 times)
alf
Server what's that
*
Posts: 22



View Profile WWW Email
« on: 02/28/04, 15:24 »

permissions are set to 777
checked all messages pretaining to subject
tried different variations of the scripn
no thing happens
cannot (filename) no such file or directory Huh

Please Help
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #1 on: 02/29/04, 05:58 »

Hi Alf,
welcome here Wink

If it says no such file or directory, then ther is a nameing problem.

I beleive, you are running this on a UNIX/LINUX host?
You are propably only used to Windows?

Here are some very important differences:

UNIX does nor only display capital letters in a filename, it recognizes the difference.

GuestBook.txt is not the same as guestbook.txt or GuestBook.TXT .

Never use the backslash (\) for paths, UNIX uses the normal slash (/).

After you are running a webserver (usualy APACHE), /filename is not a file in the systems root, it is the file in the webspace root.

Look for all these aspects and locate the file with your ftp client and then adapt the filename and path to what you find there.
Logged

happy flashing
Cool
Ronald
alf
Server what's that
*
Posts: 22



View Profile WWW Email
« Reply #2 on: 02/29/04, 10:52 »

I've made some progress thanks to my friend but it still won't write file same error. Huh
I run linux/apache. Smiley there are nolonger errors in either of the php files Grin but for some reason my friend tells me that when the send button is pressed nothing happens.
could you take a look at my files?

http://www.canyoncalvary.com/Ecards/ecards.swf

thanks in advance,
art
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #3 on: 02/29/04, 11:00 »

Ther is something wrong with this link.
Logged

happy flashing
Cool
Ronald
alf
Server what's that
*
Posts: 22



View Profile WWW Email
« Reply #4 on: 02/29/04, 11:02 »

the link will work soon.  :(sorry. the administrator of the server is helping me too. but if you need to see the files I can send them to you. anything to help.

thanks,
art
Logged
alf
Server what's that
*
Posts: 22



View Profile WWW Email
« Reply #5 on: 02/29/04, 11:21 »

link works now Grin
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #6 on: 02/29/04, 11:21 »

if you'd give the link to the server so i can have a look to the behaviour of the php script?
Logged

happy flashing
Cool
Ronald
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #7 on: 02/29/04, 11:27 »

sorry - no it does not work
Logged

happy flashing
Cool
Ronald
alf
Server what's that
*
Posts: 22



View Profile WWW Email
« Reply #8 on: 02/29/04, 11:43 »

try again
http://www.canyoncalvary.com/Ecards/ecards.swf
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #9 on: 02/29/04, 11:51 »

OK, sending a card seams to work.
Could you give me a link to your php file, where i can read it?
It must not have php extension, otherwise it is not downloadable Wink
Logged

happy flashing
Cool
Ronald
alf
Server what's that
*
Posts: 22



View Profile WWW Email
« Reply #10 on: 02/29/04, 12:02 »

http://www.canyoncalvary.com/Ecards/SendEcard.php
Huh
Logged
alf
Server what's that
*
Posts: 22



View Profile WWW Email
« Reply #11 on: 02/29/04, 12:03 »

http://www.canyoncalvary.com/Ecards/SendEcard
Huh
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #12 on: 02/29/04, 12:32 »

Hi Alf,
it does not help if you give the original php link, because it will be executed.
Copy the file into a file with the extension txt, that the php interprter will not interpret it, but i will be able to doownload the source.

The php file definately has a problem, because it sends OK back, even though it has not got any parameters.

After your flash receives this OK, the communication between flash and php ist ok.
Logged

happy flashing
Cool
Ronald
alf
Server what's that
*
Posts: 22



View Profile WWW Email
« Reply #13 on: 02/29/04, 12:33 »

I've read everything on the message board. i have followed the tutorial. but still no sending. or writing.  I know that other people have figured this out. if you have please help me. Roll Eyes
thanks
art
Logged
alf
Server what's that
*
Posts: 22



View Profile WWW Email
« Reply #14 on: 02/29/04, 12:41 »

my friend and i have figured out the writing the .txt file part Grin prints the success message to status but still no email Sad Huh
Logged
Pages: [1] 2 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!
anything