I want to know to decode sha1 encoded url into normal url.
Example
www.example.com/<sha1 code>/index1.htm
I want this to www.example.com/index1.htm 7 9749
..oO(ph******** *******@gmail.c om)
>I want to know to decode sha1 encoded url into normal url.
SHA is a hash algorithm. It can't be decoded.
>Example www.example.co m/<sha1 code>/index1.htm
I want this to
www.example.com/index1.htm
Do you want to decode something or just remove it?
Micha
On Jun 25, 10:37 pm, Michael Fesser <neti...@gmx.de wrote:
.oO(php.develop er2...@gmail.co m)
I want to know to decode sha1 encoded url into normal url.
SHA is a hash algorithm. It can't be decoded.
Example
www.example.com/<sha1 code>/index1.htm
I want this to
www.example.com/index1.htm
Do you want to decode something or just remove it?
Micha
Basicly i want to remove this sha1 code from the link and access
index1.htm file.Help me if you can please.
..oO(ph******** *******@gmail.c om)
>Basicly i want to remove this sha1 code from the link and access index1.htm file.Help me if you can please.
Have a look at string functions (strpos() and substr_replace( ) might be
helpful, if it's really a SHA1 hash with a fixed length) or a regular
expression and preg_replace().
Micha
On Jun 26, 6:59 pm, Michael Fesser <neti...@gmx.de wrote:
.oO(php.develop er2...@gmail.co m)
Basicly i want to remove this sha1 code from the link and access
index1.htm file.Help me if you can please.
Have a look at string functions (strpos() and substr_replace( ) might be
helpful, if it's really a SHA1 hash with a fixed length) or a regular
expression and preg_replace().
Micha
I not want to use php.Just if some user paste this link in the browser
than the page need to be displayed without using php.Sha1 Need to be
removed from the link.This sha1 is generated by my website for
security.
..oO(ph******** *******@gmail.c om)
>I not want to use php.
This is a PHP newsgroup.
>Just if some user paste this link in the browser
In the address bar?
>than the page need to be displayed without using php.Sha1 Need to be removed from the link.This sha1 is generated by my website for security.
So you want the server to redirect < www.example.com/[sha1 code]/footo
<www.example.co m/foo>? That would be something for Apache's mod_rewrite.
It's a bit confusing ...
Micha
Is there any technique which we use such as openssl,Digital
signatures.Plea se help if you know anything about it. ph************* **@gmail.com wrote:
Is there any technique which we use such as openssl,Digital
signatures.Plea se help if you know anything about it.
I'm with the rest of the people here. I don't understand exactly what
you're trying to do.
As Michael indicated, if you only want to remove the sha1, then you
should be using Apache's mod_rewrite.
And as he also indicated - if you don't want a PHP answer, don't ask in
a PHP newsgroup!
So what does openssl, Digital signatures, etc. have to do with this?
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attgl obal.net
=============== === This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: N |
last post by:
What is the function in SQL that works like DECODE in Oracle?"
Thanks,
N
|
by: Newbie |
last post by:
How would I modify this form
to encode *all* the characters
in the 'source' textarea to the
'%xx' format & place result
code into the 'output' textarea?
(cross browser compatable)
Any help is appreciated.
Regards.
|
by: richasaraf |
last post by:
Hello everyone,
Please HELP !!!!!
I'm facing problem in converting CASE statements into DECODE. As i have PL/SQL 8i, so it does not handle CASE statements. Please send me the solutions . Then basic problem is the CASE has NOT condition i.e. <> ...... and this particularly i'm not able to convert in DECODE.
Please send me the solution as early as possible.. I'm stuck up !!!
I'm giving below the CASE statements and the DECODE...
|
by: MP |
last post by:
I have the following command.
SELECT A.STORE_NAME, A.STORE_NUM, A.ZIP_CODE, B.EMPLOYEE_ID, B.GENDER,
B.EMP_LEVEL, C.ITEM_CODE,
DECODE(B.ITEM_CODE,1, 'CHICK_BURGERS') ITEM_DESCR,
DECODE(B.ITEM_CODE,2, 'HAM_BURGERS') ITEM_DESCR,
DECODE(B.ITEM_CODE,3, 'PIZZAS') ITEM_DESCR
FROM
STORE_DETAIL A,
EMP_DETAIL B,
|
by: rsd |
last post by:
Hi,
I'm trying get Samsung YH-920 mp3 player to work with Debian GNU/Linux.
To do that I need to run
http://www.paul.sladen.org/toys/samsung-yh-925/yh-925-db-0.1.py
script, the idea behind the script is described at
http://www.paul.sladen.org/toys/samsung-yh-925/
I'm getting errors and hoping someone could give me some hints, for I
have no python background.
| |
by: sathyashrayan |
last post by:
Dear group,
For a log-in page I have created a mysql db and user registers
with a user name and password. The password field is encrypted with
$passwd = sha1($_REQUEST);
I insert the $passwd in mysql_insert. The password gets
encrypted and stored in mysql. Now I want to check if the user has
entered the correct password when he logs in. How can I do that. Any
|
by: amygdala |
last post by:
Hi,
Does anybody now of a custom crypt function that implements sha1? The thing
I like about crypt is that I don't have to worry about (re)generating salt
when querying the database. Or are there perhaps other functions that
implements this same functionality and generates a sha1 hash?
Cheers.
|
by: dande |
last post by:
my problem is I have used invoice table, patient table.In Invoice table date,cash,credit, cheque,advance,total is coming.but in patient table having registration type code having gen registraion means gen, external reg means ext,acccident & emergency reg means AE.hear patient,invoice table have date column.but I have to display invoice date. that date no of gen reg, ext reg,ae reg not coming when joining two tables.gen reg, ext reg, AE reg i...
|
by: anonymous |
last post by:
1 Objective to write little programs to help me learn German. See code
after numbered comments. //Thanks in advance for any direction or
suggestions.
tk
2 Want keyboard answer input, for example:
answer_str = raw_input(' Enter answer ') Herr Üü
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |