Here I have a blog I setup but have not finished regarding web
application authentication which includes source code and classes you
can utilize.
Unfortunately I have not been able to finish writing the article due to
three jobs and school work. I can however assist you in getting it up
and
How secure would you want it? Is this is a public facing web application?
Are you in a shared hosting environment vs. a dedicated hosting
environment? Do you require alternative session management such as
database or mcache vs. flat file session support?
Have you thought about cross site
with:
$handles['session']-register( 'token', $token );
--
Jason Gerfen
Systems Administration/Web application development
jason.ger...@scl.utah.edu
Marriott Library
Lab Systems PC
295 South 1500 East
Salt Lake City, Utah 84112-0806
Ext 5-9810
--
PHP Database Mailing List (http://www.php.net
If its outside the html root you would need to create a symlink pointing
to the appropriate folder
% ln -s /path/to/hidden /path/to/public *however this is very insecure
Then if your wise you could create a simple image serving script to
prevent direct navigation by checking the referring
From the manual page:
For other type of SQL statements, INSERT, UPDATE, DELETE, DROP, etc,
*mysql_query()* returns *TRUE* on success or *FALSE* on error.
If $client_result == true you know the query was successful.
--
Jason Gerfen
Systems Administration/Web application development
jason.ger
WHERE event_date BETWEEN ('2009-09-01 00:00:00.000'
AND '2009-10-01 23:59:59.999')
--
Jason Gerfen
Systems Administration/Web application development
jason.ger...@scl.utah.edu
Marriott Library
Lab Systems PC
295 South 1500 East
Salt Lake City, Utah 84112-0806
Ext 5-9810
--
PHP Database
something
like:
SELECT * FROM my_table WHERE event_date BETWEEN ('2009-09-01 00:00:00.000'
AND '2009-10-01 23:59:59.999')
--
Jason Gerfen
Systems Administration/Web application development
jason.ger...@scl.utah.edu
Marriott Library
Lab Systems PC
295 South 1500 East
Salt Lake City, Utah 84112
/a here to enter the members
page;
$_SESSION['username']=$username;
}
else
echo incorrect password;
}
else
die(That user dosen't exist);
}
else
die(pelase enter a username and a password);
?
--
Jason Gerfen
Systems Administration/Web application development
jason.ger
in'
/form
/html
Did you try looking at the $_POST array data?
echo var_dump(print_r($_POST));
--
Jason Gerfen
Systems Administration/Web application development
jason.ger...@scl.utah.edu
Marriott Library
Lab Systems PC
295 South 1500 East
Salt Lake City, Utah 84112-0806
Ext
prasad wrote:
Yes I did but still its not working on my web server however its
working fine with my WAMP server locally.
On Fri, Oct 2, 2009 at 9:17 PM, Jason Gerfen
jason.ger...@scl.utah.edu mailto:jason.ger...@scl.utah.edu wrote:
nagendra prasad wrote:
OK so here is the form
Maybe you should google for information regarding the php.ini and error
reporting.
nagendra prasad wrote:
Yes I did but still its not working on my web server however its working
fine with my WAMP server locally.
On Fri, Oct 2, 2009 at 9:17 PM, Jason Gerfen jason.ger...@scl.utah.eduwrote
Kevin Castiglia wrote:
Whenever I run the following code, I get the error: Commands out of sync;
you can't run this command now as I try to execute my prepared Update
statement.
?php
$fpiDataAddr = fopen('outputAddr.txt','r') or die(can not open In File );
//Connect to mySQL server
Jason Gerfen wrote:
Kevin Castiglia wrote:
Whenever I run the following code, I get the error: Commands out of sync;
you can't run this command now as I try to execute my prepared Update
statement.
?php
$fpiDataAddr = fopen('outputAddr.txt','r') or die(can not open In File );
//Connect
Emiliano Boragina wrote:
Hi, I must do e finder for properties... I know do a simple search but
not a search like this with more one possibility, with all or some
fields full... How do it?
Thanks a lot
Example database table to search:
TableName
Field001
Field002
Field003
Example SQL to
Carol Walter wrote:
Hello,
I have a php 5 and PostgreSQL 8.3.6. I wrote the original program using
pg_query. Now, I need to replace pg_query with pg_query_params. I'm
having trouble doing so. In this code pg_query works but
pg_query_params doesn't work. The code snippet is as follows:
that produces.
--
Jason Gerfen
I practice my religion
while stepping on your
toes...
~The Ditty Bops
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
are looking for is the base64_encode() and
base64_decode() functions which will perform a simple encoding of data.
--
Jason Gerfen
I practice my religion
while stepping on your
toes...
~The Ditty Bops
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http
] ) );
} elseif( !function_exists( sha1 ) ) {
$keys[] = md5( md5( $array[$x] ) );
} else {
$keys[] = mhash( MHASH_SHA1, sha1( $array[$x] ) );
}
That will look to see if the 'mhash()', 'sha1()' functions exist and use
them accordingly. HTH.
Jason Gerfen wrote:
Jason Gerfen wrote:
Daniel Brown wrote
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
What I wrote there will work but I would highly recommend recompiling
PHP with the --with-mcrypt --with-mhash switches. The mcrypt libraries
can be found on sourceforge. http://libmcrypt.sourceforge.net
Jason Gerfen wrote:
I got messaged off list
for that gig
- --
Jason Gerfen
I practice my religion
while stepping on your
toes...
~The Ditty Bops
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHaUTR5vk8bwKVAaIRAlPOAJoCUbI6rVCvhG6pvuIzWTkbiyLVQgCfdE26
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jason Gerfen wrote:
Daniel Brown wrote:
On Dec 19, 2007 2:41 AM, Keith Spiller [EMAIL PROTECTED] wrote:
Ok I've done some research and some thinking. What about storing orders in
the database (product info and customer info) and then using GnuPG
;
INPUT
type=submit name=new_record value=Add Line /nbsp;nbsp;
INPUT type=reset name=clear
value=Clear //TD
/TR
/FORM
/TABLE
/BODY
/HTML
- --
Jason Gerfen
I practice my religion
while stepping on your
toes
));
}
- --
Jason Gerfen
I practice my religion
while stepping on your
toes...
~The Ditty Bops
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHTGMM5vk8bwKVAaIRAhAjAJ9FklveFH1PORVl0HC9nCb+klgcUACeOren
RgXSIP0bl/bt9rI6g9a
{
...
}
--
Jason Gerfen
You will never be ready for me.
~ Me
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
]\;$defined[mail]/a );
Because I have set a couple of the fields to unique I should be recieving an
error of 'duplicate entry' but i am getting an empty result for mysql_error().
Any help is appreciated.
--
Jason Gerfen
Student Computing Labs, University Of Utah
[EMAIL PROTECTED]
J. Willard Marriott
want an example of the first (and better) method, let me know.
---John Holmes...
Yeah, I have never used a unique field for the database, and you are
right it is a mysql db.
Jas
--
Jason Gerfen
Student Computing Group
Marriott Library
University of Utah
(801) 585-9810
[EMAIL PROTECTED]
I'm
26 matches
Mail list logo