ok skal lige have en hånd, hvordan smider jeg det ind i en tabel, min server kan køre php så andet er ike så gdt med mindre en iis kan køre sproget sm std
Erhm det kan jeg ikke lige finde i php, javascript kan det gøres sådan her: document.writeln("<B>history is</B> " + history), så kommer hele listen ud. indexOf commanden for at hive de forskellige ud.
woodydrn: Du kan da ikke pille history'en ud og se, hvor brugeren har været tidligere!? Du kan da kun navigere i den - og evt. sende brugeren frem eller tilbage!?
Yeah I har ret, brugeren skal sætte sin security lavere for at det virker: javascript manualen:
previous: A string specifying the complete URL of the previous history entry Security Getting the value of this property requires the UniversalBrowserRead privilege. It has no value if you do not have this privilege. For information on security, see the Client-Side JavaScript Guide. JavaScript 1.1. This property is tainted by default. It has no value of data tainting is disabled. For information on data tainting, see the Client-Side JavaScript Guide. Description The previous property reflects the URL that would be used if the user chose Back from the Go menu. Examples The following example determines whether history.previous contains the string "NETSCAPE.COM". If it does, the function myFunction is called. if (history.previous.indexOf("NETSCAPE.COM") != -1) { myFunction(history.previous) }
Property of History Read-only Implemented in JavaScript 1.1
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.