Viewing Topic: Complete Member
System ? |
Guest |
Subject: "Complete Member
System ?"
Posted: @ 7:45 pm on Nov 01 2005 |
|
|
Unregistered
|
I've read the
tutorial now
several times..
great job
writing it. I
have a question
though...
I've put the
registration of
a new member
code into a
file named
register.php
and its giving
an error with
the junk
array.
Parse error:
parse error,
unexpected '`',
expecting ')'
in
/home/content/e
/g/y/egyptdb/ht
ml/hotel/regist
er.php on line
20
Line 20 is:
$junk =
array('.' , ','
, '/' , '\' ,
'`' , ';' , '['
, ']' ,
'-','*',
'&', '^',
'%', '$', '#',
'@', '!', '~',
'+', '(', ')',
'|', '{', '}',
'<', '>',
'?', ':',
'"', '=');
For some reason
its having
problems
parsing some of
the
characters..
the backtick,
the braces, the
dollar sign.
Any ideas? I
tried escaping
them with a
backslash to no
avail, that
just gave
another
warning.
Thanks!
|
Viewed: 16,121 Times | |  |
Guest |
Subject: "re: Complete
Member System ?"
Posted: @ 8:18 pm on Nov 01 2005
|
|
|
Unregistered
|
I seem to have
gotten it to
work, I deleted
the junk array
and rebuilt it
myself, musta
had a hidden
character or
something in
that that I
couldnt see.
All works
now.
Thanks again
for the great
tutorial!
|
Viewed: 16,111 Times | |  |
Spiterz |
Subject: "re: Complete
Member System ?"
Posted: @ 8:19 pm on Nov 01 2005
|
|
|
Member #: 98 Rank: User - (8) Since: 11/01/05 Posts: 8
|
Oooh, oculd you
post the one
you rebuilt? I
had to delete a
few of the junk
things for it
to work, may i
use yours?
|
Viewed: 16,106 Times | |  |
Guest |
Subject: "re: Complete
Member System ?"
Posted: @ 8:38 pm on Nov 01 2005
|
|
|
Unregistered
|
Code:
$junk =
array('.' ,
',' , '!',
'@', '#',
'$', '%',
'^',
'&',
'*', '(',
')', '{',
'}', '[',
']', '?',
'<',
'>',
'/',
'\\',
'+', '\='.
'\`');
Enjoy!
--Tamarae
|
Viewed: 16,103 Times | |  |
Guest |
Subject: "re: Complete
Member System ?"
Posted: @ 8:40 pm on Nov 01 2005
|
|
|
Unregistered
|
Looks like i
missed a couple
of characters,
but you get the
idea 
|
Viewed: 16,102 Times | |  |
Guest |
Subject: "re: Complete
Member System ?"
Posted: @ 8:42 pm on Nov 01 2005
|
|
|
Unregistered
|
One more try
here, found a
typo in the
above one as
well.. lol,
this just isnt
my day.
Code:
$junk =
array('.' ,
',' , '!',
'@', '#',
'$', '%',
'^',
'&',
'*', '(',
')', '{',
'}', '[',
']', '?',
'<',
'>',
'/',
'\\',
'+', '\=',
'\`',
'~');
|
Viewed: 16,100 Times | |  |
Spiterz |
Subject: "re: Complete
Member System ?"
Posted: @ 11:09 am on Nov 02 2005
|
|
|
Member #: 98 Rank: User - (8) Since: 11/01/05 Posts: 8
|
|
Viewed: 16,087 Times | |  |
snatchsquad |
Subject: "re: Complete
Member System ?"
Posted: @ 6:09 pm on Nov 21 2005
|
|
|
Member #: 95 Rank: User - (6) Since: 10/25/05 Posts: 6
|
Hi,
Trying to
figure out how
to create the
system. I
created the
database.
Just can't
figure out what
goes where
afterwards.
Where do I
create the
register
script? On the
registration
page? On the
page that I
want to have
password
protected?
Just need
guidance, and
have read all
docs regarding.
Just not sure
where to put
all the
coding.
Using Frontpage
by the way.
free 10
minutes
midnighttreats.
com use
passcode:
treatme |
Viewed: 15,997 Times | |  |
bs0d |
Subject: "re: Complete
Member System ?"
Posted: @ 7:14 pm on Nov 22 2005
|
|
|
 Member #: 1 Rank: Admin. - (1,505) Since: 02/06/05 Posts: 600 From: USA
|
the register
script is a
page/file of
its own
(register.php)
You make
register.php,
and put in all
of the php code
and HTML that
makes the form.
|
Viewed: 15,983 Times | |  |
sheshazam |
Subject: "re: Complete
Member System ?"
Posted: @ 7:12 pm on Nov 30 2005
|
|
|
Member #: 111 Rank: User - (5) Since: 11/30/05 Posts: 5 From: Irvine, CA
|
$junk =
array('.' ,
',' , '/' ,
'\\' ,
'`' , ';' ,
'[' , ']'
, '-', '*',
'&',
'^', '%',
'$', '#',
'@', '!',
'~', '+',
'(', ')',
'|', '{',
'}',
'<',
'>',
'?', ':',
'"',
'=');
Its the double
\ that fixed
it for me.
'\\'
Before it was
'\' which
indicates that
the second '
should be
treated as a
real '
Adding the \
before the
original \
indicates that
the original \
should be
treated as a
real \ rather
than php
code.
From the
dummies book
;-)
|
Viewed: 15,949 Times | |  |
bs0d |
Subject: "re: Complete
Member System ?"
Posted: @ 11:11 pm on Nov 30 2005
|
|
|
 Member #: 1 Rank: Admin. - (1,505) Since: 02/06/05 Posts: 600 From: USA
|
glad it worked
for you
|
Viewed: 15,940 Times | |  |
Viewing Page: 1 of 1 |
|