大约有 4,200 项符合查询结果(耗时:0.0454秒) [XML]
Why are functions and methods in PHP case-insensitive?
Functions and methods in PHP are case-insensitive as illustrated in the following example.
2 Answers
...
Good PHP ORM Library?
Is there a good object-relational-mapping library for PHP?
36 Answers
36
...
How to get the file extension in PHP? [duplicate]
...
'Only variables should be passed by reference', the PHP Manual
– dader
Dec 20 '12 at 2:01
...
Using $_POST to get select option value from HTML
... Where do I put the $selectOption = $_POST['taskOption']; I put it in the php but it does nothing....
– Yunfei Chen
2 days ago
add a comment
|
...
PHP function to get the subdomain of a URL
Is there a function in PHP to get the name of the subdomain?
28 Answers
28
...
Converting string to Date and DateTime
If I have a PHP string in the format of mm-dd-YYYY (for example, 10-16-2003), how do I properly convert that to a Date and then a DateTime in the format of YYYY-mm-dd ? The only reason I ask for both Date and DateTime is because I need one in one spot, and the other in a different spot.
...
PHP cURL custom headers
I'm wondering if/how you can add custom headers to a cURL HTTP request in PHP. I'm trying to emulate how iTunes grabs artwork and it uses these non-standard headers:
...
How do I make a request using HTTP basic authentication with PHP curl?
I'm building a REST web service client in PHP and at the moment I'm using curl to make requests to the service.
11 Answers
...
Do AJAX requests retain PHP Session info?
...
If PHP error reporting is turned on, you can get a session error returned with the AJAX response. I've been intermittently getting a Warning: session_write_close(): Failed to write session data (user) error lately in a project, ...
String comparison using '==' vs. 'strcmp()'
It seems that PHP's === operator is case sensitive. So is there a reason to use strcmp() ?
13 Answers
...