Thursday, June 5, 2008

PHP

Have managed to save vars from a flash file to a text file.
GO HERE
Enter your name and a message and click POST.
It will be sent to a PHP file which will take the variables and save them to a text file.
You can look at the text file to see who else has visited

2 comments:

Bronwyn hegarty said...

very clever I like it! Looks like you are getting to grips with the code. how have you got to this stage Wll? sheer hard work or is there some sort of guide you can refer to?

will said...

I been using the PHP.net site for resources about specific functions.
But where I whent wrong I needed Patricia from the IT course to start me off on debugging. Although it seems obvious it seems very unnatural to test something if you can't see anythings wrong. But breaking the code down step by step sorted it out.
I intend to use this PHP code with this application which I've been developing for construction. All the variables you see here will be dynamic and set by the tutor, including the timber profiles, as the client side (administrator )has a basic drawing app. The blue prints will be dynamically loaded, and the students results will be stored and forwarded to the tutor.