Linux 上 安装mssql 模块,之前的都安装完毕,最后一步将mssql.so加入php.ini ,重启php报错。

图片说明

Linux环境:php是5.3.3,Freetds安装成功,测试已经链接成功,Mssql也安装才成功,mssql.so 也已经有了,将其完整路径加入php.ini中 extension=/usr/lib64/php/modules/mssql.so,重启fpm 报错

报错如下:

Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mssql.so' - /usr/lib64/php/modules/mssql.so: undefined symbol: core_globals_id in Unknown on line 0

请大神们帮帮忙,这个提示的问题怎么修改。

1个回答

查看下对应目录下是否有mssql.so文件

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
centos6.5 php7.0.11 源码包里为什么没有mssql模块 无法在linux下用phpize给PHP动态添加扩展

我想要编译安装一个mssql.so的扩展, 但是我在php7.0.11的源码包里面找不到mssql的扩展, ![图片说明](https://img-ask.csdn.net/upload/201910/18/1571361403_608104.png) 无法在linux下用phpize给PHP动态添加扩展 ``` # /usr/local/php/bin/phpize #./configure --with-php-config=/usr/local/php/bin/php-config --with-pdo-dblib=/usr/local/freetds/ # make && make install ``` 请问各位大佬我该怎么编译安装一个mssql.so

如何使用GO连接到Linux中的MSSQL数据库

<div class="post-text" itemprop="text"> <p>I have created and connected to an sql server on linux using <a href="https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-connect-and-query-sqlcmd" rel="nofollow noreferrer">this</a> tutorial.</p> <p>I am using golang and <a href="https://github.com/denisenkom/go-mssqldb" rel="nofollow noreferrer">this</a> driver. (<a href="https://github.com/denisenkom/go-mssqldb" rel="nofollow noreferrer">https://github.com/denisenkom/go-mssqldb</a>)</p> <p>I am having problems connecting to the database using golang. I have specified a user as SA and a password. I have also written in the terminal "hostname" and got the hostname xxx. When I use that info to connect I get a 500 error. </p> <pre><code>conn, err := sql.Open("mssql", "server=xxx; id=SA; password=mypass; database=testdb) </code></pre> <p>Does this seem correct? I am a newbie so maybe I am missing something obvious?</p> </div>

linux下 远程访问mssql,出错Adaptive Server is unavailable

目前状况,在lnmp环境下,需要远程访问一台服务器上的sqlserver数据库,远程访问已经设置好了 linux下php扩展pdo_dblib 和 mssql 都已经安装完毕,并且 freetds 访问远程数据库都是 没问题的 ![图片说明](https://img-ask.csdn.net/upload/201804/26/1524730637_241732.png) 然而在php中做连接时却出现问题,php代码 ![图片说明](https://img-ask.csdn.net/upload/201804/26/1524730898_260323.png) 报错 SQLSTATE[HY000] Unable to connect: Adaptive Server is unavailable or does not exist (severity 9)

无法安装PHP的mssql扩展

<div class="post-text" itemprop="text"> <p>We're using a MSSQL db at work and I want to be able to write PHP scripts that fetches data directly from the db to my local MAMP environment. I've tried installing <strong>pdo_sqlsrv</strong> and <strong>sqlsrv</strong> using Homebrew and I've tried compiling the extensions on my own using PECL commands, but in both cases it has ended unsuccessfully with the error message:</p> <p>fatal error: 'sql.h' file not found</p> <p>I've been googling this problem all day and can't seem to find a solution that I can get to work/understand. I'd be grateful for any help or hints.</p> <p>Computer: Macbook Pro 2018 (macOS 10.13.6)</p> <p>Local environment: MAMP PRO 4.5 (PHP version: 7.2.1)</p> </div>

使用从Linux客户端到MSSQL的ODBTP - 响应错误

<div class="post-text" itemprop="text"> <p>I have MSSQL running on a Windows server. I can connect to it using ODBTP, ADODB and PHP from other windows servers. When I try the same thing on a Linux server, I get a response error: <code>[ODBTPERR][0]Invalid Response in /var/www/html/Database/adodb5/drivers/adodb-mssql.inc.php on line 726:[ODBTPERR][0]Invalid Response</code><br> The ODBTP (v1.1.4) is enabled as an extension on the Linux server, and if I play with the odbtp.conf file settings I get proper connection errors, so it is picking things up correctly. I can telnet from the Linux server to the database server on port 2799 and get back an OBDTP prompt. Can anyone suggest any steps? Thanks</p> </div>

如何在MAC中为Laravel安装mssql驱动程序(sqlsrv)?

<div class="post-text" itemprop="text"> <p>Im trying to connect to mssql server from My Mac OS. My application development OS is MAC.</p> <p>I try to download the driver here[1], but it is not for MAC.</p> <p>Can anyone shed some light on how to install the mssql driver for php/laravel in MAC?</p> <p>[1]<a href="https://docs.microsoft.com/en-us/sql/connect/php/download-microsoft-php-driver-for-sql-server" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/sql/connect/php/download-microsoft-php-driver-for-sql-server</a></p> </div>

php mssql_connect无法正常工作

<div class="post-text" itemprop="text"> <p>Here's the code that I am using.</p> <pre><code>&lt;?php ini_set('display_errors', 1); error_reporting(E_ALL); $myServer = "ip-address:1334/SQLEXPRESS"; $myUser = "username"; $myPass = "password"; $myDB = "dbname"; $link = mssql_connect($myServer, $myUser, $myPass); if ( !$link ) { if ( function_exists('error_get_last') ) { var_dump(error_get_last()); } die('connection failed'); } ?&gt; </code></pre> <p>Now this code is running on a linux machine and the server is on a windows server. The IP is correct as well as username, password I created a new pair inside SQLEXPRESS. However, I still get a connection issue.</p> <pre><code> Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server </code></pre> <p>the port 1334 is opened by our windows server and SQL server is listening to both 1334 and 1433. THey wont open default port for security reasons. They have double checked the settings but I still cannot connect.</p> <p>What should be the next action for me.</p> <p>Kind regards</p> <p>Khuram</p> </div>

CentOs下php连mssql的问题

网站服务器是CentOs系统,PHP是用lnmp9.0安装的(nginx+php+mysql),上面有一个网站(PHP程序+MYSQL数据库)正常使用。现在是想在PHP网站程序中连接到另一台游戏服务器(windows2003系统),游戏服务器使用的是MSSQL2005数据库,现在使用“ mssql_connect()”连接游戏服务器的MSSQL2005数据库,出现这个错误Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: 56.126.56.87 in /home/wwwroot/kk.php on line 16。 本人上网搜索研究了一个星期了,都没搞定,希望大家能帮帮忙。下面我是测试的 1、在本地用ASP程序编写,可以连接MSSQL2005数据库,并读取出数据库的数据; 2、在网站服务器上已经安装了freetds-0.91,并且可以用tsql -H .....命令连接到MSSQL2005数据库。 3、在网站服务器上用PHP程序连接另外一台CentOs系统的MYSQL数据库,能连接到MYSQL并读取出数据库的数据; 4、IP、帐号、密码 等都没有错误。 5、php.ini 里面已经加上这句了extension = "mssql.so"。用 phpinfo();查询也支持MSSQL了。 ![CSDN移动问答][1] ![CSDN移动问答][2] [1]: http://www.nnzy.net/1.jpg [2]: http://www.nnzy.net/2.jpg

PHP - 连接到MSSQL数据库 - FreeTDS,PHP 5.3.27,Linux Redhat 64位

<div class="post-text" itemprop="text"> <p>I'm having a very hard time connecting to a MSSQL database from my Redhad linux box using PHP. I've Googled this thing to death and everything I try doesn't seem to work.</p> <p>I've installed FreeTDS and compiled the PHP install package to create the mssql.so extension. I've placed the extension in the correct extensions directory and I've added the extension to my php.ini file.</p> <p>I've also turned off all firewalls to take that out of the picture.</p> <p>The latest PHP I tried is:</p> <pre><code>&lt;?php echo "y"; $server = 'SERVERNAME'; echo "e"; // Connect to MSSQL $link = mssql_connect($server, '&lt;USERNAME&gt;', '&lt;PASSWORD&gt;'); echo "s"; if (!$link) { die('Something went wrong while connecting to MSSQL'); } echo "!"; ?&gt; </code></pre> <p>When I execute this code, I get nothing. So added those echos and all I get is ye, which tells me that it is not connecting at all. Any help will be greatly appreciated. I've tried searching for log files on the server, but I don't really know what to be looking for.</p> </div>

如何从MSSQL服务器获取最后插入的ID?

<div class="post-text" itemprop="text"> <p>First off, this question has been asked before but my code style is a bit different than those in the previous questions.</p> <p>I have MSSQL server and I use PHP to insert into my database.</p> <p>This works.</p> <p>I just need to get the last inserted ID after it has been inserted.</p> <p>So this is my code:</p> <pre><code> $email=str_replace("'","''", $_POST['email']); $password=str_replace("'","''", $_POST['password']); $query="INSERT INTO Profiles("; $query=$query."VP_Email,"; $query=$query."VP_Password"; $query=$query.") VALUES (?,?) SELECT SCOPE_IDENTITY() AS ins_id"; $stmt = sqlsrv_prepare($conn, $query, array(&amp;$email, &amp;$password)); $result = sqlsrv_execute($stmt); if (!$result) { echo "error: Insert Error"; exit; } else { sqlsrv_next_result($stmt); sqlsrv_fetch($stmt); $Profileid = sqlsrv_get_field($stmt,0); } echo $Profileid; </code></pre> <p>When i run my code, the data gets inserted into the database but the <code>$Profileid</code> is always empty!</p> <p>Could someone please advice on this issue?</p> <p>Thanks in advance.</p> </div>

只需在mssql_fetch_array中返回最后一行粗体

<div class="post-text" itemprop="text"> <p>I have a php code similar to below. I want to make just last row bold. Is it possible?</p> <pre><code>&lt;table border = "5"&gt; &lt;?php if (isset($startdate) &amp;&amp; isset($enddate) ){ $query = "storedprocedure '$startdate','$enddate','field1'"; $result = mssql_query($query); while ($rows = mssql_fetch_array($result) ) { echo "&lt;tr&gt;&lt;td&gt;".$rows[0]."&amp;nbsp;&lt;td&gt;".$rows[1]."&amp;nbsp; &lt;td&gt;".$rows[2]."&amp;nbsp;&lt;td&gt;".$rows[3]."&amp;nbsp; &lt;td&gt;".$rows[4]."&amp;nbsp;&lt;td&gt;".$rows[5]."&amp;nbsp;"; } } &lt;/table&gt; </code></pre> </div>

PHP / mssql mssql_execute():存储过程执行失败

<div class="post-text" itemprop="text"> <p>This one is a little strange: I have an SP that runs several time over a few hours in the same script. After about 3 hours, it has run 20 times or so, then I get a series of warnings: <code>"mssql_execute(): stored procedure execution failed ..."</code> for the rest of the script.</p> <p>So my script completes for only about half the data. It's not timing out or anything. Does a MsSQL connection get stale or something? I'm using </p> <blockquote> <p>$conn = mssql_pconnect($database,$mssql_username,$password);</p> </blockquote> <p>Should I be using </p> <blockquote> <p>$conn = mssql_pconnect($database,$mssql_username,$password, true);</p> </blockquote> <p>?</p> <p>Thanks for your help!!</p> </div>

使用PDO和PHP从MSSQL表获取最后插入记录的id

<div class="post-text" itemprop="text"> <p>I am trying to get the id of the last record inserted in an mssql database using pdo via php. I HAVE read many posts, but still can't get this simple example to work, so I am turning to you. Many of the previous answers only give the SQL code, but don't explain how to incorporate that into the PHP. I honestly don't think this is a duplicate. The basic insert code is:</p> <pre><code>$CustID = "a123"; $Name="James" $stmt = " INSERT INTO OrderHeader ( CustID, Name ) VALUES ( :CustID, :Name )"; $stmt = $db-&gt;prepare( stmt ); $stmt-&gt;bindParam(':CustID', $CustID); $stmt-&gt;bindParam(':Name', $Name); $stmt-&gt;execute(); </code></pre> <p>I have to use PDO querying an MSSQL database. Unfortunately, the driver does not support the lastinsertid() function with this database. I've read some solutions, but need more help in getting them to work.</p> <p>One post here suggests using SELECT SCOPE_IDENTITY(), but does not give an example of how incorporate this into the basic insert code above. Another user suggested: </p> <pre><code> $temp = $stmt-&gt;fetch(PDO::FETCH_ASSOC); </code></pre> <p>But, that didn't yield any result. </p> </div>

从MySQL迁移到MSSQL

<div class="post-text" itemprop="text"> <p>I have a PHP application using PDO for database access. </p> <p>This application has to be extended to create tables in and write data to a Microsoft SQL-Server (MSSQL) database. For the MSSQL part we don't need transactions.</p> <p>What are the key points to dive in for migrating existing MySQL queries to MSSQL? Will it be done by switching the PDO database driver or are there differences in SQL dialects when INSERTing data or in login procedures?</p> </div>

NodeJS 封装mssql方法返回值recordset,recordsets区别

使用NodeJS的mssql封装了一些查询方法 ps.prepare(sql,function(err){ if(err) console.log('select.prepared-err',err); ps.execute(params,function(err,recordset){ callBack(err,recordset); ps.unprepare(function(err){ if(err){ console.log('select.unprepared-err',err); } }) }) }) 返回值中包含两个集recordset与recodesets。 通过方法results.recordset[0]和results.recordsets[0]都可以获得其中的json数据。 但是对于方法results.recordset[0]['ID']。 只有results.recordset[0]['ID']可以获取到查询结果中的 ID 值, 使用results.recordsets[0]['ID']就会返回undefined 为什么会导致这种情况拜托大神解惑 感谢

连接到运行MAMP PRO的OS X上的MSSQL

<div class="post-text" itemprop="text"> <p><strong>EDIT</strong>: I have not found the solution, instead a virtual machine was created with centOS where the extensions needed would load. If this can help someone in the future, that's fantastic.</p> <p>Versions: PHP5.6, MSSQL 2008, OS x El Capitan</p> <p>I'm trying to query a MSSQL database to compare results with a MySQL database. I can query the MySQL db without issue, I cannot query the MSSQL db. I've installed freetds, odbc, autoconf, followed multiple tutorials including: </p> <ul> <li><a href="http://davehiren.blogspot.com/2015/07/mamp-install-mssql-extension.html" rel="nofollow noreferrer">http://davehiren.blogspot.com/2015/07/mamp-install-mssql-extension.html</a></li> <li><a href="https://github.com/lionheart/django-pyodbc/wiki/Mac-setup-to-connect-to-a-MS-SQL-Server" rel="nofollow noreferrer">https://github.com/lionheart/django-pyodbc/wiki/Mac-setup-to-connect-to-a-MS-SQL-Server</a></li> <li><a href="http://blog.andyhunt.info/2013/11/29/php-mssql-pdo_dblib-freetds-support-on-mac-osx-10-9-mavericks/" rel="nofollow noreferrer">http://blog.andyhunt.info/2013/11/29/php-mssql-pdo_dblib-freetds-support-on-mac-osx-10-9-mavericks/</a></li> </ul> <p>I've also tried using Propelorm without success. </p> <p>Checks: - myssql.so is in the extensions folder and is being called in my php.ini. - I've tried running a try/catch on my 500 error, no good. - apache and php logs don't show anything in regards to the page I'm loading or the service in general. - php.info show the correct extensions file and the correct directory to call the extension, a search in the page did not spit back anything with "mssql" or "pdo_dblib".</p> <p>My next course of action is to create a virtual machine running Ubuntu to test the script but I would like to be able to develop on my host machine.</p> <p>Looking at the php.ini for php5.6.31 (version being used by MAMP PRO):</p> <pre><code>/Applications/MAMP/bin/php/php5.6.31/conf/php.ini 421 ; Directory in which the loadable extensions (modules) reside. 422 extension_dir = "/Applications/MAMP/bin/php/php5.6.31/lib/php/extensions/no-debug-non-zts-20131226/" 531 ; Extensions 532 533 ;extension=apcu.so 534 extension=mssql.so 535 extension=pdo_dblib.so 536 extension=imap.so 537 extension=mcrypt.so 538 extension=gettext.so 539 extension=pgsql.so 540 extension=pdo_pgsql.so 541 542 ;extension=imagick.so 543 ;extension=tidy.so 544 extension=oauth.so </code></pre> <p>Taking a look in the extensions folder, we can see the mssql.so file:</p> <pre><code>/Applications/MAMP/bin/php/php5.6.31/lib/php/extensions/no-debug-non-zts-20131226/ apcu.so mcrypt.so tidy.so gettext.so memcached.so uploadprogress.so igbinary.so mssql.so xcache.so imagick.so oauth.so xdebug.so imap.so opcache.so yaml.so ioncube_loader_dar_5.6.so pdo_pgsql.so yaz.so ioncube_loader_dar_5.6_ts.so pgsql.so </code></pre> <p>I'm not sure what else to include, let me know in the comments and I will update the questions. </p> <pre><code> 23 $mssql_link = mssql_connect($custom_mssql_host, $custom_mssql_user, $custom_mssql_pass, $custom_mssql_db); 24 if (!$mssql_link) { 25 die('Could not connect to MSSQL database: ' . mssql_error()); 26 exit; 27 } 28 if(!mssql_select_db($custom_mssql_db)) { 29 die('Could not select MSSQL database: ' . mssql_error()); 30 exit; 31 } 46 $query2 = mssql_query("SELECT * FROM table2"); 47 $result2 = mssql_query($query1); 48 if(!$query1) { 49 die('Could not query:' .mssql_error()); 50 } </code></pre> </div>

无法使用Golang连接到MSSQL 2014(无需在MSSQL上打开静态端口)

<div class="post-text" itemprop="text"> <p>I'm trying to connect my Golang app to MSSQL 2014.</p> <p>I have been successful using - <a href="https://github.com/denisenkom/go-mssqldb" rel="nofollow noreferrer">https://github.com/denisenkom/go-mssqldb</a> For this, I only had enable a static port on my MSSQL &amp; things were good, I was able to get data.</p> <p>But what I want to achieve is to connect to MSSQL without needing to open up a static port on MSSQL, as my PHP app already does this using PDO.</p> <p>I also tried using - <a href="https://github.com/minus5/gofreetds" rel="nofollow noreferrer">https://github.com/minus5/gofreetds</a> but was unable to install FreeTDS on Windows. But even in that I was seeing somewhere to setup a port for MSSQL, so I stopped.</p> <p>Another golang pkg that I came across was - <a href="https://github.com/alexbrainman/odbc" rel="nofollow noreferrer">https://github.com/alexbrainman/odbc</a> But due to lack of doc, I'm still stuck. Unit tests for this pkg fail, saying the user login failed. But the login creds are working fine.</p> <p>Has anyone been successful in achieving this.</p> </div>

在XAMPP / CentOS 7上安装php-mssql

<div class="post-text" itemprop="text"> <p>I want to connect to a Microsoft SQL Server with my Xampp Server (CentOS 7).</p> <p>I ran the following commands:</p> <pre><code>yum install -y epel-release yum install php-mssql service xampp restart </code></pre> <p>When I call <code>mssql_connect('192.168.0.1, 1433', 'user', '***');</code> in my PHP file it throws the following error:</p> <pre><code>Fatal error: Call to undefined function mssql_connect() in /opt/lampp/htdocs/index.php on line 39 </code></pre> <p>What am I doing wrong?</p> </div>

如何优化下面语句,可以更高效率写入MSSQL 。(ASP+MSSQL)

现在数据量大,经常运行后无响应。如何优化下面语句,可以更高效率写入MSSQL 。(ASP+MSSQL) <% sub autoActfp() i1=csng(request("i1")) i2=csng(request("i2")) response.write "<p style='height:30px;background:#483D8B;color:white;'><b>&nbsp;根据数据量的大小,整个过程大约需要1-3分钟,请稍候……。</b></p>" for i3=1 to i2 if i3 <> i2 then Response.Write "<p> 第 <b>"&i3&"</b> 部分供需数据,已运算完成。</p>" else Response.Write("<p> 正在运算第 <b>"&i3&"</b> 部分供需数据,请等待...</p>") end if next Response.Flush() set r0 = conn.execute("select top 500 DD01 from ZDIDAN where DD03 = 'O' AND DD01 not in(select top "&i1&" DD01 from ZDIDAN where DD03 = 'O')") Do While Not r0.Eof set r1 = conn.execute("SELECT TA01,TA07 FROM ZDIDTA WHERE TA02 ='"&r0(0)&"' AND TA09='I' ORDER BY TA03,TA01") Do While Not r1.Eof call Setb(r0(0),r1(0),r1(1)) '循环子级分类 自动分配 r1.Movenext Loop r1.Close Set r1 = Nothing r0.Movenext Loop r0.Close Set r0 = Nothing i1=i1+500 i2=i2+1 ttx = conn.execute("select count(*) from ZDIDAN where DD03 = 'O'")(0) if i1 < ttx then response.write "<script>window.open('?nt=vActfp&ixt=1&i1="&i1&"&i2="&i2&"','NewWin1');</script>" end if Response.Write("<p> <font color=red size=3 COLSPAN=5>全部计算完毕。<input type=button value=关闭窗口 onclick=""window.close()""><p>") Response.Flush() response.end end sub sub Setb(x1,x2,x3) '自动分配 iz = CSng(x3) i = "1" set r2 = conn.execute("SELECT TA01,TA07-TA13 FROM ZDIDTA WHERE TA02 ='"&x1&"' AND TA09='O' and TA07-TA13>0 ORDER BY TA10,TA03,TA01") if not r2.eof then Do While Not r2.Eof izs = CSng(r2(1)) if iz > izs then conn.execute("insert into ZDIDTB(TB01,TB02,TB03,TB14,TB15) VALUES('"&x2&"','"&x1&"','"&r2(0)&"',"&i&","&izs&")") conn.execute("Update ZDIDTA SET TA13=TA13+"&izs&" WHERE TA01='"&r2(0)&"' AND TA02='"&x1&"'") iz = iz-izs else conn.execute("insert into ZDIDTB(TB01,TB02,TB03,TB14,TB15) VALUES('"&x2&"','"&x1&"','"&r2(0)&"',"&i&","&iz&")") conn.execute("UPDATE ZDIDTA SET TA13=TA13+"&iz&" WHERE TA01='"&r2(0)&"' AND TA02='"&x1&"'") Exit Sub end if i = i + 1 r2.Movenext if r2.eof then exit do '防上造成死循环 Loop else exit sub END IF end sub %>

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

华为初面+综合面试(Java技术面)附上面试题

华为面试整体流程大致分为笔试,性格测试,面试,综合面试,回学校等结果。笔试来说,华为的难度较中等,选择题难度和网易腾讯差不多。最后的代码题,相比下来就简单很多,一共3道题目,前2题很容易就AC,题目已经记不太清楚,不过难度确实不大。最后一题最后提交的代码过了75%的样例,一直没有发现剩下的25%可能存在什么坑。 笔试部分太久远,我就不怎么回忆了。直接将面试。 面试 如果说腾讯的面试是挥金如土...

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

讲一个程序员如何副业月赚三万的真实故事

loonggg读完需要3分钟速读仅需 1 分钟大家好,我是你们的校长。我之前讲过,这年头,只要肯动脑,肯行动,程序员凭借自己的技术,赚钱的方式还是有很多种的。仅仅靠在公司出卖自己的劳动时...

win10暴力查看wifi密码

刚才邻居打了个电话说:喂小灰,你家wifi的密码是多少,我怎么连不上了。 我。。。 我也忘了哎,就找到了一个好办法,分享给大家: 第一种情况:已经连接上的wifi,怎么知道密码? 打开:控制面板\网络和 Internet\网络连接 然后右击wifi连接的无线网卡,选择状态 然后像下图一样: 第二种情况:前提是我不知道啊,但是我以前知道密码。 此时可以利用dos命令了 1、利用netsh wlan...

上班一个月,后悔当初着急入职的选择了

最近有个老铁,告诉我说,上班一个月,后悔当初着急入职现在公司了。他之前在美图做手机研发,今年美图那边今年也有一波组织优化调整,他是其中一个,在协商离职后,当时捉急找工作上班,因为有房贷供着,不能没有收入来源。所以匆忙选了一家公司,实际上是一个大型外包公司,主要派遣给其他手机厂商做外包项目。**当时承诺待遇还不错,所以就立马入职去上班了。但是后面入职后,发现薪酬待遇这块并不是HR所说那样,那个HR自...

总结了 150 余个神奇网站,你不来瞅瞅吗?

原博客再更新,可能就没了,之后将持续更新本篇博客。

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

带了6个月的徒弟当了面试官,而身为高级工程师的我天天修Bug......

即将毕业的应届毕业生一枚,现在只拿到了两家offer,但最近听到一些消息,其中一个offer,我这个组据说客户很少,很有可能整组被裁掉。 想问大家: 如果我刚入职这个组就被裁了怎么办呢? 大家都是什么时候知道自己要被裁了的? 面试软技能指导: BQ/Project/Resume 试听内容: 除了刷题,还有哪些技能是拿到offer不可或缺的要素 如何提升面试软实力:简历, 行为面试,沟通能...

!大部分程序员只会写3年代码

如果世界上都是这种不思进取的软件公司,那别说大部分程序员只会写 3 年代码,恐怕就没有程序员这种职业。

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

HTTP与HTTPS的区别

面试官问HTTP与HTTPS的区别,我这样回答让他竖起大拇指!

程序员毕业去大公司好还是小公司好?

虽然大公司并不是人人都能进,但我仍建议还未毕业的同学,尽力地通过校招向大公司挤,但凡挤进去,你这一生会容易很多。 大公司哪里好?没能进大公司怎么办?答案都在这里了,记得帮我点赞哦。 目录: 技术氛围 内部晋升与跳槽 啥也没学会,公司倒闭了? 不同的人脉圈,注定会有不同的结果 没能去大厂怎么办? 一、技术氛围 纵观整个程序员技术领域,哪个在行业有所名气的大牛,不是在大厂? 而且众所...

程序员为什么千万不要瞎努力?

本文作者用对比非常鲜明的两个开发团队的故事,讲解了敏捷开发之道 —— 如果你的团队缺乏统一标准的环境,那么即使勤劳努力,不仅会极其耗时而且成果甚微,使用...

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

当HR压你价,说你只值7K,你该怎么回答?

当HR压你价,说你只值7K时,你可以流畅地回答,记住,是流畅,不能犹豫。 礼貌地说:“7K是吗?了解了。嗯~其实我对贵司的面试官印象很好。只不过,现在我的手头上已经有一份11K的offer。来面试,主要也是自己对贵司挺有兴趣的,所以过来看看……”(未完) 这段话主要是陪HR互诈的同时,从公司兴趣,公司职员印象上,都给予对方正面的肯定,既能提升HR的好感度,又能让谈判气氛融洽,为后面的发挥留足空间。...

面试:第十六章:Java中级开发(16k)

HashMap底层实现原理,红黑树,B+树,B树的结构原理 Spring的AOP和IOC是什么?它们常见的使用场景有哪些?Spring事务,事务的属性,传播行为,数据库隔离级别 Spring和SpringMVC,MyBatis以及SpringBoot的注解分别有哪些?SpringMVC的工作原理,SpringBoot框架的优点,MyBatis框架的优点 SpringCould组件有哪些,他们...

面试阿里p7,被按在地上摩擦,鬼知道我经历了什么?

面试阿里p7被问到的问题(当时我只知道第一个):@Conditional是做什么的?@Conditional多个条件是什么逻辑关系?条件判断在什么时候执...

终于懂了TCP和UDP协议区别

终于懂了TCP和UDP协议区别

Python爬虫,高清美图我全都要(彼岸桌面壁纸)

爬取彼岸桌面网站较为简单,用到了requests、lxml、Beautiful Soup4

无代码时代来临,程序员如何保住饭碗?

编程语言层出不穷,从最初的机器语言到如今2500种以上的高级语言,程序员们大呼“学到头秃”。程序员一边面临编程语言不断推陈出新,一边面临由于许多代码已存在,程序员编写新应用程序时存在重复“搬砖”的现象。 无代码/低代码编程应运而生。无代码/低代码是一种创建应用的方法,它可以让开发者使用最少的编码知识来快速开发应用程序。开发者通过图形界面中,可视化建模来组装和配置应用程序。这样一来,开发者直...

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

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

大三实习生,字节跳动面经分享,已拿Offer

说实话,自己的算法,我一个不会,太难了吧

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

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

美团面试,问了ThreadLocal原理,这个回答让我通过了

他想都想不到,ThreadLocal我烂熟于心

大牛都会用的IDEA调试技巧!!!

导读 前天面试了一个985高校的实习生,问了他平时用什么开发工具,他想也没想的说IDEA,于是我抛砖引玉的问了一下IDEA的调试用过吧,你说说怎么设置断点...

面试官:你连SSO都不懂,就别来面试了

大厂竟然要考我SSO,卧槽。

立即提问
相关内容推荐