[PHP] PHP and Frames?
Hi everyone, Was just wondering if it is possible to create dynamic frames within a page. Like have 3 output sequences, one for frame source, then 2 for actual pages? Or do frames have to have an actual page to load? I guess I could output the html to a file, then have just the src in the php code? I'm kind of experimenting with a new design, so if this exists, or something close to it, could someone point me in the right direction? What I want to do is have links on the left, a header with our logo, then the right frame will load pdf, doc, or html files depending on which link the person clicks on. This is simple if it's just html, but I need to have the person logged in, and the php file is generating the list of links based on the files contained in the directory. So when the person uploads files, they are immediatly in the list. Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com (570) 748-6611 x108 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP and Frames?
Jake McHenry mailto:[EMAIL PROTECTED] on Monday, November 29, 2004 2:41 PM said: Was just wondering if it is possible to create dynamic frames within a page. Like have 3 output sequences, one for frame source, then 2 for actual pages? Frames and PHP are not interdependent on eachother. Each frame within the frameset can be a PHP page if you need them to be. Or do frames have to have an actual page to load? I'm sorry but I don't understand what you mean by an actual page to load. A frame within a frameset can load anything the regular browser window can load. Also, since this is not really PHP related (unless I'm missing the point) you might like to try an a general web design list instead. Or you could email me off list. Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP and Frames?
- Original Message - From: Chris W. Parker [EMAIL PROTECTED] To: Jake McHenry [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, November 29, 2004 6:26 PM Subject: RE: [PHP] PHP and Frames? Jake McHenry mailto:[EMAIL PROTECTED] on Monday, November 29, 2004 2:41 PM said: Was just wondering if it is possible to create dynamic frames within a page. Like have 3 output sequences, one for frame source, then 2 for actual pages? Frames and PHP are not interdependent on eachother. Each frame within the frameset can be a PHP page if you need them to be. Or do frames have to have an actual page to load? I'm sorry but I don't understand what you mean by an actual page to load. A frame within a frameset can load anything the regular browser window can load. Also, since this is not really PHP related (unless I'm missing the point) you might like to try an a general web design list instead. Or you could email me off list. Chris. Right now I only have 1 php file, which is outputing all of the html. Is there a way I can have that 1 php file output the frame source page, along with the links, header, and target page? As I said, I could have the php file output the html to the actual files, but is there a way I have have all this in 1 php file? That's what I'm asking I guess Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com (570) 748-6611 x108 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP and Frames?
Jake McHenry wrote: - Original Message - From: Chris W. Parker [EMAIL PROTECTED] To: Jake McHenry [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, November 29, 2004 6:26 PM Subject: RE: [PHP] PHP and Frames? Jake McHenry mailto:[EMAIL PROTECTED] on Monday, November 29, 2004 2:41 PM said: Was just wondering if it is possible to create dynamic frames within a page. Like have 3 output sequences, one for frame source, then 2 for actual pages? Frames and PHP are not interdependent on eachother. Each frame within the frameset can be a PHP page if you need them to be. Or do frames have to have an actual page to load? I'm sorry but I don't understand what you mean by an actual page to load. A frame within a frameset can load anything the regular browser window can load. Also, since this is not really PHP related (unless I'm missing the point) you might like to try an a general web design list instead. Or you could email me off list. Chris. Right now I only have 1 php file, which is outputing all of the html. Is there a way I can have that 1 php file output the frame source page, along with the links, header, and target page? As I said, I could have the php file output the html to the actual files, but is there a way I have have all this in 1 php file? That's what I'm asking I guess Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com (570) 748-6611 x108 sure, but you'd need to somehow distinguis between situations. The easiest would be using a GET var. eg: frameset src=page.php?id=topframeset src=page.php?id=left and in the page.php: switch($_GET['id']) { case 'top': // html for top break; case 'left': // html for left break; } etc. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: off list RE: [PHP] PHP and Frames?
- Original Message - From: Chris W. Parker [EMAIL PROTECTED] To: Jake McHenry [EMAIL PROTECTED] Sent: Monday, November 29, 2004 6:36 PM Subject: off list RE: [PHP] PHP and Frames? Jake McHenry mailto:[EMAIL PROTECTED] on Monday, November 29, 2004 3:30 PM said: Right now I only have 1 php file, which is outputing all of the html. Is there a way I can have that 1 php file output the frame source page, along with the links, header, and target page? As I said, I could have the php file output the html to the actual files, but is there a way I have have all this in 1 php file? That's what I'm asking I guess Oh yeah sure. That's easy. (mind you, i haven't written a proper frameset in a long time so my tags might be wrong.) ?php echo QQQ frameset frame name=header ... / frame name=nav ... / frame name=content ... / /frameset QQQ; ? You say you want the 'content' frame to load different pages right? Well then you'll have to pass a value to the frameset page to determine which page should be loaded. http://www.yourdomain.com/frameset.php?content=products.pdf ?php // Remember to always validate input and // not blindly display any page like I am // doing here in my example. $content_page = $_GET['content']; echo QQQ frameset frame name=header ... / frame name=nav ... / frame name=content src=$content_page ... / /frameset QQQ; ? Does this help? Chris. I think so, I'll work with it.. and see what I come up with.. thanks for the help.. Jake -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP and Frames?
- Original Message - From: M. Sokolewicz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 29, 2004 6:34 PM Subject: Re: [PHP] PHP and Frames? Jake McHenry wrote: - Original Message - From: Chris W. Parker [EMAIL PROTECTED] To: Jake McHenry [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, November 29, 2004 6:26 PM Subject: RE: [PHP] PHP and Frames? Jake McHenry mailto:[EMAIL PROTECTED] on Monday, November 29, 2004 2:41 PM said: Was just wondering if it is possible to create dynamic frames within a page. Like have 3 output sequences, one for frame source, then 2 for actual pages? Frames and PHP are not interdependent on eachother. Each frame within the frameset can be a PHP page if you need them to be. Or do frames have to have an actual page to load? I'm sorry but I don't understand what you mean by an actual page to load. A frame within a frameset can load anything the regular browser window can load. Also, since this is not really PHP related (unless I'm missing the point) you might like to try an a general web design list instead. Or you could email me off list. Chris. Right now I only have 1 php file, which is outputing all of the html. Is there a way I can have that 1 php file output the frame source page, along with the links, header, and target page? As I said, I could have the php file output the html to the actual files, but is there a way I have have all this in 1 php file? That's what I'm asking I guess Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com (570) 748-6611 x108 sure, but you'd need to somehow distinguis between situations. The easiest would be using a GET var. eg: frameset src=page.php?id=topframeset src=page.php?id=left and in the page.php: switch($_GET['id']) { case 'top': // html for top break; case 'left': // html for left break; } etc. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ok, this helps on what I just emailed.. missed this... I'll try it and let you know. Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com (570) 748-6611 x108 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP and Frames? solved
- Original Message - From: Jake McHenry [EMAIL PROTECTED] To: M. Sokolewicz [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, November 29, 2004 6:46 PM Subject: Re: [PHP] PHP and Frames? - Original Message - From: M. Sokolewicz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 29, 2004 6:34 PM Subject: Re: [PHP] PHP and Frames? Jake McHenry wrote: - Original Message - From: Chris W. Parker [EMAIL PROTECTED] To: Jake McHenry [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, November 29, 2004 6:26 PM Subject: RE: [PHP] PHP and Frames? Jake McHenry mailto:[EMAIL PROTECTED] on Monday, November 29, 2004 2:41 PM said: Was just wondering if it is possible to create dynamic frames within a page. Like have 3 output sequences, one for frame source, then 2 for actual pages? Frames and PHP are not interdependent on eachother. Each frame within the frameset can be a PHP page if you need them to be. Or do frames have to have an actual page to load? I'm sorry but I don't understand what you mean by an actual page to load. A frame within a frameset can load anything the regular browser window can load. Also, since this is not really PHP related (unless I'm missing the point) you might like to try an a general web design list instead. Or you could email me off list. Chris. Right now I only have 1 php file, which is outputing all of the html. Is there a way I can have that 1 php file output the frame source page, along with the links, header, and target page? As I said, I could have the php file output the html to the actual files, but is there a way I have have all this in 1 php file? That's what I'm asking I guess Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com (570) 748-6611 x108 sure, but you'd need to somehow distinguis between situations. The easiest would be using a GET var. eg: frameset src=page.php?id=topframeset src=page.php?id=left and in the page.php: switch($_GET['id']) { case 'top': // html for top break; case 'left': // html for left break; } etc. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ok, this helps on what I just emailed.. missed this... I'll try it and let you know. Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com (570) 748-6611 x108 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Thanks for the help everyone. I got it working the way I wanted. the links on the left are auto generated by the php file, which outputs them to the content frame, all in one php file. Wasn't as hard as I thought.. like I said.. it's been a long day. Probably could have figured it out after some sleep Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com (570) 748-6611 x108 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: off list RE: [PHP] PHP and Frames?
- Original Message - From: Chris W. Parker [EMAIL PROTECTED] To: Jake McHenry [EMAIL PROTECTED] Sent: Monday, November 29, 2004 6:36 PM Subject: off list RE: [PHP] PHP and Frames? Jake McHenry mailto:[EMAIL PROTECTED] on Monday, November 29, 2004 3:30 PM said: Right now I only have 1 php file, which is outputing all of the html. Is there a way I can have that 1 php file output the frame source page, along with the links, header, and target page? As I said, I could have the php file output the html to the actual files, but is there a way I have have all this in 1 php file? That's what I'm asking I guess Oh yeah sure. That's easy. (mind you, i haven't written a proper frameset in a long time so my tags might be wrong.) ?php echo QQQ frameset frame name=header ... / frame name=nav ... / frame name=content ... / /frameset QQQ; ? You say you want the 'content' frame to load different pages right? Well then you'll have to pass a value to the frameset page to determine which page should be loaded. http://www.yourdomain.com/frameset.php?content=products.pdf ?php // Remember to always validate input and // not blindly display any page like I am // doing here in my example. $content_page = $_GET['content']; echo QQQ frameset frame name=header ... / frame name=nav ... / frame name=content src=$content_page ... / /frameset QQQ; ? Does this help? Chris. What about the links? what do I assign the frame src of the links to if the php file is generating the output? right now the php file is generating the links, I want to turn that into frames, but all in one php file. So if I put the frame src before the html output that I have now, how can I output the links in the same php file? and the header? I get what you said about the target frame, but not sure how I'm going to get the output into the right frames. It's been a long day, maybe I'm just not seeing this right? Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com (570) 748-6611 x108 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP with Frames (cont.)
No, he's right - this is an issue. Do variables persist between PHP files? In the attached scripts I have a login page which directs the user, on a sucessful login, to a front page which is a frameset. The login.php opens a connection to a MySQL database ($connection) but once the browser has been re-directed to the frame-root.html page this variable is no longer available. Kb wrote: Hi, Does anyone know why my PHP pages won't work in Frames? I have 5 frames, each of which are displaying PHP pages.and none of the PHP code works. If I run the code outside of Frames it works fine! I've can't find any decent references for PHP in Frames. Your help would be appreciated. Thanks Kevin -- UEA/MUS::Record Library -- UEA/MUS::Record Library -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP with Frames (cont.)
Are you trying to access variables between frames or just get a php script to run when it is one frame. I have php pages running in frames in a number of places. You could not access variables between the frames though. You would have to use a client side script to do that. You could have something like javascript deal with passing variable around on the client's browser and then ultimately post the result back to the server in a form etc. -Original Message- From: rich [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 2:23 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP with Frames (cont.) No, he's right - this is an issue. Do variables persist between PHP files? In the attached scripts I have a login page which directs the user, on a sucessful login, to a front page which is a frameset. The login.php opens a connection to a MySQL database ($connection) but once the browser has been re-directed to the frame-root.html page this variable is no longer available. Kb wrote: Hi, Does anyone know why my PHP pages won't work in Frames? I have 5 frames, each of which are displaying PHP pages.and none of the PHP code works. If I run the code outside of Frames it works fine! I've can't find any decent references for PHP in Frames. Your help would be appreciated. Thanks Kevin -- UEA/MUS::Record Library -- UEA/MUS::Record Library -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP within Frames
OK...more specific... I'm running Windows XP Professional with PHP and MySQL and IE6 What doesn't work: Anything inside the PHP parameters when running in a Frames environment. Someone mentioned that I might not have the testing server set up correctly and it may be running locally. Bit of a novice so not too sure about this. I have checked the settings for Testing Server in Dreamweaver and it seems OK. (Should I try a Dreamweaver NewsGroup?) Thanks to all for their interest/help so far. Kevin Adam [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This is really an browser interpretation of HTML issue than a straight PHP issue. A little more information would be helpful - such as browser, page content, etc. Regards, Adam On Sunday, October 19, 2003, at 05:45 PM, KB wrote: Hi, Does anyone know why my PHP pages won't work in Frames? I have 5 frames, each of which are displaying PHP pages.and none of the PHP code works. If I run the code outside of Frames it works fine! I've can't find any decent references for PHP in Frames. Your help would be appreciated. Thanks Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP within Frames
Kevin -- ...and then KB said... % % OK...more specific... % % I'm running Windows XP Professional with PHP and MySQL and IE6 OK. Two out of four ain't bad :-) % % What doesn't work: Anything inside the PHP parameters when running in a % Frames environment. Hmmm... I appreciate your effort, and I bet that you're pulling your hair out trying to figure out how to give so you can get, but I still don't really know what you mean. What is a PHP parameter? % % Someone mentioned that I might not have the testing server set up correctly % and it may be running locally. Bit of a novice so not too sure about this. If you can point to your php code and have it execute then you are probably fine; php that has not been run by the server just looks like code in your browser. Your frameset could be pointing to file:///... instead of http://... though (but you should still get a code dump). % I have checked the settings for Testing Server in Dreamweaver and it seems % OK. (Should I try a Dreamweaver NewsGroup?) Since frames have no effect on PHP and you're swimming in deep water, that might not be a bad idea. You have, however, still not given us much detail (the only thing I've seen so far is a pair of uuencoded files and, frankly, I'm too lazy to rip 'em open just because Outhouse doesn't know how to attach files). Try saving these two snippets to a directory where your web server can serve them: index.php: ? print frameset border=1 rows=20%,*\n ; print frame name='top' src='frame.php?f=topn=zero'\n ; print frame name='bottom' src='frame.php?f=botc=black'\n ; print /frameset\n ; print noframesThis is not in the frameset/noframes\n ; ? frame.php: ?php print Here we are in the frames.br\n ; switch($_GET['f']) { case 'top' : print This is the top frame!br\n ; print Pick a number:\n ; foreach (array('one','two','three') as $n) { print a href='?f=topn=$n'$n/a \n ; } print (Your last pick was {$_GET['n']}.)br\n ; break ; case 'bot' : print This is the bottom frame *yawn*br\n ; print Pick a color:\n ; foreach (array('red','green','blue') as $c) { print a href='?f=botc=$c'$c/a \n ; } print (Your last pick was {$_GET['c']}.)br\n ; break ;; } ? The should look like http://justpickone.org/davidtg/private/frames/index.phps http://justpickone.org/davidtg/private/frames/frame.phps respectively. Now point your web browser to the right place on your server and see if you see the frameset like you do at http://justpickone.org/davidtg/private/frames/ from the examples above. If you do, then your web server is serving files and your php is being executed. You can also probably kick Dreamweaver in the head for making life hard. Go and pick up a copy of vim (it runs on just about any platform) and edit your code the Manly (and OneTrue ;-) Way! This could, in fact, be done entirely in one file with no problem... Just add a default for the switch and print the frameset there. % % Thanks to all for their interest/help so far. That's why we're here :-) % % Kevin HTH HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, Science and Health http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgp0.pgp Description: PGP signature
RE: [PHP] PHP within Frames
Ok, this is just a guess but, it is based on experience. Lets say you have the frames page (frames.php), it has two frames show_a.php and show_b.php, the code for each is simple print $a and print $b respectively. If frames.php?a=hellob=world is called and the frame sources are set to show_a.php and show_b.php they will print nothing because they do not know what the variables $a and $b are. If you change the frame src values to show_a.php?a=$a and show_b.php?b=$b they will work. So, my question to you is do your framed pages know the values of all necessary variables? Daryl Meese, Jr. Magia Software magiasoftware.com -Original Message- From: KB [mailto:[EMAIL PROTECTED] Sent: Sunday, October 19, 2003 4:46 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP within Frames Hi, Does anyone know why my PHP pages won't work in Frames? I have 5 frames, each of which are displaying PHP pages.and none of the PHP code works. If I run the code outside of Frames it works fine! I've can't find any decent references for PHP in Frames. Your help would be appreciated. Thanks Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP within Frames
Kevin -- ...and then KB said... % % David, % % Thanks for the response. Sure thing! I see that you sent this back only to me. You should generally reply to the whole list because 1) I certainly don't know everything and 2) others will almost certainly answer before I will. I've taken the liberty of sending this back to the list. % % OK...in my simple terms % % Anything I put between ?php and ? doesn't work when called in a frame. % The file.php works fine if called on its own but if it is called into a % frame it just doesn't work...not even an error. OK. Paste your frameset (index.php or whatever) into an email so we can see how it looks. % % To keep it as simple as I could I put an echo fred line in. Sure enough % fred was displayed unless called into a Frame. OK. But that still doesn't tell us anything. Did you try my example with the code I provided? % % On the subject of my choice of OSI'd prefer to be running Linuxits % just a convinience as I have the development environment on a laptop. If Doesn't stand in my way :-) % you can suggest where I can get Linux and Apache (If that is what you would % suggest) then I'd be keen to switch to that. All pointers are welcome. I happen to very much like SuSE, but I've heard some good things about Mandrake in the past year, and there's always Debian. SuSE runs pretty much out of the box on any laptop I've seen, including finding the right display and card info, although APM/ACPI may require a kernel recompile (so I have no ACPI on my Toshiba Satellite at the moment; whoop-de-doo). Check out linux-laptop.net (before this thread goes any more off-topic! :-) for oodles of info. % % Thanks again Sure thing! % % Kevin HTH HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, Science and Health http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgp0.pgp Description: PGP signature
[PHP] PHP within Frames
Hi, Does anyone know why my PHP pages won't work in Frames? I have 5 frames, each of which are displaying PHP pages.and none of the PHP code works. If I run the code outside of Frames it works fine! I've can't find any decent references for PHP in Frames. Your help would be appreciated. Thanks Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP within Frames
KB wrote: Hi, Does anyone know why my PHP pages won't work in Frames? I have 5 frames, each of which are displaying PHP pages.and none of the PHP code works. If I run the code outside of Frames it works fine! I've can't find any decent references for PHP in Frames. Your help would be appreciated. Thanks Kevin You'll need to be a bit more specific than 'none of the PHP code works'. Frames have no effect on the parsing of php code, as frames are client side (just pulling another page off the server), and php is server side (parsed by the server before it even gets to the frameset). -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP within Frames
Does anyone know why my PHP pages won't work in Frames? I have 5 frames, each of which are displaying PHP pages.and none of the PHP code works. PHP works just fine within frames because the two issues are completely unrelated. That being said, I can't tell why you're having problems as you've: - Posted no code - Posted no links to the working (or not working) example - Not explained what you mean by none of the PHP code works One good reason why none of your code would work would be if your frame document was referencing your PHP files as filename.html as opposed to filename.php. But, considering the information provided, that's just a guess. Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP within Frames
John, Thanks for the response. Below is my response to Larry...if you can shed any light on this then I would be gratefull. Thanks for the swift response. I didn't post the code as I thought there may be an obvious answer.sorry.. Attached are two pieces of simple code (produced originally under Dreamweaver then edited to add the simple PHP lines). Having had little success I decided to cut them down to the minimum to see if it was something in the code. The Main_User_Interface is the Frames definition and the Catagory_Choice is a page I'm trying to load into the left page. I mention the Dreamweaver piece as I'm a novice and can't pass comment on the bits that dreamweaver automatically generates. I'm also not sure that I know everything I need to about Session variables so it may be related to that. Any thoughts would be greatly appreciated. With Kind Regards Kevin John Nichel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] KB wrote: Hi, Does anyone know why my PHP pages won't work in Frames? I have 5 frames, each of which are displaying PHP pages.and none of the PHP code works. If I run the code outside of Frames it works fine! I've can't find any decent references for PHP in Frames. Your help would be appreciated. Thanks Kevin You'll need to be a bit more specific than 'none of the PHP code works'. Frames have no effect on the parsing of php code, as frames are client side (just pulling another page off the server), and php is server side (parsed by the server before it even gets to the frameset). -- By-Tor.com It's all about the Rush http://www.by-tor.com begin 666 Main_User_Interface.php M/%$3T-465!%([EMAIL PROTECTED]3$E#((M+R]7,T,O+T141!(5$U,(#0N,#$@ M1G)A;65S970O+T5.(B B:'1T#HO+W=W=RYW,RYOFO5%(O:'1M;#0O9G)A M;65S970N9'1D(CX-CQH=UL/@T*/AE860^#0H\=ET;4^56YT:71L960@ M1]C=6UE;G0\+W1I=QE/@T*/UE=$@:'1TUE75I=CTB0V]N=5N=U4 M7!E(B!C;VYT96YT/2)T97AT+VAT;6P[(-H87)S970]:[EMAIL PROTECTED],2(^ M#0H\+VAE860^#0H-CQFF%M97-E=!R;W=S/2(J+#$Q,2(@8V]LSTB*B(@ M9G)A;65S%C:6YG/2(Q(B!FF%M96)OF1ECTB65S(B!B;W)D97(](C$B M()OF1EF-O;]R/2(C,# P,# P(CX-B @/9R86UEV5T(')O=W,](C$Q M,PJ(B!C;VQS/2(J(B!FF%M97-P86-I;F](C$B(9R86UE8F]R95R/2)Y M97,B()OF1ECTB,2(@8F]R95R8V]L;W(](B,P,# P,# B/@T*( @(#QF MF%M92!SF,](E5N=ET;5D1G)A;64M-YH=TB(YA;64](G1O$9R86UE M(B!S8W)O;QI;F](DY/(B!N;W)EVEZ93X-B @( \9G)A;65S970@F]W MSTB*B(@8V]LSTB,34X+HB(9R86UEW!A8VEN9STB,2(@9G)A;65B;W)D M97(](GEER(@8F]R95R/2(Q(B!B;W)D97)C;VQOCTB(S P,# P,(^#0H@ M( @( \9G)A;64@W)C/2)#871A9V]R5]#:]I8V4NAP(B!N86UE/2)L M969T1G)A;64B('-CF]L;EN9STB6453(B!N;W)EVEZ93X-B @( @(#QF MF%M97-E=!R;W=S/2(J(B!C;VQS/2(J+#$T,(@9G)A;65S%C:6YG/2(Q M(B!FF%M96)OF1ECTB65S(B!B;W)D97(](C$B()OF1EF-O;]R/2(C M,# P,# P(CX-B @( @( @/9R86UE('-R8STB36%P7T9R86UE+G!H(@ M;F%M93TB;6%I;D9R86UE(CX-B @( @( @/9R86UE('-R8STB56YT:71L M961F%M92TR+FAT;2(@;F%M93TBFEG:'1F%M92(@V-R;VQL:6YG/2). M3R(@;F]R97-IF4^#0H@( @( \+V9R86UEV5T/@T*( @(#PO9G)A;65S M970^#0H@(#PO9G)A;65S970^#0H@(#QFF%M92!SF,](E1%4U102% NAP M(B!N86UE/2)B;W1T;VUF%M92(@V-R;VQL:6YG/2)915,B(YOF5S:7IE M/@T*/]FF%M97-E=#X-CQN;V9R86UESX\8F]D3X-CPO8F]D3X\+VYO 29G)A;65S/@T*/]H=UL/@T* ` end begin 666 Catagory_Choice.php M/%$3T-465!%([EMAIL PROTECTED]3$E#((M+R]7,T,O+T141!(5$U,(#0N,#$@ M5')A;G-I=EO;F%L+R]%3B(@(FAT=' Z+R]W=WN=S,N;W)G+U12+VAT;6PT M+VQO;W-E+F1T9(^#0H\:'1M;#X-CQH96%D/@T*/'1I=QE/E5N=ET;5D M($1O8W5M96YT/]T:71L93X-CQM971A(AT=' M97%U:78](D-O;G1E;G0M M5'EP92(@8V]N=5N=#TB=5X=]H=UL.R!C:%RV5T/6ES;RTX.#4Y+3$B M/@T*/]H96%D/@T*#0H\8F]D3X-CP_AP(1?4T534TE/3ELG55S=== M(#T@(D9R960B.R _/@T*/#]P:' @96-H;R D7U-%4U-)3TY;)U1EW0G73L@ M/SX-CQ0/@T*( \:6YP=70@;F%M93TB06YI;6%LR(@='EP93TB8VAE8VMB M;[EMAIL PROTECTED]('9A;'5E/2)C:5C:V)O#$B/B -D%N:6UA;',\+W ^#0H@(#QI;G!U M=!T7!E/2)C:5C:V)O(@;F%M93TB2ES=]R:6-A;(@=F%L=64](F-H M96-K8F]X([EMAIL PROTECTED](:7-T;W)I8V%L/]P/@T*/' ^#0H@(#QI;G!U=!T7!E M/2)C:5C:V)O(@;F%M93TB1V%R95NR(@=F%L=64](F-H96-K8F]X(CX@ M#0I'87)D96YS/]P/@T*/' ^#0H@(#QI;G!U=!T7!E/2)C:5C:V)O(@ M;F%M93TB4EEB(@=F%L=64](F-H96-K8F]X([EMAIL PROTECTED]:65R/]P/@T*/' ^ M#0H@(#QI;G!U=!T7!E/2)C:5C:V)O(@;F%M93TB4F%I;'=A2(@=F%L M=64](F-H96-K8F]X([EMAIL PROTECTED]/]P/@T*/' ^#0H@(#QI;G!U=!T M7!E/2)C:5C:V)O(@;F%M93TB5FEN97EAF0B('9A;'5E/2)C:5C:V)O M(^( T*5FEN97EAF0\+W ^#0H\#X-B @/EN'5T('1Y4](F-H96-K M8F]X(B!N86UE/2)38VEE;F-E(B!V86QU93TB8VAE8VMB;[EMAIL PROTECTED]/@T*4V-I96YC M93PO#X-CQP/@T*( \:[EMAIL PROTECTED]'EP93TB8VAE8VMB;[EMAIL PROTECTED](YA;64](E-H M;WB('9A;'5E/2)C:5C:V)O(^#0I3:]W/]P/@T*/' ^#0H@(#QI;G!U M=!T7!E/2)C:5C:V)O(@;F%M93TB5AE;[EMAIL PROTECTED]%R:R(@=F%L=64](F-H M96-K8F]X([EMAIL PROTECTED]:5M92!087)KSPO#X-CQP/@T*( \:[EMAIL PROTECTED]'EP M93TB8VAE8VMB;[EMAIL PROTECTED](YA;64](D-R869TR(@=F%L=64](F-H96-K8F]X(CX- MD-R869TSPO#X-CQP/@T*( \:[EMAIL PROTECTED]'EP93TB8VAE8VMB;[EMAIL PROTECTED](YA M;64](DUO95LR(@=F%L=64](F-H96-K8F]X(CX-DUO95LSPO#X-CQP M/@T*( \:[EMAIL PROTECTED]'EP93TB8VAE8VMB;[EMAIL PROTECTED](YA;64](D9AFTB('9A;'5E M/2)C:5C:V)O(^#0I87)M/]P/@T*/' ^#0H@(#QI;G!U=!T7!E/2)C M:5C:V)O(@;F%M93TB375S975M(B
Re: [PHP] PHP within Frames
--- KB [EMAIL PROTECTED] wrote: Does anyone know why my PHP pages won't work in Frames? I do. Just kidding. :-) I have 5 frames, each of which are displaying PHP pages.and none of the PHP code works. Please be more specific. I assume you mean that your code is being interpreted but that you have a flaw in your code. In this case, you need to provide a lot more information for anyone to have a chance at guessing your error. I've can't find any decent references for PHP in Frames. Probably because frames are completely irrelevant. Chris = My Blog http://shiflett.org/ HTTP Developer's Handbook http://httphandbook.org/ RAMP Training Courses http://www.nyphp.org/ramp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP within Frames
KB wrote: snip The Main_User_Interface is the Frames definition and the Catagory_Choice is a page I'm trying to load into the left page. I mention the Dreamweaver piece as I'm a novice and can't pass comment on the bits that dreamweaver automatically generates. I'm also not sure that I know everything I need to about Session variables so it may be related to that. /snip What exactly isn't working? John Nichel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] KB wrote: Hi, Does anyone know why my PHP pages won't work in Frames? I have 5 frames, each of which are displaying PHP pages.and none of the PHP code works. If I run the code outside of Frames it works fine! I've can't find any decent references for PHP in Frames. Your help would be appreciated. Thanks Kevin You'll need to be a bit more specific than 'none of the PHP code works'. Frames have no effect on the parsing of php code, as frames are client side (just pulling another page off the server), and php is server side (parsed by the server before it even gets to the frameset). -- By-Tor.com It's all about the Rush http://www.by-tor.com -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP within Frames
This is really an browser interpretation of HTML issue than a straight PHP issue. A little more information would be helpful - such as browser, page content, etc. Regards, Adam On Sunday, October 19, 2003, at 05:45 PM, KB wrote: Hi, Does anyone know why my PHP pages won't work in Frames? I have 5 frames, each of which are displaying PHP pages.and none of the PHP code works. If I run the code outside of Frames it works fine! I've can't find any decent references for PHP in Frames. Your help would be appreciated. Thanks Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Php with Frames
Hi to all: I have a page with two frames. In the top frame I have a form where I can select some options. When I press the send button a php program generate a html page that I want to show in the Botton frame. I don't know how I can load the new page generate in the botton frame. I only want to change the botton frame not the top. Probably its easy to do. Can someone help me? Thanks. Best regards, Diego -- PHP General 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]
Re: [PHP] Php with Frames
The form tag can tag a TARGET attribute, just like the A tag can. FORM Action="myscript.php" METHOD="POST" TARGET="Bottom_Frame" Adjust to match your script and frame names On 4/1/01 2:30 AM, "Diego Prez Rndez" [EMAIL PROTECTED] wrote: Hi to all: I have a page with two frames. In the top frame I have a form where I can select some options. When I press the send button a php program generate a html page that I want to show in the Botton frame. I don't know how I can load the new page generate in the botton frame. I only want to change the botton frame not the top. Probably its easy to do. Can someone help me? Thanks. Best regards, Diego -- PHP General 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]