Category

General

How to check Auth in app service provider in laravel

In Laravel, if you want to check that a user is logged in or not at the time of application boot, you can use the following code where you can use Auth::guard('college')->check() to check if a user belongs to  guard('college') guard logged in or not.this can be done in appserviceprovider.php provider file under the providers […]

How do I validate a drop down list in Laravel PHP?

I am working on a project where I need to validate a dropdown lost which coded as select tag of HTML so I want to validate it with blank value so that user may not leave it blank.so following is my Laravel blade file and controller code. Blade View File Controller file Answer In the […]

Netcreator Propels Your Business Potential with its Amazing Array of Tech Solutions

When you look for a full spectrum of IT services that most diligent companies provide to make their clients stick with them for a long time, the idea of 360-degree tech solutions seems quite imperative. Netcreator lays out  a wide range of authentic and scalable tech services, all in one place, to give businesses the […]

How to Set Action URL & Method of HTML Form in Javascript

In this post i am going to explain how we can set action of HTML form by using JavaScript. Some times we need give different action to the same form so that in different situation it can be redirected to the relevant URL.In the following example i have explained that how can we give different […]

#1034 – index for table ‘global_priv’ is corrupt; try to repair it

#1034 – index for table ‘global_priv’ is corrupt; try to repair it I was working on PHP and i need to create a database on phpmyadmin. Then i goto PHPmyadmin to create database after that i need to add a user for my database when i try to add the user it show  #1034 – […]

The value of the for attribute of the label element must be the ID of a non-hidden form control.

The value of the for attribute of the label element must be the ID of a non-hidden form control. Question I am using following code into my website and when I scan this on w3 validator it shows following error “The value of the for attribute of the label element must be the ID of […]

laravel middleware error – This page isn’t working 127.0.0.1 redirected you too many times.

I am using a middleware in my project and i created a middle ware file called validlogin.php and i applied middleware for my route which comes after login process and this route called dashboard since then it is showing following error error – This page isn’t working 127.0.0.1 redirected you too many times. validlogin.php web.php […]

How to replace space with dash in Laravel

Question I am developing a project in which i need to make the URLs of pages and when the user submits the title of pages and title’s space should be replaced with “-” so that it can be in correct format such as  how-to-replace-space-with-dash-in-laravel Answer Sometime you might need to replace some thing with any […]

ErrorException failed loading cafile stream: `\xampp\apache\bin\curl-ca-bundle.crt’

This error occurs due to the curl library in your XAMPP setup cannot find the certificate authority (CA) file (curl-ca-bundle.crt). The certificate authority (CA) file is required for establishing secure connections via cURL. Following are the steps to resolve: Step 1: Verify the Path Make sure the curl-ca-bundle.crt file available in the specified location (\xampp\apache\bin\). […]

Web Development Services by Netcreator Outshines GoodFirms List of Service Provider Companies

Netcreator is a well-known IT company located in Delhi, India. It provides services within India and across the globe in the UK, USA, Canada, Australia, and various other geographical locations. The organization comprises a team of young, enthusiastic, experienced, creative innovators providing 360-degree services to their clients. These services include web development, content management, mobile […]