RE: PHP fun
- Posted by Ray Smith <smithr at ix.net.au> Aug 01, 2002
- 408 views
mistertrik at hotmail.com wrote: [snip] > A new problem has arisen now... that although I can view php files > properly > by double-clicking on them, I can't open them through IE. PHP is a server side scripting language. When you open HTML files by double clicking on them on they loaded straight into IE (ie. there is no server processing). As far as I know you need a web server installed to see the results of php scripts in a web browser. There might be ways around this but I don't know. Maybe some PHP IDE's allow the processing of PHP scripts inside html files?? You should probably also do some reading about PHP and web development, I'm sure they are heaps of resources available on the net. You should probably also ask your questions on a PHP list ... I'm happy to answer your questions ... but this isn't a PHP list!). Ray Smith http://rays-web.com > > This is a problem because most html forms use php for processing. With > the > current solution, it doesn't use the batch file for processing, but > tries to > open it as html... which doesn't work! > > > =-======= > MrTrick > >From: Ray Smith <smithr at ix.net.au> > >Reply-To: EUforum at topica.com > >To: EUforum <EUforum at topica.com> > >Subject: RE: PHP fun > >Date: Wed, 31 Jul 2002 06:23:50 +0000 > > > > > >mistertrik at hotmail.com wrote: > >[snip] > > >... I need to change this line in the > > > batch file: > > > # > > > "c:\program files\internet explorer\iexplore.exe" c:\temp\phptmp.htm > > > # > > > into something that opens IE *independently*, and allows the batch file > > > to > > > finish. > > > >One thing to try in your batch file is: > > > >"start c:\temp\phptmp.htm" > > > >start "any_known_file_type.ext" will start the default > >application based on the extension type. > > > >Regards, > > > >Ray Smith > >http://rays-web.com