php-general Digest 7 Sep 2006 14:00:36 -0000 Issue 4334

Topics (messages 241433 through 241440):

Re: Sendmail_from
        241433 by: Stut

Accessing .mdb Ms Access file from Linux without ODBC
        241434 by: Fourat Zouari
        241435 by: Angelo Zanetti
        241436 by: Rory Browne
        241437 by: Fourat Zouari
        241438 by: Angelo Zanetti
        241439 by: Joe Wollard

Spreadsheet Writer
        241440 by: Jef Sullivan

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 ---
D Sledge wrote:
         OS:  Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
 web server:  Apache 2.0
php version:  4.3.9

When I use the function mail(), the the from email address that is used is 
apache@<hostname>.  I
tried setting the sendmail_from directive in php.ini and the ServerAdmin 
directive in httpd.conf
to something different but it still keeps using the same address.  Is the a 
different directive
I'm supposed to be setting to change the default from address?

Since there is a comment above the sendmail_from line in the default php.ini that says "For Win32 only" I'm guessing it won't have any effect on RHEL. This is also repeated in the manual.

Look into the optional 5th parameter to mail. Assuming the apache user has the required permissions to do it, this allows you to add arguments to the sendmail command. The one you want is [EMAIL PROTECTED] - see example 3 on the PHP manual page for mail.

-Stut

--- End Message ---
--- Begin Message ---
Hello all,
I need to create a script that can open a connection to a given .mdb file
(Microsoft Access) and do some light selects on it, anyway ...
The problem that i wont create an ODBC instance, i wont and cant install
ODBC support on the server for the unique purpose of doing that on the mdb
file.
I'm seeking how to do such thing on a Linux env (no COM) and without ODBC,
googling, i found that AdoDB doesnt do it (?) and PDO didnt got a support
for that (?)
Any helpers around ? thanks

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


Fourat Zouari wrote:

Hello all,
I need to create a script that can open a connection to a given .mdb file
(Microsoft Access) and do some light selects on it, anyway ...
The problem that i wont create an ODBC instance, i wont and cant install
ODBC support on the server for the unique purpose of doing that on the mdb
file.
I'm seeking how to do such thing on a Linux env (no COM) and without ODBC,
googling, i found that AdoDB doesnt do it (?) and PDO didnt got a support
for that (?)
Any helpers around ? thanks


what does this have to do with PHP?

--
------------------------------------------------------------------------
Angelo Zanetti
Systems developer
------------------------------------------------------------------------

*Telephone:* +27 (021) 469 1052
*Mobile:*       +27 (0) 72 441 3355
*Fax:*            +27 (0) 86 681 5885
*
Web:* http://www.zlogic.co.za
*E-Mail:* [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

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


what does this have to do with PHP?


I would assume that he's trying to do it on Linux through PHP.

http://mdbtools.sourceforge.net/
http://pecl.php.net/package/mdbtools

--- End Message ---
--- Begin Message ---
it's a PHP question : how can we access Ms Access mdb files without ODBC ?

On 9/7/06, Angelo Zanetti <[EMAIL PROTECTED]> wrote:



Fourat Zouari wrote:

> Hello all,
> I need to create a script that can open a connection to a given .mdb
file
> (Microsoft Access) and do some light selects on it, anyway ...
> The problem that i wont create an ODBC instance, i wont and cant install
> ODBC support on the server for the unique purpose of doing that on the
> mdb
> file.
> I'm seeking how to do such thing on a Linux env (no COM) and without
> ODBC,
> googling, i found that AdoDB doesnt do it (?) and PDO didnt got a
support
> for that (?)
> Any helpers around ? thanks
>

what does this have to do with PHP?

--
------------------------------------------------------------------------
Angelo Zanetti
Systems developer
------------------------------------------------------------------------

*Telephone:* +27 (021) 469 1052
*Mobile:*       +27 (0) 72 441 3355
*Fax:*            +27 (0) 86 681 5885
*
Web:* http://www.zlogic.co.za
*E-Mail:* [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>


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


Fourat Zouari wrote:

it's a PHP question : how can we access Ms Access mdb files without ODBC ?

On 9/7/06, *Angelo Zanetti* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:



    Fourat Zouari wrote:

    > Hello all,
    > I need to create a script that can open a connection to a given
    .mdb file
    > (Microsoft Access) and do some light selects on it, anyway ...
    > The problem that i wont create an ODBC instance, i wont and cant
    install
    > ODBC support on the server for the unique purpose of doing that
    on the
    > mdb
    > file.
    > I'm seeking how to do such thing on a Linux env (no COM) and without
    > ODBC,
    > googling, i found that AdoDB doesnt do it (?) and PDO didnt got
    a support
    > for that (?)

cool just wasnt sure... no harm intended

--- End Message ---
--- Begin Message --- I think kOffice can read mdb files on Linux - maybe that would be a good starting point for research. Perhaps they have built a kind of API to allow other programs to do the same......then again, maybe not - but like I said, it's some place to start.


On Sep 7, 2006, at 7:57 AM, Fourat Zouari wrote:

it's a PHP question : how can we access Ms Access mdb files without ODBC ?

On 9/7/06, Angelo Zanetti <[EMAIL PROTECTED]> wrote:



Fourat Zouari wrote:

> Hello all,
> I need to create a script that can open a connection to a given .mdb
file
> (Microsoft Access) and do some light selects on it, anyway ...
> The problem that i wont create an ODBC instance, i wont and cant install > ODBC support on the server for the unique purpose of doing that on the
> mdb
> file.
> I'm seeking how to do such thing on a Linux env (no COM) and without
> ODBC,
> googling, i found that AdoDB doesnt do it (?) and PDO didnt got a
support
> for that (?)
> Any helpers around ? thanks
>

what does this have to do with PHP?

--
--------------------------------------------------------------------- ---
Angelo Zanetti
Systems developer
--------------------------------------------------------------------- ---

*Telephone:* +27 (021) 469 1052
*Mobile:*       +27 (0) 72 441 3355
*Fax:*            +27 (0) 86 681 5885
*
Web:* http://www.zlogic.co.za
*E-Mail:* [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>


--- End Message ---
--- Begin Message ---
Greeting all,

I have done some research on the web with no luck so far. 
I will continue to check some other options but I wanted
To check here as well.

I have used the Spreadsheet Excel Writer with PHP before 
With great success. What I need to do now is create some
Charts with this application.

Does any one know if that is possible?
If so, can you give me a reference for that information?


Thanks,

Jef

--- End Message ---

Reply via email to