Re: Re: php guru!!!!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx> 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@xxxxxxxxx]
> Sent: Saturday, September 17, 2005 5:29 PM
> To: bedouglas@xxxxxxxxxxxxx
> Subject: Re:  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@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxx]
> > Sent: Saturday, September 17, 2005 4:34 PM
> > To: php-general@xxxxxxxxxxxxx
> > Subject:  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@xxxxxxxxxxxxx
> >
> > --
> > 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 General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux