php-general Digest 4 Nov 2003 12:14:03 -0000 Issue 2395

Topics (messages 168427 through 168462):

Re: mysql_field_type() ...
        168427 by: John W. Holmes

Showing high and low flash clips
        168428 by: daniel.electroteque.org
        168429 by: Boyan Nedkov

Mail Delivery Acknowledgement
        168430 by: imran.pak-vision.com

PHP 4.3.4 Released
        168431 by: Ilia Alshanetsky

Apache1.3.28 vs PHP4.3.3
        168432 by: orlandopozo.icnet.com.ve

verify my ISP
        168433 by: John Taylor-Johnston
        168435 by: Mykroft Holmes IV
        168437 by: John Taylor-Johnston
        168450 by: Jason Wong
        168459 by: PHP Webmaster

[Newbie Guide] For the benefit of new members
        168434 by: tech.leatherlink.net

Uploading Files!
        168436 by: Dimitri Marshall
        168438 by: Daniel Diehl
        168439 by: Rob Burris

Moodle.Org
        168440 by: John Taylor-Johnston

Style.css
        168441 by: PHPLover
        168442 by: PHPLover
        168443 by: Ashley M. Kirchner
        168449 by: - Edwin -

FLAG
        168444 by: irinchiang.justeducation.com
        168445 by: Eugene Lee
        168446 by: irinchiang.justeducation.com

the function of the "@" symbol?
        168447 by: Leevy, Joffrey L
        168448 by: - Edwin -
        168458 by: PHP Webmaster
        168461 by: Nitin

Setting up PHP5 alongside PHP4 on apache
        168451 by: Luke van Blerk
        168452 by: Eugene Lee
        168455 by: Luke van Blerk
        168457 by: Marek Kilimajer

How to get the server information
        168453 by: K. Praveen Kumar
        168454 by: Jason Wong
        168460 by: imran
        168462 by: K. Praveen Kumar

help with EVAL direct
        168456 by: j.sobotka.psgraph.cz

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message --- Jay Blanchard wrote:

[snip]
...will say if a field is of type "ENUM", but not its possible values (including default). Does anyone know how I can fetch possible values of a field type of ENUM?
[/snip]


You would have to use DESCRIBE. So if

Even better is


DESC table_name column_name;

so you only have to parse one row (if you're only after one row). :)

--
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals – www.phparch.com
--- End Message ---
--- Begin Message ---
Hi there, i'm stumped on a problem, i am trying to create an admin tool,
which will database files which are ftp'd to the server first. A drop down
list of flash files are viewed, and they are seperated into high and low
clips with a language key joined to them. They are stored in the database
like:

mediaID filename languageID bandwidth

What i am having problems with is that when editing the record, i would
like to list each with both a high and low pulldown with a language list,
although there is an issue here as each clip has its own entry into the
database so its coming out sequentially and i would like it showing the 2
drop downs and the language joined to these. The issue is storing the
primary key of these files, so when i hit update it will update each file
record.

So when abstracting the data, i am trying to push both files into an array
with a language. I want it to look like

Array
(
    [0] => Array
        (
            [0] => Array
                (
                    [mediaID] => 3
                    [filename] => news_hi.swf
                    [languageID] => 1
                )
            [1] => Array
                (
                    [mediaID] => 4
                    [filename] => news_lo.swf
                    [languageID] => 1
                )
        )

     [1] => Array
        (
            [0] => Array
                (
                    [mediaID] => 3
                    [filename] => news_hi.swf
                    [languageID] => 1
                )
            [1] => Array
                (
                    [mediaID] => 4
                    [filename] => news_lo.swf
                    [languageID] => 1
                )
        )
)

How is it possible ?

--- End Message ---
--- Begin Message ---
Suppose we have a recordset $rs returned by query like that:


SELECT mediaID, filename, languageID
FROM yabady a
INNER JOIN yohoho b on a.ID = b.ID
ORDER BY mediaID

then to build the array you can write:

for ($i = 0; $i <= $rs->getRowCount() - 1; $i++) {
$row = $rs->getRow();
$data = array('mediaID'    => $row['mediaID'],
              'filename'   => $row['filename'],
              'languageID' => $row['languageID']);
}

Haven't tested it, but have a similar code in one of my scripts here that works fine.


Boyan --



[EMAIL PROTECTED] wrote:

Hi there, i'm stumped on a problem, i am trying to create an admin tool,
which will database files which are ftp'd to the server first. A drop down
list of flash files are viewed, and they are seperated into high and low
clips with a language key joined to them. They are stored in the database
like:

mediaID filename languageID bandwidth

What i am having problems with is that when editing the record, i would
like to list each with both a high and low pulldown with a language list,
although there is an issue here as each clip has its own entry into the
database so its coming out sequentially and i would like it showing the 2
drop downs and the language joined to these. The issue is storing the
primary key of these files, so when i hit update it will update each file
record.

So when abstracting the data, i am trying to push both files into an array
with a language. I want it to look like

Array
(
    [0] => Array
        (
            [0] => Array
                (
                    [mediaID] => 3
                    [filename] => news_hi.swf
                    [languageID] => 1
                )
            [1] => Array
                (
                    [mediaID] => 4
                    [filename] => news_lo.swf
                    [languageID] => 1
                )
        )

     [1] => Array
        (
            [0] => Array
                (
                    [mediaID] => 3
                    [filename] => news_hi.swf
                    [languageID] => 1
                )
            [1] => Array
                (
                    [mediaID] => 4
                    [filename] => news_lo.swf
                    [languageID] => 1
                )
        )
)

How is it possible ?


--- End Message ---
--- Begin Message ---
Thank you for contacting me

Your e-mail has been forwarded to the appropriate person Mr. Imran Asghar.
  
We welcome all comments and suggestions. 

Due to the high volume of e-mails received, not all e-mails are responded to directly.

All e-mails that are responded to are handled in the order in which they are received. 
 If you need more immediate information or assistance, call us on following telephone 
numbers

+92 3009467711




--- End Message ---
--- Begin Message ---
PHP 4.3.4 has been released. The focus of this release was the resolution of
bugs and at the time of release some 70 bugs were resolved. All users are
encouraged to upgrade to 4.3.4.

PHP 4.3.4 contains, among others, following important fixes:

* Fixed disk_total_space() and disk_free_space() under FreeBSD.
* Fixed FastCGI being unable to bind to a specific IP.
* Fixed several bugs in mail() implementation on win32.
* Fixed crashes in a number of functions.
* Fixed compile failure on MacOSX 10.3 Panther.

Enjoy,

PHP Development Team.

--- End Message ---
--- Begin Message ---
hello, I tried to configure php as module SAPI of the apache web server, I
put this line:

LoadModule php4_module D:/PHP4.3.3/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php

When I tested the configuration, I got this error:

Cannot remove module mod_php4.c: not found module list

Thanks for any help, I will really aprecciate your support, bye.

--- End Message ---
--- Begin Message ---
How can I verify if my ISP really does have PHP on a server I am using. They say if I 
want PHP, I must pay an extra $15 per month. Is there somehting I can put in my 
.htaccess to verify and maybe do this?

    <IfModule mod_php4.c>
        AddType application/x-httpd-php .php .php4 .php3 .phtml .htm .html
        AddType application/x-httpd-php-source .phps
    </IfModule>

--- End Message ---
--- Begin Message ---

John Taylor-Johnston wrote:
How can I verify if my ISP really does have PHP on a server I am using. They say if I want PHP, I must pay an extra $15 per month. Is there somehting I can put in my .htaccess to verify and maybe do this?

    <IfModule mod_php4.c>
        AddType application/x-httpd-php .php .php4 .php3 .phtml .htm .html
        AddType application/x-httpd-php-source .phps
    </IfModule>


Put up a php test page? If you get the appropriate response, you have PHP enabled on the server.


Adam
--- End Message ---
--- Begin Message ---
Thanks Adam,
:=) First thing I tried.
Oh well.
John


> > How can I verify if my ISP really does have PHP on a server I am using. They say 
> > if I want PHP, I must pay an extra $15 per month. Is there somehting I can put in 
> > my .htaccess to verify and maybe do this?
> >
> >     <IfModule mod_php4.c>
> >         AddType application/x-httpd-php .php .php4 .php3 .phtml .htm .html
> >         AddType application/x-httpd-php-source .phps
> >     </IfModule>
> >
>
> Put up a php test page? If you get the appropriate response, you have
> PHP enabled on the server.

