使用Git Bash的Windows 8.1 Express起点使用
python 2.7.10进行npm安装以避免3.4问题
C编译器是否存在问题?
我如何解决它?
的package.json:
{
"name": "nodeauth",
"version": "0.0.0",
"private": true,
"scripts": {
"start": "node ./bin/www"
},
"dependencies": {
"body-parser": "~1.13.2",
"cookie-parser": "~1.3.5",
"debug": "~2.2.0",
"express": "~4.13.1",
"jade": "~1.11.0",
"morgan": "~1.6.1",
"serve-favicon": "~2.3.0",
"mongodb": "*",
"mongoose": "*"
}
}
Run Code Online (Sandbox Code Playgroud)
以下日志包含mongodb和mongoose ......当我只包含mongodb时,我有类似的警告:
$ npm install --python=c:\python27\python - > kerberos@0.0.12 install e:\nodejs\_projects\nodeauth\node_modules\mongodb\node_modules\mongodb-core\node_modules\kerberos > (node-gyp rebuild 2> builderror.log) || (exit 0) e:\nodejs\_projects\nodeauth\node_modules\mongodb\node_modules\mongodb-core\node_modules\kerberos>if not defined npm_config_node_gyp (node "c:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (nod e\ rebuild ) Building the projects in …
MySql5.6 Apache2.4 PHP5.6 win8.1
我从/examples/create_tables.sql导入并运行了脚本
phpmyadmin pma结构现在是......
pma__bookmark
pma__central_columns
pma__column_info
pma__designer_coords
<b>pma__favorite</b>
pma__history
pma__navigationhiding
pma__pdf_pages
pma__recent
pma__relation
pma__savedsearches
pma__table_coords
pma__table_info
pma__table_uiprefs
pma__tracking
pma__userconfig
pma__usergroups
pma__users
18 tables Sum 2 InnoDB utf8_bin 368 KiB 0 B
Run Code Online (Sandbox Code Playgroud)
我的config.ini.php文件的存储数据库和表部分是....
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';
$cfg['Servers'][$i]['relation'] = 'pma__relation';
$cfg['Servers'][$i]['table_info'] = 'pma__table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma__table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma__column_info';
$cfg['Servers'][$i]['history'] = 'pma__history';
$cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';
$cfg['Servers'][$i]['tracking'] = 'pma__tracking';
$cfg['Servers'][$i]['designer_coords'] = 'pma__designer_coords';
$cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';
$cfg['Servers'][$i]['recent'] = 'pma__recent';
<b> …
Run Code Online (Sandbox Code Playgroud) phpmailer可以正常工作,并且可以通过多种方式使用它,但是.....我正在尝试寻找一种方法来确定是否有有效的电子邮件地址确实使它到达了某个目的地。我不是在谈论验证地址,例如...
if (!$mail->validateAddress($email)) {echo 'Not a valid squiloople email pattern';}
这是我的设置通过gmail使用SMTP ...
$mail->isSMTP();
$mail->SMTPAuth = true;
$mail->SMTPDebug = 0;
$mail->isHTML(true);
$mail->Host = 'smtp.gmail.com';
$mail->Username = "XXXl@gmail.com";
$mail->Password = "XXX";
$mail->SMTPSecure = 'ssl';
$mail->Port = 465;
Run Code Online (Sandbox Code Playgroud)
如果电子邮件地址看起来像鸭子,而象鸭子一样叫a,那么...
$result = $mail->send();
将始终返回true!
var_dump($mail->send()); // Also returns Boolean
有没有办法测试电子邮件是否确实在某处收到?还是严格来说是通过Google的SMTP gmail服务器的一种单向喊叫???
任何提示,技巧或指针,将不胜感激。