256 Kilobytes

All Content

Type All Category All Tag All

Profile Photo - Hash Brown

Reply to [Laravel] Best way to determine an IP address' location?

Comments in Frameworks | By Hash Brown

Published 11 months agoTue, 04 Dec 2018 22:07:18 -0800 | Last update 9 months agoTue, 19 Feb 2019 01:47:53 -0800

Profile Photo - Hash Brown

You have a couple of possible optio...

MoreYou have a couple of possible options. You can use an API like GeoIP. There are people who have kindly coded laravel packages for this, her...
🗨
1
🐏
0
👁
101
Profile Photo - Some Guy

Best way to get a user's HTTP referer value within a Laravel project?

Answers in Frameworks | By Some Guy

Published 11 months agoTue, 04 Dec 2018 17:42:28 -0800

Profile Photo - Hash Brown

Last Reply Here you go: Request::server('HTTP_REFERER'). You should check the value is set before doing anything with it, not all requests have a referer... Hash Brown,

Here you go:

Tue, 04 Dec 2018 22:01:23 -0800 11 months ago
🗨
1
🐏
0
👁
87
Profile Photo - Hash Brown
Profile Photo - Hash Brown

Here you go:

MoreHere you go: Request::server('HTTP_REFERER'). You should check the value is set before doing anything with it, not all requests have a referer...
🗨
1
🐏
0
👁
87
Profile Photo - Some Guy

Is Xenforo open source?

Answers in Web Development | By Some Guy

Published 11 months agoTue, 04 Dec 2018 17:47:42 -0800

Profile Photo - Hash Brown

Last Reply Hello, No, XenForo is a commercial software, you need to buy licenses and renew that license every year. If you're looking for open source f... Hash Brown,

Hello,

Tue, 04 Dec 2018 21:59:11 -0800 11 months ago
🗨
1
🐏
0
👁
123
Profile Photo - Hash Brown

Reply to Is Xenforo open source?

Comments in Web Development | By Hash Brown

Published 11 months agoTue, 04 Dec 2018 21:59:11 -0800

Profile Photo - Hash Brown

Hello,

MoreHello, No, XenForo is a commercial software, you need to buy licenses and renew that license every year. If you're looking for open source f...
🗨
1
🐏
0
👁
123
Profile Photo - Some Guy
Profile Photo - Hash Brown

Last Reply Yes! in_array() accepts 3 arguments, they are: The string you're looking for. The array you're searching. "strict", whi... Hash Brown,

Yes!

Tue, 04 Dec 2018 21:53:21 -0800 11 months ago
🗨
1
🐏
0
👁
156
Profile Photo - Hash Brown

Reply to Is it possible to use PHP's in_array() function to only match exact results? For example, to match NULL but not FALSE?

Comments in Server-Side | By Hash Brown

Published 11 months agoTue, 04 Dec 2018 21:53:21 -0800 | Last update 11 months agoTue, 04 Dec 2018 22:21:22 -0800

Profile Photo - Hash Brown

Yes!

MoreYes! in_array() accepts 3 arguments, they are: The string you're looking for. The array you're searching. "strict", whi...
🗨
1
🐏
0
👁
156
Profile Photo - Some Guy

Google Search Console is warning me about blocked URL's after HTTPS migration

Forum in Search Engine Optimization | By Some Guy

Published 11 months agoMon, 03 Dec 2018 22:04:47 -0800 | Last update 11 months agoMon, 03 Dec 2018 23:14:57 -0800

Profile Photo - Hash Brown

Last Reply Hey, Do you have any URL's currently being blocked at all in your robots.txt file? From time to time Search Console can also get confused, i... Hash Brown,

Hey,

Tue, 04 Dec 2018 21:51:24 -0800 11 months ago
🗨
1
🐏
0
👁
127
Profile Photo - Hash Brown
Profile Photo - Hash Brown

Hey,

MoreHey, Do you have any URL's currently being blocked at all in your robots.txt file? From time to time Search Console can also get confused, i...
🗨
1
🐏
0
👁
2
Profile Photo - Some Guy

How do I add an age verification page to wordpress?

Forum in Content-Management Systems | By Some Guy

