Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in Acmlmboard support?. |
Acmlm's Board - I2 Archive - Acmlmboard support? - Code not working in editprofile? | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
zebrabeast Newcomer Level: 4 Posts: 4/5 EXP: 142 For next: 137 Since: 05-23-05 Since last post: 125 days Last activity: 64 days |
| ||
Some hacker got into my board by an SQL hole.. I was told that by putting a code in editprofile, it would stop people getting in and mucking things up. I'm just confused into how to put this code in, as each time I loaded the file it would come up with the white page and an error. Would someone please help me? I know I have to put in: $pemail; $signsep; $sscheme; $posttool; |
|||
Sandy53215 Acmlm (10:55:31 PM): they're having fun for the first time in so long Level: 47 Posts: 752/948 EXP: 713034 For next: 53169 Since: 03-15-04 From: Milwaukee, Wisconsin (U.S.A) Since last post: 1 day Last activity: 4 hours |
| ||
Thats because it should be... $pemail = intval($pemail); $signsep = intval($signsep); $sscheme = intval($sscheme); $posttool = intval($posttool); Let me know if that helps. |
|||
zebrabeast Newcomer Level: 4 Posts: 5/5 EXP: 142 For next: 137 Since: 05-23-05 Since last post: 125 days Last activity: 64 days |
| ||
It didn't work, I think I'm placing the code in the wrong place. I've put them at the bottom after .php?id=$loguserid", so this is the line I have: .php?id=$loguserid",$pemail = intval($pemail);$signsep = intval($signsep);$sscheme = intval($sscheme);$posttool = intval($posttool);'view your profile',0) etc. |
|||
Sandy53215 Acmlm (10:55:31 PM): they're having fun for the first time in so long Level: 47 Posts: 753/948 EXP: 713034 For next: 53169 Since: 03-15-04 From: Milwaukee, Wisconsin (U.S.A) Since last post: 1 day Last activity: 4 hours |
| ||
Definitally in the wrong place... Look for:
Replace it with:
And get rid of whatever you tried doing with the redirect link. |
|||
DarkSlaya POOOOOOOOOOOORN! Level: 88 Posts: 3761/4249 EXP: 6409254 For next: 241410 Since: 05-16-04 From: Montreal, Quebec, Canada Since last post: 8 hours Last activity: 5 hours |
| ||
Originally posted by zebrabeast Never.... NEVER try to declare a variable when a function is called (unless I'm mistaken, I'm pretty sure this was the redirection function. I'm not at home, so I can't check) |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Acmlmboard support? - Code not working in editprofile? | | | |