Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
89% Quality Score
Upvotes Received
9
Posts with Upvotes
9
Upvoting Members
7
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
3 Commented Posts
~61.0K People Reached
Interests
Programming, web development
PC Specs
8GB, 256 SSD, Ubuntu 18.10
Favorite Tags
Member Avatar for baig772

I am trying to implement multi authentication in `laravel5.2`. I am following [this article](http://saravanan.tomrain.com/multiauth-in-laravel-5-0/) My **Auth.php** <?php return [ 'multi' => array( 'user' => array( 'driver' => 'eloquent', 'model' => 'App\User', 'table' => 'users', ), 'admin' => array( 'driver' => 'database', 'model' => 'App\Admin', 'table' => 'tbl_admin_user', ) ), 'password' …

Member Avatar for tracyberge
0
618
Member Avatar for baig772

I am using `passport` in `laravel` for authenticating my users in APIs. I am able to authenticate different types of users from different tables and generating different token for them but the routes are not protected. For example. A user can access the routes like this Route::group(['middleware' => 'auth:api'], function …

Member Avatar for PARDEEP_2
0
974
Member Avatar for calvinyow

For pagination, this will help you [Pagination](http://www.phpeasystep.com/phptu/29.html)

Member Avatar for Gugun_1
1
5K
Member Avatar for baig772

I have a string like `string(8234) "<style>.{ margin-bottom:10px; float:left; display: inline-block; width:56%; text-align:left; padding-right:20px; padding-left:20px; } . > p { display: table-cell; height: 150px; vertical-align: middle; }..................</style>.................` I want to remove `<style>` tag and all its contents. I have tried $description = $product_info['description']; // the string with style tag $text …

Member Avatar for cereal
0
2K
Member Avatar for baig772

I have a div with `width: 200px` and I am adding text in it dynamically, I want the text to fit in this div but the text is getting out. I have tried to change the font size on character count but it does not work in all cases, like …

Member Avatar for AleMonteiro
0
386
Member Avatar for swilliamrobert

try the following in the function which closes the window or tab [CODE]unset($session_variable)[/CODE] you can also try destroy, session_destroy() methods

Member Avatar for jkon
0
8K
Member Avatar for baig772

Hi all, I want to implement a page flip effect on y uploaded pdf file. like [Click Here](http://www.pressmo.com). I am uploading a pdf file and while viewing it, i want a page flip effect in it. Any help will be appriciated

Member Avatar for swan.may.9
0
441
Member Avatar for baig772

**Problem** I need an jax pagination in YII, The problems are * its not showing the required results for the first time. ie. it is showing the complete result * When clicked on more, it again shows the complete result below that section as it is **What Needed** * i …

0
159
Member Avatar for subrata_ushasi

what version of wamp you are using? and whats the problem with wamp? its not starting or not going online??? please give some details of your rpoblem

Member Avatar for rageesh.pk
0
244
Member Avatar for baig772

I have a form for editing a user record. Its updates the record for the first time but when i press the update button again, it shows me an empty screen and it unsets the picture as well. I cannot figure out what I am doign wrong Below is my …

0
184
Member Avatar for baig772

Hi all I am making a website. I want to use linkshare on my website so that all the publishers registered with linkshare are listed on my website. Any suggestions? [Link Share](http://www.linkshare.com/)

Member Avatar for swshyamash
0
249
Member Avatar for iamthwee

Paste your code here and let the community look whats wrong with that. keep that in mind that "you cannot send emails from you local server unless and untill you have configured mercury"

Member Avatar for iamthwee
0
658
Member Avatar for nacedo

2 questions in 1 question :p There is no hard and fast rule for using the specific framework. But in my opinion, if you are a starter and you don't have experience in PHP, then you must start with [Code Igniter](http://ellislab.com/codeigniter) Reasons: * Strong Community * Extendable * Ease of …

Member Avatar for baig772
0
139
Member Avatar for baig772

Hi Any one ever wrked on live helper chat? [This](http://livehelperchat.com/) This is following template structure may be symfony or smarty and I am looking to change some form labels, but cannot figure out where to chage? Thanks in advance for help

Member Avatar for baig772
0
218
Member Avatar for baig772

Hi all I have a website about magazines and I want to upload the pdf file into it and create a flipping book effect for that uploaded file. I have seen many softwares but he problem is * I want to integrate this functionality in my website * I am …

Member Avatar for diafol
0
240
Member Avatar for hudhasama

Please share what you get when you do ehco "<pre>; print_r($_POST); echo "</pre>";"

Member Avatar for hudhasama
0
501
Member Avatar for baig772

I have a search form with only one text field. The problem is that the width of that `text field` is not same. the style is form#index-table-form input[type="text"] { width: 106px; height: 24px; position: absolute; outline: none; right: 0; top: 6px; border: 1px solid #3772af; padding-left: 6px; padding-right: 24px; font-family: …

Member Avatar for PriteshP23
0
127
Member Avatar for baig772

I am very new to wordpress. I am hivaing a small problem in my site. I am using a custom template for the home page, I have category filters on top, on mouseover it shows the total no. of models in that specific category. Well the problem is, I have …

Member Avatar for urtrivedi
0
73
Member Avatar for baig772

Its been alot of mess to make the pagination in wordpress :( I have the pagination, but it renders the same page template file is ?php get_header(); ?> <?php global $my_query; global $paged; $paged = get_query_var('paged') ? get_query_var('paged') : 1; $temp = $my_query; $my_query = null; $args = array( 'post_type' …

Member Avatar for baig772
0
215
Member Avatar for rjony321

why you are having same conditions in your `else if's` ?? It can be done by nested ifs. do another check in your ifs i.e. from which currency to what currency??

Member Avatar for Bachu
1
215
Member Avatar for baig772

I have a search form, in which a user enters a keyword and it displays the results with the keyword in description as highlighted text, for highlighting, i have used another class on that keyword. problem is that, if there is a keyword in some hyperlink or in some <img> …

Member Avatar for baig772
0
226
Member Avatar for Jiggles.X
Member Avatar for Jiggles.X
0
109
Member Avatar for baig772

I have the following table structure of my db: * tbl_project * tbl_employee * tbl_deliverable * user_to_deliverable as tbl_prjct and tbl_deliverable has 1-many relation, tbl_employee and tbl_deliverable have many-many relation so they are splited into user_to_deliverable table All i want is that a query to show project_name(from tbl_project), project's deliverables …

Member Avatar for baig772
0
121
Member Avatar for bulqr4eto

if the user can enter the article, bydefault set its article status as 0 and then let the admin to view all the articles from where he csn change the status and where you have to show the articles, you can select the articles like `select * from article where …

Member Avatar for baig772
0
337
Member Avatar for akuvidz

in any database, if primary key is once deleted, it can never be used again. To reset the primary key, you have to `TRUNCATE` your table which will result in loss of all the data. So i will not suggest you to reset the table

Member Avatar for pritaeas
0
168
Member Avatar for flourishit

We can host a wordpress blog on windows server it must have php and mysql installed in it. Or you can use some packages like xampp or wamp

Member Avatar for baig772
0
156
Member Avatar for baig772

i am having a problem, i downloaded the project from dev to my local, though it is running fine on dev but on local, it says me the following error Fatal error: Class 'DB' not found in F:\xampp\htdocs\timesheet\index.php on line 9 my index.php is <?php session_start(); error_reporting(1); include_once('classes/db.php'); include_once('classes/functions.php'); //========================================== …

Member Avatar for baig772
0
7K
Member Avatar for daisy.m.consolacion

For uploading, there are 3 basic steps 1. Make your form to carry data like pictures and files to other page by `<enc-type=multipart/formdata>` 2. Check what you are getting when you post the form 3. Move the file to your respective directory by `move_uploaded_file()` I suggest you to make the …

Member Avatar for daisy.m.consolacion
0
115
Member Avatar for baig772

i have an alert box which i want to show some icelandic text but its not showing it <script> function check() { alert("Þú verður að vera skráð/ur inn til þess að senda skilaboð"); } </script> it is showing the alert box but the text is messed up :( **Þú verður …

Member Avatar for baig772
0
245
Member Avatar for AjixPreston