Rasmus Lerdorf [Mon, 21 Aug 2000 04:09:13 +0000 (04:09 +0000)]
Delete this suggestion as it was leading newbie users to use this file
without understanding what they were doing. Experienced users will find
and use this file on their own.
Andi Gutmans [Sun, 20 Aug 2000 19:49:10 +0000 (19:49 +0000)]
- Checking for ".." isn't enough. include_once() could mess up even if both
- names didn't include ".." but were referenced different directories which
- were symlinked to each other.
Sascha Schumann [Sun, 20 Aug 2000 14:29:00 +0000 (14:29 +0000)]
The status quo in PHP is that the current directory is initialized
to the directory where the executing script is located.
Since this needs to be implemented for all SAPI modules anyway, this
change moves the functionality to php_execute_script() and gets rid
of the per-module code.
Sterling Hughes [Sun, 20 Aug 2000 10:31:27 +0000 (10:31 +0000)]
A Whole buncha stuff, mostly bug fixing...
- Make constants case-sensitive, conforming with the rest of PHP &
the C API.
- Make module compatible with thread safety features.
- open_listen_sok() -> open_listen_sock()
- Remove ext_skel comments
- Get rid of the ZVAL macro and replace with the correct Z_*_*
macros
- declare all functions local to the file as static.
- Remove empty PHP_MSHUTDOWN() function.
- Removed confirm_sockets_compiled()
- Changed RETVAL_* macro's to RETURN_* macro's eliminating errors
with incorrect return values and a potential leak/crash or two.
- functions that return void, actually return void
- Replaced 'long' in the prototypes with 'int'
- Fixed fd_zero() function, it gave a WRONG_PARAM_COUNT when you
gave it the proper parameter count.
- Changed the way an arbitrary number of parameters were accessed
from build_iovec() to use the Zend API.
- Added socketpair() and shutdown() functions.
Sterling Hughes [Sun, 20 Aug 2000 08:28:00 +0000 (08:28 +0000)]
Bunch o' changes..
- Add the ability to return the web page into a variable
by setting the CURLOPT_RETURNTRANSFER constant to 1.
- Make everything conform to the naming guidelines.
- Delete the resource id from the file_id table when a
resource is closed.
Chuck Hagenbuch [Thu, 17 Aug 2000 16:01:14 +0000 (16:01 +0000)]
prevent mail_criteria from munging the variable passed in containing the
query - just had to add a cpystr(). if this isn't the right fix, let me
know, but it does work.
Ben Mansell [Thu, 17 Aug 2000 13:40:40 +0000 (13:40 +0000)]
(send_headers) Removed code freeing http_status_line, this is performed
in sapi_send_headers()
# Looks like a similar problem in sapi/pi3web/pi3web_sapi.c as well.
# I can't test this though, so I'm being paranoid and not changing that code.
# Could someone please check this?
Andi Gutmans [Wed, 16 Aug 2000 19:26:21 +0000 (19:26 +0000)]
- The beginning of an attempt to cleanup fopen-wrappers.
- I started with trying to localize the V_FOPEN's so that we can have a
- version which won't really open the file for include_once/require_once to
- work faster and have less chance of a race which would cause a fd leak.
- What I did will, therefore, change but I want to do this step by step
- because the code is extremley messy so first of all I want to make sure
- that the isolating of the V_FOPEN code doesn't break anything.
- How about moving URL stuff out of this file?
- php_fopen_url_wrapper() copy and pasted the second part of
- php_fopen_wrapper() (incorrectly). Please try not to copy&paste code but
- centralize functionality. Need to think of a nice way to nuke one of the
- copies and have both functions use the same one.
Jouni Ahto [Wed, 16 Aug 2000 01:03:20 +0000 (01:03 +0000)]
- Return NULL type when column is NULL, now that we have it in PHP4.
- Fixed a bug in handling NULL columns, PQgetvalue() doesn't return a NULL
pointer in this case, but a pointer to a string of 0 length...