Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I wanted to know about Data Type implementation in PHP so I need a few resources(books websites and ...). what I want is not what data types PHP support or how to use them, it's the implementation and how all these things is done by PHP. I want to know how they are stored in memory and the very detail things about it(I already know PHP pretty good). That would be great if you could lead me where can I find this information.
Somewhere like IRC Maxwell's blog would be a good starting point, together with nikic's blog posts
Here is a couple of articles on data types in PHP from PHP Rocks and dummies. An interesting aside when it comes to data types in PHP is Type Hinting which will force a data type to be used for a function parameter.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
For anybody interested in some really good answers. I later asked this question on security.stackexchange.com: https://security.stackexchange.com/questions/196833/how-secure-is-the-ciphersweet-library-for-searchable-encryption-and-why-is-a-du
I'm currently managing a code base in which we've got a mysql database with all records encrypted using the php-encryption library. This works well for our current setup. We now got a new business requirement that should make it possible to do a SELECT based on one of the encrypted fields.
Since it is impossible to select based on the encrypted values I searched around and found ciphersweet. It's a new (6 months old) repo with currently only 136 github stars. I've read through a blogpost about it written by the company behind the lib. It sounds ok, but since I'm not a cryptographic expert I can't really judge it's secureness.
Is there anybody else out there who can comment on this library/technology? or does anybody know another source where the quality of this technology is evaluated?
I don't know this lib, but the company authored https://github.com/paragonie/random_compat which is the de facto standard.
It is even mentioned on https://php.net/random_bytes
Note: Although this function was added to PHP in PHP 7.0, a » userland implementation is available for PHP 5.2 to 5.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Guys I know that this question asked before but its not the same.
I have a website that I want to translate its content.
What I came up with:
1-gettext //its not good for me
2-google api //google translate is very bad and also google add its name in my wbesite
3-make another files with different language.
I prefer the last one because I only want my website to be English and Arabic.
Any more solutions? and what disadvantages of making the third solution ?
thanks
Salam Essam,
What companies do nowadays is use something called i18n (internationalization) I believe you should check out this website: https://lingohub.com/blog/2013/06/php-internationalization-i18n-mechanisms-tutorial/ It also tells why the third method you're mentioning is bad. Hope it helps.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I'm trying to get keywords from any webpage I provide as a param. Unfortunately meta-tag keyword data is no longer used and DIY text-parsing usually takes to long per request. So I'm looking for one of the following two solutions:
Solution 1: a URL to Keyword API
Does anyone know of an API/service that allows you to send over the URL of a webpage and get keywords or refined categories back?
or Solution 2: a quick text-parsing method
Or is there any a quick (1s/request) easy text-parsing method on either the server-side (php) or client-side javascript that could return me a half-way decent set of keywords about any webpage I give it?
this artikel sounds like wordstream is what you're looking for. it has a api for (limited) free usage, too.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I want to design a Forum using Php but the problem I am facing is that I dont know how can I put a Post creator in it. As far as I know something like wysiwyg editor is used for it but how can I get it.
By Post creator I mean some thing like here on stackoverflow we are given an editor by which we post our questions. That is the same thing I need.
Thanks
There are several great WYSIWYG editors ; to name only two of the most-used, you could think about :
TinyMCE
CKEditor
In each case, I suggest you read their documentation, to see how they can be integrated into your website ;-)
Generally speaking, getting the data entered by the user will not be harder than reading an element of the $_POST array.
What you're looking for is called an RTE or Rich Text Editor. There are many around.
See here
You can also view the answer from here for something similar to what stackoverflow uses.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
What's a good tool to reverse engineer a set of php/html pages ? It's not object oriented, it's a big mess that started in early 2000 (so no UML tools obviously!).
I'd like to draw a link between files/functions that are included or called via the 'action' attribute of a form.
So basically, I would like to have a nice simple diagram to have a clear idea of how is structured a site, what variable are passed between pages through "action", the arguments of functions, in a //diagram// !
Javascript have no impact on the flow of pages here.
Don't tell me that my only hope is to write a big filthy tool to do that ?!?
Thanks-
You can use xdebug to generate a cachegrind file and then use Kcachegrind to view the diagram.