Comments (10)
This ain't helpful, what exactly is the problem? Any errors? Please provide more information.
Have you tried the example files?
from cryptojs-aes-php.
i installed the examples but js-to-php when you submit the data php cannot decrypt it
from cryptojs-aes-php.
Yes, but have you any errors, have you viewed the source code after you've submitted the example? The most people with such a problem don't have openssl support installed and than you have a error like undefined function
in the page source code after submitting the form.
from cryptojs-aes-php.
Yes i have them all installed and i checked for errors it seems that one
param is send witn ' "...." ' and php cannot decode it
On Fri, Jul 24, 2015 at 9:44 PM, Roland Eigelsreiter <
[email protected]> wrote:
Yes, but have you any errors, have you viewed the source code after you've
submitted the example? The most people with such a problem don't have
openssl support installed and than you have a error like undefined
function in the page source code after submitting the form.—
Reply to this email directly or view it on GitHub
#4 (comment)
.
from cryptojs-aes-php.
There should be any error on the page, maybe hidden in the source code but when it did not work there really must be some error. I've tested it right now with PHP 5.4+ and PHP 7 and it work fine for both.
from cryptojs-aes-php.
i unzipped the lib here, take a look in the exaples js-to-php see when you
submit it will not decode it, server is using php 5.4 and all the
dependencies are installed
On Fri, Jul 24, 2015 at 9:55 PM, Roland Eigelsreiter <
[email protected]> wrote:
There should be any error on the page, maybe hidden in the source code but
when it did not work there really must be some error. I've tested it right
now with PHP 5.4+ and PHP 7 and it work fine for both.—
Reply to this email directly or view it on GitHub
#4 (comment)
.
from cryptojs-aes-php.
Ok i've tested it, there is an error after submitted the form, you see it when you show the source code of the page.
Call to undefined function hex2bin() in <b>/home/piromanu/www/microstockr.com/1/cryptojs-aes.php</b> on line <b>19</b><br />
That seems that you don't have PHP 5.4 or higher because the function hex2bin is only available in PHP 5.4 and later.
http://php.net/manual/en/function.hex2bin.php
from cryptojs-aes-php.
oh that means Dreamhost doesn't have hex2bin
Thank you very much i think you can close it
PS: you should put these 2 functions in the scripts for future use and use
those instead of native php
function hex2str($hex) {
return pack("H*", $hex);
}
function str2hex($str) {
return array_shift(unpack('H*', $str));
}
On Fri, Jul 24, 2015 at 10:02 PM, Roland Eigelsreiter <
[email protected]> wrote:
Ok i've tested it, there is an error after submitted the form, you see it
when you show the source code of the page.
Call to undefined function hex2bin() in /home/piromanu/www/
microstockr.com/1/cryptojs-aes.php on line 19
That seems that you don't have PHP 5.4 or higher because the function
hex2bin is only available in PHP 5.4 and later.
http://php.net/manual/en/function.hex2bin.php—
Reply to this email directly or view it on GitHub
#4 (comment)
.
from cryptojs-aes-php.
Ok thx. Anyway, i prefer to depend on native php functions, it's weird that such a simple function is disabled on your host and the whole openssl stuff isn't :)
from cryptojs-aes-php.
:)) yeah there are other functions disabled too like getallheaders()
from cryptojs-aes-php.
Related Issues (20)
- 提供一个py版本 HOT 1
- web-ftp-client HOT 1
- JS only / xhr instead of form name HOT 4
- What is the best way to contact you for one of project? HOT 1
- Unused variable declaration in your code HOT 4
- Ajax null result HOT 3
- unminified version of cryptojs-aes.min.js HOT 1
- no value returned.. HOT 3
- encrypt in JS and decrypt in PHP gives NULL HOT 4
- Not work HOT 4
- Simple Output Encrypted String HOT 3
- Not Working
- decrypt php return null or empty HOT 2
- toString(CryptoJS.enc.Utf8)) HOT 2
- Not Working in Safari browser. Is there any solutions. HOT 4
- Form Reset Not working after form submit using crypto js HOT 1
- PHP (Laravel) decrypt what CryptoJS encrypt HOT 1
- is there any way to encrypt image using cryptojs-aes-php? HOT 4
- Security vulnerability responsible disclosure HOT 2
- Atlantus update HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cryptojs-aes-php.