PDA

View Full Version : store it in a txt.file ( yeas i have surch )



swed
June 6th, 2003, 05:41 PM
Virtual Creditcard/send to a txt.file
Here is my question

I have tried to make a virtual credit card (ice projector)

I want the 16 numbers to generate when the user start the card, different from each other.

Solved in another Forum...

The tricky one:

When the number is generated I would like to store it in a txt.file (not a database) in some way to a specefic html page , i mean
send the numbers

ASP or CGI ?

Have someone any idea to do that?

Thank swed
Check the link to testcard

http://www.dynamisk.nu/testcard.htm

Jubba
June 6th, 2003, 05:45 PM
http://www.kirupaforum.com/forums/showthread.php?s=&threadid=10150&highlight=php+text


PHP

swed
June 6th, 2003, 05:48 PM
ooopps, thanks Jubba !

The search on...

Excuse me buddy
Regards
Swed

swed
June 6th, 2003, 06:04 PM
im totaly stupid in this matter, could someone tell
me waths wrong, an how to put in the right code om
my "card"

http://www.dynamisk.nu/member.htm


Warning: fopen(member.txt): failed to open stream: Permission denied in /home/b1625/public_html/member.php on line 2

Warning: fputs(): supplied argument is not a valid stream resource in /home/b1625/public_html/member.php on line 3

Warning: fclose(): supplied argument is not a valid stream resource in /home/b1625/public_html/member.php on line 4
:(

Jubba
June 6th, 2003, 06:29 PM
You have to CHMOD the file so that it is writeable.

information about CHMOD-ing can be found here:

http://www.kirupaforum.com/forums/showthread.php?s=&threadid=24297&highlight=chmod