Re: php and html differences

From: Date: Sun, 02 Mar 2003 23:55:36 +0000
Subject: Re: php and html differences
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-137812@lists.php.net to get a copy of this message
----- Original Message ----- From: "Ernest E Vogelsinger" <ernest@vogelsinger.at> To: "Sunfire" <rusty_81@msn.com> Cc: <php-general@lists.php.net> Sent: Sunday, March 02, 2003 5:58 PM Subject: Re: [PHP] php and html differences > At 21:25 02.03.2003, Sunfire said: > --------------------[snip]-------------------- > >i guess this is a php related question (well sort of) the person i work > >with decided that he was going to edit a few of my php scripts that make a > > ... oh my god. your telling me...messed up the whole thing and i had to basically rewrite a 700 line script cuz of it too > > >he told me a few things that i dont quite understand (or for that matter i > >dont belive what he says is really true).. > >he said: > >1. on the instance about testing certain conditions to determine what page > >to show..frames or a frameset can do exactly the same thing...i told him no > >it didnt (who is right?) > > Framesets are HTML constructs to divide a browser window in adjacent areas > to display more than one page at the same time. There's nothing what a > frameset construct can do to implement any logic - the page that's shown in > a frame is available in the "src" tag. yup i got that but he uses frames way too much and it bothers my scripts..i.e. cant always get a table to fit in the frame the way he wants it to.. > > >2. he asked me in the scripts that have 3 or more pages built into them how > >was the logo at the top of the page being shown.. i just told him that i > >used normal html and put the logo at the top of the pages.. he said frames > >wont let you do that (who is right??) > > Not within the frameset, of course... if you have a frameset you don't have > a body, that's it. i mean i hard coded the logo inside of the php script for every page that was in there.. he said frames cant display a logo > > >so im confused about that one.. he also said that plain html had an if else > >statement in it.. i never heard of such a thing... > > Never heard such bullshit. me either... > > >can somebody get me unconfused? and is it not really a good idea to have 3 > >or more pages built inside a php script? should the pages be called from the > >script some way else? > > Boy - some of my applicatinos server a couple of hundred pages out of a > single script (from the database, that is)... > wow a very large script then... must be right on what im doing then... so how do you stop him from editing my scripts with a gui html editor then...ug > > -- > >O Ernest E. Vogelsinger > (\) ICQ #13394035 > ^ http://www.vogelsinger.at/ > > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.458 / Virus Database: 257 - Release Date: 2/24/2003

« previous php.general (#137812) next »