Tag: php

3941 Reference — What does this symbol mean in PHP? 2010-09-17T16:24:07.437

2780 How can I prevent SQL injection in PHP? 2008-09-12T23:55:00.900

2667 How do I check if a string contains a specific word? 2010-12-06T13:14:05.093

2267 Why shouldn't I use mysql_* functions in PHP? 2012-10-12T13:18:39.307

2091 How do I get a YouTube video thumbnail from the YouTube API? 2010-01-14T23:34:24.750

2075 PHP: Delete an element from an array 2008-12-15T20:28:55.307

1946 How do you parse and process HTML/XML in PHP? 2010-08-26T17:17:19.417

1827 When to use self over $this? 2008-09-30T06:23:06.343

1717 How does PHP 'foreach' actually work? 2012-04-07T19:33:57.893

1454 Convert HTML + CSS to PDF with PHP? 2008-12-24T08:14:20.757

1410 How do I get PHP errors to display? 2009-06-27T19:09:59.530

1259 startsWith() and endsWith() functions in PHP 2009-05-07T12:14:27.567

1175 How do you use bcrypt for hashing passwords in PHP? 2011-01-25T15:34:04.780

1077 Secure hash and salt for PHP passwords 2008-12-30T22:02:45.637

1045 How to make a redirect in PHP? 2009-04-20T14:13:22.583

1041 UTF-8 all the way through 2008-11-10T21:04:56.767

1025 How to get the client IP address in PHP? 2010-06-09T04:50:16.627

1015 Difference between require, include, require_once and include_once? 2010-03-10T16:13:25.127

1009 PHP and Enumerations 2008-10-31T18:51:14.840

1001 "Notice: Undefined variable", "Notice: Undefined index", and "Notice: Undefined offset" using PHP 2010-11-23T21:26:54.170

998 What's the best method for sanitizing user input with PHP? 2008-09-24T20:20:39.650

978 Get the full URL in PHP 2011-07-20T21:29:51.930

958 Reference - What does this error mean in PHP? 2012-10-07T15:11:00.930

953 How do I expire a PHP session after 30 minutes? 2009-02-06T13:14:14.497

933 What is stdClass in PHP? 2009-05-31T05:49:01.493

928 Sort Multi-dimensional Array by Value 2010-04-23T13:54:26.653

901 What are Long-Polling, Websockets, Server-Sent Events (SSE) and Comet? 2012-06-18T06:28:08.643

899 Get the first element of an array 2009-12-17T12:26:44.363

893 mysql_fetch_array()/mysql_fetch_assoc()/mysql_fetch_row()/mysql_num_rows etc... expects parameter 1 to be resource 2010-06-04T10:18:08.993

872 What is the difference between public, private, and protected? 2010-12-05T22:13:14.120

836 How to fix "Headers already sent" error in PHP 2011-11-06T17:41:22.563

806 Detecting request type in PHP (GET, POST, PUT or DELETE) 2008-12-11T11:31:27.170

770 How do I use PHP to get the current year? 2008-09-15T15:34:54.977

755 Dude, where's my php.ini? 2011-12-30T22:20:06.290

751 How do I implement basic "Long Polling"? 2008-12-02T11:14:47.553

715 How to get the current date and time in PHP? 2009-01-22T20:09:18.460

709 PHP array delete by value (not key) 2011-08-29T00:44:04.337

701 How to 'insert if not exists' in MySQL? 2009-09-01T08:56:41.863

694 What is the difference between single-quoted and double-quoted strings in PHP? 2010-08-10T05:12:56.133

692 What is thread safe or non-thread safe in PHP? 2009-10-26T09:41:33.237

689 How to check if PHP array is associative or sequential? 2008-10-06T07:01:13.140

688 PHP random string generator 2010-12-04T22:56:21.337

680 Returning JSON from a PHP Script 2010-10-31T18:23:54.783

673 Get first key in a (possibly) associative array? 2009-06-22T18:13:59.147

668 What is the best collation to use for MySQL with PHP? 2008-12-15T07:48:36.683

658 How to calculate the difference between two dates using PHP? 2009-03-24T10:33:07.443

652 Remove empty array elements 2010-09-06T21:06:57.727

635 How to get(extract) a file extension in PHP? 2008-10-06T11:00:02.957

625 Remove the last character from string 2011-04-08T09:15:10.207

