Sr. Web Developer
mediabistro.com
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume

Comments for: hillel_aftel20070510

Message # 1509989:
Date: 05/13/07 20:57
By: Hillel Aftel
Subject: RE: GET-variables

You could conceivably use this to encrypt POST data, however it wouldn't be beneficial in most scenarios. POST data usually originates from an HTML form submission, and PHP runs on the server-side. So when would the encryption take place? You would need to run the encryption by sending the form data via Ajax to a PHP page -- which in itself would be an insecure, although hidden, GET request. You would only be replacing one insecure transmission method with another.

That's why I wrote this solely as a method for eliminating the need to display GET data to the client when writing URL query strings from PHP code, rather than presenting it as an encryption method that's viable for POST submissions. That having been said, it could be used as a general-purpose encryption method for other types of data transport, as long as transmitting the data TO the PHP page first isn't required :)

Previous Message | Next Message


Comments:
Error in scriptScott05/20/08 11:45
want to develop a job portal formwasim01/14/08 07:59
RE: GET-variablesmpb06/18/07 12:28
RE: GET-variablesHillel Aftel06/13/07 14:17
RE: GET-variablesgreybold06/06/07 22:45
RE: GET-variablesHillel Aftel05/21/07 13:38
RE: GET-variablesEugene Wee05/16/07 03:06
RE: GET-variablesHillel Aftel05/15/07 14:32
RE: GET-variablesHillel Aftel05/13/07 20:57
RE: GET-variablesProfessional Developer05/12/07 12:24
GET-variablesThijs05/11/07 14:10
 

If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.