php-windows Digest 25 Jan 2001 10:25:52 -0000 Issue 414

Topics (messages 5197 through 5201):

ASP to PHP (Secure MS Access connection)..
        5197 by: Kevin Ferron

Re: Is it possible to CONVERT file formats?
        5198 by: Darvin Andrioli
        5201 by: Tom Mathews

Re: Linux conection to MS Access
        5199 by: Warwick Chapman (Budgee)

Date + Time
        5200 by: Ben Cairns

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]


----------------------------------------------------------------------


I'm trying to convert an ASP site to PHP, and my problem is this:

I've set up the the DSN on my machine to utilize the built-in odbc functions
as I would any Access DB. Because this is a "secure" db, i'm supposed to
reference the MDW file as opposed to the MDB... Well I can't seem to get it
to work.


Here is the connection string thats used in ASP:

Application("WCSChamber_ConnectionString") =
"DSN=WCSChamber;DBQ=D:\Clients\WCS\wcsdat.mdb;DriverId=281;FIL=MS
Access;MaxBufferSize=2048;PageTimeout=5;SystemDB=D:\Clients\WCS\wcs.MDW;"


Does anyone have any idea how i can connect to this with PHP?

Any tips would be appreciated.. thanks.







Hi Mike

I'm wrinting an intranet site where my colleagues can write notes about their job, so 
I'm interested to your post.
I evaluated many ways to write this notes.Html? No, nobody knows html.
Word? Yes it may be a possible solution. As you wrote its usefull get only the text, 
because I get the control of many visualization aspect ( background color, text 
disposition ,... )
I'm evaluating other way. Textarea may be another possible solution. I haven't 
character format like bold, italics, but it is easy to install, you need only the 
browser, ad it's simple to use. 
If I insert some button, and ,using javascript code, I put particular tag inside the 
textarea ( i.e. HTML tag for bold, italic,.. ), I can give to my collegues some format 
control over the text without any html knowledge about html.

In this moment I prefer the "word solution", I think is better for long document, and 
the last solution ( textarea with javascript ) for small notes. I think that I'll give 
both the ways.

If you get some new could you let me know?

Thanks

Darvin



-----Original Message-----
From:   Mike Flynn [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, January 24, 2001 5:25 PM
To:     [EMAIL PROTECTED]
Subject:        [PHP-WIN] Is it possible to CONVERT file formats?

Hey all,

We are trying to develop a system to allow people to upload meeting minutes
from our organization's meetings.  We'd like to assume no HTML knowledge on
the user's part.  The easiest method would be to ask them just to upload
plain text, or to upload their MS Word file (as they do now) and hope
everyone can read MS Word.

Ideally, however, I'd like to be able to allow them the niceities of HTML
(bold, italic, underline, big, small) without any specific file format.

Are there any systems in place to take a file such as a basic Word file and
convert its text (roughly) to HTML?  Not a whole HTML page, like as if you
exported it to HTML from Word, just the text and its properties.

If anyone knows of anything like this, it would be great.

Thanks!

-Mike Flynn


 Come the millennium month 12, in the home of the greatest power,
 the village idiot will come forth to be acclaimed the leader.
                                   (Nostradamus, 1555)
 I do know I'm ready for the job.
 And, if not, that's just the way it goes.
                                   (George W. Bush, 2000)


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]





This issue cropped up with us a little while ago, but in a slightly different
context.
We have documents that are created using Word (PC users) and FrameMaker (die
hard Unix users that do not want anyone else to be able to edit their work
without first taking a degree in pontlessness). All of these documents need to
be accessed by everyone over the intranet using a variety of O/S's and
browsers.
The solution - a 'pdf printer' function. You can either buy acrobat / distiller
or some such, or if you're feeling energetic you can write your own, but don't
try this lightly (I wrote a PostScript printer driver from scratch in a former
life and spent about a year writing 20,000 lines of C code). Whatever you
choose, just run this whenever a document is uploaded and then create a link to
the pdf file (and if you don't want to edit it again, you can also delete the
original at this point). I've not yet found a browser or OS that you can't get
a decent pdf reader working with, as opposed to the word reader that NetScape
kindly crashes everytime that you try and use it (and don't think that you will
get away with telling people to download the minute either - NetScape has a
nasty habbit of changing all the carriage returns into line feeds when you
donwload from a Unix hosted site to a PC, which means that you can't use the
doc when you get it onto your PC)

Minutes are one of the applications that we use this technique for - the group
all write them in Word and then throw them at the upload filter which
automatically creates the pdf and a link to this.

Mike Flynn wrote:

> Hey all,
>
> We are trying to develop a system to allow people to upload meeting minutes
> from our organization's meetings.  We'd like to assume no HTML knowledge on
> the user's part.  The easiest method would be to ask them just to upload
> plain text, or to upload their MS Word file (as they do now) and hope
> everyone can read MS Word.
>
> Ideally, however, I'd like to be able to allow them the niceities of HTML
> (bold, italic, underline, big, small) without any specific file format.
>
> Are there any systems in place to take a file such as a basic Word file and
> convert its text (roughly) to HTML?  Not a whole HTML page, like as if you
> exported it to HTML from Word, just the text and its properties.
>
> If anyone knows of anything like this, it would be great.
>
> Thanks!
>
> -Mike Flynn
>
>  Come the millennium month 12, in the home of the greatest power,
>  the village idiot will come forth to be acclaimed the leader.
>                                    (Nostradamus, 1555)
>  I do know I'm ready for the job.
>  And, if not, that's just the way it goes.
>                                    (George W. Bush, 2000)
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]





Howdy

Configure the DB as a System DSN in the ODBC Data Source 
Administrator (Win2k) or similar in NT. Then just access as follows:

odbc_connect("dbname","user","pass");

Cheers
Budgee

On 24 Jan 2001, at 13:24, Gonzalo Vera wrote:

> Is there a way to connect to a MS Access database on a remote
> computer, from a linux box hosting Apache and PHP? (Sorry if this is
> too off-list). Any pointers to documents, faqs or so would be
> appreciated.
> 
> Thanks,
> 
> Gonzalo.
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 



Warwick Chapman (Glenwood 1999)
http://www.boatrace.co.za
Assistant IT Manager
Glenwood High School, Durban, South Africa
031 2055241
083 7797094
http://www.glenwoodhighschool.co.za




I need to get the date, day, month,year from the server that PHP is running 
on. How can I do this.

I need this information to be returned like:
255012001

Explained:
The Date (Numerical - 2 Digits)
Day (Day Number, Weeks starts on Sunday - Sun=1, Mon=2, Tue=3....)
Month (Numerical - 2 Digits)
Year (Numerical - 4 digits)

but this information has to come from the SERVER as the site visitors will 
be all over the world, and the date's will be wrong

Thanks in advance

-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http://www.intasept.com

"MAKING sense of
the INFORMATION
TECHNOLOGY age
@ WORK......"



Reply via email to