Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Login & Calender


I'am wondering tha is benifit off creating loggin class instead of function? is there eny? and my next thought is about calendet. I ll have 3 calenders (for 3 diff month) on page with ll show week, day, and they ll by clickble. is there any benefits to writte class instead of funktion? I mean if I writte class so I have to create 3 object with ll take more place in server memory. but if I have one funktion wich I call 3 times it ll by faster( ).




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
MS Outlook Calender To Web Calender
Does any one know of an open source calender sync that will take my appointment in outlook and post them to a web calender. I schedule alot of meeting and it would be great to have this feature made avialable so I don't always have to work so much at tring to schedule a time using emails.

View Replies !
Calender
I am creating a PHP calendar from when I can click a specific date and save the date in the database together with the user who click the the date in the calendar.

View Replies !
Days In A Calender
I am trying to write a calender display that shows the days of the month accross the top of a table, and people's names down the side. One of the things I would like to do is to change the colour when the days are Saturday or Sunday. PHP Code:

View Replies !
Simple Calender
I am developing a very simple calendar that displays links to classes that fall within a given month. To have the page display the current month's classes, I have used: PHP Code:

View Replies !
PHP / HTML Calender
im looking to make an events calender in PHP/HTML. The calender would be simple with a link on each date, once you click on the link it would post the date value to a detailed info page using the GET method, i would then use the date value to search mysql and display that days events on a seperate page.

Now i have been looking around the net and came across a few javascript generated calenders, but i cant seem to find a solution that will allow me to control the calender content using PHP. Has anyone ever tried this?

View Replies !
Popup Calender
In php how to popup Calender and on click date ,month and year its value store in textfield and those value store in database.

View Replies !
Creating A Calender
I would like to create an online calendar for a friend. It needs to be able to add notes on each day and if possible highlight the boxes. That's all.

I promise, I have checked all the posts on this site. I have gone through Google. I have done everything I can. I'm looking for a link to a tutorial, a script that needs little customization or some sort of magical dwarf that could come and do it for me.

I really have no clue on anything practical in PHP yet, and what's more I have a horrible feeling that this task could include mySQL and database-y things....

You people have been so helpful before, any chance you could be again??

View Replies !
Date Calender
from where can i get the Date Calender just like in Phpmyadmin where user selects date from a calender page and the result returns in a timestamp ? you can see it when u select a date data type and insert the record thru phpmyadmin's INSERT option , you get this java script popup calnder.

View Replies !
How To Get The Calender Onto One Of My Pages.
I created a web calender using php and it is tied to sql. I am using yahoo for hosting but I cannot figure out how to get the calender onto one of my pages.

View Replies !
Specific Calender
I'm a designer by trade so PHP can sometimes be a little out of my comfort zone, but thats always a good place to be, right? I have a specific and I should imagine very easy thing i need to set up. I'm making a website for a band who play a lot of live shows. I wonder if anyone has the best solution to make a list of their shows that automatically deletes a show once it's date has passed. You know the way, say, the Myspace live list works. I don't need any fancy calender graphics or anything like that. Just a self-updating list.

View Replies !
Converting A Calender Date
I am converting a calender date..i got a example from PHP Manual. the code is PHP Code:

View Replies !
Calender Script/Schedule
Does anyone have any recommendations or tips on where I can go to find a good scheduling script or a tutorial to make one? I'd perfer to make my own for security reasons so I know the code and for later addons.

Basically I need to re-create something like http://radio.virtualdj.com/schedule/schedule.php where djs can login to book a time on the online radio and then it blocks the slot off.

View Replies !
To Display The Events In Calender
I have designed a event calender in which i have to display an anchor for the dates on which events are added. the calender is getting displayed but the event dates are not getting displayed within the calender.

View Replies !
Online Booking Calender
I wanted to put a calender on my website to allow people to see up coming clasess we have and allow them to booking/pay for them also. I would add them in the back end and how many spots are availble and when someone clicks on to pay for the class and checks out all the way it would subtract it from the total amount.

I would also like it to show on the date when all spots are gone Sold out and when only one is left only 1 spot left. I would like to see if there is a script out already that does this now. I am new to php/mysql so it would be great to find this.

View Replies !
Calender - Availability Chart
I have availability on my site in an calendar and I manually introduces if available for that day or not. But I want to do it autmatically. At the moment I have the reservations in an database table, I have arrival in one column and departures in another column, both date types.

