PHP

Support group for those afflicted with PHP. Don't ask to ask, ...
Jun 14, 2016 09:06
but you should set the method to POST if you are going to update or insert something in your database
Jun 14, 2016 09:05
@Adi if you don't set the method to POST you have to get the data from $_GET
Jun 6, 2016 12:26
oh yeah, didn't think about that
Jun 6, 2016 12:25
@Andrea why not using static methods to make additional constructors ? each static "constructor" calling the "real" constructor
Mar 2, 2016 10:50
@Riccardo990 you should be able to see what has been sent in your browser developer tools
Feb 26, 2016 15:34
@TiagoMatos try to change function log_exception(Exception $e) to function log_exception(Throwable $e) and echo $e in the function it should give you more informations
Feb 26, 2016 11:48
@Andrea would it be returned by ReflectionClass::getConstants ?
Feb 24, 2016 15:55
@FlorianMargaine i'll try that, thanks
Feb 24, 2016 15:47
Hi there! I'm having a problem receiving mail from new.php.net (php.internals) since I tell my smtp server to only accept mail after STARTTLS. I guess the mail server on new.php.net needs to be configured to try STARTTLS if it's availlable. does any of you know who I could try to contact on that matter ?
Jan 4, 2016 11:55
@Sean maybe like this then : array_intersect_key($base, array_replace($base, $array1, $array2));
Jan 4, 2016 11:53
@Sean you probably want array_replace