Ideas To Create User Personalize Page Without Login.
Hi,I am new with PHP, I am a new junior internet programmer. My boss asked me to do a personalize page for his search engine. Do any one willing to give some ideas of how to create a personalize page without login by user(only read the user cookies and mysql)
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Create A Php Login Page
I just want to know how can I create a php login page and a download page for each customer that login's in.
How Would I Create A Login System With Flash Then Load A Page?
I'm creating a login in system using flash mx, php and mysql. flash is being used to create the fields...i know (i think) how to get the login in working but what i'd like to know is how would i get (once the user has logged in) a page to load in a frame? any help would be greatly appreciated.
User Login Page
i just created a user login page which works. However, I don't know how to get them to a new password requiring page after they press the submit button. How do I go about getting them there?
Different Page For Different User After Login
i want to make a login page and every user will use the same page for login. when they will give user id and password and the system will automatically show different page for different user. Sample: Admin will automatically redirect to admin.php page User will automatically redirect to user.php page. Any idea and sample code for it ??
Redirect The User To His Own Page Once It Login
i have created a login page .. and i need to redirect the user to his own page once it login.. in the other words.. i need to redirect the user to his own database.. but the login details is stored in another database... just like once you login into your own account and it is displaying only your details.. hmmm how can i do that with php ... what method is easier and suitable ?? if can juz kindly show me how the code look like too..
User Login - Direct To Specific Page
If im looking to make a login system, that when someone login in with a specific username and password, it takes them to a specific page, ex. login: world password: world page they must get sent to once logged in: world.php login: hello password: hello page they must get sent to once logged in: hello.php Can someone give me a start to it here please? been looking around but cant find a good explanation of it .
Login Page Not Redirecting After Login
I've used this same snippet of code in other login forms without a problem (with some slight modifications from script to script) but this one seems to baffle me. Basically it takes the login and validates the entries (validation works, error messages display if left blank), then checks the database for a match. If there's a match then it is supposed to forward the person onto the proper page using the 'header' function. Problem is it's not. Basically it's reverting back to the 'index.php' page (login page) and the display is completely blank. Here's the code for index.php: Code:
User Login
I currently have a database that holds user registrations - there is a spot for them to register, login, etc. Now... I am installing vBulletin - is there anyway to take away the user reg. on vBulletin and have the other one carry over to it? So once they login ONCE on the site, it counts them as logged in on vBulletin?
User Login
Say I have a page named secret.php and I want only logged in users to access it, how can I stop others from briefly viewing it (my script refreshes the page when it sees the user isn't logged in, so they see it for a split second).
Creating A User Login
I want to create a link on a site that prompts a visitor with a login prompt. Once they enter in the code (could be one line or could be username and password) they will be taken to a different webpage within the site. Can this be done? ...and if so, how?
Prevent Two User Login ?
I written a php application which is is password protected application. I want to prevent both users using the same user id and password login at the same. While both of them login at the same time, one of them must b kick out from the application.
A Secure User Login Example
Do you have a place where i can find an example for a PHP system that uses secure user login (e.g. web based mail application etc)
User Login Redirection
If a user is not logged in on my site and goes to a page which they need to be, they are redirected to the login page. When they login, they are redirected to the page they were pm. The preoblem is, if there are 2 $_GET values, it only reads the first. Example: http://www.mydomain.com/page.php?get=value&get2=value2 http://www.mydomain.com/login.php?redirect=http://www.mydomain.com/page.php?get=value $_GET['get2'] is not in the login.php url. I am using $_SERVER['REQUEST_URI']
How To Create New Mail User In Sendmail
Can anyone put me on the right path to creating a new mail user in sendmail on the fly. I want to offer free email to my site users. There email would be: whatever@mydomain.com. I want for them to be able to fill out a registration form ( in which they choose a username and password ), and a new email account is created for them on the fly just as done in yahoo or hotmail. Please, if anyone no of any open source php code that does this, or if you can walk me through the process--that would be much appriciated.
Create New User In Sendmail Server
like a hotmail, after regisration, it would be able to use the email services. now i have a php web email, but i cannot create the user from the sendmail server.....can somebody teach me.
How To Create New Linux User Account By PHP?
how to create a new Linux user account by PHP, so that only that user could go to his won account? I tried system("useradd xxx") but didn't work...did I forget anything? or are there any other ways to do that?
How To Create New Mail User In Sendmail
I tried out system() and exec() to call useradd fn and it's not working. Please give php code to do this. I also want how can give root permission to apache server and how to make apache user and sendmail user in the same group.
Login Page Produces Blank Page
What I get when I enter username/password and hit submit is a blank page and the URL never changes. In other words, the login page is 'index.php' and when submitted it should redirect to 'admin.php'. Instead the url/address stays at 'index.php' and the page turns completely blank. In the previous thread, the problem turned out to be some missing indicator to the md5 encrypted password. Well, in this version, that's there! In fact, I used the ending scripts for that project in creating this project. So, why it won't work is a real mystery. Code:
How To Reference User Login Using .htaccess
First off, I'm know very little about server side stuff. I've managed to install a php/mysql script (called ilogin) on my webhost's server which creates a username and password for people registering on the site. Using this username and password, the visitor can access a protected directory. It's done using .htaccess and .htpasswd. When the user tries to enter this area, internet explorer pops up a username and password window (i.e. you don't login using a form) Now I've also installed a seperate PHP script that allows website visitors to upload files. Now I plan to place this php file with the uplaod script in the protected area, so you can only access it if you've logged in (previous paragraph). I've done the above. Problem is, I dunno which of the registered users have uploaded the file. I don't need anything too complicated. I need to know how to reference the username, so when the user completes the uplaod button on the upload page, an email will be sent to me containing the username (maybe the filename as well) So basically, if I had a php page in the protected area, is there an easy way to get and store the username in a variable so that I can send that variable to an email address (like a standard form to email script).
Problems With Sessions - User Login
I have problems with sessions. It looks like the session variable "MM_UserID" is not passing from one page to another. I created a login page (login.php) and built the form and added dreamweaver mx's login behavior to it.I then created a user info page (login_success.php)which users reach right after logging in that displays several bits of information from their entry in the database table. When I login, the login is successful but no dynamic data (the user's info) is displayed on the user info page. The codes for both the login page and the userinfo page are below:
PHP Login - Redirects Depending On User
I am trying set up user authentication using PHP. My biggest goal is this: When a user enters in thier user name and pass they will be redirected to a specific page. The redirect page willl be different for every user. How do i do this redirect thing?
Count User Login Time
I want pick time after 2 min when an user login the web site also this information will be store in database automatically. How it is possible in php without help of javaScript.
Restricting User Login Attempts
I'm developing a database driven website on Unix using PHP and MYSQL. Users are required to register and are then allocated a username and password. In order to purchase items from the site, users are required to login using username and password. I want each user to be able to attempt login no more than 3 times - on the third attempt, if the username is wrong, the account is locked out. Any ideas on the best way to do this - i.e. keep track of the number of attempts? I thought of adding a LOGIN_ATTEMPT_NO to the USER table and incrementing it each time a login is attempted. But no sure is this is the best way. Was also thinking about using php session vars but presume these get reset at end of session, so if user restarts computer or exits and reenters site, vars will be reset. I want them to remain locked out until they contact system admin to reset the account.
Basic User Login For Survey
I'm using Joomla which is fantastic, but my problem is I wish to write a basic custom survey. I need to record the user name, and user answers (no CHAR types only answers from TINYINT 1 to 10 for graph purposes). I have the basic php set up to record this ( not very well but sufficient) What I'd like help/advise with is setting it up so the user can come back at a later date to finish off the survey, it may become quite a lengthy questionnaire. Code:
Simple User Login Script...
I want a simple user login page/script that does not run over a DB. The main reason for this is to ease deployment and because security is not a huge deal for the data being protected. Here's what I'm trying now. It isn't working. Code:
Secure Login And User Registration
I have 2 problems. 1. how am I going to get the unencrypted password when a user is registering to store in the db. 2. how am I going to get the unencrypted password to use with crypt so i can compare it with the crypted password in the database..like this crypt($pass_entered_from_login,$crypted_pass)) == $crypted_pass
Upload File And Create Directory For Each User?
I just saw an interesting thread, for uploading files - but my problem is just to add a directory for each user, the user name are stored in session variable sess_uname? I am not sure how do i check if the directory is already exists for the logged user. if directory exists than i i just want to move the file to that directory otherwise create directory with the name as sess_uname and store the file. Code:
Capturing User Login Information Of Windows
I want develop the intranet site with seamless authentication. Is there any way to capture only the user name who has logged in the windows machine. Iam using PHP 5.0 MySQL and IIS Server. I have tried with $_SERVER['LOGON_USER'] but its returning nothing.
PHP Tutorial For Building User-login Sites
I'm looking for a PHP tutorial that specializes in how to build sites that are based around user logins. i.e. the user logs in on the front page, and are taken to a main login page where fields on the page are populated with values from some server-side database. Ideally, there would be a server-side "user" database table, with fields such as "age", so that you could insert a short tag in the PHP source like: Your age is: <?php [something goes here] ?> and the "age" value from the user table would be interpolated, such that the "[something goes here]" in the example above would be something short like "user.age", and not something clunky like an entire SQL query statement. (Preferably the database lookup of the user's record would be done just once per page load, or even once per user login, so that it wouldn't require a separate database query to populate every value on the page.) Also, ideally, a way to do queries against other tables in the server-side database, so you could have something in the page source like: Your ordered items are: <?php [whatever goes here] ?> which would query against another MySQL table like "orders" for orders whose user_id field matched the "ID" field of the user in your "user" table, and display the results in a table format according to some specified template. Again, it would be elegant if the stuff in "[whatever goes here]" could be brief (the bare minimum you'd need to specify would be the "orders" table and the name of the template that controls the formatting of the results), instead of having to be an entire SQL query. Can PHP do this? The first few sites that I found when searching for "PHP tutorial": http://www.php.net/tut.php http://hotwired.lycos.com/webmonkey.../tutorial4.html http://www.gimpster.com/wiki/PhpTutorial didn't talk much about building a user-login site like the one I'm describing. Is there a tutorial which specializes in how to build that kind of site with PHP?
Login Scripts Manage 4 Different Types Of User
I am trying to write a login script which can manage 4 different types of user so for example if one of the admin users logs in they will be taken to the admin section or another user will be taken to their section with their proper privileges. I have never done anything like this before and was just wondering what would be the best way to do this, or are there any scripts that can help with this?
Php Script - Create Mail User - Linux/Postfix
I have a personel server (I learning) with Linux I use apache, Php, Postfix. I want create with Php script a mail user by web form (yahoo like) I don't really know Php. May be someone can give me a example. I want permit at my friends to create their own email account.
User Login And Preventing Access To Non-html Files
I built a user login for my site with php and it works great. The problem is that I want to put some .doc and .pdf files up on the web that only a logged in user can access and I don't want the user to have to enter another username/password I want to use the current system I've got now (which is just checking cookies and a database to see if you're logged in at the beginning of restricted pages). This doesn't have to be done with php but somehow I want to base whether or not you can view the files based on whether you're already logged in.
Prevent Multiple Login For Single User Account?
how to prevent multiple login for single user account? eg user A login AccountA in german while user B also login AccountA in netherland(at the same time) that website.. how to prevent this? set login status in mysql or?
How Do I Create User Name/password Protect Dirs On Apache Server?
On an Apache server, I want to be able to have a user name/password directory. I know this can be done with .htaccess, but I want to be able to do this for multiple users. The purpose of this, is that from the web page, I want clients to be able to have their own user name and password, which would grant them access to their own web page which would contain their client files for them to download. How can this best be accomplished considering I can't be root on the web server? I was thinking maybe this can be done in PHP?
I Want To Create Something Like AMAZON: Those Who Liked Page A Also Liked Page B
I want to create something like AMAZON: those who liked page A also liked page B (I am going to apply the concept to a few different selections, but to keep it simple I will talk about page popularity here - like AMAZON talks about purchase patterns: those who bought A also bought B, C and D). In my mysql table, I record everytime a visitor looks at a particular page (I keep track of people with sessions and they can only look at a page once). Next, what I want to do is to show a small list of similar likes. That is, people who had an interest in page A also had an interest in page B. The structure of my table is: id timestamp session_id page_name There is a unique index on the combination of session_id and page_name. To work out similar likes for page X, my idea was to make an array of all the session ids that looked at page X and then select the top 10 of pages that these folk looked at. My question is, should I do this in PHP with a bunch of arrays, adding total counts while looping through an array or shall I use SQL statements. I could even make a really long string of WHERE session_id = A or session_id = B, etc..... Although this seems really inefficient. Another question I have is whether you think this will be a self-fulfilling prophecy (e.g. if you say that page Y is also popular then people will check it out and therefore make it more popular).
PHP Sessions - User Login Webpage - Preventing Autologout Due To Inactivity
I have a website where users can log into. This users sessions as I believe most people use when implementing a login section of a website (each php page first checks a valid parameter has been set to authorise that the user has logged in and if it is not found it redirects the user to the login page). I have my code and it works fine, however on the live server, after a period of inactivity the user will be logged out automatically. However on my test server this is not the case and the user remains logged no matter how long they have no activity for. The exactly the same code is in place on both servers, just the servers are from different providers so I assume set up differently. What could be set up differently on the servers to be causing this difference in behaviour and what can I do to override it? In an ideal world I would be able to control the amount of inactive time before I user is logged out automatically.
I Want The Page To Go Back To My Login Page.
I want to logoff my application and I have set up a link to do this. I got it to destroy my session, but I can't get the page to go to the top of the browser and do a page refresh. Here is the code I am using. First there is the link I am using. printf("<a href="%s?logoff=%s">%s</a><br>", $_SERVER['PHP_SELF'],"logoff", "LOGOFF"); Here is piece I use right at the top of the script to destroy the session and try to refresh the page. if (isset($_REQUEST['logoff'])){ session_destroy(); $_SERVER['PHP_SELF']; } What do I have to do to get the refresh to work?
Login Page - Previous Page
I have a login page, and instead of going to the index.php page all the time after a successful login, I want the user to be directed to the last page they where at, as long as it is a page on the website.
Login Page/members Page
I am having trouble getting my login page and mebers page to work. I believe it has something to do with the way the cookies are set or something because the if(isset($_COOKIE['cookiename'])) area of the code seems to be what is not functioning correctly. Code:
Create A New Page
i am currently planning a new content management system, a very simple one for a uni project. I plan to have the page content and links called from a database using mysql and php. The problem is how to create a new page?? This will have to automatically update the links on all pages. Which wont be hard as to get the links i can set up each page to automaically select * from the links table.
Login On Same Page
in my login page i redirect to a second page logincheck.php to check the details then redirect to the myaccount.php page when all is well, but i'm not sure how to put the code in the 1 page, because headers can't be sent twice error login.php Code:
Create A Frameset PHP Page.
I've tried many different ways. Nothing works properly. Well, one way that it works, but the other site cant seem to find the frame name, because it is in PHP. It works so well in HTML. Now, I am trying to create one in PHP, so I do not have to create hundreds of HTML pages for each links. There is only one PHP page and it contains the framesets. What is the proper way to code framesets in PHP?
Dynamically Create New Web Page
i'm making a cms, and I have a good portion done, I have it set up where the admin can log in and create a new post which goes to the database. I am just wondering how I can make this post a new web page? I have been trying to study how they do it in wordpress but with no avail. Anyone have any suggestions?
How To Create A Non Existant Page...
Here is what I am trying to do.... I am trying to create an RSS Feed from my MySQL Database Category Structure... The ONLY part I need help with... I need to be able to CREATE a page with PHP. I know about the mkdir() and how to use that... But these RSS pages do not exist yet.. and I need to create them with PHP. So how would I go about creating a PAGE... The fputs() command requires that the page I am trying to update already exist... I need something similar that will CREATE it and then I can fputs() the data into the page..
Login In Page Trouble
Ive been trying to get this login to work all day and it seems like i found the problem, im just unsure how to fix it.. PHP Code:
|