--- End Message ---
--- Begin Message ---
On Tuesday 04 November 2003 14:15, John Taylor-Johnston wrote:

> :=) First thing I tried.
>
> Oh well.

Either pay them the money they're asking or if you want to try it 
surreptitiously just follow the relevant instructions for your webserver as 
detailed in the manual.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
There is no satisfaction in hanging a man who does not object to it.
                -- G.B. Shaw
*/

--- End Message ---
--- Begin Message ---
"John Taylor-Johnston" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> How can I verify if my ISP really does have PHP on a server I am using.
They say if I want PHP, I must pay an extra $15 per month. Is there
somehting I can put in my .htaccess to verify and maybe do this?
>
>     <IfModule mod_php4.c>
>         AddType application/x-httpd-php .php .php4 .php3 .phtml .htm .html
>         AddType application/x-httpd-php-source .phps
>     </IfModule>

For an extra $15 p/m, I would look elsewhere. A lot of cheaper places on the
net. And that's not just for PHP

--- End Message ---
--- Begin Message ---
=========================================================
This message is for the benefit of new subscribers and those new to PHP.  
Please feel free to add more points and send to the list.
==========================================================
1. If you have any queries/problems about PHP try http://www.php.net/manual/en 
first. You can download a copy and use it offline also. 

You can also try http://www.php.net/manual/faq.php to get answers to 
frequently answered questions about PHP (added by Christophe Chisogne).

2. Try http://www.google.com next. Searching for "php YOUR QUERY" may fetch 
you relevant results within the first 10 results, if you are lucky.

3. There is a new searchable archive of the mailing list discussion at
http://phparch.com/mailinglists, which provides a comprehensive and
convenient search tool. Many of the common topics are discussed repeatedly, 
and you may get answer to your query from the earlier discussions. 

For example: One of the repeatedly discussed question in the list is "Best PHP 
editor". Everyone has his/her favourite editor. You can get all the opinions 
by going through the list archives. If you want a chosen list try this link : 
http://phpeditors.linuxbackup.co.uk/ (contributed by Christophe Chisogne).

4. If you are stuck with a script and do not understand what is wrong, instead 
of posting the whole script, try doing some research yourself. One useful 
trick is to print the variable/sql query using print or echo command and 
check whether you get what you expected. 

After diagnosing the problem, send the details of your efforts (following 
steps 1, 2 & 3) and ask for help.

5. Provide a clear descriptive subject line. Avoid general subjects like 
"Help!!", "A Question" etc.  Especially avoid blank subjects. 

6. When you want to start a new topic, open a new mail composer and enter the 
mailing list address [EMAIL PROTECTED] instead of replying to an 
existing thread and replacing the subject and body with your message.

7. PHP is a server side scripting language. Whatever processing PHP does takes 
place BEFORE the output reaches the client. Therefore, it is not possible to 
access the users'  computer related information (OS, screen size etc) using 
PHP. You need to go for JavaScript and ask the question in a JavaScript 
list.

(You can access information SENT by the user's browser while requesting pages
from your server. You can get the details about browser, OS etc as reported by 
this request. - contributed by Wouter van Vliet)

8. It's always a good idea to post back to the list once you've solved
your problem. People usually add [SOLVED] to the subject line of their
email when posting solutions. By posting your solution you're helping
the next person with the same question. [contribued by Chris W Parker]

9. Ask smart questions http://catb.org/~esr/faqs/smart-questions.html
[contributed by Jay Blanchard)

Hope you have a good time programming with PHP.

Best regards,
-- 
Integrated Management Tools for leather industry
----------------------------------
http://www.leatherlink.net

Ma Siva Kumar,
BSG LeatherLink (P) Ltd,
Chennai - 600106

--- End Message ---
--- Begin Message ---
Hi there,
I'm new to this new PHP thing and man it's frusterating. Anyway, I'm not
gonna tell you my life story, but I just need to know how to allow users to
upload files to my server . I've already made a form with the <input
name="whatever" type="file" and then a program that should get the varibles
[name] and [tmp_name] using $_POST. For some reason it's not working. Could
someone tell me how to do it, or what I'm doing wrong?

