>>The encryption happens server side and is really only intended to encrypt
>>variables that are passed to web client such as product id and stuff. The
only
>>way to do secure login and prevent sniffing is to use ssl which will
encrypt the
>>traffic to and from the client. I suppose javascript coul
Hi Tom,
I've got a question for you regarding this encrypt class of yours.. Just
wanted to understand how well it would work against a guy with a sniffer
such as ethereal. (presuming he's on the LAN/wifi to access the app)
How does the encryption happen?? Client side or server side? How does it g
Hi,
I have this peculiar problem, my header
header( "Refresh:2;url=$g_prog_path/$l_refresh_url" );
is set up correctly to be the FULL pathname. It works on some PC but now on
some others. I'm using IE on win98/2000. The offending one is IE6 (128bit)
on Win98. (IE5.5/win98 works but I've
I changed it so that it's not an ABS URL. I had it working so.. I thought,
if it aint' broken, don't fix it...
Well, I fixed it anyway, who knows it might cause problems somewhere..
Thank All.
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Original Message
The Location: header requires a correctly formed URL, ie http://...
I'm running fine using only Location:home.php on Mozilla & IE 6
maybe I should change.
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Original Message-
From: Jason Wong [mailto:[EMAIL
This is what I use.. simple.. (someone from this list contributed it)
function stopwatch_init()
{
list($usec, $sec) = explode(" ", microtime());
return ( (float)$usec + (float)$sec );
}
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Origina
lt.
But I'm open to how to make the code better.. ideas?..
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Original Message-
From: John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: Monday, July 28, 2003 7:17 PM
To: Ow Mun Heng
Cc: [EMAIL PROTECTED]
Nope.. Still does not work..
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Original Message-
From: Nicholas Robinson [mailto:[EMAIL PROTECTED]
Sent: Monday, July 28, 2003 4:53 PM
To: Ow Mun Heng; [EMAIL PROTECTED]
Subject: Re: [PHP] $_GET[
I think it's OK since users needs to be authenticated.
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Monday, July 28, 2003 4:46 PM
To: Ow Mun Heng
Cc: [EMAIL PROTECTED]
S
Hi,
Is it advisable to use SESSIONS to store variable from one page to
another page instead of using something like a hidden field?
eg:
$_SESSION['sql_sort_cat']
$_SESSIOn['sql_sort_dir']
instead of
>
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
--
Hi,
I have this problem, which could easily be solved through a name
change but I would like to learn more.
There's a table set up from a MySQL query like this
row1) Eval # Title # Heads My Findings
row2) P1000 Title16 This is my f
This thread's too long. I'm getting confused on who exactly asked the
question..
My Take on thi
/snip
what if the code logic requires that there is some output sent to the
browser.
/snip
In my case I use a Refresh-redirect. I've posted my code on this on this
thread. The way I'm doing it is l
This is taken from mantis.. NOt sure if it'll help but take a look at the
t_use_iis field
function print_header_redirect( $p_url, $p_die=true ) {
$t_use_iis = config_get( 'use_iis');
if ( ON == config_get( 'stop_on_errors' ) && error_handled()
) {
Are you outputting BLANK LINES???
eg.. if you have blank lines after your last ?> (closing PHP tag) in
ANY one of the require/include/script files, you're outputting something and
this cannot be the case.
eg. if in VI
echo $someecho
function dosomethig()
{
// whatever
}
?>
<-
Thanks Mike.. You've been a GREAT help..
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Original Message-
From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 7:01 PM
To: Ow Mun Heng; PHP
Subject: RE: [PHP] Re: R
Hi Curt,
I'm confused..
With $_SESSION, there is no need to use the session_register(),
session_unregister(), session_is_registered() functions. Session
variables are accessible like any other variables.
I'm using
session_start();
session_register('username');
$_SESSION['u
I'm new but.. aren't you also supposed to register the session??
My code ..
session_start();
session_register('username');
$_SESSION['username'] = $row['username'];
session_register('user_id');
$_SESSION['user_id'] = $row['user_id'];
session_register('access_level');
$_SESSION['access_level'] =
Hi,
I'm not sure if this is going to help or not.. Since I understand
your issue only barely.. If I understand correctly, regardless of whether
the user comes from a.php, b.php or z.php, if they're not authenticated on
the system (via sessions or cookies) then the only place for them to go
Been There..
Was a REAL pain to figure that out one..
Have a look through PhpMyAdmin's (source) scripts, I see there's a bash
shell code that actually searches through some of it's php files for
sanitation for the exact same purpose. (Haven't played with it yet though)
Cheers,
Mun Heng, Ow
H/M
Me,
I have 2 functions. 1 I call - immediate and other refresh.. the
difference is one as the name implies is immediate - (like chris pointed out
below ) ->
header('Location: http://yoursite.org/us/index.php');
The other is more of a refresh kind, waits a default of 2 secs (for me so
t
Whoops.. Missed that..
Thanks.. (& sorry..)
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Original Message-
From: John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 9:45 AM
To: Ow Mun Heng
Cc: [EMAIL PROTECTED]
Subject:
Hi,
Got a quick question.. How do I get the table headers also
printed/retrieved by PHP for 'echo'??
eg :
1 +--+--+-++
2 | Drive SN | HSA DCM | Family | Media Supplier |
3 +--+--+--
Lars Torben Wilson [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 12:26 PM
To: Ow Mun Heng
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Too much of $GLOBALS[] a problem??
On Thu, 2003-07-17 at 21:10, Ow Mun Heng wrote:
> > 'Loosely-coupled' code relied much less on the environm
lson [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 12:05 PM
To: Ow Mun Heng
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Too much of $GLOBALS[] a problem??
On Thu, 2003-07-17 at 18:35, Ow Mun Heng wrote:
> Hi All,
>
> Just a quick question on this. In my scripts, I'm using A L
Hi All,
Just a quick question on this. In my scripts, I'm using A LOT Of
$GLOBALS['my_parameter'] to get the declared values/string. 1 example below
:
function display_menu_html()
{
echo ''."\n";
echo ''."\n";
echo "\t".''."\n";
echo "\t".'' . $GLOBALS['ho
Source all the way...
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Original Message-
From: Joel Rees [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 4:36 PM
To: Ow Mun Heng; [EMAIL PROTECTED]
Subject: Re: [PHP] Grabbing info from other Sites
Hi,
Mind my ignorance but what is webservices??
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2003 3:28 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Grabbi
pyrighted??)
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Original Message-
From: Michael Geier [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2003 9:47 AM
To: Ow Mun Heng
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Grabbing info from other Sites
Hi,
I have this need/want to grab information from sites for my own
usage and wondering how to do it.
Here's an example.
1. Log into finance.yahoo.com (assuming I need to log on)
2. Type the list of shares I want
3. Let Yahoo process it
4. Use PHP or some other scripting languag
I'm not sure about FreeBSD but on Redhat, the /etc/passwd 'IS' meant to be
world readable. But fortunately it's only stores usernames and Real names
and etc.. whereas /etc/shadow is only root readable and it's the file that
stores user's passwords.
I think that's pretty secure.
Why are you parsin
session_destroy()??
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Original Message-
From: Bruce Bruen [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 2:48 PM
To: [EMAIL PROTECTED]
Subject: Blatant newbie question - killing a session
Hi, this is
[LSS] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 6:20 PM
To: Ow Mun Heng; Ford, Mike [LSS]
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] include/require inside of function
> -Original Message-----
> From: Ow Mun Heng [mailto:[EMAIL PROTECTED]
> Sent: 09 July 2003 03:44
>
DID : 03-7870 5168
-Original Message-
From: Ralph Guzman [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 3:23 AM
To: Ow Mun Heng; 'PHP'
Subject: RE: [PHP] New to PHP
Yes, and also the same Rasmus founder of PHP. From time to time he may
even respond to one of you questi
Wow.. There's a guy named Rasmus here. Is here(or u) the same person who
wrote that book? this is way cool..
Oh.. BTW, "PHP & Mysql Web Development" is GOOD.
Also, since a lot of codes are open sourced, Read through them as well. I'm
learning through that too. (& this list)
Cheers,
Mun Heng, Ow
}
}
---
--index.php--
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Original Message-
From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 11:34 PM
To: Ow Mun Heng
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] in
Title" would
be echoed out.
That I think is the simplest way to explain it.
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Original Message-
From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 7:11 PM
To: Ow Mu
Hmm..
Funny I was having this same problem yesterday and wanted to post.
Here's My question, a variable is not actually global is not
actually global until I make it global through "global $make_this_global"
and then I can assess it using $GLOBAL[$make_this_global].
Anot
gital M'sia
DID : 03-7870 5168
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]
Sent: Friday, July 04, 2003 2:48 PM
To: Ow Mun Heng
Cc: Mark Charette; [EMAIL PROTECTED]; Shena Delian O'Brien
Subject: RE: [PHP] Re: Red Hat 9, Apache 2, and PHP
Apache2 has a numb
Does anyone have any idea or could give me an idea why php & apache 2.0 is
not 'good' together?
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Original Message-
From: Mark Charette [mailto:[EMAIL PROTECTED]
Sent: Friday, July 04, 2003 9:02 AM
To: [EMAIL
e Migurski [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 11:47 AM
To: Ow Mun Heng
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Session vs Cookie Issues
> I know this topic has been talked about a LOT but all the info
>I've managed to get from google is that there is no center /
Hi All,
I know this topic has been talked about a LOT but all the info I've
managed to get from google is that there is no center / best option to
choose between using sessions or cookies.
Pros of Sessions
1. PHP does it all automatically
I'm looking at mantis..Nice System but not sure if it's what you want. I'm
gonna mod it a bit for my usage in a Drive (FA) Environment.
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Original Message-
From: Martin Balcar [mailto:[EMAIL PROTECTED]
Sent: Th
Hi All,
I found out how to do it already. Thanks for the help.
mysql_error() was the key..
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Original Message-
From: Ow Mun Heng
Sent: Wednesday, June 25, 2003 10:03 AM
To: [EMAIL PROTECTED]
Su
Can someone help explain how I can perform a benchmark on the queries or
whatever?
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Original Message-
From: Boaz Yahav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2003 1:41 AM
To: Hardik Doshi; [EMAIL P
Hi All,
How can I prevent the browser from sending in cached data after the
user pressed the 'back' button and re-inputted data.
Eg: Originall I enter 3 isbn numbers, submitted it, then the user presses
the 'back' button to re-input 1 new data and then re-submits the data,
instead of only
Hi PHP'ers,
I've got a question regarding the input of (multiple) data into
mysql through PHP.
If there is already an entry in the database, then an mysql will generate an
error 1062 stating that the entry is a duplicate. (This will happen only if
I input the data through mySQL u
ID : 03-7870 5168
-Original Message-----
From: Jason Paschal [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 11:54 AM
To: Ow Mun Heng
Subject: Re: [PHP] Q : HELP HTML forms parsed into an array for PHP
from what i've experienced w/ bar code scanners, they send a carriage retur
10:34 AM
To: Ow Mun Heng
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Q : HELP HTML forms parsed into an array for PHP
Ow Mun Heng wrote:
> What I would like to do is to input multiple isbn numbers into a form, get
> PHP to parse it into an array so that I can build the SQL query for
multip
Hi all,
Really hope someone can help me out.
What I would like to do is to input multiple isbn numbers into a form, get
PHP to parse it into an array so that I can build the SQL query for multiple
insert. Currently I'm able to perform single inputs, one at a time, which is
time consuming.
49 matches
Mail list logo