View Replies !
Displaying Files In A Folder Using A Calender
I have excel sheets generated daily and weekly in this format for filenames..for daily sheets the filename is Jan-10-2002 (mmm-dd-yyyy) and weekly Week-39-2002. I have a script that uploads to a constant folder all the excel sheets.

Is there a script that can display the daily scripts in form of a calender. I.E a user can choose to view or download the sheet by choosing the date? Also another for displaying weekly excel sheets in a weekly format.

View Replies !
Calender Change The Background Colour
im have made a calender that i want to tie into a sql database , and depending on the value in the database will change the background colour of that day in the calender, the problem im having is with the following:

$colour = "#FF0000"; // this is just to test whether the background colour changes
$cal_event_opentd = "<td align=center bgcolor=#<?php echo $colour;?><b>"; 

but for some reason the backgroud doesnt change,can anyone tell me where im going wrong.

View Replies !
Calender / Date Picker Script
I have been looking for a script to display a calender / date picker within my web page to be able to select a date from.  Different from the ones I have found, I want to be able jump back and forward through months / years without having to reload the page.  I guess this will probably done using somthing client side such as javascript or CSS?  Can anybody give poitn me to one or give me something to start from?

View Replies !
Login Problem - Can't Login(login Is Done In Index.php)
This is origially PMsys, I have edited it, and here is what I have done with the original
replace all $_COOKIE into $_SESSION changed all setcookie() into session_start() and defined those $_SESSION now the problem is I can't login(login is done in index.php), does anyone here got an idea why? I uploaded the whole pakage, but I think you only need to look at index.php and include/global.php.

View Replies !
PHP "Calender Like" Pop Up To Select Date And Store As Variable In Mysql Format?
I use to have this feature on my site about two years ago when i hired someone. It would allow the user to select between two different dates, via a small calender, save it as a variable then query the database.

Does anyone know where I can find the script for the small calender? I think it must of been populated by an external clock since all the dates were accurate etc. July 21st was on a saturday.

View Replies !
Session Problem - Login Screen Continually Reloads After Pressing The Login Button
I am trying to get sessions to work on a log in screen to give certain
users access to certain pages/directories. The problem is that when
the login button is pushed (or the enter key pressed) the login screen
redraws, never loading the next page. I don't get any error messages.
I am using FreeBSD-5.1/Apache-2.0.46/MySQL-4.1.0.1/PHP-4.4.3.4

I have pasted the code below:

View Replies !
Login Lgout And Login Without Closing Session Gives Redirection Error
I am stepping through a text book that sets up different websites. The
one I am testing is user registration.

I set up the scripts and this is what I observe:

Login (verifying against a mysql db) - no problem.
Logout - no problem.

Close the browser and try again - no problem.

Login > Logout > Login WITHOUT closing browser I get:

An error occurred while loading http://login.php when it should redirect
me to http://localhost/index.php.

I read somewhere on the news group that the
header("Location: http://" . $_SERVER['HTTP_HOST'] . dirname
($_SERVER['PHP_SELF']) . "/index.php") (in my example code) is called
once and so the error?

The logout.php destroys the $_SESSION variables, session itself and any
cookies so I thought it would be "like new" the second time around?

It appears to be linked to sessions but don't know enough to know how to
correct.

View Replies !
Login Script Doesn't Display If The Login Is Correct Or Incorrect.
Below is the script I am using for my login page. It doesn't display if the login is correct or incorrect. All it does is clear the username and password box when I hit submit. I want it to display an error message if the login is incorrect and if it is correct redirect them to their own web page. I am putting the MySQL connection script in the header of the login.html is this wrong? Can someone please give me some pointers on how to get this script working?

<?php session_start();
$username = $_POST['username'];
$userpass = md5($_POST['password']);
$sql = "select * from usertable where username='$username' and password='$userpass'";
$result = mysql_query($sql);
if (mysql_num_rows($result)!= 1) {
$error = "Login failed";
} else {
$row = mysql_fetch_array($result);
$_SESSION['username'] = "$username";
$_SESSION['ip'] = $_SERVER['REMOTE_ADDR'];
header("Location: h*tp://www.w-------.com/$row['USLP']");
}
?>

View Replies !
How To Write A Simple Login Code For Users To Be Able To Login To My Site.
does anybody know how to write a simple login code for users to be able to login to my site.

View Replies !
Session Based Login Script Re Login Problem
I have built this login script, it logs u in and shows the first page... i have built it to be require()'ed, when i have required it from a browser script i made it loads the front page, then when i ask for browser.php?edit=file.html

It then asks me to re login and takes me back to the front page! PHP Code:

View Replies !
Create A Separate Page With One Login That Let's Me Login To All Of The Sripts At Once?
I'm building a website using various php scripts from I found on hotscripts. Because I'm not much of a programmer myself I'm using a separate script for the blog, another one for the links section and a different one for the gallery and so on. The downside to this is that I have to login on a separate page to update the gallery and another page to update the blog and so on.

Is there a simple way to either remove the need for a login for all the scripts and just create a separate page with one login that let's me login to all of the sripts at once?
Or if there's a script that can kinda save the passwords and logs in for me?

View Replies !
Secure Place To Store Login Info And How To Login With It
I had an idea to store my login code: ftp_login... in a separate file outside of the public_html dir and set full permission (777) to it.

1. Is that safe?

2. How do I call this function from inside another file?

function Login()
{
$connection= ftp_connect('ftp.me.com');
return ftp_login($connection, "me", "pass");
}

I was hoping to return connection but I don't know how to send pointers in php.

View Replies !
How To Develop A Login System That I Can Configure For 3 Or 5 Login Attempts?
This may have been asked before but I would like to learn how to develop a login system that I can configure for 3 or 5 login attempts.

Is there anyone that knows what I mean? as I am sure that it's a counter thing that I need to do but really not sure where to start. Code:

View Replies !
Authenticate The User With The Login.html, Login.php.
I am setting up a registration/login for my website with PHP and MYSQL. I have a register.html, register.php & a login.html, login.php.

I can successfully register a user (using register.html, register.php) into my database. Now, I am trying to authenticate the user with the login.html, login.php.

When I try to do so, however, I always recieve my error message "failed." It will not authenticate (despite several attempts of logging in with the same username and password of that which is in my database.) Code:

View Replies !
Hiding Login & Password Fields After Login
I am hoping to do the following, the homepage shows a username and password field. Once the user enters a scucessfull login, these fields are removed.

In order to achieve this, must the page be based on one big IF ELSE statement? so...

If user logged in hide username & password fields
Else show page with username and password fields?

OR is this acheived by redirecting the user to a page that is not the homepage after a successfull login? so...

the user would login sucessfully and be redirected to a homepage identical to the one with the fields but will have the username & password fields removed?

View Replies !
Main Page Login = Forum Login
This is going to be a website for a club im in at University. Now, I only want members of that club to be able to register.

The problem is that they pay a member fee. I want to know a way that when they pay me the fee (in person) I can give them a unique confirmation number from which they can register properly (sorta like a CD-Key). Code:

View Replies !
Login Problem - Script For Login To My Web Site
i have a php script for login to my web site.it works very well when i test it in localhost but when i upload it to my site it is not allowing me login. Code:

View Replies !
Login Script That Doesn't Let Me Login Or Redirect.
I have a login script that doesn't let me login or redirect. Code:

View Replies !
Login Script Forcing Me To Login Twice?
I have built a login script and for some strange reason its forcing me to login twice. Not saying the user/pass is wrong first time, it moves the headers fine, it just show the old page with the login any ideas? Code:

View Replies !
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:

View Replies !
Email An HTTPS Address With Encrypted Login For Users To "Click And Login"
I have developed a web site that monitors the state of the user's routers (UP/DOWN & WHY) it has the usual login web page, since the web site monitors the devices and sends emails when there is a problem, i wanted to send an email with an embedded https link, where the user could click and be directed straight onto the web site, without the need to login.

View Replies !
Mail Server - Use My Page Login For The Mail Login User Is Stored In $_SESSION
I have a problem and no time to google it and i hope someone will guide me. I have a linux server (slack10) php/mysql and a website where you can create accounts and login.

i need to install a mail server with a web interface, i need to have a script that creates automaticly an email account when my page creates an account and a way to use my page login for the mail login user is stored in $_SESSION and the mail will be shown in iframe any sugestions?