Thanks in advance,
Dimitri Marshall

--- End Message ---
--- Begin Message ---
Hi Dimitri,

> I'm new to this new PHP thing and man it's frusterating. Anyway, I'm not
> gonna tell you my life story, but I just need to know how to allow users
> to
> upload files to my server . I've already made a form with the <input
> name="whatever" type="file" and then a program that should get the
> varibles
> [name] and [tmp_name] using $_POST. For some reason it's not working.
> Could
> someone tell me how to do it, or what I'm doing wrong?


[Daniel Diehl] 
Take a look at http://www.php.net/manual/en/features.file-upload.php . I
think this will solve your problem. You have to set the enctype
"enctype="multipart/form-data"" in the form tag.


Greet,
Daniel

--- End Message ---
--- Begin Message --- Dimitri Marshall wrote:

Hi there,
I'm new to this new PHP thing and man it's frusterating. Anyway, I'm not
gonna tell you my life story, but I just need to know how to allow users to
upload files to my server . I've already made a form with the <input
name="whatever" type="file" and then a program that should get the varibles
[name] and [tmp_name] using $_POST. For some reason it's not working. Could
someone tell me how to do it, or what I'm doing wrong?

Thanks in advance,
Dimitri Marshall



Try using $_FILES or $HTTP_POST_FILES and make sure you have |enctype="multipart/form-data" in your form tag.|

- rob

--
[EMAIL PROTECTED]
http://www.phpexamples.net

--- End Message ---
--- Begin Message ---
Moodle.Org, an OpenSource project, needs help.

We need someone to help program a module to import WebCT quiz data into Moodle.

Any takers with a big heart for a worthwhile educational project?

John :=)

--- End Message ---
--- Begin Message ---
I am going throught the CVS of PHP and happened to see the Style.css
file.
I found that background-color of body,html is set to White instead of
#ffffff which i feel is not a valid CSS.
Am i right ?

Thanks & Regards, 
___________________________ 
PHPLover

"Göd döësn't pläy dícë." 
- Älbërt Ëínstëín



--- End Message ---
--- Begin Message ---
I am going throught the CVS of PHP and happened to see the Style.css
file.
I found that background-color of body,html is set to White instead of
#ffffff which i feel is not a valid CSS.
Am i right ?

Thanks & Regards, 
___________________________ 
PHPLover

"Göd döësn't pläy dícë." 
- Älbërt Ëínstëín



--- End Message ---
--- Begin Message --- PHPLover wrote:

I am going throught the CVS of PHP and happened to see the Style.css
file.
I found that background-color of body,html is set to White instead of
#ffffff which i feel is not a valid CSS.
Am i right ?

Why is it not valid? It's valid even in the proposed spec for CSS3 (their online examples has colors defined that way in some cases.) For that matter, all of these are valid:

   color: white;
   color: #ffffff;
   color: #fff;

They all produce a white color.


--
H| I haven't lost my mind; it's backed up on tape somewhere.
+--------------------------------------------------------------------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
IT Director / SysAdmin / WebSmith . 800.441.3873 x130
Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6
http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.

--- End Message ---
--- Begin Message ---
On Tue, 4 Nov 2003 12:09:05 +0530
"PHPLover" <[EMAIL PROTECTED]> wrote:

> I am going throught the CVS of PHP and happened to see the
> Style.css file.
> I found that background-color of body,html is set to White
> instead of
> #ffffff which i feel is not a valid CSS.
> Am i right ?

Check it here:

  http://jigsaw.w3.org/css-validator/
  http://jigsaw.w3.org/css-validator/validator-text.html

- E -
__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/

--- End Message ---
--- Begin Message ---

Hi calling out to all programmers:
       
I heard that there is a term used by most programmers called "FLAG" . Anyone 
aware of that?? Its a kinda "Indicator" eg. I have a table with "YES" column 
equal to "1" and "NO" column equal to "0". Does anyone know of any useful 
links with regards to that??
Hope to get some help real soon. Thanks a million.

Regards, 
Irin.

