php-windows Digest 12 Jul 2002 13:22:14 -0000 Issue 1237

Topics (messages 14722 through 14728):

Re: File Upload
        14722 by: toby z

Single website Unix + Windows servers
        14723 by: olinux
        14725 by: Matt Parlane

Re: Closest store location by zip code
        14724 by: olinux

Re: Available PHP Whitepapers
        14726 by: Brian McGarvie
        14728 by: Brian Huff

Re: Calling Windows DLL Files
        14727 by: Brian Huff

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 ---
alex ....


file, which i'm uploading seems to appear in
> temp folder only when
> upload is finished

copy($userfile, "c:/uploadz/" . $unique_id."-".
$userfile_name )

c:\uploads is my dir fo uploaded files

so u ve to specify the dir where u awnt ur uploads to
get saved


toby .....

__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
--- End Message ---
--- Begin Message ---
I am working on integrating our current website to
apache/redhat/php/mysql

Due to a recent investment in an ASP project I must
have the windows / SQL server machine running this
application.

Any suggestions to keeping the site 'seamless' or
ideas that will help

Thank you,
olinux


--- Matt Parlane <[EMAIL PROTECTED]> wrote:
> Hi Brian...
> 
> I have it set up just like Robert, and I really
> think it's the way to go -
> having Apache as the web-accessible server gives me
> much more peace of mind
> than having IIS sitting out there just waiting to be
> attacked.
> 
> Do you realize you can have content served by IIS
> accessed without using the
> :8080 (or whatever) port number?
> I'm not sure if you're aware of this but here's the
> relevant parts of my
> httpd.conf:
> 
> NameVirtualHost *
> LoadModule proxy_module modules/mod_proxy.so
> LoadModule proxy_connect_module
> modules/mod_proxy_connect.so
> LoadModule proxy_http_module
> modules/mod_proxy_http.so
> 
> <VirtualHost *>
>  ServerName zevi.net
>  ServerAlias zevi.net www.zevi.net
>  ProxyRequests Off
>  ProxyPass / http://zevi.net:4040/
>  ProxyPassReverse / http://zevi.net:4040/
> </VirtualHost>
> 
> <VirtualHost *>
>  ServerName newworkstudio.com
>  ServerAlias newworkstudio.com www.newworkstudio.com
>  DocumentRoot "C:/htdocs/newworkstudio.com"
>  DirectoryIndex index.html
> </VirtualHost>
> 
> So, for each ASP site (or for each site served by
> IIS), just add a
> VirtualHost entry using the ProxyPass directive to
> send it to the IIS
> server.  The IIS server doesn't have to be on the
> same computer by the way -
> or even the same network...
> 
> Hope that helps.
> 
> Matt Parlane
> Zevi Interactive
> [EMAIL PROTECTED]
> 
> "Brian McGarvie" <[EMAIL PROTECTED]>
> wrote in message
>
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I will probably do this the other way round as we
> have a few sites...
> 
> so if i have a single file with a frame and point
> contents of frame to
> apache this should work?
> 
> > -----Original Message-----
> > From: Collins, Robert [mailto:[EMAIL PROTECTED]]
> > Sent: 09 July 2002 4:41 PM
> > To: Brian McGarvie; [EMAIL PROTECTED];
> > [EMAIL PROTECTED]
> > Subject: RE: [PHP] Dual Server...
> >
> >
> > I have Apache and  IIS coexisting on my intranet
> server and
> > the way I set
> > them up was to put each on a different port.
> (Apache serves
> > http://intranet
> > and IIS serves http://intranet:8080) this appears
> to work
> > fine. Hope this
> > helps
> >
> > Robert W. Collins II
> > Webmaster
> > New Orleans Regional Transit Authority
> > Phone : (504) 248-3826
> > Fax: (504) 248-3866
> > Email : [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
> >
> >
> >
> > -----Original Message-----
> > From: Brian McGarvie
> [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 09, 2002 10:39 AM
> > To: [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> > Subject: [PHP] Dual Server...
> >
> >
> > OK following from my thread 'Browser Issues' I
> have found
> > that when serving
> > the site from apache, that the aforementioned
> errors go
> > away... mostly...
> >
> > OK so... What is the best way to setup so that
> IIS/Apache co-exist...
> >
> > I'd like to keep the 'entry' to the site on IIS as
> we have other sites
> > too... and use apache to serve the content of it.
> >
> > Any help mucho appreciated... also working to a
> deadline!
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit:
> http://www.php.net/unsub.php
> >
> >
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
--- End Message ---
--- Begin Message ---
Try:
http://www.phpbuilder.com/columns/banahan20010720.php3

I'd also try setting up Apache on your windows box - on a different port if
you have to.  It just moves you one step closer to what it would be like
running on linux.

Matt

"Olinux" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am working on integrating our current website to
> apache/redhat/php/mysql
>
> Due to a recent investment in an ASP project I must
> have the windows / SQL server machine running this
> application.
>
> Any suggestions to keeping the site 'seamless' or
> ideas that will help
>
> Thank you,
> olinux
>
>
> --- Matt Parlane <[EMAIL PROTECTED]> wrote:
> > Hi Brian...
> >
> > I have it set up just like Robert, and I really
> > think it's the way to go -
> > having Apache as the web-accessible server gives me
> > much more peace of mind
> > than having IIS sitting out there just waiting to be
> > attacked.
> >
> > Do you realize you can have content served by IIS
> > accessed without using the
> > :8080 (or whatever) port number?
> > I'm not sure if you're aware of this but here's the
> > relevant parts of my
> > httpd.conf:
> >
> > NameVirtualHost *
> > LoadModule proxy_module modules/mod_proxy.so
> > LoadModule proxy_connect_module
> > modules/mod_proxy_connect.so
> > LoadModule proxy_http_module
> > modules/mod_proxy_http.so
> >
> > <VirtualHost *>
> >  ServerName zevi.net
> >  ServerAlias zevi.net www.zevi.net
> >  ProxyRequests Off
> >  ProxyPass / http://zevi.net:4040/
> >  ProxyPassReverse / http://zevi.net:4040/
> > </VirtualHost>
> >
> > <VirtualHost *>
> >  ServerName newworkstudio.com
> >  ServerAlias newworkstudio.com www.newworkstudio.com
> >  DocumentRoot "C:/htdocs/newworkstudio.com"
> >  DirectoryIndex index.html
> > </VirtualHost>
> >
> > So, for each ASP site (or for each site served by
> > IIS), just add a
> > VirtualHost entry using the ProxyPass directive to
> > send it to the IIS
> > server.  The IIS server doesn't have to be on the
> > same computer by the way -
> > or even the same network...
> >
> > Hope that helps.
> >
> > Matt Parlane
> > Zevi Interactive
> > [EMAIL PROTECTED]
> >
> > "Brian McGarvie" <[EMAIL PROTECTED]>
> > wrote in message
> >
>
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I will probably do this the other way round as we
> > have a few sites...
> >
> > so if i have a single file with a frame and point
> > contents of frame to
> > apache this should work?
> >
> > > -----Original Message-----
> > > From: Collins, Robert [mailto:[EMAIL PROTECTED]]
> > > Sent: 09 July 2002 4:41 PM
> > > To: Brian McGarvie; [EMAIL PROTECTED];
> > > [EMAIL PROTECTED]
> > > Subject: RE: [PHP] Dual Server...
> > >
> > >
> > > I have Apache and  IIS coexisting on my intranet
> > server and
> > > the way I set
> > > them up was to put each on a different port.
> > (Apache serves
> > > http://intranet
> > > and IIS serves http://intranet:8080) this appears
> > to work
> > > fine. Hope this
> > > helps
> > >
> > > Robert W. Collins II
> > > Webmaster
> > > New Orleans Regional Transit Authority
> > > Phone : (504) 248-3826
> > > Fax: (504) 248-3866
> > > Email : [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: Brian McGarvie
> > [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, July 09, 2002 10:39 AM
> > > To: [EMAIL PROTECTED];
> > [EMAIL PROTECTED]
> > > Subject: [PHP] Dual Server...
> > >
> > >
> > > OK following from my thread 'Browser Issues' I
> > have found
> > > that when serving
> > > the site from apache, that the aforementioned
> > errors go
> > > away... mostly...
> > >
> > > OK so... What is the best way to setup so that
> > IIS/Apache co-exist...
> > >
> > > I'd like to keep the 'entry' to the site on IIS as
> > we have other sites
> > > too... and use apache to serve the content of it.
> > >
> > > Any help mucho appreciated... also working to a
> > deadline!
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit:
> > http://www.php.net/unsub.php
> > >
> > >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com


--- End Message ---
--- Begin Message ---
would you like to post it?

I think that there is also a class at
www.phpclasses.com

olinux

--- "R.S. Herhuth" <[EMAIL PROTECTED]>
wrote:
> 
> I actually found a free PERL script that uses a zip
> code database and
> the math to calculate the closest store (by zip
> code) to a user entered
> address.  I have converted it to work under php.  So
> thanks to all the
> idiots who felt it necessary to poke fun at me
> instead of trying to help.
> 
> Ron
> 
> Scott Hurring wrote:
> > 
> > Actually, a fine gentleman from Nigera the other
> day
> > emailed me the encrypted source code to just such
> > a script.... all i had to do was give him my bank
> > account information and let him transfer over
> > $25 million to me so i could afford some machines
> > to crack the encryption.  :-)
> > 
> > --
> > Scott Hurring
> > Systems Programmer
> > EAC Corporation
> > scott (*) eac.com
> > --
> > "Paul Roberts" <[EMAIL PROTECTED]> wrote in
> message
> > 007301c226bc$fda2d790$96eb86d9@laptop1">news:007301c226bc$fda2d790$96eb86d9@laptop1...
> > No but when you find it please post it here.
> > 
> > ----- Original Message -----
> > From: "George Nicolae" <[EMAIL PROTECTED]>
> > To: <>
> > Sent: Monday, July 08, 2002 9:16 PM
> > Subject: [PHP-WIN] Re: Closest store location by
> zip code
> > 
> > Does any one know a php script that send to my
> account unlimited money?
> > 
> > --
> > 
> > Best regards,
> > George Nicolae
> > IT Manager
> > ___________________
> > PaginiWeb.com  - Professional Web Design
> > www.PaginiWeb.com
> > 
> > "R.S. Herhuth" <[EMAIL PROTECTED]>
> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > >
> > > Does any one know of a php script to calculate
> the closest store to a
> > > user entered zip code?
> > >
> > > Thanks,
> > > Ron
> > 
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit:
> http://www.php.net/unsub.php
> > 
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit:
> http://www.php.net/unsub.php
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
--- End Message ---
--- Begin Message ---
I hate replying with this answer...

but use google for 'php vs asp' and you'll get too much info to present ;)

http://www.google.co.uk/search?q=php+vs+asp&ie=ISO-8859-1&hl=en&meta=

> -----Original Message-----
> From: R.S. Herhuth [mailto:[EMAIL PROTECTED]]
> Sent: 11 July 2002 6:36 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Available PHP Whitepapers
> 
> 
> 
> My CIO is impressed with what I have been accomplishing using 
> PHP and is
> considering updating a few of their aging ASP applications, 
> but he needs
> textual ammunition to present to the management committee to 
> do so.  So
> I was wondering if anyone knows of any technical whitepapers on PHP
> geared towards management that I could give him to salivate over.
> 
> Thanks,
> Ron
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
--- End Message ---
--- Begin Message ---

I have looked for quite a while as well, and have found very little info 
that would satisfy the thick-heads above... there are tons of reports 
about the explosive popularity of PHP, but that's about it... most white 
papers are for performance stats of things that build off of PHP, and 
not PHP itself.  I think most white papers out there just assume 
everybody knows PHP is the bomb...

here's a good one about the popularity, tho:

http://zend.com/news/zendpr.php?id=49

Check out other things in the News / Press Release tab.

This site occasionally has pretty graphs in their 'advocacy' section 
that may impress them as well:

http://php.weblogs.com/

Along with this pretty graph here:

http://www.php.net/usage.php

The dip in popularity in 2001 is probably due to a lot of dot-coms going 
bust... but there's been a pretty steady increase, and its now the most 
popular scripting language on the web... just barely overtaking ASP last 
month.

kick ass

-- 

Brian 'Bex' Huff
[EMAIL PROTECTED]
Phone: 952-903-2023
Fax: 952-829-5424


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

I would suggest breaking this project into the two logically seperate 
pieces.

If this is a windows DLL, make yourself a COM or DCOM object in VB or 
VC++, then call that COM object from inside PHP.  The COM object will be 
able to do the tweaky stuff with networks, scanning, etc.  Put all your 
business logic there - scan fila A and put it into folder B based on 
patient ID C.  Alternatively, you can just make a command line 
application that does it in any language you wish, and call it with 
'exec' from PHP.

Lets face it... you COULD do all this stuff with just PHP, but this 
isn't its strength, and would be bleeding edge, and probably not too 
stable... altho it would be noble to try  ;)    Mashing everything into 
one layer also makes it harder to maintain.

-- 

Brian 'Bex' Huff
[EMAIL PROTECTED]
Phone: 952-903-2023
Fax: 952-829-5424


--- End Message ---

Reply via email to