You can insert the content of one PHP file into another PHP file before the server executes it, with the include() or require() function.
The two functions are identical in every way, except how they handle errors:
include() generates a warning, but the script will continue execution
require() generates a fatal error, and the script will stop
Application Development. Business Solutions. Computers. Consulting. Cybersecurity. Information Technology. Software. Technology
Sunday, August 28, 2016
Sunday, November 1, 2015
How to determine the version and edition of SQL Server and its components
Using query command:
Select @@version
for more info read https://support.microsoft.com/en-us/kb/321185
Select @@version
for more info read https://support.microsoft.com/en-us/kb/321185
Saturday, October 31, 2015
Debugging in Visual Studio
Sometime to debug an web application in Visual Studio, you need to run as Administrator user or for other user.
For more info read: http://stackoverflow.com/questions/1287099/runas-a-different-user-when-debugging-in-visual-studio
For more info read: http://stackoverflow.com/questions/1287099/runas-a-different-user-when-debugging-in-visual-studio
Saturday, September 26, 2015
How many clustered indexes can be in one table?
One clustered indexes per table.
For more info: https://msdn.microsoft.com/en-us/library/ms143432.aspx
Sunday, August 16, 2015
Start SQL Service from Command Line
Sometime open Microsoft SQL Server Studio on local machine, it cannot open the local databases instance, instead of using the GUI, using the command line must more quicker.
net start SQLSERVERAGENT
For more info, see
https://msdn.microsoft.com/en-us/library/hh403394(v=sql.110).aspx#CommandPrompt
net start SQLSERVERAGENT
For more info, see
https://msdn.microsoft.com/en-us/library/hh403394(v=sql.110).aspx#CommandPrompt
Saturday, May 16, 2015
Northwind Sample DB Script is not work on SQL 2014
Comment out the line #24-25 in file "SQL Server 2000 Sample Databases\instnwnd.sql"
sp_dboption removed after SQL 2012
-- exec sp_dboption 'Northwind','trunc. log on chkpt.','true'
=> ALTER DATABASE Northwind SET RECOVERY SIMPLE
-- exec sp_dboption 'Northwind','select into/bulkcopy','true'
=> ALTER DATABASE Northwind SET RECOVERY BULK_LOGGED
Referenece:
Sunday, March 8, 2015
Essential Software Developer Tools
- Notepad++ is a free (as in "free speech" and also as in "free beer") source code editor and Notepad replacement that supports several languages.
- WinMerge is an Open Source differencing and merging tool for Windows.
- 7-Zip is a file archiver with a high compression ratio.
- Visual Studio Community. A fully-featured, extensible, free IDE for creating modern applications for Android, iOS, Windows, as well as web applications and cloud services.
- Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, OS X and Linux.
Subscribe to:
Posts (Atom)
How to Install Keka on macOS
Download latest version from https://www.keka.io/en/ Copy the MD5 hash value from Keka website to compare later (MD5: 8729f9d08d10293fa1ee65...
-
Extract from https://support.apple.com/en-vn/guide/mac-help/mchlp1406/mac for reference: On your Mac, choose Apple menu > System Settin...
-
Download new version at https://www.libreoffice.org/download/download-libreoffice/ Click the info link ( https://download.documentfoundation...
-
Download latest version from https://www.keka.io/en/ Copy the MD5 hash value from Keka website to compare later (MD5: 8729f9d08d10293fa1ee65...