[thelist] Directory names
Guy Bowden
guy at holler.co.uk
Tue Nov 25 12:37:24 CST 2003
Hi,
If I've got a folder string in PHP like this:
/546/guy/datasrc/./../email/sendtofriend/
How can I turn that into :
http://darkside/546/guy/email/sendtofriend/
In php?
I can get as far as :
http://darkside/546/guy/datasrc/./../email/sendtofriend/
Which works, but is a little ugly.
Cheers
Guy
-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Guy Bowden
Sent: 25 November 2003 15:15
To: thelist at lists.evolt.org
Subject: RE: [thelist] Md5 hashing
Yeah. I thought that afterwards - the random number thing on its own would
work - I guess I'll just use the MD5 hash to generate a seemingly more
random code - not really using it for its proper usage, but it will do the
job.
Cheers
Guy
-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Joshua Olson
Sent: 24 November 2003 21:58
To: thelist at lists.evolt.org
Subject: Re: [thelist] Md5 hashing
----- Original Message -----
From: "Guy Bowden" <guy at holler.co.uk>
Sent: Monday, November 24, 2003 3:04 PM
> i.e. I could create a random number for each user, and hash that -
> store
the
> hash string in a database along with their details so that when then
> come
to
> the form to get their money back I can check the hash along with the
> same details...
Guy,
Yes, that should work just fine. Of course, you don't really need to hash
the number since it's already random. But it'll work, nonetheless.
<><><><><><><><><><>
Joshua Olson
Web Application Engineer
WAE Tech Inc.
http://www.waetech.com
706.210.0168
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
More information about the thelist
mailing list