609 Convert PHP object to associative array 2010-12-03T12:34:16.763

606 What are the differences in die() and exit() in PHP? 2009-11-25T06:28:07.787

593 jQuery Ajax POST example with PHP 2011-02-15T13:28:57.217

580 define() vs const 2010-03-15T14:23:57.747

579 How to pass variables and data from PHP to JavaScript? 2014-05-19T14:37:56.930

576 Are PDO prepared statements sufficient to prevent SQL injection? 2008-09-25T15:43:35.270

562 Preferred method to store PHP arrays (json_encode vs serialize) 2009-04-29T20:09:43.560

558 How do I send a POST request with PHP? 2011-04-13T10:06:00.597

539 PHP parse/syntax errors; and how to solve them? 2013-08-05T03:11:15.813

535 How can I capture the result of var_dump to a string? 2008-09-26T13:23:02.140

532 Create a folder if it doesn't already exist 2010-02-20T19:26:09.890

526 How to strip all spaces out of a string in php? 2010-01-21T13:02:35.423

525 SQL injection that gets around mysql_real_escape_string() 2011-04-21T07:56:11.147

523 How should a model be structured in MVC? 2011-05-03T00:28:42.547

522 Finding the number of days between two dates 2010-01-11T08:06:57.490

520 Can I bind an array to an IN() condition? 2009-05-28T11:17:57.673

519 What is the use of the @ symbol in PHP? 2009-06-23T12:08:32.817

512 ToString() equivalent in PHP 2008-08-26T13:56:49.873

509 How do I catch a PHP Fatal Error 2008-11-10T06:42:27.647

506 Are PHP short tags acceptable to use? 2008-10-14T10:21:04.563

505 Fatal Error: Allowed Memory Size of 134217728 Bytes Exhausted (CodeIgniter + XML-RPC) 2009-02-18T13:33:44.047

504 How to get useful error messages in PHP? 2009-05-10T09:48:12.687

500 htmlentities() vs. htmlspecialchars() 2008-09-05T18:29:12.880

493 What is the difference between HTTP_HOST and SERVER_NAME in PHP? 2010-02-19T15:29:54.973

490 Formatting a number with leading zeros in PHP 2009-11-09T09:25:01.553

466 PHP expects T_PAAMAYIM_NEKUDOTAYIM? 2009-02-26T20:34:52.957

460 Pretty-Printing JSON with PHP 2011-05-19T05:08:29.200

451 Is there a function to make a copy of a PHP array to another? 2009-10-07T16:11:50.393

451 How do I convert a string to a number in PHP? 2011-12-16T04:08:14.207

450 Can't use method return value in write context 2009-07-02T16:58:37.293

443 How do the PHP equality (== double equals) and identity (=== triple equals) comparison operators differ? 2008-09-17T06:56:45.987

433 Is there a static code analyzer [like Lint] for PHP files? 2008-12-18T19:39:58.353

432 Why doesn't this code simply print letters A to Z? 2010-11-04T15:36:31.837

426 Change the maximum upload file size 2010-02-02T14:00:46.537

426 Sort array of objects by object fields 2010-11-26T03:50:56.690

426 New self vs. new static 2011-03-04T17:41:46.957

423 Show a number to 2 decimal places 2010-12-19T15:10:30.473

420 Converting an integer to a string in PHP 2009-06-23T22:37:45.063

420 How to determine the first and last iteration in a foreach loop? 2009-07-01T16:57:59.437

416 NOW() function in PHP 2010-01-03T17:07:18.753

415 What is the difference between client-side and server-side programming? 2012-12-12T13:03:00.063

413 Convert date format yyyy-mm-dd => dd-mm-yyyy 2010-03-21T17:11:12.780

413 Cannot use object of type stdClass as array? 2011-07-25T11:40:14.930

409 Convert from MySQL datetime to another format with PHP 2008-09-25T23:10:30.203

406 Check if PHP session has already started 2011-06-06T09:00:51.393

405 How do you debug PHP scripts? 2008-08-03T23:18:21.627

401 PHP mail function doesn't complete sending of e-mail 2014-07-09T02:18:55.980

400 How to get the file extension in PHP? 2012-04-28T22:46:11.893

398 Insert new item in array on any position in PHP 2010-09-26T09:39:22.293

392 how to get the last char of a string in PHP? 2010-04-21T09:44:57.027