Nov 8, 2009

A Twist On Basic Authentification - html help

free web hosting
Open Discussion > MODERATED AREA > The Internet > Web Design

A Twist On Basic Authentification - html help

GameSmith
Alright, i am working on a website where a number of different users from different companies will be looking hooking into one website.

What i want is to know how i can differentiate between the users based on the information passed by the webserver.

I've been told to that information will be passed along html_user(and if i have a distinct user then i can just query the database with that info and get what i want)

But how does this work? I am sorry i know this is cryptic i'm kind of searching to see if this strikes a bell with anyone.




So to sum, many users are logging in with basic authentification, then being redirected to my page. From there i need to be able to differentiate between the users based on whatever is inherently passed.

Help! As you can see i don't know this one too well... lol

Comment/Reply (w/o sign-up)

jlhaslip
I don't understand completely what you want to do, maybe, but if I were you, i would consider that having each person register and then Log-in to the main site would be enough... IF... each person who registered could be identified by the Company they are a part of in their user Profile.
In order to complete this answer, please post the Database Table schema you are using so we can assist you further.

thanks.

Comment/Reply (w/o sign-up)

minimcmonkey
if you mean they are being sent to your site, from a referrer, the easiest way to sort the problem out, would be to have a user cookie sent to their browser before the referral, then checked by your site, and then the code could query the database accordingly. if the site differentiates users in the URL like "http://www.whateverdomainitdoesntreallymatter.com/users/data/index.php?user=usernamea"
you could use PHP to detect the referrer, and break down the URL, and query the database accordingly.

Comment/Reply (w/o sign-up)

anwiii
QUOTE(GameSmith @ May 23 2008, 07:26 PM) *
So to sum, many users are logging in with basic authentification, then being redirected to my page. From there i need to be able to differentiate between the users based on whatever is inherently passed.


are you saying people are logging on to one site, and when they get redirected to yours, you want to differenciate the users/members? what's your website and where are the users coming from? from my understanding you want to differentiate the users without them having to log in to your site page? i think you need to be more specific here....

Comment/Reply (w/o sign-up)

dragonfang00
you will need to create a script with $_GET placing it in the logging page.. after this method you should put another $_GET in the website to where it is redirected so you can differentiate it..

example:
CODE
<?php
$authent_type = $_GET("auth_type");
?>


and you'll just add the auth_type with it's username and/or userID in the link like
CODE
http://domain.com/redirect.php?uname=username&uID=1234567&auth_type=<?php echo $authent_type; ?>


OR

you can also do it without using $_POST variable but instead creating a cookie.. setcookie() function will do the work replacing the $_POST variable and it is much easier..

example:

CODE
setcookie("user", $username, time()+3600);