--- End Message ---
--- Begin Message ---
On Tue, Nov 04, 2003 at 03:19:20PM +0800, [EMAIL PROTECTED] wrote:
: 
: Hi calling out to all programmers:
:        
: I heard that there is a term used by most programmers called "FLAG" .
: Anyone aware of that?? Its a kinda "Indicator" eg. I have a table with
: "YES" column equal to "1" and "NO" column equal to "0". Does anyone
: know of any useful links with regards to that??

A "flag" is just something (a variable, a memory location, etc.) that
stores some binary-ish information (e.g. true/false, yes/no, 1/0).
It is a fairly general term and is used all over the place in the
computing world.  Some programmers have extended the meaning of "flag"
to include more than binary data, e.g. a set or a range of values.

--- End Message ---
--- Begin Message ---

I see, thanks for the short introduction of FLAG ...
Anyway do u know of any useful links that has more info on "FLAG" ???

Regards, 
Irin.

--- End Message ---
--- Begin Message ---
Hi all: 

I have been searching through several books to find out what the "@" 
character represents. 

An example used in code: 

if (@$first == "no")......... 

Could anyone please explain the function of "@" in the code? 

Thanks 

--- End Message ---
--- Begin Message ---
Hi,

On Tue, 4 Nov 2003 02:42:33 -0500 
"Leevy, Joffrey L" <[EMAIL PROTECTED]> wrote:

> Hi all: 
> 
> I have been searching through several books to find out
> what the "@" character represents. 
> 
> An example used in code: 
> 
> if (@$first == "no")......... 
> 
> Could anyone please explain the function of "@" in the
> code? 

Looking for this?

 
http://www.php.net/manual/en/language.operators.errorcontrol.php

- E -
__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/

--- End Message ---
--- Begin Message ---
"Joffrey L Leevy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all:
>
> I have been searching through several books to find out what the "@"
> character represents.
>
> An example used in code:
>
> if (@$first == "no").........
>
> Could anyone please explain the function of "@" in the code?
>
> Thanks

The @ sign prevents errors from being displayed for that particular peice of
code

--- End Message ---
--- Begin Message ---
it basically means, shutup please.

----- Original Message ----- 
From: "Leevy, Joffrey L" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 04, 2003 1:12 PM
Subject: [PHP] the function of the "@" symbol?


> Hi all: 
> 
> I have been searching through several books to find out what the "@" 
> character represents. 
> 
> An example used in code: 
> 
> if (@$first == "no")......... 
> 
> Could anyone please explain the function of "@" in the code? 
> 
> Thanks 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

--- End Message ---
--- Begin Message ---
Hi everyone

I'd like to set up PHP5 to parse php files with a .php5 extension on Apache
1.3.28. Anybody know how to do this?

Regards
Luke

--- End Message ---
--- Begin Message ---
On Tue, Nov 04, 2003 at 10:30:39AM +0200, Luke van Blerk wrote:
: 
: I'd like to set up PHP5 to parse php files with a .php5 extension on Apache
: 1.3.28. Anybody know how to do this?

I don't know about loading PHP4 and PHP5 modules in the same Apache
server.  It may be easier to build a separate Apache server just for
PHP5 testing and development, and run it off another port.

--- End Message ---
--- Begin Message ---
I currently have Apache 2 (port 8080) setup with PHP 5 which can run
simultaneously with the Apache 1.3.28 (port 80) and PHP4, but I'd like to
find out if they can both run on the same Apache. I don't think its possible
to specify diferrent locations of your php.ini file though for each PHP (on
Windows that is).

My machine is for development only but we'll be setting up PHP 5 on a live
box soon for testing.

- Luke

"Eugene Lee" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Tue, Nov 04, 2003 at 10:30:39AM +0200, Luke van Blerk wrote:
> :
> : I'd like to set up PHP5 to parse php files with a .php5 extension on
Apache
> : 1.3.28. Anybody know how to do this?
>
> I don't know about loading PHP4 and PHP5 modules in the same Apache
> server.  It may be easier to build a separate Apache server just for
> PHP5 testing and development, and run it off another port.

--- End Message ---
--- Begin Message --- Comex uses this configuration to run php4 and php5 side by side. One version must be run as cgi so there are no symbol conflicts.

LoadModule php5_module "C:/php5/sapi/php4apache2.dll"
ScriptAlias /php/ "C:/php/"
AddType application/x-httpd-php .php5
AddType application/x-httpd-php4 .php
Action application/x-httpd-php4 /php/php.exe

