CallumCatterall Posted October 31, 2011 Posted October 31, 2011 Can somebody help me create a form that gets the user name, and the last URL and sends it to an email? Both of these should be hidden though, so all you can see is the send/submit button. It can be coded in any format, and we use exchange if that helps? Thanks.
RabbieBurns Posted October 31, 2011 Posted October 31, 2011 need a bit more information. What last URL? from where?
CallumCatterall Posted October 31, 2011 Author Posted October 31, 2011 Hi, it would be the last URL from the browser. Eg if I start on google.com and go straight to microsoft.com the last URL would be google.com. I know in php this would be HTTP_REFERRER. Thanks again.
Steve21 Posted October 31, 2011 Posted October 31, 2011 Hi, it would be the last URL from the browser. Eg if I start on google.com and go straight to microsoft.com the last URL would be google.com. I know in php this would be HTTP_REFERRER. Thanks again. That's not a referrer. Referrers is where it was linked from, So if google has a link to microsoft and you click it, it would become the referrer. If you type microsoft into the address bar you have no referrer (Unless I'm mistaken) And what username? You shouldn't be trying to get the "windows" username as such, If you have a logged into site you can store that username for moving internally within your site, but I'm assuming from your description you more want their real usernames? (I'd be curious to why aswell ) Steve
Progeniga Posted October 31, 2011 Posted October 31, 2011 It's a bit hard to suggest a solution while guessing what you're trying to do? Is it some sort of form you want to fill in that gets a students previously visited websites?
CallumCatterall Posted November 2, 2011 Author Posted November 2, 2011 Hi, sorry for not replying... I must be mistakes about the referrer then, again coding is not my strong point. The page is for Forefront TMG, when staff meet a blocked website they will be met with this page and then they can submit the site for approval. We need the usernames to see who has requested the site for approval.
jamesreedersmith Posted November 2, 2011 Posted November 2, 2011 Would a form that specifically asks for a contact name and number/email and a reason for the unblock being needed and a timescale not be more useful.
CallumCatterall Posted November 2, 2011 Author Posted November 2, 2011 Looks like it is going to have to be...But the one we have now is just a submit button, and the staff don't like change.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now