I am a novice in php, please help seniors, thank you~!
I just started to learn php. Because I have a little foundation before and at university, it is relatively quick to get started, but the foundation is still very weak. I am currently watching the video of teacher Han Shunping, but found that many recruitments require LAMP, so I don’t know if there are seniors who can give guidance, learning methods, etc. for the learning of linux. And where can I find more mature php cases suitable for novices, this improvement may be faster. I hope that the seniors who saw Xiaosheng’s problem will not hesitate to guide, Xiaosheng hereby thank you~ Response content: I just started to learn php. Because I have a little foundation before and at the university, I can get started relatively quickly, but the foundation is still very weak. I am currently watching the video of teacher Han Shunping, but found that many recruitments require LAMP, so I don’t know if there are seniors who can give guidance, learning methods, etc. for the learning of linux. And where can I find more mature php cases suitable for novices, this improvement may be faster. I hope that the seniors who saw Xiaosheng’s problem will not hesitate…
ThinkPHP form selection, such as how to select some built-in avatars and cooperate with the form, would like to hear some ideas, thank you
PHP form selection, such as some built-in avatars, how to choose and cooperate with the form, would like to hear some ideas, thank you Response content: PHP form selection, such as built-in avatars, how to select and cooperate with the form, I want to hear some ideas, thank you Put a hidden input as the image address input, click on the avatar, put the avatar address in the hidden input, and submit the form as usual
Programmer-Who can write a PHP encryption and decryption function, can customize the encryption and decryption key, thank you
Who can write a PHP encryption and decryption function, can customize the encryption and decryption key, thank you Response content: Who can write a PHP encryption and decryption function, can customize the encryption and decryption key, thank you When I first learned VB in junior high school, I wrote an encrypted function. The general principle (process) is like this: Plaintext Xor Key 1 to get Ciphertext 1Ciphertext 1 character by character into Get ciphertext 2 in hexadecimal ciphertext 2 Xor key 2 get ciphertext 3 //Final ciphertext There are many, many ways of encryption (if you want irreversible, you can use MD5() and other functions to achieve it, or even write one yourself, haha), you can use various tricks Coincidentally, you can find ready-made encryption functions on the Internet, but I still suggest that the owner of the question think of an algorithm by himself. After all, don’t those who engage in the Web generally try not to let people know their encryption algorithms? Write your own proprietary encryption algorithm. Still need to write? Mcrpty You can use the encryption function in Disuse, the code is as follows, very easy to use //copy from here /** * $string plaintext or…
Which hero can explain the principle and application of php caching technology to the younger brother, thank you!
Which hero can explain the principle and application of php caching technology to the younger brother, thank you! Response content: Which hero can systematically explain the principle and application of php caching technology to my younger brother, thank you! Static file cache Extensions such as apc, eAccelerator memcache Wait File cache, the cache database is written to the file Memory cache, APC, eAccelerator (php extension implementation), Memcached, Redis, etc. Database cache, cache data written to the database PHP can use Memcached and Redis for data caching. The principle is to build a Memcached or Redis server first, and then install the Memcached/Redis extension of php. In the PHP code, you can connect to the Memcached/Redis server through the API provided in the extension program, and perform data access on Memcached/Redis . It is the same as installing the mysql extension in PHP to connect to the mysql database.
How does PHP traverse all the urls of the website, please give me an idea, thank you
How does PHP traverse all the urls of the website, please give me an idea, thank you The general crawling process is as follows: First crawl all the links on the homepage of the original site, and extract the links in the HTML source code of the page through regular expressions. To ensure availability, the links to be extracted should include: hyperlinks (a tag), Link tag links, and script src attributes Links, image addresses, etc., which belong to the resource category (such as links of link tags, src of img), the resources should be dumped, and the links should be extracted and stored in an array or database. Crawl the inner pages and resources according to the link library, extract the links of the inner pages, save the resources used in the inner pages, compare them with the link library when crawling the home page, and eliminate the same ones to avoid repeated crawling. Add and save the remaining links to the link library. Repeat the crawl until all the links in the link library are crawled. How does php loop through the following data? This is json data (elements at all levels include array objects, etc.), which need to…
The specific steps to build a php environment in win7, thank you
Win7 build php environment specific steps, thank you 1. How to install php in win7? WIN under win7 How to install Pear(php) The method of installing Pear(php) under win7 is as follows: Check whether the go-pear.bat or go-pear.phar file exists in the php installation directory. If not, go to the official website to download it. Execute the pear installation command: open the command window, switch to the php installation directory, and execute the following command (you can also add a php environment variable, so you don’t have to switch directories so troublesomely, but if you have installed multiple versions of php, you will not add environment variable). Command: php go-pear.phar When installing pear, when the following sentence appears, you can directly press Enter. If you make a mistake at the end, you can enter local here when reinstalling. I don’t know why, because I encountered a direct press enter, but the installation was unsuccessful in the end. . Are you installing a system-wide PEAR or a local copy?(system|local) [system] Configure the pear directory: Here you can enter the corresponding data to change the pear directory location. In other words, there is nothing to change, and I am not very familiar…
How to use the 2018 version of phpstudy? Seeking teaching, thank you!
How to use the 2018 version of phpstudy? Seeking teaching, thank you! Preface: I can give you a copy of this version of the software installation package with an additional cracking tutorial, but it is for personal use only, do not spread it, I hope it can help you Installation Tutorial 1. Download the installation package, install phpStudy, and decompress phpStudy. 2. Double-click the phpStudy folder. 3. Click Accept to complete the next step. 4. Start the server. 5. Configure the domain name of the local server. 6. Open the other options menu, find —>Site Domain Name Management –>Open. PHPStudy configuration https protocol problem Please confirm that the certificate file is correct, follow the phpStudy installation ssl certificate tutorial: web link Note: To install a firewall, you need to set up to allow port 443 or close the firewall. If you install a security dog on the local server, please allow port 443. The common problem is caused by the conflict of SSL certificate deployment files. If you cannot determine the specific situation of the file, it is recommended to reinstall the environment and then deploy according to the above tutorial; if you cannot solve it, you can obtain professional…
phpurl parameters will be repeated, how to deal with repeated url parameters, thank you
php url parameters will be repeated, how to deal with repeated url parameters, thank you repetition is added by yourself&id=6″>menu 1 write it like this or How to deal with repeated parameters in php url, like this url http://localhost/ds. php?action=4&id=7&id=8&id=7 You can use $_SERVER[“QUERY_STRING”] to get the entire query_string, and then write a simple code to parse it yourself, similar to PHP processes string parameters passed in from the URL (post.php) 1, POST here It only shows a file name 2. url indicates the address linking to this page, such as /post?entry = XXX3. content does mean the content, but it is not a variable, it is just a name. How does php extract the parameters in the url in the parameters in the url What you should say is to use the GET method to send the form. The parameters here can be resolved with the array GET[] provided by PHP. For example: To extract this jb_id, you can first declare a variable: $jb_id=$_GET[‘jb_id’]; Note that the variable name here is not unique. The format is: $variable name=$_GET[parameter name]; you can write the code for this example: $jb_id=$_GET[‘jb_id’]; $id=$_GET[‘id’] ;$sj=$_GET[‘sj’]; After execution, the value of $jb_id is: 11111, the…
Please download the full text of “ThinkPHP Actual Combat” for free on Baidu network disk resources, thank you~
Please download the full text of “ThinkPHP Actual Combat” for free from Baidu network disk resources, thank you~ Download the latest complete works of “ThinkPHP Actual Combat” Baidu network disk pdf: link: https://pan.baidu.com/s /1sK_thuonA_b6hqkSnxUU4w ?pwd=wiej Extraction code: wiej Introduction: PHP is a general open source scripting language, open source, cross-platform, easy to use, mainly applicable to the field of Web development. The MVC model makes PHP low in coupling, high in reusability, high in maintainability, and conducive to software engineering management in the development of large-scale Web projects. Aiming at practicability, this book systematically introduces the related technologies of the ThinkPHP framework and its application in Web development. How to use thinkphp5 to get the page count of pdf files < Thinkphp5 delete uploaded files Thi
We recommend a php framework, thank you, I want to learn
Back-end development | php tutorial thinkphp, InitPHP, codeigniter, php, QeePHP Backend Development-php tutorial Everyone recommend a php framework, thank you, I want to learn. I have learned thinkphp now, and now I can use thinkphp to develop some websites.I want to learn the second framework now, please recommend it. Thank you Yidaihang master station source code 2017, vscode generation .exe, tiger canyon ubuntu, php tomcat environment, weex access to sqlite, Korean record-free server, web page pdf export plug-in download, android front-end common framework, redis crawler connection, php basic training course , the seo training is better, the background of the website cannot be audited, edit the code of the web page on the mobile phone, sell the online mall template, preload the Javascript page, java car management system code, ask for the address of the system program area lzw——————————— —–codeigniter, an earlier framework. The idea of thinkphp comes from ci——Solution————————CI or thinkPHP——Solution————————Welcome to use InitPHP1.5 lightweight framework, InitPHP is a powerful tool for your WEB development, download address: http://initphp.com——Solution—————————I have heard a lot It is codeigniter, but I also heard that the best domestic PHP framework is QeePHP, you can try it. 08 home improvement source code, ubuntu terminal crashes,…