Luke van Blerk wrote:
Hi everyone

I'd like to set up PHP5 to parse php files with a .php5 extension on Apache
1.3.28. Anybody know how to do this?

Regards
Luke


--- End Message ---
--- Begin Message ---
Dear All,
    How can I get the Server Information which operating system the
server is running? Using PHP. please let me know
-- 
Thanks & Regards
Praveen Kumar
SoftPro Systems Ltd

--- End Message ---
--- Begin Message ---
On Tuesday 04 November 2003 17:33, K. Praveen Kumar wrote:

>     How can I get the Server Information which operating system the
> server is running? Using PHP. please let me know

  phpinfo()

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Worlds are conquered, galaxies destroyed -- but a woman is always a woman.
                -- Kirk, "The Conscience of the King", stardate 2818.9
*/

--- End Message ---
--- Begin Message ---
Hi,
<?
    echo $OS;
    echo "<br>";
    echo $SERVER_SOFTWARE ;
?>
bye

----- Original Message ----- 
From: "K. Praveen Kumar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Praveen Kumar" <[EMAIL PROTECTED]>
Sent: Tuesday, November 04, 2003 2:33 PM
Subject: [PHP] How to get the server information


> Dear All,
>     How can I get the Server Information which operating system the
> server is running? Using PHP. please let me know
> -- 
> Thanks & Regards
> Praveen Kumar
> SoftPro Systems Ltd
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

--- End Message ---
--- Begin Message ---
Hi Imran,
   Thanks for the reply but $OS is not working. I need to get the on
which operating system the server is running.
Thanks & Regards
Praveen
On Tue, 2003-11-04 at 04:01, imran wrote:
> Hi,
> <?
>     echo $OS;
>     echo "<br>";
>     echo $SERVER_SOFTWARE ;
> ?>
> bye
> 
> ----- Original Message ----- 
> From: "K. Praveen Kumar" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; "Praveen Kumar" <[EMAIL PROTECTED]>
> Sent: Tuesday, November 04, 2003 2:33 PM
> Subject: [PHP] How to get the server information
> 
> 
> > Dear All,
> >     How can I get the Server Information which operating system the
> > server is running? Using PHP. please let me know
> > -- 
> > Thanks & Regards
> > Praveen Kumar
> > SoftPro Systems Ltd
> > 
> > -- 
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> > 
-- 
Thanks & Regards
Praveen Kumar
SoftPro Systems Ltd

-----------------------SOFTPRO DISCLAIMER------------------------------

Information contained in this E-MAIL and any attachments are
confidential being  proprietary to SOFTPRO SYSTEMS  is 'privileged'
and 'confidential'.

If you are not an intended or authorised recipient of this E-MAIL or
have received it in error, You are notified that any use, copying or
dissemination  of the information contained in this E-MAIL in any
manner whatsoever is strictly prohibited. Please delete it immediately
and notify the sender by E-MAIL.

In such a case reading, reproducing, printing or further dissemination
of this E-MAIL is strictly prohibited and may be unlawful.

SOFTPRO SYSYTEMS does not REPRESENT or WARRANT that an attachment
hereto is free from computer viruses or other defects. 

The opinions expressed in this E-MAIL and any ATTACHEMENTS may be
those of the author and are not necessarily those of SOFTPRO SYSTEMS.
------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Hello, you are last help

help my please

OS RedHat 9 and RedHat 7.2
Apache 1.3.27 and Apache 2

I have problem with direct eval, in version PHP4.2.2 is all OK
in version PHP 4.3.3 -> direct eval bad

here cut code

$s = '$ret = ibase_execute($this->query, $arg_list[0], $arg_list[1],
$arg_list[2], $arg_list[3], $arg_list[4], $arg_list[5], $arg_list[6]);';

eval($s);

end cut code

in PHP 4.3.3 -> log message
[Tue Nov  4 08:37:07 2003] [error] PHP Warning:  ibase_execute():
attempted update during read-only transaction  in
/www/test.php(204) : eval()'d code on line 1

not write to DB

WHERE IS PROBLEM ??

Thanks you

--- End Message ---

Reply via email to