Search found 118 matches

by nick2
Mon Apr 18, 2005 12:12 pm
Forum: PHP - Code
Topic: Header()
Replies: 6
Views: 593

Header()

Hello there, I am using iframes for my login page. When you login it sets cookies. The problem is you have to refresh the main page(index) yourself for you to see the logged in links. What I would like is if theres a way I can use Header() to refresh the main page(index), if I use header() it opens ...
by nick2
Sat Apr 17, 2004 6:56 pm
Forum: PHP - Code
Topic: Help me wont set!
Replies: 1
Views: 278

Help me wont set!

Hello.. I am trying to authenticate a user.. it does what its suppose to up to set cookie.. please look! <?php if ((!$_POST[username]) || (!$_POST[password])) { Print("Please hit back button and make sure all the fields are all filled in!"); } #variables# $db_address = "localhost"...
by nick2
Fri Apr 16, 2004 2:44 pm
Forum: Databases
Topic: Checking if id exists.. lol
Replies: 13
Views: 923

Thanks magic.. I forgot to select it.. lol >_>
by nick2
Fri Apr 16, 2004 2:38 pm
Forum: Databases
Topic: Checking if id exists.. lol
Replies: 13
Views: 923

ugh sorry.. guys its saying No database selected when.. a db does exist.. because I can obviously insert data.. so what could the problem be? I looked and dont see anything because im just a mere noob. :(
by nick2
Fri Apr 16, 2004 2:34 pm
Forum: Databases
Topic: Checking if id exists.. lol
Replies: 13
Views: 923

Nevermyn found the problem.. needed a ending }


thx guys!
by nick2
Fri Apr 16, 2004 2:29 pm
Forum: Databases
Topic: Checking if id exists.. lol
Replies: 13
Views: 923

Thanks.. Parse error: parse error in /home/virtual/site142/fst/var/www/html/game.pixelfriendly.com/signup.PHP on line 47 theres a max of 46 lines.. so ugh.. <?php #check and see if the fields are empty.. if they are uh oh send them back to signup! if ((!$_POST&#1111;name]) || (!$_POST&#1111;...
by nick2
Fri Apr 16, 2004 2:02 pm
Forum: Databases
Topic: Checking if id exists.. lol
Replies: 13
Views: 923

Checking if id exists.. lol

Hey I am having trouble making it check if it exists ornot.. and if it does to exit the script and print a msg.. heres my code #do check # $checkstring = " SELECT FROM $table_name WHERE GID='$_POST&#1111;GID]' "; if ($checkstring == '$_POST&#1111;GID]') &#123; print ("I'm ...
by nick2
Tue Apr 13, 2004 11:50 am
Forum: Databases
Topic: Messaging
Replies: 11
Views: 902

Ugh I am new to all of this so pelase easy! lol I have user accounts.. and I want it to add the field on the line with the pecific username. like Nick | password | info1 | info2 | added message1 can you maybe tell me if this is rigth as well? thanks! <?php if ((!$_POST&#1111;MsgU]) || (!$_POST&a...
by nick2
Tue Apr 13, 2004 11:22 am
Forum: Databases
Topic: Messaging
Replies: 11
Views: 902

thank you!
by nick2
Tue Apr 13, 2004 11:09 am
Forum: Databases
Topic: Messaging
Replies: 11
Views: 902

thansk kettle.. can you give me an example on how to create a new field with code? thanks
by nick2
Tue Apr 13, 2004 10:26 am
Forum: Databases
Topic: Messaging
Replies: 11
Views: 902

That wasnt what I was asking.. Everyone knows how to get info out.. and insert.. I would like to create fields.. and sub fields.. so can someone please answer this?

and yes its private messaging.
by nick2
Mon Apr 12, 2004 10:03 pm
Forum: Databases
Topic: Messaging
Replies: 11
Views: 902

Messaging

Hello, I am trying to think up a way of messaging users.. I have a db named "tradeacc" and the fields Username, and password.. Now I was thinking maybe everytime you try and send a message it will create a new field.. as subject then sub- message..date etc but how do I go about making a su...
by nick2
Wed Feb 04, 2004 5:55 pm
Forum: PHP - Code
Topic: Not working! :(
Replies: 13
Views: 6441

Ok none of you professionals could tell me that header() was screwing the whole thing up? heh I had to find it out for myself.
by nick2
Wed Feb 04, 2004 2:42 pm
Forum: PHP - Code
Topic: Not working! :(
Replies: 13
Views: 6441

and yes it does exist:

http://www.slices.net/add.htm


and create.php does exist... ugh


maybe you can try using the code above and putting it in create.php?


and uploading it? :(
by nick2
Wed Feb 04, 2004 1:14 pm
Forum: PHP - Code
Topic: Not working! :(
Replies: 13
Views: 6441

Not working! :(

Page cannot be displayed.. ughhhhh what am I doing wrong: <?php $fp = fopen( "user.ini" , "w" ); $inputString = "[main]\nID=$_POST[user]\n"; $inputstringg = "Password='$_POST[password]'\n"; $inputstringgg = "Name='$_POST[name]'\n"; $inputstringggg = ...