What about using the md5() function, and store them that way. Then when one is
sent to the server encrypt it and so a string compare on the two encrypted text
strings. Like strings encrypted with md5 will result in the same encrypted
string. Of course there is no way to decrypt them. This is
Hello,
I am using a script running PEAR. I did a:
$db = DB::connect($database_string);
at I get the error:
Fatal error: Undefined class name 'db' in
/var/www/html/prattcms/variables/global.inc.php on line 17
Any ideas?
-Michael
--
Some people's minds are like cement; all mixed up and
http://www.php.net/crypt
http://www.php.net/md5
Philip J. Newman wrote:
I have a user admin for a site, how ever passwords are stored in plane text.
Is there away to crypt and then read the crypt when verifying that string vs
the plane text in the password box?
--
Philip J. Newman.
Head
Ok, considering GIF support was dropped in the latest greatest... How
come on my linux webserver I can get imagecreatefromgif(() to work, but not
on my windows test server? The seemingly strange thing is that
imagecreatefromgif() seems to be the only gif function that works on the
linux server
Hello all.
I have php version 4.3.1, on linux. I want to enable GD library, my guess
it's already included in the package.
How does one enable it? Please give me a step by step mini tutorial how to
enable it, a link would be great as well. I don't know a lot about linux,
so any help is
here is my configure line
http://electroteque.dyndns.org:1023/phpinfo.php
sorry i cannot find the classic gd install tutorial it helped alot
= Original Message From Sebastian [EMAIL PROTECTED] =
Hello all.
I have php version 4.3.1, on linux. I want to enable GD library, my guess
it's
never mind i worked it out
function create_caption($content,$max_length,$primaryID,$ID) {
if (strlen($content) $max_length) {
$paragraph_i=.;
$position=strpos($content,$paragraph_i);
if
yes another one sorry, i'm trying to find the most efficient way to do a
replactment over this
eregi_replace(\[f$key\f\],$value,format_content($content));, would
preg_replace be quicker and how could i go about it ?
i'd need to replace [f1247f] with its replacement value better still maybe
Hi
I am trying to get results form checkboxes on a form. Each checkbox is
given a value of the id of an item in a table. What I want to do is find
out what is selected and from there get the id so I can create a sql insert
statement for each selected item.
I can get the item selected but not a
yes another one sorry, i'm trying to find the most efficient way to do
a
replactment over this
eregi_replace(\[f$key\f\],$value,format_content($content));, would
preg_replace be quicker and how could i go about it ?
i'd need to replace [f1247f] with its replacement value better still
maybe
I am trying to get results form checkboxes on a form. Each checkbox
is
given a value of the id of an item in a table. What I want to do is
find
out what is selected and from there get the id so I can create a sql
insert
statement for each selected item.
I can get the item selected but
the current function been put in place replaces [f1253f] with a file, for
inside cms content , where 1253 is the key or the id of the filename in the
database , therefore to denote its an ftool they added f's around the keys ,
so maybe i could get away with [1253], what else i'm asking if
All i get out of:
str_replace
ereg_replace
preg_replace
is an empty string value.
Anybody know why?
?PHP
$bad_str = \t\t\t\\r\\\r\r\r\r\n\r\nFour
schore ...and seven\n\n\n\n\nr\r\r\rn\r years
ago, ,,,,,,our father
Put the arguments inside of double quotes instead of single quotes and then
try it.
$bad_str = str_replace(\r,\n,$bad_str);
- Original Message -
From: Dennis Gearon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 13, 2003 11:51 PM
Subject: [PHP] can't get any string
The code looks like:
if( $actionflag == delete )
{
//Delete Table ip_enrollment
$query=delete from ip_enrollment where id='$id';
$AMC_DB-query($query) or die(database server wasn't available
now.);
//Delete Table ip_evaluation
$query=delete from ip_evaluation where
Hi all,
My first try at MySQL Full Text Search and it is not behaving ;)
Here is what I have for my query string:
$sql = SELECT id, concat(fname, ' ', lname, ' ', degree1) as name.
FROM tbl_personnel WHERE MATCH (fname,lname) AGAINST (' .
$attributes['searchstring'] . ');
This
makes no difference ..
Joe Goff wrote
-
Put the arguments inside of double quotes instead of single quotes and
then
try it.
$bad_str = str_replace(\r,\n,$bad_str);
- Original Message -
From: Dennis Gearon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March
Since you are using fulltext search it is going to look for the exact
spelling of what you pass in.
If you wanted to get matches with Chris then you will want to modify
your query by using LIKE.
In version 4.0.1 of mysql you can do fulltext search in boolean mode.
Where is the js code in the mix.
Try putting an exit; after the header function and see if that works.
--
ray
On Thu, 2003-03-13 at 23:02, [EMAIL PROTECTED] wrote:
The code looks like:
if( $actionflag == delete )
{
//Delete Table ip_enrollment
$query=delete from ip_enrollment
ooops, after many hours on this, I had deleted out the final echo
statement. I will play with this and see what I get now.
?PHP
$bad_str = \t\t\t\\r\\\r\r\r\r\n\r\nFour
schore ...and seven\n\n\n\n\nr\r\r\rn\r years
ago, ,,,,,,our father
You cannot output anything before headers.
Niklas
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 14. maaliskuuta 2003 8:03
To: [EMAIL PROTECTED]
Subject: [PHP] Can't relocate to a specified URL after submit.
The code looks like:
if( $actionflag == delete
What are you trying to get out of that mess? What should the output look
like?
Niklas
-Original Message-
From: Dennis Gearon [mailto:[EMAIL PROTECTED]
Sent: 14. maaliskuuta 2003 7:51
To: [EMAIL PROTECTED]
Subject: [PHP] can't get any string replacements to clean this
All i get out
Hi,
I am new to PHP, however i have a good handle on C programming and therefore hope to
apply those conceps to PHP programming quickly. I am looking for a print reference
that can help me to construct a web-based front-end for an application using XML. Any
help in this regard will bemuch
I finally got something to do it, at least, in inline code.
I couldn't figure out how to remove NULLS, anybody know? A search on:
http://marc.theaimsgroup.com/?l=php-generalr=1w=2
didn't turn anything up.
//
// WORKING
Hi Tim,
I have used the big ass Professional PHP 4 XML book from Wrox
for the last 6 months, and i have picked up immense knowledge from
that resource. Infact i have gone up in my career to being the
lead web developer in my team...and i must atribute it to this
book.
You can find more
With the installation of sybase on the windows 2000 server (client
installation) you will get an interfaces file that contains all the
information for connecting to a sybase database.
Make sure that you have the sybase client installed on the windows 2000
box that is running PHP.
--
ray
On
201 - 226 of 226 matches
Mail list logo