[PHP-WIN] Embeding a Form Feed in HTML Display

2005-01-26 Thread MikeA
I am outputting pages to a browser. I would like those pages to go to a print. However, I want them to perform a form feed at a specific place. How can I do that using PHP? And how can I hide it so it does not show on the page? Is that a simple \f? That does show on the page. Thanks. Mike -

[PHP-WIN] server problem

2005-01-26 Thread Ross Hulford
I want to write a script that will check if the server is down if it is I want to redirect the user to another site, the backup server. Similarly I want users who go on to the seondary site when the main server is UP to be redirected to the main site. Can this be done using PHP. If not can you po

Re: [PHP-WIN] Re: PHP MS-DOS

2005-01-26 Thread DvDmanDT
Well.. I would kinda say it's a windows console app.. Normal windows apps doesn't have the main() function, but instead the windows specific winmain().. Dos apps used main() as well.. Now, windows finds the starting address of the program somewhere at the end of the file I think (wild guess though)

Re: [PHP-WIN] Re: PHP MS-DOS

2005-01-26 Thread Jason Barnett
DvDmanDT wrote: Yes, but it's still a windows app.. :p I think it uses windows funtionality, that doesn't exist in dos (with dos I don't mean console windows, I mean real dos, with no windows loaded at all).. It's not using windows specific stuff, or at least it doesn't really depend on it, but it

Re: [PHP-WIN] Re: PHP MS-DOS

2005-01-26 Thread tg-php
I think people get confused when they talk about "Windows apps" and such. I'm not sure that I can clarify things that much, but I wanted to point out some stuff that might help people understand a little better. Please, anyone who has more intimate knowledge of this, feel free to correct me or

Re: [PHP-WIN] Re: PHP MS-DOS

2005-01-26 Thread DvDmanDT
Yes, but it's still a windows app.. :p I think it uses windows funtionality, that doesn't exist in dos (with dos I don't mean console windows, I mean real dos, with no windows loaded at all).. It's not using windows specific stuff, or at least it doesn't really depend on it, but it uses stuff that

Re: [PHP-WIN] Re: PHP MS-DOS

2005-01-26 Thread Jean-Philippe Palha
Try PHP CLI, it's the command line version of PHP (look at the CLI folder in your PHP distrib) Jean-Philippe PALHA ([EMAIL PROTECTED]) IMA'DIFF - 13, rue Damesme - 75013 Paris FRANCE Tel : 33 1 53 80 89 89 - Fax : 33 1 53 80 89 81 Web : http://www.imadiff.com -

[PHP-WIN] Re: PHP MS-DOS

2005-01-26 Thread DvDmanDT
I don't think you could get it to run under dos.. You could recompile it ofcorse, but I doubt it would work anyway.. I think it uses some functionality that wouldn't be possible under dos.. But it's only a guess.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Shawn McKenzie"