User Login

Please enter user name and password into following boxes!

If you are not registered yet, please click

Forget Password

If you forget your password, please click


  • How to create server.crt and server.key for local web app

    Certificate create operation as follows: 1. Create v3.ext file having following content: [req] distinguished_name = req_distinguished_name x509_extensions = v3_req prompt = no [req_distinguished_name] C = TW ST = Taiwan L = Taipei O = CR OU = It CN = html_12 [v3_req] keyUsage = keyEncipherment, dataEncipherment extendedKeyUsage = serverAuth subjectAltName = @alt_names [alt_names] DNS.1=html_12 2. run command openssl req -new -newkey rsa:2048 -sha256 -days 3650 -nodes -x509 -keyout server.key -out server.crt -config v3.ext -extensions v3_req 3...Continue Reading

    .NET Core Web API Language Support

    [Route("api/[controller]")] public class HomeController : Controller { private readonly IStringLocalizer<HomeController> _localizer; public HomeController(IStringLocalizer<HomeController> localizer) { _localizer = localizer; } [HttpGet("index/{id}")] public IActionResult Index() { return new ObjectResult(_localizer["Hello"]); } } Add Resources folder then, add and Controllers.HomeController.en-EN....Continue Reading

    How to Select Categories in Php Web App?

    Category table: id adi url parent 1 Elektronik elektronik NULL 2 Laptop laptop 1 We can use following codes to extract parent->child category array: /** * Show the application dashboard. * * @return \Illuminate\Http\Response */ public function index() { $categories = DB::table('kategori as k1') ->join('kategori as k2', '', '=', 'k2.parent') ->select('k1.adi as parent_adi', 'k1.url as parent_url', 'k2.adi as child_adi', 'k2.url as child_url') ->get(); $parents = array()...Continue Reading

    How do I prevent JAXBElement from being generated in a CXF Web Service client?

    <plugin> <groupId>org.apache.cxf</groupId> <artifactId>cxf-codegen-plugin</artifactId> <version>${cxf.version}</version> <executions> <execution> <id>generate-sources</id> <phase>generate-sources</phase> <configuration> <sourceRoot>${basedir}/src/main/java</sourceRoot> <wsdlOptions> <wsdlOption> <wsdl>${basedir}/src/main/resources/TekPencereTest.wsdl</wsdl>...Continue Reading

    Base64 Encoding File Upload in Classic ASP

    Saving base64 encoding string as file, we can use following codes: Function SaveToBase64 (base64String) Set Doc = Server.CreateObject("MSXML2.DomDocument") Set nodeB64 = Doc.CreateElement("b64") nodeB64.DataType = "bin.base64" nodeB64.Text = Mid(base64String, InStr(base64String, ",") + 1) dim bStream set bStream = server.CreateObject("") bStream.type = 1 call bStream.Open() call bStream.Write( nodeB64.NodeTypedValue ) call bStream.SaveToFile("e:\test.jpg", 2 ) call bStream.close() set bStre...Continue Reading

    How To Configure Symfony In Shared Cpanel?

    Add .htaccess file into the root directory if not exist and put following codes: #path/to/project/.htaccess # Rewrite all requests to subdirectory, except exists file requests RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ /web/$1 [QSA,L] And then modify .htaccess file in the web folder as follows: RewriteEngine On RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$ RewriteRule ^(.*) - [E=BASE:%1] RewriteCond %{ENV:REDIRECT_STATUS} ^$ RewriteRule ^app\.php(/(.*)|$) %{...

    How to Configure Symfony Project Virtual Host in Jelastic?

    Symfony virtual host configuration in Jelastic Server as follows: <VirtualHost *:80> ServerName domain.tld ErrorLog logs/ CustomLog logs/ common DocumentRoot /var/www/webroot/ROOT/web <Directory /var/www/webroot/ROOT/web> AllowOverride None Order Allow,Deny Allow from All <IfModule mod_rewrite.c> Options -MultiViews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteR...Continue Reading

    Symfony 3 VirtualHost Configuration

    Symfony 3 Configuration in httpd.conf After this configuration we can access the site at http://localhost:8090 <VirtualHost *:8090> ServerName domain.tld ServerAlias www.domain.tld DocumentRoot C:/xampp/htdocs/symfony/urunTakipSistemi/web <Directory C:/xampp/htdocs/symfony/urunTakipSistemi/web> AllowOverride None Order Allow,Deny Allow from All <IfModule mod_rewrite.c> Options -MultiViews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f Rewri...Continue Reading