contents of htdocs\cakephp\app\views\users\register.thtml:
<form action="/users/register" method="post">
<p>Please fill out the form below to register an account</p>
<label>Username:</label>
<?php echo $html->inputTag('User/username', array('size' =>
'40' )); ?>
<?php echo $html->tagErrorMsg('User/username', $username_error); ?>
<label>Password:</label>
<?php echo $html->passwordTag('User/password', array('size' =>
'40' )); ?>
<?php echo $html->tagErrorMsg('User/password', 'Password should be
between 6 and 40 characters long'); ?>
<label>Email:</label>
<?php echo $html->inputTag('User/email', array('size' => '40',
'maxlength' =>'255' )); ?>
<?php echo $html->tagErrorMsg('User/email', 'Email is invalid'); ?>
<label>First name:</label>
<?php echo $html->inputTag('User/first_name', array('size' =>
'40' )); ?>
<?php echo $html->tagErrorMsg('User/first_name', 'First name is
required'); ?>
<label>Last name:</label>
<?php echo $html->inputTag('User/last_name', array('size' =>
'40' )); ?>
<?php echo $html->tagErrorMsg('User/last_name', 'Last name is
required'); ?>
<?php echo $html->submitTag('Register'); ?>
</form>
Cheers, Rasmus
On 28 Maj, 12:52, AD7six <[EMAIL PROTECTED]> wrote:
> On May 28, 11:14 am, "David C. Zentgraf" <[EMAIL PROTECTED]> wrote:
>
> > On 28 May 2008, at 16:57, Ralle wrote:
>
> > > I have not edited any off the .htaccess files.
>
> > Then you should.
>
> >http://groups.google.com/group/cake-php/search?hl=en&q=rewritebase&sc...
>
> since he can access localhost/cakephp/users/register - that's probably
> not relevant.
>
> Ralle - show some (view file) code. where is the url form target
> coming from.
>
> hth,
>
> AD
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---