You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(4) |
Feb
(8) |
Mar
(29) |
Apr
(21) |
May
(26) |
Jun
(15) |
Jul
(18) |
Aug
(26) |
Sep
(27) |
Oct
(17) |
Nov
(35) |
Dec
(22) |
| 2002 |
Jan
(8) |
Feb
(26) |
Mar
(17) |
Apr
(5) |
May
(16) |
Jun
(16) |
Jul
(21) |
Aug
(11) |
Sep
(9) |
Oct
(15) |
Nov
(5) |
Dec
(15) |
| 2003 |
Jan
(20) |
Feb
(14) |
Mar
(15) |
Apr
(44) |
May
(15) |
Jun
(9) |
Jul
(7) |
Aug
(21) |
Sep
(2) |
Oct
(7) |
Nov
(15) |
Dec
(8) |
| 2004 |
Jan
(33) |
Feb
(13) |
Mar
(8) |
Apr
(20) |
May
(16) |
Jun
(30) |
Jul
(14) |
Aug
(16) |
Sep
(10) |
Oct
(8) |
Nov
(23) |
Dec
(15) |
| 2005 |
Jan
(8) |
Feb
(7) |
Mar
(19) |
Apr
(11) |
May
(13) |
Jun
(11) |
Jul
(12) |
Aug
(52) |
Sep
(14) |
Oct
(56) |
Nov
(9) |
Dec
(6) |
| 2006 |
Jan
|
Feb
(7) |
Mar
(5) |
Apr
|
May
(9) |
Jun
|
Jul
|
Aug
(5) |
Sep
(4) |
Oct
(1) |
Nov
(3) |
Dec
(13) |
| 2007 |
Jan
(6) |
Feb
(8) |
Mar
(12) |
Apr
(3) |
May
(3) |
Jun
(15) |
Jul
(11) |
Aug
(32) |
Sep
(35) |
Oct
(12) |
Nov
(13) |
Dec
(11) |
| 2008 |
Jan
(7) |
Feb
(10) |
Mar
(34) |
Apr
(34) |
May
(20) |
Jun
(6) |
Jul
(19) |
Aug
(21) |
Sep
(8) |
Oct
(11) |
Nov
(36) |
Dec
(39) |
| 2009 |
Jan
(34) |
Feb
(15) |
Mar
(14) |
Apr
(21) |
May
(50) |
Jun
(17) |
Jul
(37) |
Aug
(3) |
Sep
(5) |
Oct
(1) |
Nov
(1) |
Dec
(12) |
| 2010 |
Jan
(10) |
Feb
(5) |
Mar
(5) |
Apr
|
May
(12) |
Jun
(7) |
Jul
(4) |
Aug
(4) |
Sep
(8) |
Oct
(4) |
Nov
(6) |
Dec
(4) |
| 2011 |
Jan
(4) |
Feb
(2) |
Mar
|
Apr
(4) |
May
|
Jun
(4) |
Jul
(2) |
Aug
(6) |
Sep
(7) |
Oct
(15) |
Nov
(4) |
Dec
(2) |
| 2012 |
Jan
(3) |
Feb
(3) |
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(9) |
Jul
(10) |
Aug
(10) |
Sep
(10) |
Oct
(7) |
Nov
(1) |
Dec
|
| 2013 |
Jan
(4) |
Feb
|
Mar
(1) |
Apr
(11) |
May
(4) |
Jun
(4) |
Jul
(1) |
Aug
(28) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
(1) |
Feb
|
Mar
(3) |
Apr
(4) |
May
|
Jun
(9) |
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
(1) |
Mar
(6) |
Apr
(6) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Brian R. <bra...@vm...> - 2001-04-18 16:19:12
|
This is probably the same cookie problem that was noted in some previous
emails. Certain newer versions of IE have issues with setting cookies.
Since I am lazy, I am just cutting and pasting the fix from the previous
email I sent out:
------------------------------------------------------------------------
-------------------------
I found the below code to be extremely helpful with the cookie bug that
was noted in IE5.01+. However, after you make the below change, logging
out no longer deletes the cookie, since cookies must be deleted in the
same manner in which they were set. This means that once someone has
logged in, you can login again from that same machine by simply clicking
the submit button. Or, if someone else tries to login, the original
person is still the one they log in as.
To fix this, make the following modifications to
includes/logout.inc.php:
logout.inc.php:
<?php //Logout script created by Seek3r
//Modified by Brian Razzaque (raz...@vm...)
$time =3D mktime();
$date =3D date("l, d-M-y H:i:s", ($time));
setcookie("status", "", $date, $g_base_path, $g_domain);=20
setcookie("user", "", $date, $g_base_path, $g_domain);
setcookie("group", "", $date, $g_base_path, $g_domain);
setcookie("authentication", "", $date, $g_base_path, $g_domain);
setcookie("laston", "", $date, $g_base_path, $g_domain);
setcookie("logout", "", $date, $g_base_path, $g_domain);
unset($status);
unset($user);
unset($group);
unset($authentication);
unset($laston);
unset($logout);
?>
Just make sure that you use it with the code listed below by Jay Kramer.
Hope this helps some of you,
Brian Razzaque
Vision Multimedia Technologies, LLC
www.vmtllc.com
raz...@vm...
---------------------------------------
At 09:31 AM 5/3/01, Are Westby found time to write:
>I'd suggest you update php/apache. Or as an intermediary solution, you
could
>always run Netscape. Never had any problems there.
In case you aren't able to update these, I found a fix at the
sourceforge=20
website.
Change the files includes/cookie.inc.php and config/general.conf.php to=20
read as follows:
cookie.inc.php:
<?php // SET COOKIE INFO
// cookie.inc.php -- modified by Jay Kramer (ja...@mo...)
if (isset($authentication)) {
$time =3D mktime()+g_cookietimeout;
$date =3D date("l, d-M-y H:i:s", ($time)); // Make a IE5.01compatible=20
date/time..
setcookie("status", $status, $date, $g_base_path, $g_domain); // IE5.01=20
is picky about the base path nad domain, if they are missing, there is a
good chance the cookie will not get set..
setcookie("user", $user, $date, $g_base_path, $g_domain);
// setcookie("txtUsername", $txtUsername, $date, $g_base_path,
$g_domain);
setcookie("group", $group, $date, $g_base_path, $g_domain);
setcookie("authentication", $authentication, $date, $g_base_path,=20
$g_domain);
setcookie("laston", $laston, $date, $g_base_path, $g_domain);
}
else {
$time =3D mktime()+g_cookietimeout;
$date =3D date("l, d-M-y H:i:s", ($time));
setcookie("status", "Logged In", $date,$g_base_path, $g_domain);
setcookie("user", $txtUsername, $date, $g_base_path, $g_domain);
// setcookie("txtusername", $txtUsername, $date, $g_base_path,
$g_domain);
setcookie("group", $row[4], $date, $g_base_path, $g_domain);
setcookie("authentication", "YES", $date, $g_base_path, $g_domain);
setcookie("laston", $row[6], $date, $g_base_path, $g_domain);
}
?>
general.conf.php:
<?php //general configuration
$version =3D ".04.4"; //Version Number
$g_title =3D "PHP Help Desk"; //Title of your=20
helpdesk
$g_helpdesk_email =3D "web...@yo..."; //Email of your=20
helpdesk
$g_mailservername =3D "mail.yourcompanys.smtpserver.com"; //SMTP Mail
server
$g_cookietimeout =3D "1200"; //Timeout for cookies
$g_refreshtime =3D "600"; //Refresh time for=20
viewall
// If you are using http://someaddress.com/phphelpdesk, then you must
set the
// base url to "http://someaddress.com/phphelpdesk/" Notice the '/' at
the end
// you must put that in there. If you are using a virtual host such as
// http://phphelpdesk.somecompany.com, then you can just leave it empty
with
// the quotes touching "";
$g_base_url =3D "http://someaddress.com/phphelpdesk/"; //base url=20
location
// you HAVE to set your domain name here, with no HTTP:
// or / at the end or anything...
$g_domain =3D "someaddress.com";
// this is the path from the last part of the $g_base_url
// parameter. If there is no path, set this to "/"; NOTICE
// THE BEGINNING AND ENDING /'s!!
$g_base_path =3D "/phphelpdesk/";
?>
Thanks to Jay Kramer and someone who didn't leave their name. It now
works=20
for me using IE5.
HTH
Brian
com...@cl...
-----Original Message-----
From: Dustin Clark [mailto:Dus...@se...]
Sent: Wednesday, April 18, 2001 12:13 PM
To: 'php...@li...'
Subject: [Phphelpdesk-help] Wont work with IE
I have a wierd problem. I am using the latest version of PHP helpdesk
and the stable version of mysql. Everything has been working fine
until just recently I havent been able to access some pages through IE.
I can log in with IE and when I try to click on something liek "add
user" or "view jobs" it just takes me back to the login page.
However, I can get anywhere just fine with netscape. =20
I am not a guru at web programming and I believe this is probably an
easy fix. Any help would be greatly appreciated.
Thanks,=20
Dusty=20
|
|
From: Dustin C. <Dus...@se...> - 2001-04-18 16:12:03
|
I have a wierd problem. I am using the latest version of PHP helpdesk and the stable version of mysql. Everything has been working fine until just recently I havent been able to access some pages through IE. I can log in with IE and when I try to click on something liek "add user" or "view jobs" it just takes me back to the login page. However, I can get anywhere just fine with netscape. I am not a guru at web programming and I believe this is probably an easy fix. Any help would be greatly appreciated. Thanks, Dusty |
|
From: Mike T. <mt...@em...> - 2001-04-17 14:30:44
|
Is anyone else having adduser problems in .5.3? All other functions work, but when I submit the adduser info page (1 of 3) I get a webserver message Page not found. I've skirted through the pages and don't see anything that stands out being wrong and not getting any error messages on my webserver. Anyone got any idea? Thanks *********************************************************************************** Mike Tvarkunas Assistant District Director of Information Technology East Mississippi Community College The box said "Requires Windows 95 or better." So I installed Linux! *********************************************************************************** |
|
From: Onaizah.com <on...@on...> - 2001-04-15 09:02:03
|
=E5=E1=C7 =E6=C7=E1=E1=E5 =E6=D4=C8=E6=E4=DF=E3 =BF |
|
From: <kea...@ya...> - 2001-04-06 19:59:11
|
Dear Friends & Future Millionaire:
AS SEEN ON NATIONAL TV:
Making over half million dollars every 4 to 5 months from your home for
an investment of only $25 U.S. Dollars expense one time
THANK'S TO THE COMPUTER AGE AND THE INTERNET !
==================================================
BE A MILLIONAIRE LIKE OTHERS WITHIN A YEAR!!!
Before you say ''Bull'', please read the following. This is the letter you
have been hearing about on the news lately. Due to the popularity of
this letter on the Internet, a national weekly news program recently devoted
an entire show to the investigation of this program described below, to see
if it really can make people money. The show also investigated whether or
not the program was legal.
Their findings proved once and for all that there are ''absolutely NO Laws
prohibiting the participation in the program and if people can -follow the
simple instructions, they are bound to make some mega bucks with only
$25 out of pocket cost''. DUE TO THE RECENT INCREASE OF
POPULARITY & RESPECT THIS PROGRAM HAS ATTAINED,
IT IS CURRENTLY WORKING BETTER THAN EVER.
This is what one had to say: ''Thanks to this profitable opportunity. I
was approached many times before but each time I passed on it. I am
so glad I finally joined just to see what one could expect in return for the
minimal effort and money required. To my astonishment, I received total $
610,470.00 in 21 weeks, with money still coming in."
Pam Hedland, Fort Lee, New Jersey.
===================================================
Here is another testimonial: "This program has been around for a long
time but I never believed in it. But one day when I received this again
in the mail I decided to gamble my $25 on it. I followed the simple
instructions and walaa ..... 3 weeks later the money started to come in.
First month I only made $240.00 but the next 2 months after that I made
a total of $290,000.00. So far, in the past 8 months by re-entering the
program, I have made over $710,000.00 and I am playing it again. The
key to success in this program is to follow the simple steps and NOT change
anything.'' More testimonials later but first,
===== PRINT THIS NOW FOR YOUR FUTURE REFERENCE ======
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
If you would like to make at least $500,000 every 4 to 5 months easily and
comfortably, please read the following...THEN READ IT AGAIN and AGAIN!!!
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
FOLLOW THE SIMPLE INSTRUCTION BELOW AND YOUR FINANCIAL
DREAMS WILL COME TRUE, GUARANTEED! INSTRUCTIONS:
=====Order all 5 reports shown on the list below =====
For each report, send $5 CASH, THE NAME & NUMBER OF THE REPORT
YOU ARE ORDERING and YOUR E-MAIL ADDRESS to the person whose
name appears ON THAT LIST next to the report. MAKE SURE YOUR RETURN
ADDRESS IS ON YOUR ENVELOPE TOP LEFT CORNER in case of any mail
problems.
=== When you place your order, make sure you order each of the 5 reports.
You will need all 5 reports so that you can save them on your computer
and resell them. YOUR TOTAL COST $5 X 5=$25.00.
Within a few days you will receive, vie e-mail, each of the 5 reports from
these 5 different individuals. Save them on your computer so they will be
accessible for you to send to the 1,000's of people who will order them
from you. Also make a floppy of these reports and keep it on your desk in
case something happen to your computer.
IMPORTANT - DO NOT alter the names of the people who are listed next
to each report, or their sequence on the list, in any way other than what is
instructed below in step '' 1 through 6 '' or you will loose out on majority
of your profits. Once you understand the way this works, you will also see
how it does not work if you change it. Remember, this method has been
tested, and if you alter, it will NOT work !!! People have tried to put their
friends/relatives names on all five thinking they could get all the money. But
it does not work this way. Believe us, we all have tried to be greedy and then
nothing happened. So Do Not try to change anything other than what is
instructed. Because if you do, it will not work for you.
Remember, honesty reaps the reward!!!
1.... After you have ordered all 5 reports, take this advertisement and
REMOVE the name & address of the person in REPORT # 5. This person
has made it through the cycle and is no doubt counting their fortune.
2.... Move the name & address in REPORT # 4 down TO REPORT # 5.
3.... Move the name & address in REPORT # 3 down TO REPORT # 4.
4.... Move the name & address in REPORT # 2 down TO REPORT # 3.
5.... Move the name & address in REPORT # 1 down TO REPORT # 2
6.... Insert YOUR name & address in the REPORT # 1 Position. PLEASE MAKE
SURE you copy every name & address ACCURATELY!
==========================================================
**** Take this entire letter, with the modified list of names, and save it on
your
computer. DO NOT MAKE ANY OTHER CHANGES.
Save this on a disk as well just in case if you loose any data. To assist you
with
marketing your business on the internet, the 5 reports you purchase will provide
you with invaluable marketing information which includes how to send bulk
e-mails legally, where to find thousands of free classified ads and much more.
There are 2 Primary methods to get this venture going:
METHOD # 1: BY SENDING BULK E-MAIL LEGALLY
==========================================================
Let's say that you decide to start small, just to see how it goes, and we will
assume You and those involved send out only 5,000 e-mails each. Let's
also assume that the mailing receive only a 0.2% response (the response
could be much better but lets just say it is only 0.2%. Also many people
will send out hundreds of thousands e-mails instead of only 5,000 each).
Continuing with this example, you send out only 5,000 e-mails. With a 0.2%
response, that is only 10 orders for report # 1. Those 10 people responded
by sending out 5,000 e-mail each for a total of 50,000. Out of those 50,000
e-mails only 0.2% responded with orders. That's=100 people responded and
ordered Report # 2.
Those 100 people mail out 5,000 e-mails each for a total of 500,000 e-mails.
The 0.2% response to that is 1000 orders for Report # 3.
Those 1000 people send out 5,000 e-mails each for a total of 5 million e-mails
sent out. The 0.2% response to that is 10,000 orders for Report # 4.
Those 10,000 people send out 5,000 e-mails each for a total of 50,000,000
(50 million) e-mails. The 0.2% response to that is 100,000 orders for Report
# 5 THAT'S 100,000 ORDERS TIMES $5 EACH=$500,000.00 (half million).
Your total income in this example is: 1..... $50 + 2..... $500 + 3..... $5,000 +
4
.... $50,000 + 5..... $500,000 ........ Grand Total=$555,550.00
NUMBERS DO NOT LIE. GET A PENCIL & PAPER AND FIGUREOUT
THE WORST POSSIBLE RESPONSES AND NO MATTER HOW YOU
CALCULATE IT, YOU WILL STILL MAKE A LOT OF MONEY !
=========================================================
REMEMBER FRIEND, THIS IS ASSUMING ONLY 10 PEOPLE
ORDERING OUT OF 5,000 YOU MAILED TO.
Dare to think for a moment what would happen if everyone or half or even
one 4th of those people mailed 100,000e-mails each or more? There are
over 150 million people on the Internet worldwide and counting. Believe me,
many people will do just that, and more!
METHOD # 2 : BY PLACING FREE ADS ON THE INTERNET
=======================================================
Advertising on the net is very inexpensive and there are hundreds
of FREE places to advertise. Placing a lot of free ads on the Internet will
easily get a larger response. We strongly suggest you start with Method # 1
and dd METHOD # 2 as you go along. For every $5 you receive, all you
must do is e-mail them the Report they ordered. That's it. Always provide
same day service on all orders.
This will guarantee that the e-mail they send out, with your name and
address on it, will be prompt because they can not advertise until they
receive the report.
=========== AVAILABLE REPORTS ====================
ORDER EACH REPORT BY ITS NUMBER & NAME ONLY. Notes:
Always send $5 cash (U.S. CURRENCY) for each Report. Checks NOT
accepted. Make sure the cash is concealed by wrapping it in at least 2 sheets
of paper. On one of those sheets of paper, Write the NUMBER & the NAME
of the Report you are ordering, YOUR E-MAIL ADDRESS and your name
and postal address.
PLACE YOUR ORDER FOR THESE REPORTS NOW :
====================================================
REPORT# 1: Secrets Of Getting Free Advertising
Order Report #1 from:
K.W.
P.O. Box 2342
Mt. Vernon, IL 62864
USA
________________________________________________________
REPORT # 2: The Insider's Guide to Sending Bulk e-mail on the Net
Order Report # 2 from:
XCESSPOWER
5921 Hidden Pine Ln
McKinney TX 75070
USA
_________________________________________________________________
REPORT # 3: Secret to Multilevel marketing on the net
Order Report # 3 from :
R.C. Swans
Box436
Odebolt IA
51458
USA
____________________________________________________________
REPORT # 4: "How to Become a Millionaire Utilizing MLM & the Net"
Order Report # 4 from:
C.J. Kalata
P.O. Box 130157
Roseville, MN 55113-0002
USA
____________________________________________________________
REPORT #5: "How to Send Out 0ne Million e-mails for Free"
Order Report # 5 from:
B. Taylor
P.O.Box 26001
Fredericton, N.B.
E3A 5V8
____________________________________________________________
$$$$$$$$$ YOUR SUCCESS GUIDELINES $$$$$$$$$$$
Follow these guidelines to guarantee your success:
=== If you do not receive at least 10 orders for Report #1 within 2
weeks, continue sending e-mails until you do.
=== After you have received 10 orders, 2 to 3 weeks after that you
should receive 100 orders or more for REPORT # 2. If you did not,
continue advertising or sending e-mails until you do.
=== Once you have received 100 or more orders for Report # 2, YOU
CAN RELAX, because the system is already working for you, and the
cash will continue to roll in ! THIS IS IMPORTANT TO REMEMBER:
Every time your name is moved down on the list, you are placed in front
of a Different report.
You can KEEP TRACK of your PROGRESS by watching which report
people are ordering from you. IF YOU WANT TO GENERATE MORE
INCOME SEND ANOTHER BATCH OF E-MAILS AND START
THE WHOLE PROCESS AGAIN.
There is NO LIMIT to the income you can generate from this business !!!
======================================================
FOLLOWING IS A NOTE FROM THE ORIGINATOR OF THIS
PROGRAM: You have just received information that can give you
financial freedom for the rest of your life, with NO RISK and JUST
A LITTLE BIT OF EFFORT. You can make more money in the next
few weeks and months than you have ever imagined. Follow the program
EXACTLY AS INSTRUCTED. Do Not change it in any way. It works
exceedingly well as it is now.
Remember to e-mail a copy of this exciting report after you have put
your name and address in Report #1 and moved others to #2 ...........# 5
as instructed above. One of the people you send this to may send out
100,000 or more e-mails and your name will be on every one of them.
Remember though, the more you send out the more potential customers
you will reach.
So my friend, I have given you the ideas, information, materials and
opportunity to become financially independent. IT IS UP TO YOU NOW !
============ MORE TESTIMONIALS ================
"My name is Mitchell. My wife, Jody and I live in Chicago. I am an
accountant with a major U.S. Corporation and I make pretty good money.
When I received this program I grumbled to Jody about receiving ''junk
mail''. I made fun of the whole thing, spouting my knowledge of the population
and percentages involved. I ''knew'' it wouldn't work. Jody totally ignored
my supposed intelligence and few days later she jumped in with both feet. I
made merciless fun of her, and was ready to lay the old ''I told you so'' on
her when the thing didn't work. Well, the laugh was on me! Within 3 weeks
she had received 50 responses. Within the next 45 days she had received
total $ 147,200.00 ........... all cash! I was shocked. I have joined Jody
in her ''hobby''.
Mitchell Wolf M.D., Chicago, Illinois
======================================================
''Not being the gambling type, it took me several weeks to make up my
mind to participate in this plan. But conservative that I am, I decided that
the initial investment was so little that there was just no way that I
wouldn't get enough orders to at least get my money back''. '' I was
surprised when I found my medium size post office box crammed with
orders. I made $319,210.00in the first 12 weeks. The nice thing about
this deal is that it does not matter where people live. There simply isn't a
better investment with a faster return and so big."
Dan Sondstrom, Alberta, Canada
=======================================================
''I had received this program before. I deleted it, but later I wondered
if I should have given it a try. Of course, I had no idea who to contact to
get another copy, so I had to wait until I was e-mailed again by someone
else.........11 months passed then it luckily came again...... I did not
delete this one! I made more than $490,000 on my first try and all the
money came within 22 weeks."
Susan De Suza, New York, N.Y.
=======================================================
''It really is a great opportunity to make relatively easy money with
little cost to you. I followed the simple instructions carefully and
within 10 days the money started to come in. My first month I made
$20,560.00 and by the end of third month my total cash count was
$362,840.00. Life is beautiful, Thanx to internet.".
Fred Dellaca, Westport, New Zealand
=======================================================
ORDER YOUR REPORTS TODAY AND GET STARTED ON
'YOUR' ROAD TO FINANCIAL FREEDOM !
=======================================================
If you have any questions of the legality of this program, contact the
Office of Associate Director for Marketing Practices, Federal Trade
Commission, Bureau of Consumer Protection, Washington,DC.
|
|
From: Chad O. <CO...@ex...> - 2001-04-05 18:26:43
|
Thanks for your help Joe, I really appreciate it. I am almost done!
I was able to get the phphelpdesk database created and I granted all
privileges granted to user "admin" w/pass "admin"
Database changed
mysql> show tables;
+-----------------------+
| Tables_in_phphelpdesk |
+-----------------------+
| category |
| department |
| events |
| parts |
| security |
| ticket |
| ticketparts |
| tmpeid |
| tmpviewtickets |
| userdepartments |
+-----------------------+
10 rows in set (0.00 sec)
Then I created user phpadmin w/pass phpadmin:
mysql> GRANT ALL PRIVILEGES ON phphelpdesk TO phpadmin
-> IDENTIFIED BY 'phpadmin' WITH GRANT OPTION;
Query OK, 0 rows affected (0.04 sec)
**user admin and user phpadmin were created the same exact way.
Have I created the tables for this database? The documentation says to do
this, It appears to me that was done so after I got phphelpdesk.mysql
installed. Is this correct?
I must be doing something wrong here because when I go the $g_base_url
(http://www.192.168.68.230/helpdesk/) index.php does not show, I have to
click on it:
Index of /helpdesk
Name Last modified Size Description
----------------------------------------------------------------------------
----
Parent Directory 04-Apr-2001 01:53 -
COPYING 03-Apr-2001 01:27 18k
INSTALL 03-Apr-2001 01:28 3k
checkuser.inc.php 03-Apr-2001 01:26 1k
config/ 04-Apr-2001 19:18 -
connect.inc.php 03-Apr-2001 01:26 1k
cookie.inc.php 03-Apr-2001 01:26 1k
images/ 03-Apr-2001 01:26 -
index.php 03-Apr-2001 02:12 2k
logout.inc.php 03-Apr-2001 01:26 1k
permissions.inc.php 03-Apr-2001 01:26 2k
phphelpdesk.mysql 03-Apr-2001 01:27 13k
rfile.inc.php 03-Apr-2001 01:26 1k
scripts/ 03-Apr-2001 01:27 -
When I click on index.php the script seems to work fine. When I try to log
in as admin w/pass admin or phpadmin w/pass phppassword, nothing happens and
I get this error:
Warning: Failed opening 'includes/checkuser.inc.php' for inclusion
(include_path='') in /usr/local/apache/htdocs/helpdesk/index.php on line 19
This is line 19: include("includes/checkuser.inc.php");
Any help is greatly appreciated!!!
Best regards,
Chad Oblak
-----Original Message-----
From: Joe Hoot [mailto:jo...@ne...]
Sent: Tuesday, April 03, 2001 7:13 PM
To: Chad Oblak; php...@li...
Subject: Re: [Phphelpdesk-help] Install / Configuration problem
First off, you need to make sure that mysql is setup correctly or more so
that it is in your path. My notes are scattered through your message...
look below.
----- Original Message -----
From: "Chad Oblak" <CO...@ex...>
To: <php...@li...>
Sent: Tuesday, April 03, 2001 3:44 PM
Subject: [Phphelpdesk-help] Install / Configuration problem
> Hello,
>
> I am running apache_1.3.19, php-4.0.4pl1, and MySQL 3-23.34 on RH6.2 This
> machine is going to be dedicated for phphelpdesk on a internal network.
>
> everything works fine accept PHPhelpdesk. I think the problem is with
> phphelpdesk.mysql, perhaps someone can point me in the right direction.
>
nope. problem so far is that you need mysql in your path. If you installed
the rpm, I think it puts mysql executable in /usr/bin/mysql. You can
manually type the full path to it if you wish. It would be:
[root@linux helpdesk]# /usr/bin/mysql < phphelpdesk.mysql
If you don't have a root password for mysql, then that will do it. If you
do, then you need to do the -u root -p thing.
> [root@linux helpdesk]# pwd
> /usr/local/apache/htdocs/helpdesk
> [root@linux helpdesk]# ls
> COPYING INSTALL checkuser.inc.php connect.inc.php images
> logout.inc.php phphelpdesk.mysql scripts
> CVS README config cookie.inc.php index.php
> permissions.inc.php rfile.inc.php
> [root@linux helpdesk]# mysql -u root -p < phphelpdesk.mysql
> bash: mysql: command not found
> [root@linux helpdesk]# ./mysql -u root -p < phphelpdesk.mysql
> bash: ./mysql: No such file or directory
>
> 1.) Should I put phphelpdesk.mysql somewhere else?
>
wherever it is doesn't make a difference. you could put it in /usr/bin and
then do cd /usr/bin and run mysql < phphelpdesk.mysql.
>
> here is what db.conf.php and general.conf.php look like:
>
> <?php //database config
>
> $db_server = "192.168.68.230"; //database server
> location
> $db_type = "mysql"; //mysql, pgsql, oracle,
> etc..
> $db_db = "phphelpdesk.mysql"; //database to use
$db_db should be whatever you use as your database. I would suggest leaving
the default database name as phphelpdesk. This is created when you run
mysql < phphelpdesk.mysql.
> $db_username = "admin"; //username for $db_db
> $db_password = "admin"; //password for $db_db
>
>
>
> <?php //general configuration
>
> $version = ".04.4"; //Version Number
>
> $g_title = "PHPHelpdesk"; //Title of your
> helpdesk
> $g_helpdesk_email = "em...@ad..."; //Email of your helpdesk
> $g_mailservername = "mail.yourcompanys.smtpserver.com"; //SMTP Mail server
> $g_cookietimeout = "1200";
> //Timeout for cookies
> $g_refreshtime = "600"; //Refresh time for
> viewall
>
> // If you are using http://someaddress.co/phphelpdesk, then you must set
the
> // base url to "http://someaddress.com/phphelpdesk/" Notice the '/' at
the
> end
> // you must put that in there. If you are using a virtual host such as
> // http://phphelpdesk.somecompany.com, then you can just leave it empty
with
> // the quotes touching "";
> $g_base_url = "http://192.168.68.230/helpdesk";
> //base url location
>
> Thanks in advance.
>
> Best Regards,
>
> Chad Oblak
Otherwise, it should work.
send an email to php...@li... if you are still
having trouble.
Joe
|
|
From: Joe H. <jo...@ne...> - 2001-04-04 02:12:10
|
First off, you need to make sure that mysql is setup correctly or more so that it is in your path. My notes are scattered through your message... look below. ----- Original Message ----- From: "Chad Oblak" <CO...@ex...> To: <php...@li...> Sent: Tuesday, April 03, 2001 3:44 PM Subject: [Phphelpdesk-help] Install / Configuration problem > Hello, > > I am running apache_1.3.19, php-4.0.4pl1, and MySQL 3-23.34 on RH6.2 This > machine is going to be dedicated for phphelpdesk on a internal network. > > everything works fine accept PHPhelpdesk. I think the problem is with > phphelpdesk.mysql, perhaps someone can point me in the right direction. > nope. problem so far is that you need mysql in your path. If you installed the rpm, I think it puts mysql executable in /usr/bin/mysql. You can manually type the full path to it if you wish. It would be: [root@linux helpdesk]# /usr/bin/mysql < phphelpdesk.mysql If you don't have a root password for mysql, then that will do it. If you do, then you need to do the -u root -p thing. > [root@linux helpdesk]# pwd > /usr/local/apache/htdocs/helpdesk > [root@linux helpdesk]# ls > COPYING INSTALL checkuser.inc.php connect.inc.php images > logout.inc.php phphelpdesk.mysql scripts > CVS README config cookie.inc.php index.php > permissions.inc.php rfile.inc.php > [root@linux helpdesk]# mysql -u root -p < phphelpdesk.mysql > bash: mysql: command not found > [root@linux helpdesk]# ./mysql -u root -p < phphelpdesk.mysql > bash: ./mysql: No such file or directory > > 1.) Should I put phphelpdesk.mysql somewhere else? > wherever it is doesn't make a difference. you could put it in /usr/bin and then do cd /usr/bin and run mysql < phphelpdesk.mysql. > > here is what db.conf.php and general.conf.php look like: > > <?php //database config > > $db_server = "192.168.68.230"; //database server > location > $db_type = "mysql"; //mysql, pgsql, oracle, > etc.. > $db_db = "phphelpdesk.mysql"; //database to use $db_db should be whatever you use as your database. I would suggest leaving the default database name as phphelpdesk. This is created when you run mysql < phphelpdesk.mysql. > $db_username = "admin"; //username for $db_db > $db_password = "admin"; //password for $db_db > > > > <?php //general configuration > > $version = ".04.4"; //Version Number > > $g_title = "PHPHelpdesk"; //Title of your > helpdesk > $g_helpdesk_email = "em...@ad..."; //Email of your helpdesk > $g_mailservername = "mail.yourcompanys.smtpserver.com"; //SMTP Mail server > $g_cookietimeout = "1200"; > //Timeout for cookies > $g_refreshtime = "600"; //Refresh time for > viewall > > // If you are using http://someaddress.co/phphelpdesk, then you must set the > // base url to "http://someaddress.com/phphelpdesk/" Notice the '/' at the > end > // you must put that in there. If you are using a virtual host such as > // http://phphelpdesk.somecompany.com, then you can just leave it empty with > // the quotes touching ""; > $g_base_url = "http://192.168.68.230/helpdesk"; > //base url location > > Thanks in advance. > > Best Regards, > > Chad Oblak Otherwise, it should work. send an email to php...@li... if you are still having trouble. Joe |
|
From: Chad O. <CO...@ex...> - 2001-04-03 22:59:03
|
Hello, I am running apache_1.3.19, php-4.0.4pl1, and MySQL 3-23.34 on RH6.2 This machine is going to be dedicated for phphelpdesk on a internal network. everything works fine accept PHPhelpdesk. I think the problem is with phphelpdesk.mysql, perhaps someone can point me in the right direction. [root@linux helpdesk]# pwd /usr/local/apache/htdocs/helpdesk [root@linux helpdesk]# ls COPYING INSTALL checkuser.inc.php connect.inc.php images logout.inc.php phphelpdesk.mysql scripts CVS README config cookie.inc.php index.php permissions.inc.php rfile.inc.php [root@linux helpdesk]# mysql -u root -p < phphelpdesk.mysql bash: mysql: command not found [root@linux helpdesk]# ./mysql -u root -p < phphelpdesk.mysql bash: ./mysql: No such file or directory 1.) Should I put phphelpdesk.mysql somewhere else? here is what db.conf.php and general.conf.php look like: <?php //database config $db_server = "192.168.68.230"; //database server location $db_type = "mysql"; //mysql, pgsql, oracle, etc.. $db_db = "phphelpdesk.mysql"; //database to use $db_username = "admin"; //username for $db_db $db_password = "admin"; //password for $db_db <?php //general configuration $version = ".04.4"; //Version Number $g_title = "PHPHelpdesk"; //Title of your helpdesk $g_helpdesk_email = "em...@ad..."; //Email of your helpdesk $g_mailservername = "mail.yourcompanys.smtpserver.com"; //SMTP Mail server $g_cookietimeout = "1200"; //Timeout for cookies $g_refreshtime = "600"; //Refresh time for viewall // If you are using http://someaddress.co/phphelpdesk, then you must set the // base url to "http://someaddress.com/phphelpdesk/" Notice the '/' at the end // you must put that in there. If you are using a virtual host such as // http://phphelpdesk.somecompany.com, then you can just leave it empty with // the quotes touching ""; $g_base_url = "http://192.168.68.230/helpdesk"; //base url location Thanks in advance. Best Regards, Chad Oblak |
|
From: Chad O. <CO...@ex...> - 2001-04-03 22:45:06
|
Hello, I am running apache_1.3.19, php-4.0.4pl1, and MySQL 3-23.34 on RH6.2 This machine is going to be dedicated for phphelpdesk on a internal network. everything works fine accept PHPhelpdesk. I think the problem is with phphelpdesk.mysql, perhaps someone can point me in the right direction. [root@linux helpdesk]# pwd /usr/local/apache/htdocs/helpdesk [root@linux helpdesk]# ls COPYING INSTALL checkuser.inc.php connect.inc.php images logout.inc.php phphelpdesk.mysql scripts CVS README config cookie.inc.php index.php permissions.inc.php rfile.inc.php [root@linux helpdesk]# mysql -u root -p < phphelpdesk.mysql bash: mysql: command not found [root@linux helpdesk]# ./mysql -u root -p < phphelpdesk.mysql bash: ./mysql: No such file or directory 1.) Should I put phphelpdesk.mysql somewhere else? here is what db.conf.php and general.conf.php look like: <?php //database config $db_server = "192.168.68.230"; //database server location $db_type = "mysql"; //mysql, pgsql, oracle, etc.. $db_db = "phphelpdesk.mysql"; //database to use $db_username = "admin"; //username for $db_db $db_password = "admin"; //password for $db_db <?php //general configuration $version = ".04.4"; //Version Number $g_title = "PHPHelpdesk"; //Title of your helpdesk $g_helpdesk_email = "em...@ad..."; //Email of your helpdesk $g_mailservername = "mail.yourcompanys.smtpserver.com"; //SMTP Mail server $g_cookietimeout = "1200"; //Timeout for cookies $g_refreshtime = "600"; //Refresh time for viewall // If you are using http://someaddress.co/phphelpdesk, then you must set the // base url to "http://someaddress.com/phphelpdesk/" Notice the '/' at the end // you must put that in there. If you are using a virtual host such as // http://phphelpdesk.somecompany.com, then you can just leave it empty with // the quotes touching ""; $g_base_url = "http://192.168.68.230/helpdesk"; //base url location Thanks in advance. Best Regards, Chad Oblak |
|
From: Daniel <fi...@fs...> - 2001-04-01 18:46:14
|
|
From: Chad O. <CO...@ex...> - 2001-03-27 23:35:56
|
|
From: Remo <re...@st...> - 2001-03-24 01:18:27
|
hi, there is a dirty echo command in adduser, line 415,218 and more at my installation the base url was'nt printed better use; 415 <form method=POST action="<?echo $g_base_url;?>/index.php?whattodo=adduser"> greetings, remo -- _______________________ Remo Vogel - Frankfurt re...@st... 0174 - 44 00 765 _______________________ secure communication appreciated public key at re...@st... @ ldap://keyserver.pgp.com |
|
From: Joseph H. <jo...@jo...> - 2001-03-23 05:07:10
|
no, but you would need to have someone who has access to the MySQL = server create a database and grant privileges to a user that phphelpdesk = can use. ----- Original Message -----=20 From: JM...@ao...=20 To: php...@li...=20 Sent: Thursday, March 22, 2001 3:50 PM Subject: [Phphelpdesk-help] Help? Do I have to have root access on the MySQL server to install this?=20 Thanks.=20 |
|
From: <JM...@ao...> - 2001-03-22 23:50:58
|
Do I have to have root access on the MySQL server to install this? Thanks. |
|
From: Adrian M. <Adr...@fi...> - 2001-03-20 15:43:15
|
I fixed it, thanks for everyone's help! I changed the directory where MySQL writes the socket in the MySQL config file, it works properly now. Thanks! Adrian Mink |
|
From: Adrian M. <Adr...@fi...> - 2001-03-20 15:10:13
|
It places the file in /tmp, but what line to I change or add in the php.ini
file to point to that? Here is my php.ini file in case it helps. I am
running
php version 4.04 on a Redhat 7.0 box with MySql version 3.23. Thanks!
****************************************************************************
*
;; EXTENSION LOADING
extension_dir = /usr/lib/php4
;; Global PHP defaults
warn_plus_overloading = On
track_errors = On
track_vars = On
magic_quotes_gpc = On
include_path = ".:/usr/share/php/PEAR"
session.save_path = "/var/state/php"
extension=mysql.so
****************************************************************************
*
Adrian
-----Original Message-----
From: Joseph Hoot [mailto:jo...@jo...]
Sent: Monday, March 19, 2001 8:57 PM
To: Adrian Mink
Subject: Re: [Phphelpdesk-help] New install problems
Adrian,
does your MySQL put a file in /var/lib/mysql/mysql.sock? It may put it in
/tmp or someplace else. You need to find out where it puts that file and
change the location in your php.ini, which is probably located in
/usr/local/includes/php.ini or something like that.
----- Original Message -----
From: "Adrian Mink" <Adr...@fi...>
To: <php...@li...>
Sent: Monday, March 19, 2001 2:03 PM
Subject: [Phphelpdesk-help] New install problems
> I have just installed phphelpdesk and cannot get past the initial
> login page. I try to log in with admin, admin and this is the error
message
> I get back.
>
> " Warning: MySQL Connection Failed: Can't connect to local MySQL server
> through socket '/var/lib/mysql/mysql.sock' (111) in
> /var/www/html/helpdesk/includes/connect.inc.php on line 4
> ERROR: Can not connect to database "
> The database is created using the script provided, can someone give
> me a clue? Thanks.
>
> Adrian Mink
>
>
> _______________________________________________
> Phphelpdesk-help mailing list
> Php...@li...
> http://lists.sourceforge.net/lists/listinfo/phphelpdesk-help
>
|
|
From: Are W. <are...@ly...> - 2001-03-20 08:09:38
|
| I have just installed phphelpdesk and cannot get past the initial |login page. I try to log in with admin, admin and this is the error message |I get back. | |" Warning: MySQL Connection Failed: Can't connect to local MySQL server |through socket '/var/lib/mysql/mysql.sock' (111) in |/var/www/html/helpdesk/includes/connect.inc.php on line 4 |ERROR: Can not connect to database " | The database is created using the script provided, can someone give |me a clue? Thanks. Adrian, A few things to check: Is your MySQL-daemon even running? You do not mention your platform de choix, but a command like /your/path/to/initscripts/mysql status (ie. /etc/rc.d/init.d/mysql status on most *nixes) should give you a pointer. Both the rpms and tarballs for later MySQL versions automagically set up init scripts during installation. You do say however, that you managed to create the database, so the abovementioned might not be the problem. Try dumping the phphelpdesk base. Then create the database once again using 'mysqladmin -u root -pyourpassword create phphelpdesk' from shell. Then enter the mysql concole (mysql -u root -pyourpassword), enter 'use phphelpdesk', and then 'source phphelpdesk.mysql'. (Make sure you're in the 'sql'-subdir when doing this, or rectify pathnames as needed) The reason for trying this is that some MySQL-versions are a bit buggy when it comes to creating databases with permisions et al straight from scripts. Give it a try, and let me know how it works. Rgds, Are |
|
From: Adrian M. <Adr...@fi...> - 2001-03-19 22:01:41
|
I have just installed phphelpdesk and cannot get past the initial login page. I try to log in with admin, admin and this is the error message I get back. " Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /var/www/html/helpdesk/includes/connect.inc.php on line 4 ERROR: Can not connect to database " The database is created using the script provided, can someone give me a clue? Thanks. Adrian Mink |
|
From: Sven <sv...@en...> - 2001-03-13 23:15:18
|
a) Delete tickets (cant find the option for that... or im just not = looking) or=20 b) When a new department is added, all users have access to it (without = having to modify everyones user rights).... If anyone can help me with this it would be much appreciated.... TYI -Sven |
|
From: Joseph H. <jo...@jo...> - 2001-03-13 20:49:26
|
did you give yourself privileges when you created the user? If so, try looking into the database. If you don't know Mysql already, then try to learn how to at least loggin and set privileges. See if you can update t= he database using a username: phphdadmin and password: phphdpassword. If y= ou can do that, then I would delve deeper into the phphelpdesk code. ----- Original Message ----- From: "Philippe VALLE" <pv...@as...> To: "Joseph Hoot" <jo...@jo...> Sent: Tuesday, March 13, 2001 6:45 AM Subject: bug repport > Hi , > > I use netscape communicator v-4.74 and when i select VIEW JOBS i have > the jobs list. > When i select 1 job in the list i can't edit it. > Could you have the solution for this problem ? > > Regards > > > > Joseph Hoot a =E9crit : > > > > not currently. I would love to make these scripts language universal. > > Other people have mentioned the ability to change languages. I just haven't > > had the time to work with that portion of it yet. Someday I will though. > > > > ----- Original Message ----- > > From: "Philippe VALLE" <pv...@as...> > > To: <php...@li...> > > Sent: Tuesday, March 13, 2001 2:06 AM > > Subject: [Phphelpdesk-help] information about phphelpdesk > > > > > > > > Hi, > > > > > > Did you have language french files for phphelpdesk software. > > > Now we use this sofware and is very well !! > > > thank's |
|
From: Are W. <are...@ly...> - 2001-03-13 12:02:38
|
|hey Are,
|
|I'm still havin the same problem with phphelpdesk, ie keep goin around in
|circles on the client side, after logging in. I'm running IE5.5 and am not
|receiving any cookies by the server.
|
|I've tried updating cookie.inc.php and general.conf.php while running
|php-4.04-pl1/apache 1.3.17. I cant even us IE5 on the client. There are
no
|problems with using Netscape though. I can never receive a cookie from the
|server while running any version of IE.
You say you tried updating some files. Did you use Brian Razzaque's proposed
mod? (Which works perfectly btw. Thx Brian! :)
I'll list it here in case you didn't get it the first time: (line breaks
might be a bit freaky, adjust as necessary.)
Remove the quote marks from the code before running it..
To fix this, make the following modifications to includes/logout.inc.php:
logout.inc.php:
|<?php //Logout script created by Seek3r
| //Modified by Brian Razzaque (raz...@vm...)
|
| $time = mktime();
| $date = date("l, d-M-y H:i:s", ($time));
| setcookie("status", "", $date, $g_base_path, $g_domain);
| setcookie("user", "", $date, $g_base_path, $g_domain);
| setcookie("group", "", $date, $g_base_path, $g_domain);
| setcookie("authentication", "", $date, $g_base_path, $g_domain);
| setcookie("laston", "", $date, $g_base_path, $g_domain);
| setcookie("logout", "", $date, $g_base_path, $g_domain);
|
| unset($status);
| unset($user);
| unset($group);
| unset($authentication);
| unset($laston);
| unset($logout);
|
|?>
Just make sure that you use it with the code listed below by Jay Kramer.
Change the files includes/cookie.inc.php and config/general.conf.php to
read as follows:
cookie.inc.php:
|<?php // SET COOKIE INFO
|
|// cookie.inc.php -- modified by Jay Kramer (ja...@mo...)
|
|if (isset($authentication)) {
|$time = mktime()+g_cookietimeout;
|$date = date("l, d-M-y H:i:s", ($time)); // Make a IE5.01compatible
|date/time..
| setcookie("status", $status, $date, $g_base_path, $g_domain); // IE5.01
|is picky about the base path nad domain, if they are missing, there is a
|good chance the cookie will not get set..
| setcookie("user", $user, $date, $g_base_path, $g_domain);
|// setcookie("txtUsername", $txtUsername, $date, $g_base_path, $g_domain);
| setcookie("group", $group, $date, $g_base_path, $g_domain);
| setcookie("authentication", $authentication, $date, $g_base_path,
|$g_domain);
| setcookie("laston", $laston, $date, $g_base_path, $g_domain);
|}
|else {
|$time = mktime()+g_cookietimeout;
|$date = date("l, d-M-y H:i:s", ($time));
| setcookie("status", "Logged In", $date,$g_base_path, $g_domain);
| setcookie("user", $txtUsername, $date, $g_base_path, $g_domain);
|// setcookie("txtusername", $txtUsername, $date, $g_base_path, $g_domain);
| setcookie("group", $row[4], $date, $g_base_path, $g_domain);
| setcookie("authentication", "YES", $date, $g_base_path, $g_domain);
| setcookie("laston", $row[6], $date, $g_base_path, $g_domain);
|}
|
|?>
general.conf.php:
|<?php //general configuration
|
|$version = ".04.4"; //Version Number
|
|$g_title = "PHP Help Desk"; //Title of your
helpdesk
|$g_helpdesk_email = "web...@yo..."; //Email of your
helpdesk
|$g_mailservername = "mail.yourcompanys.smtpserver.com"; //SMTP Mail server
|$g_cookietimeout = "1200"; //Timeout for
cookies
|$g_refreshtime = "600"; //Refresh time for
viewall
|
|// If you are using http://someaddress.com/phphelpdesk, then you must set
the
|// base url to "http://someaddress.com/phphelpdesk/" Notice the '/' at the
end
|// you must put that in there. If you are using a virtual host such as
|// http://phphelpdesk.somecompany.com, then you can just leave it empty
with
|// the quotes touching "";
|$g_base_url = "http://someaddress.com/phphelpdesk/"; //base url
location
|// you HAVE to set your domain name here, with no HTTP:
|// or / at the end or anything...
|$g_domain = "someaddress.com";
|// this is the path from the last part of the $g_base_url
|// parameter. If there is no path, set this to "/"; NOTICE
|// THE BEGINNING AND ENDING /'s!!
|$g_base_path = "/phphelpdesk/";
|
|?>
Give this a try, and be sure to honor all the instructions as commented in
the code.
If all else fails, check your settings under "Tools -> Internet Options ->
Security" in IE 5.x, specifically looking for any weird cookie settings.
HTH,
Are Westby
--
"'Tis true, no man's an island. But if you tie a bunch
of dead guys together, they make a pretty good raft."
- Paul Tomblin
|
|
From: Philippe V. <pv...@as...> - 2001-03-13 10:04:56
|
Hi, Did you have language french files for phphelpdesk software. Now we use this sofware and is very well !! thank's |
|
From: <090...@do...> - 2001-03-12 17:12:22
|
|
From: <090...@do...> - 2001-03-12 17:12:00
|
|
From: Brian R. <raz...@vm...> - 2001-03-08 18:18:28
|
I found the below code to be extremely helpful with the cookie bug that was
noted in IE5.01+. However, after you make the below change, logging out no
longer deletes the cookie, since cookies must be deleted in the same manner
in which they were set. This means that once someone has logged in, you can
login again from that same machine by simply clicking the submit button.
Or, if someone else tries to login, the original person is still the one
they log in as.
To fix this, make the following modifications to includes/logout.inc.php:
logout.inc.php:
<?php //Logout script created by Seek3r
//Modified by Brian Razzaque (raz...@vm...)
$time = mktime();
$date = date("l, d-M-y H:i:s", ($time));
setcookie("status", "", $date, $g_base_path, $g_domain);
setcookie("user", "", $date, $g_base_path, $g_domain);
setcookie("group", "", $date, $g_base_path, $g_domain);
setcookie("authentication", "", $date, $g_base_path, $g_domain);
setcookie("laston", "", $date, $g_base_path, $g_domain);
setcookie("logout", "", $date, $g_base_path, $g_domain);
unset($status);
unset($user);
unset($group);
unset($authentication);
unset($laston);
unset($logout);
?>
Just make sure that you use it with the code listed below by Jay Kramer.
Hope this helps some of you,
Brian Razzaque
Vision Multimedia Technologies, LLC
www.vmtllc.com
raz...@vm...
---------------------------------------
At 09:31 AM 5/3/01, Are Westby found time to write:
>I'd suggest you update php/apache. Or as an intermediary solution, you
could
>always run Netscape. Never had any problems there.
In case you aren't able to update these, I found a fix at the sourceforge
website.
Change the files includes/cookie.inc.php and config/general.conf.php to
read as follows:
cookie.inc.php:
<?php // SET COOKIE INFO
// cookie.inc.php -- modified by Jay Kramer (ja...@mo...)
if (isset($authentication)) {
$time = mktime()+g_cookietimeout;
$date = date("l, d-M-y H:i:s", ($time)); // Make a IE5.01compatible
date/time..
setcookie("status", $status, $date, $g_base_path, $g_domain); // IE5.01
is picky about the base path nad domain, if they are missing, there is a
good chance the cookie will not get set..
setcookie("user", $user, $date, $g_base_path, $g_domain);
// setcookie("txtUsername", $txtUsername, $date, $g_base_path, $g_domain);
setcookie("group", $group, $date, $g_base_path, $g_domain);
setcookie("authentication", $authentication, $date, $g_base_path,
$g_domain);
setcookie("laston", $laston, $date, $g_base_path, $g_domain);
}
else {
$time = mktime()+g_cookietimeout;
$date = date("l, d-M-y H:i:s", ($time));
setcookie("status", "Logged In", $date,$g_base_path, $g_domain);
setcookie("user", $txtUsername, $date, $g_base_path, $g_domain);
// setcookie("txtusername", $txtUsername, $date, $g_base_path, $g_domain);
setcookie("group", $row[4], $date, $g_base_path, $g_domain);
setcookie("authentication", "YES", $date, $g_base_path, $g_domain);
setcookie("laston", $row[6], $date, $g_base_path, $g_domain);
}
?>
general.conf.php:
<?php //general configuration
$version = ".04.4"; //Version Number
$g_title = "PHP Help Desk"; //Title of your
helpdesk
$g_helpdesk_email = "web...@yo..."; //Email of your
helpdesk
$g_mailservername = "mail.yourcompanys.smtpserver.com"; //SMTP Mail server
$g_cookietimeout = "1200"; //Timeout for
cookies
$g_refreshtime = "600"; //Refresh time for
viewall
// If you are using http://someaddress.com/phphelpdesk, then you must set
the
// base url to "http://someaddress.com/phphelpdesk/" Notice the '/' at the
end
// you must put that in there. If you are using a virtual host such as
// http://phphelpdesk.somecompany.com, then you can just leave it empty with
// the quotes touching "";
$g_base_url = "http://someaddress.com/phphelpdesk/"; //base url
location
// you HAVE to set your domain name here, with no HTTP:
// or / at the end or anything...
$g_domain = "someaddress.com";
// this is the path from the last part of the $g_base_url
// parameter. If there is no path, set this to "/"; NOTICE
// THE BEGINNING AND ENDING /'s!!
$g_base_path = "/phphelpdesk/";
?>
Thanks to Jay Kramer and someone who didn't leave their name. It now works
for me using IE5.
HTH
Brian
com...@cl...
|