where "user" is the name of the cookie, $username is it's value, and the timeline on how long it will be in the user's machine...

 

 

 


Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : Twist Authentification Html

  1. Php Or Html? - which do you use? (54)
    Well being a HTML its easy for me but what do people use the most? Is it HTML or PHP. It depends
    really on which you learnt first. So im gonna have a poll.Post HTML for Html and PHP for php and we
    will see which is more popular....
  2. Flippingbook Html Edition - download FREE version (6)
    You can create professional online albums/books with this simple and convenient tool: FlippingBook
    HTML Edition . The main attraction with this Javascript+SWF application is the page-flipping or
    page-turning feature, like we are used to do with physical publications like books, magazines, etc.
    http://www.page-flip.com/downloads.htm this free version has several limitation however: up to 10
    pages only, and you gotta retain the copyright link embedded in it. of course there is the paid
    edition too, in case you want to use it beyond the limitations of the free version....
  3. Html Editors That Work With Asp Php - wondering mind (10)
    Out of the many editors that i have seen not to many support asp or php those that do its more of
    converting so i was wonder which ones do have full blow asp and php capabilities on them?...
  4. Stop Your Html Codes From Being Stolen - Stop your Html codes from being stolen on your HTML pages. (16)
    Hello people! Obviously a lot of people use these little scripts to stop you from right clicking on
    websites/HTML pages etc. I know many many people use near enough the same kind of coding as the one
    I just made. I decided not to put this in the Tutorials section because I know alot of other codes
    do exactly the same thing as this one I am going to be sharing with you! This code may be
    re-distributed if you wish. I have no copyright on it, but please put some kind of "Thanks for the
    no right-click script". Here it is: QUOTE oncontextmenu="return false" onselectsta...
  5. Flash Media Into Html/css Website - does anyone know how to import a flash into a webpage with transparenc (3)
    Hi I need some help , Im designing this website for school studies However, I made a flash drop down
    menu, works perfectly, but you know how flash has a background when you export it in to a SWF file?
    For example my flash is width= 800, and height = 200 but my div box on my html page for my
    navigation is only 50 px my buttons is width of 50px and the rest of the content is the drop down
    animations i want to insert it into my navigation div box but i want to set the flash background to
    transparent so that when the drop down menu comes down it overlaps the text or whateva...
  6. Displaying Html In Flash - Using ActionScript (9)
  7. Help! Php Or Just Html? - i want to start buliding my website. which is better, php or basic htm (16)
    i try to start this topic in webhost category but it seems like i cant. i dont have the permission
    so i just post my topic here. im sorry mod.. i want to build a website which contains: - Links to
    videos - Informations - photos - flash i don't know if i should use php or just HTML. guys,
    what are your opinions..??...
  8. Website Structure - PHP, MySQL, HTML, etc. (3)
    Hey guys, I am a very, VERY, curious person on finding out how things work on the computer if I find
    them interesting and I can't stop thinking about the thing until I find the answer. The sooner
    I find the answer, the less time I get a headache.

    So I was wondering how websites work. I mean how
    everything would be put together. Like how a game would be put together lin...
  9. A Small Html Problem - How to display foreign characters correctly when designing a site. (5)
    I was wondering how I could solve a small problem. I was told that some people see accented and
    umlauted letters (such as " é " and " ë ") as question marks (" ? ") on my website. I come across
    the same thing sometimes when looking at websites which use non-English characters. Funnily enough,
    the other day, I looked at a site and the apostrophy ( ' ) was also shown as a question mark.
    That is a very common character usually, I would think. I thought it had something to do with the
    character encoding settings, and let me also mention I use Mozilla Firefox as my brows...
  10. What Is The Best Free Html Editor? - (24)
    im looking for any kind that is free really.... i use windows but if you have one for a different
    platfor, go ahead and add it for reference for other users. If you have one for normal text editor
    and wysiwyg, add them both. i have been using notepad as my normal html editor but im looking for
    something different... at least so i can see the different colors of the codes. Right now i am
    downloading moxilla's seamonkey suite but im not sure how good it is... i will post a review if
    i ever use one. If you have used the html editor you suggest or you just heard abou...
  11. Psd --> Editable Html - (4)
    Here's the deal. I am new at working with web objects in photoshop. I have CS3, and I created a
    really nice template. I'm told I have to do something with slicing. So I have the template, and
    it has images, buttons, and text on the buttons, and text fields, etc. How can I export this to HTML
    and images, and be able to open it up in dreamweaver in an editable web page? I've tried
    exporting to "web and devices" and exporting as HTML and Images, but when I open it up in
    dreamweaver, it looks right, but it is all images. Thanks...
  12. Where Is There A Good Site To Learn Web Html? - (20)
    im a noob when it comes to web html to design web sites, can some one tell me where to find a good
    website that has good tutorials on how to use web html?...
  13. Naming Web Page Files - Which way you like- MyPage.html or my-page.html or my_page.html (9)
    Everybody talks about meta tags, keywords, good title names and how they can increase page rankings,
    etc. But I was wondering whether the page name itself holds any value in indexing. Yes, I am
    talking about the web page file names (some-thing.html) NOT the one which you put in title tags. I
    am going to express my views and want to know what you think is correct. I have seen pages named in
    various ways like these: 1) my_web_page.html 2) DoYouLikeMyPage.html 3) hey-see-my-webpage.html (I
    think this way is more appropriate) 4) this.is.a.page.html (somewhat confusing) ...
  14. Has Anybody Tried Ms Expression Web Html Editor - It's much better than Frontpage (3)
    I was desperate to finish a site I was designing after I lost my hard drive and my software. I
    downloaded Expression Web from the Microsoft site for a 3 month free trial, and guess what? It's
    surprisingly good! Nothing like that crappy frontpage, it's standards compliant and very good
    for writing CSS. Haven't heard anybody mention the program and wondering if anybody else has
    tried it out. It's free to try from the MS site....
  15. Html Problem - (9)
    how to make my intro page in the middle not CENTER ...
  16. Css List Vs Html List - (1)
    I am currently learning the basics of web building and i am wondering if and when you should use
    html lists or css lists? The way i see it is if you are going to make a css list you are going to
    use that list setup later and just make a html list when u just need it once? did i just answer my
    own question? or is there a web standard where you should always use css for lists? idk....
  17. How To Make Pure Html Preloader? - anyone know's the answer? (7)
    Hello all today i run out on this website and I found it very interesting... Anyone know how they
    did that page? and im specialy interested in that HTML preloader... ?? how to make one??...
  18. I Buy A Book "html,xhtml&css Sixth Edition" By Elizabeth Castro - (2)
    After few years when I take a look of the web, I find that what I have learnt before is totally
    obsolescent, the standard is changed a lot. So I go to book store to look for a book to learn it
    from the beginning. I find there is too many books about web design. What I want is a book can tell
    me the situation about the popular using method. After looking for about 1 hour, I find this book
    "HTML,XHTML&CSS Sixth Edition" which was writen by Elizabeth Castro. I think this book is meet the
    needs of me. What I want is to get the information of the new standard of web desig...
  19. How To Use Html In Flash - I need to import html into an iframe like box (1)
    As of this post I am trying to convert my current html website to a flash site. I use iframes in my
    html site and i am wondering if i can import html into a dynamic text box. I am wondering if i will
    need to redo the entire design in flash or if I can just import the html. If anything is confusing,
    please tell. Thanks in advance for the help /biggrin.gif" style="vertical-align:middle" emoid=":D"
    border="0" alt="biggrin.gif" />...
  20. Best Free Html/flash Templates - (13)
    Before I began creating websites myself, i used templates. The best selection of free ones is here:
    TemplatesBox . Tons of free HTML and Flash templates (although you need to pay for the nicer ones),
    I'm not affiliated with them I just thought there were alot of threads looking for templates and
    this is a great resource....
  21. Free Html Editor? - (37)
    Hi, I'm looking for a free HTML editor. Not one of those new-fangled WYSIWYG ones... the only
    conditions are.... * Its free * It has syntax highlighting * It has a preview mode (like on
    dreamweaver or whatever). * It doesn't have any spy/adware! I figured that theres probably a
    great program out there somewhere, I just havent found it yet. I used to use one that I liked but
    since the Great Hard Drive Crash of 2004 it has disappeared from my PC, and I can't find
    anywhere to download it either.... Which (free) editor do you use? - Vacant...
  22. Besides Html / Css - what kind of of coding do you use in your sites? (11)
    Hey guys I have a question for normal sites what kind of coding do you use besides the regular HTML,
    and CSS I realize for logins and forums etc.. php is common and the language of choice for database
    interaction but besides that for more cosmetic appealing appearence do you use anything else? Im
    asking this question cause im thinking of learning Java but im not sure how much that would help my
    web site design skills. And if thats not the one(in your opinon) to learn if I want to get better
    at website coding which one is? I have a shallow knowledge of VB and C++ but c...
  23. Tsw Webcoder - Anyone use this html editor? (3)
    Hi all, does anybody use the TSW webcoder? I ave been using this to do my site for about 3 months
    now and it's great. It's easy to use and just got alot of functions. Has anyone got te
    newest version of it? and wats new in the new version? Thanks...
  24. Tools For Photo Album With Html - (12)
    I'm new in web design and I want to build a web site where my family can view thumbnail pages
    with family photos and select the thumbnails to view the original photo. As a starter I thought
    about a couple of thumbnail pages to increment or decrement. I want to generate the pages with a
    free tool in order to review the html code for self learning purpose. Is this a good approach and is
    there any free tool suitable for this? Tillo...
  25. How To Create Html Feedback Form - (3)
    Hello... I want to know a very simple thing...For example i want to add a simple HTML form on my
    website ,.for example , something like User Name (text box) User Email: (text box) COmments (text
    box) Submit form Reset Form Just like that, so that when user click on UBMIT form, button, it
    takes all the inputs from the above boxes and sends to a pre defined email adress.and on submitting
    it shows a new thanks page. Well..there are some forms when you fll everything, they open ur default
    mailbox and then send etc etc i want that to send direct (i.e. without opening the ...
  26. Html Editor - Text editor or HTML Editor (7)
    What is a HTML editor? A HTML editor i basically a text editor but it has some advanced
    features.The important one being able to translate written text into HTML codes.Nowadays everyone
    uses HTML editors but still there are some guys doing it over a Text editor What do you fell about
    this At present iam creating a webpage with MS FP .It is user friendly and actually a very good
    tool for a beginner.Beginers look no further than FP.Also one cannot expect,atleast 99% ,a flop show
    from Microsoft.It has an integrated FTP. But all sites do not support FP extensi...
  27. Html Editor - some few questions.. (16)
    Hello, I have some few questions about a HTML Editor... :/ does it help make your site easier? what
    does it do? where can i get a good one, any recommendations? If it helps make your site easier then
    i need one /rolleyes.gif' border='0' style='vertical-align:middle' alt='rolleyes.gif' /> thanks
    for your help .. -Microsoft...
  28. Formatting Php With Html - (4)
    PHP is only a scripting language, meaning you will need HTML to make the output look good to the
    user. However if you insert HTML normally PHP will generate some errors, so read this tutorial to
    learn exactly how you need to format HTML for it to work with PHP. Lets say we want to display to
    our users the following: Welcome to my website! In HTML the code for that would be: Welcome to
    my website! However in PHP we need to add a forwards slash () in front of every quotation mark so
    that we dont interfere with the quotation marks in the PHP functions. Lets take a lo...
  29. Features Of Coffeecup Html Editor 2005 - (4)
    QUOTE The CoffeeCup HTML Editor is two editors in one. If you know HTML or want to learn more,
    use the code editor that has set the standard since 1996. To make pages fast or without knowing
    HTML, use the drag and drop WYSIWYG Visual Editor. You also can go back and forth between the Code
    and Visual Editors to create remarkable Web sites in a snap. CoffeeCup comes with more than 100
    DHTML and JavaScripts, a DHTML Menu wizard, 25,000 graphics and photos including more than 1,000 XP
    Style Icons, and access to more than 500 free Web site templates. It also has built-in...
  30. Html Code Problem - (7)
    Hi! Im working on a little HTML project for myself and am teaching myself.. So I would like to know
    how to set roll over effects and a short guide on it! What I mean is, I would like to know the code
    of making the mouse over on links make the links go red... Or if anyone can give me a way to do it
    on frontpage, because I cant find it! Thnx in advance!...



Looking for twist, basic, authentification, html

Searching Video's for twist, basic, authentification, html
See Also,
advertisement


A Twist On Basic Authentification - html help

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com