Skip to content
#

PHP

php logo

PHP is a popular general-purpose scripting language that's particularly suited for server-side web development. PHP runtime is generally executed by webpage content, and can be added to HTML and HTML5 webpages. PHP was originally developed in 1994 by Rasmus Lerdorf.

Here are 60,968 public repositories matching this topic...

symfony
B-Galati
B-Galati commented Nov 8, 2019

Description
At the moment it's quite hard to debug HTTP errors because the only information we get is:

HTTP/1.1 400 Bad Request returned for "https://example.com/".

It would be nice to have an opt-in option that would automatically open response payload and headers in order to log them in Sentry for example. It may require to handle a max lenght on the response payload.

naderman
naderman commented Nov 27, 2019

Users often execute composer install with a different version of PHP than the version they execute the resulting code with. This can of course lead to problems and it would help if the generated autoloader verified a compatible PHP version is actually used. This is based on the idea implemented in flex: symfony/flex#576

Using either https://github.com/composer/semver/iss

marekstodolny
marekstodolny commented Jan 29, 2020

Description
Sending empty files in a multipart POST form is a proper use case due to web browsers supporting it.

I worked on a API layer using guzzle that had to work with an existing legacy codebase and trigger some actions (a proxy of some sort). There was a case where files had to be sent with empty content and would not work if you would omit them.

Example
_Currently no implem

wangch7
wangch7 commented May 22, 2019

Problem Description: No instruction of how to contribute in readme.rst. First time users will probably want to see information of how to contribute (which includes how to set up environment, communicate, and submit changes, etc.).

Solution Description: Add a contributing section in readme.rst with general contributing information, and include a link to file "contributing.md" (https://github.com

moon0326
moon0326 commented Aug 29, 2018

Please answer these questions before submitting your issue. Thanks!

  1. What did you do? If possible, provide a recipe for reproducing the error.

read Chinese and English documentation

  1. What did you expect to see?

I expected to find best practice for production usage

  1. What did you see instead?

nothing

  1. What version of Swoole are you using (php --ri swoole)?

latest.

PHPMailer
PhilippGrashoff
PhilippGrashoff commented Jan 22, 2020

Hi there,
after spending quite some time figuring why Email sending with a certain smtp server does not work, I found its an SSL issue.

Most widely on the web the found solution is to unset some ssl checks:

$mail->SMTPOptions = array(
    'ssl' => array(
        'verify_peer' => false,
        'verify_peer_name' => false,
        'allow_self_signed' => true
    )
);

However

WeeSee
WeeSee commented Feb 9, 2020

In console/Controller.php we can read:

/**
     * Prints a string to STDOUT.
     *
     * You may optionally format the string with ANSI codes by
     * passing additional parameters using the constants defined in [[\yii\helpers\Console]].
     *
     * Example:
     *
     * ```
     * $this->stdout('This will be red and underlined.', Console::FG_RED, Console::UNDERLINE);
  
rick-pri
rick-pri commented Feb 28, 2020

From the documentation on this page:

If you are installing the databases manually, then once you get the database you want to use copy it to Matomo’s path/to/matomo/misc/ subdirectory.

But it doesn't tell you what filename to extract it out as. I tried to read the php but the code is highly obfuscated making it impossible for me to determine wha

pamtbaau
pamtbaau commented Dec 18, 2019

When creating a page 'changelog' as follows:

pages
β”œβ”€β”€ 01.home
β”‚   └── default.md
└── 02.changelog
    └── default.md

with the following route alias in the header to add the '.md' extension:

routes:
  aliases:
    - '/changelog.md'

And when accessing the page using the url localhost/changelog.md, a 'Forbidden' error will be thrown.

When the file 'CHANGELOG.md' in

misterjaytee
misterjaytee commented Jun 25, 2019

For maintenance items, currently subscribers only get a notification that a maintenance item was created.

Please could we make the following amendments to notifications for maintenance items:

  • Make sure that the description is in the email so that subscribers don't have to visit the status website to find out more detail about the maintenance item and also let them know what component and/o
rentalhost
rentalhost commented Dec 9, 2019

Currently the first parameter $base is a string that could be: top-left (default), bottom-right or transparent as the doc: trim().

There some way to trim by color? In my case, I need trim transparent and/or white color, only. Eg.: trim([ 'transparent', 'white', '#FF0000']) to trim transparent, white and red. The problem is that first parameter

server
cphalcon
Nialld
Nialld commented Jan 22, 2020

Describe the bug
Model with a field called "container" will throw an exception on serialize

To Reproduce

CREATE TABLE test (
id int(10) unsigned NOT NULL AUTO_INCREMENT,
container varchar(64) DEFAULT NULL,
PRIMARY KEY (id)
) ENGINE=InnoDB

and use phalcon dev tools to create a model of this table

create an instance of the model and serialize

im seeing erro

october
monica
keunes
keunes commented Oct 28, 2019

I use the 'nick name' field to enter people's 'calling name' (roepnaam, in Dutch) - how we call ppl in daily life. That's also the name by which I'd like to display & sort contacts.

Therefore, I'd like to suggest a new name pattern: <Nickname> (<First name> <Last name>), which would resort to <First name> <Last name> if there is no nickname.

Created by Rasmus Lerdorf

Released June 8, 1995

Organization
php
Website
secure.php.net
Wikipedia
Wikipedia

Related Topics

language
You can’t perform that action at this time.