Singh\'s World"'
);
header( 'HTTP/1.0 401 Unauthorized' );
echo 'Authorization Required.';
exit;
} else {
echo 'You are authorized!';
}
?>
However this keeps the user logged on. I want to be able to close the
session once the user
b_title`, `state`, `city`, `company`, `last_visit`)
VALUES (\'gh\', \'ghdfghhgj\', \'hgddj\', \'ggfgfg\', \'hfgdj\', NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NOW());';
Can somebody please tell me where I am going wrong..??
Many thanks
Pushpinder Singh Garcha
_
Web Architect
T. Falcon Napier and Associates, Inc.
Thanks Jason...that werked fine for me..
--pS
On Wednesday, December 11, 2002, at 03:50 PM, Jason Wong wrote:
On Thursday 12 December 2002 04:30, Pushpinder Singh Garcha wrote:
Hello,
I am using PHP to create forms and then am entering the user input
into
a MySQL DB
In the first query I am
do that.
I want to be able to display a form to the user where his information
is present ... and then he/she can go ahead and make updates.
thanks
--pS
Pushpinder Singh Garcha
_
/Users/pgarcha/Sites/edit.php:7) in
/Users/pgarcha/Sites/edit.php on line 8
Thanks in advance
--pS
Pushpinder Singh Garcha
Hello Everyone:
I am using Sessions to secure parts of my website. I need to know if
there is a way to set a lifetime for these sessions , so that they are
automatically destroyed when say the user is inactive for 30 minutes.
Any help will be greatly appreciated. Thanks in advance
Pushpinder S
:
The values entered every time have to be stored)
Thanks in advance.
Pushpinder Singh Garcha
_
Web Architect
T. Falcon Napier and Associates, Inc.
_
Hello there,
I am looking around for some E card senders based on PHP and MySQL .
Duz anyone have any ideas which I should use.?
Please let me know... I really appreciate it,
best
Pushpinder
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ession variables i.e firstname and lastname, I
am not able to extract the value. Can you suggest what might be going
wrong. Note I am locally testing the setup on my Mac.
Many Thanks
Pushpinder Singh Garcha
_
Web Architect
ipt:
if (session_is_registered($valid_user)) {
// show the original page
PLEASE TELL me a way to display the same page
}
elseif (!session_is_registered($valid_user)) {
// display an error message to the user asking him to login before he
can see this page
}
many thanks
--Pushpinder Singh
P
write echo " blah blah blah . ";
will not be a an option. Please suggest a way out .
Many Thanks
Pushpinder
Pushpinder Singh Garcha
_
Web Architect
Hello All:
Thanks again... I tried to use this and it is working fine for me.
Please comment:
Many Thanks
-Pushpinder
On Tuesday, February 4, 2003, at 12:32 PM, Goetz Lohmann wrote:
Pushpinder Singh Garcha schrieb:
Hello All:
My question is related to authentication. I have made a
ged in the form of directories. Is
there a better way to be able to do this (Using PHP and MySQL). Thanks
in advance !
Best Wishes
Pushpinder Singh Garcha
_
Web Architect
MyAdmin on to the remote site? Or can I let it remain sitting on the
local server.
Also, I was wondering , what value should I assign to the
$cfg['PmaAbsoluteUri'] variable in the config.inc.php file.
Many Thanks,
Pushpinder
Pushpinder Singh Garcha
_
Web Architect
Hi all
i wanted to check with if it is possible to see the contents of a .php
file.
I have heard of the Zend Encoder, but I was wondering how could a
person see my php script ?
Any information in this direction would be useful?
TIA
--Pushpinder Singh Garcha
Hello All,
I have been runing PHP BB2 successfully on my site for a couple of
months . Recently I got this error.
phpBB : Critical Error
Could not connect to the database
Can someone tell what this means..??
Many Thanks
--Pushpinder Singh Garcha
_
Web
Hello All;
I am trying to open a File called cmi_list.txt ( stored at the same
level as the php file) and then load these into an array.
Now I check the $passport_codes with the value the User has entered and
set the $flag accordingly
.
$PASSPORT_CODES =file("cmi_list.txt");
$count =
user.
The Admin/ User should get email notification about this. The
notification part is easy the hard part to figure out is how to be able
to keep and tab on the Time Period stipulated for a user.
Thanks in advance
Pushpinder Singh Garcha
_
Web Architect
Hello All,
I need to ask you about some resources for "cron" jobs. Please suggest
some online help
Thanks
Pushpinder Singh Garcha
_
Web Architect
need to get a 125 element
array...so that my code can check the individual elements of the Array.
Thanks in advance
Pushpinder Singh Garcha
_
Web Architect
;
}
?>