Please help a newbie

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
User avatar
xlordt
New php-forum User
New php-forum User
Posts: 34
Joined: Thu Dec 12, 2002 9:00 pm
Location: NJ
Contact:

Sat Feb 22, 2003 1:31 am

post your code.. please =)
Computer/Programm rox.. (php, c/c++ will take over soon muhahah

pootergeist
New php-forum User
New php-forum User
Posts: 191
Joined: Wed Jan 29, 2003 7:11 am
Location: UK
Contact:

Sat Feb 22, 2003 3:49 am

php4.3 would have register_globals set to OFF in the .ini file, therefore accessing variables means having to reference the array then var name.

echo $_POST'name'];
or
echo $_GET['name'];
avatar image based upon nasas apod (only updates if I post though)

User avatar
xlordt
New php-forum User
New php-forum User
Posts: 34
Joined: Thu Dec 12, 2002 9:00 pm
Location: NJ
Contact:

Sat Feb 22, 2003 9:25 pm

actually you first have to add a value to your <INPUT TYPE="text" NAME="username" VALUE=\"" . $_GET['username']>
Computer/Programm rox.. (php, c/c++ will take over soon muhahah

User avatar
Redcircle
Moderator
Moderator
Posts: 826
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

Sun Feb 23, 2003 12:10 pm

I wouldn't reccomend having the username within the URL

http://www.php-forum.com/p/viewtopic.php?t=1483

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Bing [Bot] and 1 guest