Published 11 months agoTue, 04 Dec 2018 19:01:33 -0800

Profile Photo - August R. Garcia

Last Reply Looks like there are a few age verification plugins for WordPress that might work: https://wordpress.org/plugins/age-verify/ https://wordpre... August R. Garcia,

Looks like there are a fe...

Tue, 04 Dec 2018 19:03:11 -0800 11 months ago
🗨
1
🐏
0
👁
95
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

Looks like there are a few age verificat...

MoreLooks like there are a few age verification plugins for WordPress that might work: https://wordpress.org/plugins/age-verify/ https://wordpre...
🗨
1
🐏
0
👁
95
Profile Photo - Some Guy
Profile Photo - August R. Garcia

Last Reply It should be possible to reset your password directly in the database table. Using PHPMyAdmin (or whatever), follow these steps: Open PHPMyAdmin... August R. Garcia,

It should be possible to...

Tue, 04 Dec 2018 18:44:40 -0800 11 months ago
🗨
1
🐏
1
👁
111
Profile Photo - August R. Garcia

Reply to I'm locked out of my WordPress website, how do I reset the password?

Comments in Content-Management Systems | By August R. Garcia

Published 11 months agoTue, 04 Dec 2018 18:44:40 -0800 | Last update 11 months agoTue, 04 Dec 2018 18:45:30 -0800

Profile Photo - August R. Garcia

It should be possible to reset your pass...

MoreIt should be possible to reset your password directly in the database table. Using PHPMyAdmin (or whatever), follow these steps: Open PHPMyAdmin...
🗨
1
🐏
1
👁
111
Profile Photo - August R. Garcia

DirtyCOW (Copy-on-Write) Explained by Computerphile and LiveOverflow

Forum in Unintended Behavior and Exploits | By August R. Garcia

Published 11 months agoTue, 04 Dec 2018 18:11:46 -0800 | Last update 9 months agoTue, 19 Feb 2019 01:47:40 -0800

Profile Photo - August R. Garcia

That's not DIrtyCOW; that's my wife.

MoreThis thread was only made for the meta description. Videos: https://www.youtube.com/watch?v=kEsshExn7a https://www.youtube.com/watch?v=CQcgz4...
🗨
0
🐏
0
👁
218
Profile Photo - Some Guy

[PHP] How to print array values separated by commas?

Answers in Server-Side | By Some Guy

Published 11 months agoTue, 04 Dec 2018 17:43:17 -0800

Profile Photo - August R. Garcia

Last Reply <?php implode(", ", $arr) More Information: http://php.net/manual/en/function.implode.php August R. Garcia,

Tue, 04 Dec 2018 18:00:47 -0800 11 months ago
🗨
1
🐏
0
👁
89
Profile Photo - August R. Garcia

Reply to [PHP] How to print array values separated by commas?

Comments in Server-Side | By August R. Garcia

Published 11 months agoTue, 04 Dec 2018 18:00:47 -0800

Profile Photo - August R. Garcia

More <?php implode(", ", $arr) More Information: http://php.net/manual/en/function.implode.php
🗨
1
🐏
0
👁
89
Profile Photo - Some Guy

[Laravel] How to get the largest ID for a table?

Answers in Frameworks | By Some Guy

Published 11 months agoTue, 04 Dec 2018 17:43:57 -0800

Profile Photo - August R. Garcia

Last Reply <?php // Get max $draft->draft_id = Post::max('id'); // Get the next after the max $draft->draft_id = Post::max('id') + 1; August R. Garcia,

Tue, 04 Dec 2018 18:00:03 -0800 11 months ago
🗨
1
🐏
0
👁
96
Profile Photo - August R. Garcia

Reply to [Laravel] How to get the largest ID for a table?

Comments in Frameworks | By August R. Garcia

Published 11 months agoTue, 04 Dec 2018 18:00:03 -0800

Profile Photo - August R. Garcia

More <?php // Get max $draft->draft_id = Post::max('id'); // Get the next after the max $draft->draft_id = Post::max('id') + 1;
🗨
1
🐏
0
👁
96
Profile Photo - Some Guy

[Google Sheets] How to get the largest number in a range?

