Hi Anup
I had to change ext/oci8/config.m4
Remove the line highlighted in red on this page.
http://cvs.php.net/diff.php/php-src/ext/oci8/config.m4?login=2&r1=1.37.2.6&r2=1.37.2.7&ty=h
Then do configure/make/make install again.
Lang
--
PHP General Mailing List (http://www.php.net/)
To unsub
I had to change ext/oci8/config.m4
Remove the line highlighted in red on this page.
http://cvs.php.net/diff.php/php-src/ext/oci8/config.m4?login=2&r1=1.37.2.6&r2=1.37.2.7&ty=h
The line is
AC_DEFINE(HAVE_OCI8_SHARED_MODE,1,[ ])
Then do configure/make/make install again. That will get the oci8 su
Have a look at this paper, in particular the collections section at the end
http://www.phpconference.de/2001/slides/arntzen_ocipaper.txt
I've never used them myself, because they look a bit dodgy. But it may be
the only way to do what you're trying to do.
Lang
Gregory Watson wrote:
> Hi guys.
done before fetch or
> execute and fetch in C:\ftp_dir\boards\winners.php on line 21
>
> All the variables are there; is there any way to get more detail on
> which variable or variables is causing problems?
>
> Thanks again
>
> Greg
>
>
> Lang Sharpe wrote:
You can't embed function calls in strings like this
$sString = "{addslashes($blah)},{addslashes($blah)}";
you have to go
$sString = addslashes($blah) . ',' . addslashes($blah);
Lang
John Taylor-Johnston wrote:
> Lars,
>
> Thanks. I am getting this error however:
>
> Parse error: parse error,
> $sql="insert into $table set Name = '$_POST["elementName"]'";
The problem with this is that you need to use curly braces around the
variable being substituted in the string. Also use single quotes around the
array index.
$sql="insert into $table set Name = '{$_POST['elementName']}'";
See the
The reason curly braces are needed are because you are putting an array
element into a string. Consider..
$sBlah = 'blah';
echo "$sBlahfoo$sBlahfoo";
PHP will attempt to echo the variable $sBlahfoo twice. if you use
echo "{$sBlah}foo{$sBlah}foo";
you have told php explicitly when to look for
As long as you...
1. Have register_globals set to off in your php.ini
and
2. Check the values before you put them in the session.
You should be ok.
ie. if you just go
$_SESSION['g_id'] = $_GET['g_id']
on one page, then you still have the same security risks as using just
$_GET.
If you are slight
You could use number_format..
$f = 25.50 * 3
$s = number_format($f,2,'.',NULL);
Lang
Richard Cook wrote:
> I have a problem with the following
>
> when i multiply for example 25 . 50 * 3 i get 76 . 5 how would i get PHP
> to recognise the last 0 ie make it 76 . 50
>
> Any ideas?
>
>
> Reg
Can't be done AFAIK. Because your webserver never receives the information
when the page is reloaded, you can't send it back to him when he reloads.
Lang Sharpe
Arcadius A. wrote:
> Hello !
> I have a simple form ("feedback.php") that could allow users to send me
10 matches
Mail list logo