Hi,
I have just noticed a problem reading MySql data with PHP running as an
apache module.
Basically, any data retrieved from MySql that contains a single quote (and
no doubt other characters too) is displayed with a slash in it when printed
by PHP.
For example:
$surname = O'Brien;
print
Forgot to say this is running in FreeBSD
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Marek,
That is switched off. However, I was just having another look at the
problem, and, it actually appears to be fixed! I didnt shange anything, so
the ISP must have done something?
Thanks,
Kevin
Marek Kilimajer [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL
Hi,
I want to do the same under unix:-
php myscript.php4 myparameter
but the PHP CGI supplied by my ISP has register_argc_argv switched off. Is
there any other way to access command line parameters when
register_argc_argv is off?
Thanks,
Kevin
--
PHP General Mailing List
Hi Roddie,
The require or include functions will do this for you, see
http://www.php.net/manual/en/function.include.php
Paths are absolute to the file system, not where the web server path starts,
eg suppose your file is at
/usr/home/www/riddie/phpscripts/somedir/script.php
you would include a
Hi,
I have a RH 7.2 server with php 4.1.2 installed as a CGI.
I'm trying to run this script
#!/usr/local/phpcgi/bin/php -q
?
print hello;
?
I get this as output:
[root@dev bin]# ./test.php
Error in argument 1, char 3: option not found
Error in argument 1, char 3: option not found
Usage: php
Hi,
Has anyone interfaced to Worldpay using php running on Unix/Linux? Worlp pay
have a COM interface but thsi is only avaliable if PHP is running under
windows, so I was wondering if there is another way?
Thanks,
Kevin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hi JJ,
Looks OK to me, could it be that youa re missing a semi colon ; or a brace } from a
previous line, in this case PHP often reports the parse error as being the line where
the next ; is?
EG
$var1 = x
$var2 = y;
This will show an error on the second line.
KEvin
8 matches
Mail list logo