Answers in Spreadsheets | By Some Guy

Published 11 months agoTue, 04 Dec 2018 17:44:15 -0800

Profile Photo - August R. Garcia

Last Reply See the MAX function: https://support.google.com/docs/answer/3094013?hl=en August R. Garcia,

See the MAX function:

Tue, 04 Dec 2018 17:59:42 -0800 11 months ago
🗨
1
🐏
0
👁
98
Profile Photo - August R. Garcia

Reply to [Google Sheets] How to get the largest number in a range?

Comments in Spreadsheets | By August R. Garcia

Published 11 months agoTue, 04 Dec 2018 17:59:42 -0800

Profile Photo - August R. Garcia

See the MAX function:

MoreSee the MAX function: https://support.google.com/docs/answer/3094013?hl=en
🗨
1
🐏
0
👁
98
Profile Photo - Some Guy
Profile Photo - August R. Garcia

Last Reply The trim() function in PHP takes an optional second parameter: http://php.net/manual/en/function.trim.php This function should do what you... August R. Garcia,

The trim() function in PH...

Tue, 04 Dec 2018 17:59:19 -0800 11 months ago
🗨
1
🐏
0
👁
104
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

The trim() function in PHP takes an opti...

MoreThe trim() function in PHP takes an optional second parameter: http://php.net/manual/en/function.trim.php This function should do what you...
🗨
1
🐏
0
👁
104
Profile Photo - Some Guy
Profile Photo - August R. Garcia

Last Reply Something like this should work: <style> iframe#some_iframe { width: 100%; height: 400px; background-size: 100% 100%;... August R. Garcia,

Something like this shoul...

Tue, 04 Dec 2018 17:58:07 -0800 11 months ago
🗨
1
🐏
0
👁
93
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

Something like this should work:

MoreSomething like this should work: <style> iframe#some_iframe { width: 100%; height: 400px; background-size: 100% 100%;...
🗨
1
🐏
0
👁
93
Profile Photo - Some Guy

How to exit Vim? Not sure how to save and quit Vim...

Answers in Scripting and Automation | By Some Guy

Published 11 months agoTue, 04 Dec 2018 17:47:07 -0800

Profile Photo - August R. Garcia

Last Reply Press ESC to make sure you are in command mode (also known as normal mode) Type a colon to open start writing a command (which will show up at th... August R. Garcia,

Tue, 04 Dec 2018 17:56:31 -0800 11 months ago
🗨
1
🐏
0
👁
115
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

More Press ESC to make sure you are in command mode (also known as normal mode) Type a colon to open start writing a command (which will show up at th...
🗨
1
🐏
0
👁
115
Profile Photo - Some Guy
Profile Photo - August R. Garcia

Last Reply Change "overflow: scroll;" to "overflow-y: auto;overflow-x: auto;" August R. Garcia,

Change "overflow: sc...

Tue, 04 Dec 2018 17:54:41 -0800 11 months ago
🗨
1
🐏
0
👁
98
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

Change "overflow: scroll;" to...

MoreChange "overflow: scroll;" to "overflow-y: auto;overflow-x: auto;"
🗨
1
🐏
0
👁
98
Profile Photo - Some Guy

Can you have a number in a MySQL DB name?

Answers in Databases | By Some Guy

Published 11 months agoTue, 04 Dec 2018 17:39:56 -0800

Profile Photo - August R. Garcia

Last Reply Yes, numbers in MySQL/MariaDB database names work fine. The 256 Kilobytes database, for example, is callled 420_smoke_weed. August R. Garcia,

Yes, numbers in MySQL/Mar...

Tue, 04 Dec 2018 17:54:20 -0800 11 months ago
🗨
1
🐏
0
👁
134
Profile Photo - August R. Garcia

Reply to Can you have a number in a MySQL DB name?

Comments in Databases | By August R. Garcia

Published 11 months agoTue, 04 Dec 2018 17:54:20 -0800

Profile Photo - August R. Garcia

Yes, numbers in MySQL/MariaDB database n...

MoreYes, numbers in MySQL/MariaDB database names work fine. The 256 Kilobytes database, for example, is callled 420_smoke_weed.
🗨
1
🐏
0
👁
134