hi.
one of my clients whom we host a website for has expressed interest in
writing their own php/mySQL applications for their site.
i've been looking in to the security implications of offering this service.
My concerns are that the client *could* use a php script to access parts of
the file
Hello.
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 3:14 PM
Subject: [PHP] hello
Try this, or nothing!
--
PHP General Mailing List
I use AWStats for my web stats stuff. Pretty easy once the minimal
configuration is done.
http://awstats.sourceforge.net/
- Original Message -
From: Jay Blanchard [EMAIL PROTECTED]
To: Elliot J. Balanza [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 7:00 PM
Subject:
I'd recommend that you build a set of functions (or a class) to do your bits
and pieces, rather than include blocks of code. That way you can ZIP
depending on the outcome of your CHECKOUT code.
function checkoutStuff()
{
//if checkout code executes ok
return true;
}
if(checkoutStuff())
hello.
mysql_insert_id() should do what you need.
lovely function, that one.
hth,
ben
Diana Castillo [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
how can I get the id of the last record I inserted into a table with an
insert query? (into Mysql database)
--
Diana Castillo
hi.
i'm using error_reporting(0) and set_error_handler(MyErrorHandler) to
manage my errors but I'm getting situations where a NOTICE error is thrown.
For example if I refer to $_GET['this'] when there is no 'this' querystring
key then i get the error.
I've tried using @$_GET['this'] but it
errors
Yes, it's normal.
You've to check if is that variable set if (isset($_GET['this'])) and than
you didn't get any
NOTICE about that undefined variable.
condition if ($_GET['this']) is not sufficient to check whether is
variable set or not.
/tom
On Mon, 15 Mar 2004 11:43:24 -
Ben
not sure if I'm making much sense. Any help appreciated!
Cheers,
Ben
- Original Message -
From: Stuart [EMAIL PROTECTED]
To: Ben Joyce [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, March 15, 2004 12:11 PM
Subject: Re: [PHP] use of @ operator to suppress errors
Many Thanks Nikolay.
It seems then that if I'm to avoid the NOTICE errors then isset() should be
used as suggested earlier. Not the greatest solution but a working one.
Thanks to all.
Ben
- Original Message -
From: Nikolay Bachiyski [EMAIL PROTECTED]
To: Ben Joyce [EMAIL PROTECTED
9 matches
Mail list logo