Consortium ONex_b2b2c framework development notebook (I)-Overview because it is a domestic framework, the framework is very comprehensive and has many functions, but it is not exquisite at all.
Organizations looking at documents cannot meet the
The vulnerability of the PHP built-in function getimagesize () today's program wants to compress some images and obtain the width and height of the images. on the Internet, I checked which functions can be used, and then I saw the getimagesize ()
Php decompression sometimes fails to collect data from a website. the returned data is a chunked-encoded, gzip-compressed file. the server of this website is displayed as IIS ,...
It's okay to decode chunked, but it occasionally fails to
Plaintext Base64 encoded and transposed. The Base64 encoding table in the probability that the converted encoding can be cracked
First use Base64 regular encoding, after encoding the plaintext, the encoded plaintext location is disrupted
For
Laravel5.1 + OAuth2PasswordGrant (password authorization mode)
Background description
This article is intended to build a general application backend service environment. account verification is one of the basic environments for applications.
Oau2
Php queries daily data based on the time period. Currently, you need to query daily data of a given date. Is there any good way to query the data?
Reply to discussion (solution)
First, the database must have a field for saving the
The src attribute for replacing the img tag is as follows: I have a lot of content in $ data ['content'], including the img tag:
I want to remove/Uploads/from the src attribute, and save the rest. Regular expressions have never been very
Xin Xing analyzes the implementation of coment technology in php. First, what is push technology?
As people become more and more familiar with the web, they hope that web applications can receive messages in real time like local applications, so
Select all function. can I select all pages? reply to the discussion (solution)
All pages are selected. Currently, only the current page can be selected. can this be implemented?
No, but you can set it and click Select All to record a parameter.
When the strip_tags tag of the php function was not closed, the interviewer asked me during the previous interview. if the tag in the string is not closed, what would strip_tags do?
The statement of strip_tags in the official php document is
PHP uses arrays to implement queues (actually, how to implement first-in-first-out). PHP's array processing function can also implement arrays to implement queues. the stack is "first-in-first-out ". In the stack, the final pushed data (into the
Question about the separation of HTML code and PHP look at the http://123langzheng.blog.163.com/blog/static/1362078062011125111528576/
The following example illustrates their usage. assume that the IntegratedTemplate class and the
In Laravel, relational-To-Relational is often exposed To several common relational modes during actual development:
One-To-One // One-To-Many // One-To-Multiple-To-Many // multiple-To-Many
I don't really understand these concepts. But once you
When PHP obtains cached images, garbled information is displayed on the page. this is a beginner in PHP. for help, I use the open-source PHP QR Code to generate a QR Code. The images are cached in a local folder, A bunch of garbled error messages
For beginners, ask about the date display problem. I used PHP + SQL SERVER2005 to handle the datetime field.
For example:
Field name issue_date field type datetime in the database
I use $ short = date ("Y-m-d", strtotime ($ rs ["issue_date"]);
Ask for advice. The company wants me to connect to another website platform to implement data interfaces. who has done this. Come in and have a chat. How can I create an api for the other party to call? it is an api. the returned data format is json
A nice paging class written by php itself is not complete. it is not verified in some cases, but can be used. for the paging effect, see the bottom of the article. Except for the code that links to the database, all the other codes are pasted. For
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service