| d720a82c | 24-Jun-2012 |
Andreas Gohr <andi@splitbrain.org> |
remove() implemented for Input class |
| a12aaeb7 | 24-Jun-2012 |
Andreas Gohr <andi@splitbrain.org> |
allow setting values via input class |
| ab5d26da | 24-Jun-2012 |
Andreas Gohr <andi@splitbrain.org> |
code cleanup |
| ff1769de | 24-Jun-2012 |
Andreas Gohr <andi@splitbrain.org> |
another input wrapper fix |
| c4e18ef9 | 24-Jun-2012 |
Andreas Gohr <andi@splitbrain.org> |
added 3rd parameter to Input methods
This allows to treat empty parameters as default |
| fd50d5c7 | 24-Jun-2012 |
Andreas Gohr <andi@splitbrain.org> |
added has() method to input class |
| 89177306 | 24-Jun-2012 |
Andreas Gohr <andi@splitbrain.org> |
Introducing a $_REQUEST/POST/GET wrapper
This new wrapper ensures types are correct and accessed parameters are actually set (with custom default fallbacks).
The wrapper is available in the global
Introducing a $_REQUEST/POST/GET wrapper
This new wrapper ensures types are correct and accessed parameters are actually set (with custom default fallbacks).
The wrapper is available in the global $INPUT variable. It accesses $_REQUEST by default. If POST or GET is required, the post and get members can be used:
$INPUT->int('foo',false); // access $_REQUEST['foo'], default false $INPUT->post->int('foo'); // access $_POST['foo'], default 0 $INPUT->get->int('foo'); // access $_GET['foo'], default 0
The codebase still needs to be updated to make use of this.
show more ...
|
| 29fbab8d | 23-Jun-2012 |
Andreas Gohr <andi@splitbrain.org> |
code cleanup |
| e3736c26 | 23-Jun-2012 |
Andreas Gohr <andi@splitbrain.org> |
some phpdoc updates |
| a89c75af | 23-Jun-2012 |
Andreas Gohr <andi@splitbrain.org> |
some code beautification |
| 4c89a7f6 | 23-Jun-2012 |
Andreas Gohr <andi@splitbrain.org> |
another bad comparison fixed |
| 4d18e936 | 23-Jun-2012 |
Andreas Gohr <andi@splitbrain.org> |
fixed wrong comparison in Mailer::dump() |
| 87ada0b8 | 22-Jun-2012 |
Dion Nicolaas <dion@nicolaas.net> |
Dutch language update |
| 1731f979 | 22-Jun-2012 |
Nguyen The Hung <thehung@vinades.vn> |
Vietnamese language update |
| b1654422 | 22-Jun-2012 |
이명진 <aranet100@gmail.com> |
Korean language update |
| b3b97ef3 | 20-Jun-2012 |
Tom N Harris <tnharris@whoopdedo.org> |
Skip over chunk extensions that nobody uses because RFC2616 says so |
| 769b429a | 20-Jun-2012 |
Tom N Harris <tnharris@whoopdedo.org> |
HTTPClient will read up to max_bodysize if it can |
| fbf63b6e | 20-Jun-2012 |
Tom N Harris <tnharris@whoopdedo.org> |
Validate the size of a chunk before reading from the socket |
| 24f112d0 | 20-Jun-2012 |
Tom N Harris <tnharris@whoopdedo.org> |
Efficiently wait on sockets |
| 288188af | 20-Jun-2012 |
Tom N Harris <tnharris@whoopdedo.org> |
HTTP headers are already parsed, there is no need for regexp |
| 50d1968d | 20-Jun-2012 |
Tom N Harris <tnharris@whoopdedo.org> |
Utility function for writing to a socket |
| 62699eac | 17-Jun-2012 |
Tom N Harris <tnharris@whoopdedo.org> |
Utility functions for reading from a socket.
Reading from a socket is handled by functions that encapsulate the error handling and timeout conditions. _readData reads blocks of data. _readLine reads
Utility functions for reading from a socket.
Reading from a socket is handled by functions that encapsulate the error handling and timeout conditions. _readData reads blocks of data. _readLine reads a single line.
show more ...
|
| 189ba183 | 17-Jun-2012 |
Tom N Harris <tnharris@whoopdedo.org> |
Raise an exception on socket errors.
This is the first step in refactoring the socket reader to be more resilient and easier to debug. |
| fc6c2b2f | 16-Jun-2012 |
Tom N Harris <tnharris@whoopdedo.org> |
Correct handling of chunked transfer encoding. (FS#2535) |
| a09831ea | 16-Jun-2012 |
Tom N Harris <tnharris@whoopdedo.org> |
Avoid strict warnings about unset array keys. |