On 09 Dec 2013 at 22:30, Yehuda Katz wrote:
> That is a PHP configuration option called Magic Quotes (
> http://www.php.net/manual/en/info.configuration.php#ini.magic-quotes-gpc)
> that used to be on by default and is now off by default in recent PHP
> releases.
Thanks - that was it.
--
Cheers
I run an instance of apache under OS X which I use to pass data to PHP scripts
using ajax. If I have a string such as "O'Toole" (without the double-quotes),
then when the string (which I pass through encodeURIComponent in the browser)
arrives in the PHP script, the single-quote is prefixed with
On 02 Dec 2013 at 12:42, Jeff Trawick wrote:
> On Mon, Dec 2, 2013 at 7:04 AM, Tim Streater wrote:
>
>> I start httpd.exe from a PHP script, using this command string on Win7:
>>
>> start /b "" /d "c:\Program Files (x86)\Apache Software
>> Foundat
I start httpd.exe from a PHP script, using this command string on Win7:
start /b "" /d "c:\Program Files (x86)\Apache Software
Foundation"\Apache2.2\bin httpd.exe -f z:\path\to\my\httpd.conf
where z: is some drive letter and the backslashes are doubled as they are
within a PHP string. This ap
I want to port my application, which runs fine under OS X, to Windows7. I have
a PHP startup script, which launches httpd as follows:
// Now attempt to start apache
$cmd = '/usr/sbin/httpd -f "/path/to/my/config/file" 2>&1';
exec ($cmd, $results, $result);
if ($result!=0)
{
On 23 Nov 2011 at 21:45, Wade Evans wrote:
> My naive recommendation is to stop using CGI, and use the PHP module
> instead... to swim with the current, not against it.
Wade,
Thanks for that. Although it didn't answer my questions directly, it did give a
me a clue to look at the PHP web site,
On 23 Nov 2011 at 20:39, Wade Evans wrote:
> If all you want to do is run PHP scripts to service AJAX requests, why not
> load the php module, set the type handler, and move on to a more
> interesting problem?
To me, in my present star of ignorance, these *are* interesting questions.
Admittedl
I'm looking at how apache is set up under OS X Lion and Snow Leopard. It seems
to me in both cases that, for the default apache config, fast-cgi is disabled
as the corresponding LoadModule is commented out. Is there a particular reason
why this should be?
I notice that under SL, the fast-cgi mo