Jump to content

Can php do this?


tabs

Recommended Posts

I 've got a project to do and need to know if it can be accomplished using php before I start to learn.

 

Basically I am turning a code of practice document into a set of web pages.

 

the code is used by users to get an output if they follow the document and the instructions contained with in it .

 

EG:

 

if your project meets criteria a and f goto page 10 table b.

 

Instructions above will obviously be hyperlinks.

 

What I need to do is be able to record which links a user follows  from start to finish when using the document and output it to a text file so it can be analysed. The exact format of the output has not been defined as yet.

 

Is it possible to do something like this using php?

 

I briefly looked at javascript as a quick and messy solution but after finding that I could monitor which links the user clicks using onClick and pass a string containing the link to a function in the Head section someon then told me I couldn't write to and external file/disk using javascript so that put the nix on that.

 

Any help would be most gratefully received. I am not looking for someone to give me all the answers of how to do this but just whther it can be done and a pointer in the right direction.

 

Cheers

Link to comment
https://forums.phpfreaks.com/topic/113571-can-php-do-this/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.