You are here: Re: [PHP] Re: php guru!!!!! « PHP « IT news, forums, messages
Re: [PHP] Re: php guru!!!!!

Posted by Andrι Medeiros on 09/19/05 03:51

OK, this might sound a bit harsh, but try using Smarty or other
templating engine. Really. It will help you a lot in this sittuation.

If you decide to run through that path, let me know so I can help you.
If not, we'll figure something else :)

On 9/18/05, bruce <bedouglas@earthlink.net> wrote:
> andre..
>
> you can find the files/app at
> http://olederer.users.phpclasses.org/browse/package/1906.html.
>
> i'm basically trying to figure out how to do the following...
>
> +------------------------------------------------+
> | |
> | |
> | header |
> | |
> | |
> +------------------------------------------------+
> | nav menu |
> +------------------------------------------------+
> | | |
> | | new |
> | | registration |
> | login | stuff |
> | area | |
> | | |
> | | |
> | | |
> | | |
> | | |
> | | |
> | | |
> +------------------------------------------------+
>
> basically, i'd like to have the app display the traditional login in the
> login area, as well as the 'new registration'. the app should allow the user
> to enter the login user/passwd in the login area. selecting 'register new
> user' should cause the 'registration form' to be displayed in the 'right
> area'
>
> the way i've quickly put this together is via a lot of includes based on the
> user slection of the 'nav menu items' as well as the user selecting
> different items within the various pages...
>
> however, i'm now having an issue when i try to use the 'header' function to
> redirect the user to another page after the given logic is completed.
>
> -bruce
>
>
>
> -----Original Message-----
> From: AndrΓ© Medeiros [mailto:andre.caum@gmail.com]
> Sent: Saturday, September 17, 2005 5:29 PM
> To: bedouglas@earthlink.net
> Subject: Re: [PHP] Re: php guru!!!!!
>
>
> Could you give us the full url of the class so we can look at it's
> source code? :)
>
> On 9/18/05, bruce <bedouglas@earthlink.net> wrote:
> > i already did...
> >
> > i got the same error... which is why i was/am looking for a guru!!!!
> >
> > -bruce
> >
> >
> >
> > -----Original Message-----
> > From: James Benson [mailto:jb@jamesbenson.co.uk]
> > Sent: Saturday, September 17, 2005 4:34 PM
> > To: php-general@lists.php.net
> > Subject: [PHP] Re: php guru!!!!!
> >
> >
> > http://php.net/ob_start
> >
> > try something like...
> >
> > <?php
> > // top of page
> > ob_start();
> >
> >
> > /* whole script goes here */
> >
> >
> > // bottom of page
> > ob_end_flush();
> >
> > ?>
> >
> >
> >
> >
> > bruce wrote:
> > > hi...
> > >
> > > i'm playing with a script/class from phpclasses.org. the script/class is
> > > user_class. the script is straight enough, but i'm trying to figure out
> > how
> > > i can include/incorporate the script into a test site i'm creating...
> > >
> > > the user_access script more or less uses the entire page. for my app,
> i'd
> > > like to basically use the user_access app/class and have the different
> > pages
> > > be displayed in specific areas of my pages...
> > >
> > > given that the user_class script uses 'header', i'm not sure how to
> > > accomplish this without generating the 'headers already sent...' err
> > msg...
> > >
> > > if there's someone that i can talk to regarding this, i'd appreciate
> it..
> > >
> > > thanks
> > >
> > > -bruce
> > > bedouglas@earthlink.net
> >
> > --
> > 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
> >
> >
>
>

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация