Search found 6242 matches

by Benjamin
Wed Dec 22, 2021 9:22 pm
Forum: PHP - Code
Topic: Why does this problem exist? mysqli not working
Replies: 6
Views: 603

Re: Why does this problem exist? mysqli not working

Try uncommenting this line in your configuration file, and ensure the path is correct:

extension_dir = "C:\software\php\dist\ext"
by Benjamin
Wed Dec 22, 2021 6:52 pm
Forum: PHP - Code
Topic: Why does this problem exist? mysqli not working
Replies: 6
Views: 603

Re: Why does this problem exist? mysqli not working

What is the error message?
by Benjamin
Sat Dec 18, 2021 8:22 pm
Forum: PHP - Code
Topic: Looking for some help
Replies: 1
Views: 297

Re: Looking for some help

Line 57 should be:

Code: Select all

if ($mysqli->query($query) === TRUE)
by Benjamin
Sat Dec 18, 2021 11:02 am
Forum: PHP - Code
Topic: Reading book called the joy of php
Replies: 1
Views: 285

Re: Reading book called the joy of php

Line 57 is missing a )
by Benjamin
Thu Dec 02, 2021 11:08 am
Forum: PHP - Code
Topic: 500 Server Error Help
Replies: 1
Views: 808

Re: 500 Server Error Help

It's probably the "php_value max_input_vars 2000" line. Remove that.
by Benjamin
Mon Nov 29, 2021 10:54 am
Forum: PHP - Code
Topic: PHP bug or something else?
Replies: 1
Views: 696

Re: PHP bug or something else?

Please post your code.
by Benjamin
Sat Nov 20, 2021 9:14 pm
Forum: PHP - Code
Topic: Facing problem in drupal
Replies: 1
Views: 1479

Re: Facing problem in drupal

You can ignore that. Make sure you are running the most recent version of Drupal and the recommend version of PHP. Turn display_errors off using ini_set();
by Benjamin
Fri Oct 29, 2021 5:20 pm
Forum: General Discussion
Topic: error in php laravel framework - Regarding
Replies: 2
Views: 3511

Re: error in php laravel framework - Regarding

The object property keys may need to begin with a letter rather than a number; 2021-06-01
by Benjamin
Fri Sep 24, 2021 3:55 pm
Forum: General Discussion
Topic: forum problems
Replies: 4
Views: 3482

Re: forum problems

Odd, it was working for me.
by Benjamin
Wed Sep 22, 2021 7:22 pm
Forum: General Discussion
Topic: forum problems
Replies: 4
Views: 3482

Re: forum problems

What forum?
by Benjamin
Thu Sep 02, 2021 11:45 am
Forum: PHP - Code
Topic: PHP preg_match() must have first and last name with a space between
Replies: 4
Views: 3373

Re: PHP preg_match() must have first and last name with a space between

It should be set to the minimum length of the first and last name you want to match. It means X or more times. \s{1,} forces there to be a space between the words.

So you may want to change it to something such as:

Code: Select all

[a-zA-Z]{2,}\s{1,}[a-zA-Z]{2,}
by Benjamin
Wed Sep 01, 2021 7:29 pm
Forum: PHP - Code
Topic: PHP preg_match() must have first and last name with a space between
Replies: 4
Views: 3373

Re: PHP preg_match() must have first and last name with a space between

Without any examples I'm guessing here.

Does this work for you? It matches "firstname lastname"

Code: Select all

[a-zA-Z]{0,}\s{0,}[a-zA-Z]{0,}
by Benjamin
Sat Aug 07, 2021 4:13 pm
Forum: General Discussion
Topic: I have website, that is base on PHP but there is a undefined error occur automatic
Replies: 1
Views: 4839

Re: I have website, that is base on PHP but there is a undefined error occur automatic

You still have "Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet." text on your website. Contact your hosting company and tell them to turn off display_errors. Your developers should be fixing these errors as they see them in a de...
by Benjamin
Thu Apr 22, 2021 6:46 pm
Forum: Databases
Topic: possible mysql 8 bug
Replies: 3
Views: 8328

Re: possible mysql 8 bug

What do you mean by TRIM?

Was the disk full or placed into read only mode? If it went into RO mode check DMESG, it's probably failing.
by Benjamin
Thu Apr 22, 2021 6:44 pm
Forum: PHP - Code
Topic: idea for wordpress
Replies: 3
Views: 5884

Re: idea for wordpress

It shows what search engines, e.g. Bing [Bot], Google [Bot]