Click to See Complete Forum and Search --> : php attached to a hyperlink


mikeyzc
09-11-2003, 08:00 AM
is there anyway to attach php to a hyperlink? like when someone clicks on a certain link it runs a php script that is embedded into the hyperlink?

example:
im linking to a pdf. when i click the link to the pdf i want to insert a value into my database table. is this possible?

Kr|Z
09-11-2003, 08:06 AM
You can link to a php file, and then make php open or redirect to the file you want to be shown in the browser.

something like: script.php?file=something.pdf