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


  • .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

    How to Access Current Sampler and Regex Variable in JMeter BeanShell Post Proccessor?

    Apache JMeter get current sampler as follows: String currentURL = ctx.getCurrentSampler().getUrl().getHost();//accessing current URL name = vars.get("takipKodu");//regex variable named as takipKodu // Pass true if you want to append to existing file // If you want to overwrite, then don't pass the second argument f = new FileOutputStream(currentURL+".txt", true); p = new PrintStream(f); this.interpreter.setOut(p); print(name); f.close();...Continue Reading