View Replies !
Session Question - How To Change The Link Of "login" To "logout" After User Login
i have two questions:

1). there's a "welcome $username" on top of a form after user login, but when the user use the same form again, the "welcome $username" still there.
HOW can i get rid of it?

2). how to change the link of "login" to "logout" after user login and "logout" to "login" after user left?

View Replies !
Php Login And MySQL Login
can anyone tell me the advantages of a login created with mySQL over just using php and writing to text files(if this is posible)?is mySQL safer and more secure in any way or just easier?

View Replies !
Login Script That Checks Long Long It Has Been Since A Last Login
i need to make a login script that checks long long it has been since a last login. I have Mysql so i can use that to store the last login date. Can someone help me figure out how to find how many days ahve passed since a previous login. Like what format should the last loin date be stored in. Also how i get it to figure out how many days have passed since the last login.

View Replies !
Redirect From The Login Page To The Login Page
I have been working on a cms, and I got the login and main admin page working, so what I am trying to do is make it so if your not logged it, it redirects you to the login page. But the problem is once it gets to the login page, it continues to redirect from the login page to the login page, so its nonstop. How can I fix this.. Code:

View Replies !
Help With Login
The problem is that the very last part of the code is not working the last if..else condition that has been set doesnt work, ie, when session remains and cookie expires...whenever there is such a condition a few notices are displayed and nothing else..

} else if (!isset($_COOKIE['user'])) {
if (session_is_registered("password")) {
echo "else if part";
}
}?>

View Replies !
Login
how to login ...

<form name="form1" method="post" action="">
<input type="text" name="user">
<input type="password" name="id">
<input type="submit" name="Submit" value="Submit">
</form>

In the above form..i want to fetch data from database of mysql ..to
the field of name and id .....when
will enter to the name and id it will compare to mysql fields how to
write to this form code in mysql queries through php..........

View Replies !
SSL Login
Recently, my company has decided that session-based login isnt secure enough (Layoffs are coming, they probably expect lots of angry people) and have decided that encrypted login is necessary, even on internal networks.

Can someone please give me somewhere to start on implementing this? I have a pretty solid understanding of encryption in general, but the articles I have read are cryptic.

View Replies !
Login Box
I'm having a bit of trouble with a login box. My website has all the common stuff - news etc. and it has a login box up the top.

What I want to do is have it linked to a database and you can login, and when you login it says something like:

Welcome, *User*.

Type thing. How would I go about doing this?

View Replies !
Last Login
I would like to show the list of last login members on my web page. How do I do it?

View Replies !
After Login In
I am trying to create a basic login page in PHP whitout using a database to reduce complexity at the moment ,but after I get the login successful, I have no idea on how to redirect the page to lets say a folder or page. Code:

View Replies !
Won't Login
I have created a login in page for my site but when i try to login in, even though the user name and password are correct, it tells me that they are invalid. Here is the code from the login.php page:

View Replies !
Login And Get Value
I want to let users log in, get their username and password verfied against my mysql-db, and each user are associated with one of five accessgroups, named by "A", "B" ... "E".

My db have these fields:

username password accessgroup

Users with username and password matched from the db assosicated by for example "B" should then be redirected to a special page, a page which should not be accessible by any other goups of users. And so on.

This might perhaps be solved with sessions?

View Replies !
Login.php
This is my login.php

<html>
<body>
<?php
if (isset($_COOKIE["uname"]))
echo "Welcome " . $_COOKIE["uname"] . "!<br />";
else
echo "You are not logged in!<br />";
?>
</body>
</html>

What im trying to do is if i have the right password and right username it lets me in, but if one or another is wrong i want it to say something like Invalid username or password.

View Replies !
Login Help
I am in the process of building a membership system. However, logging in is proving to be impossible, and even the correct password and username combo are denied. I think I have the problem narrowed down to a single 'if' statement, but cannot tell what is wrong with it. Here it is: PHP Code:

$get_user = mysql_query("SELECT * FROM `pet_game` WHERE 'username' = '".$_POST['username']."' AND 'user_password' = '".md5($_POST['password'])."'");
$q = mysql_fetch_object($get_user);
    if($q==FALSE)
     {die("Login Failure: An error occured, please verify your username and password are correct.");}
    else
     { header("Location: http://staggy11.byethost3.com/home.php"); }

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved