![](https://forums.phpfreaks.com/uploads/set_resources_1/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
Orionsbelter
-
Posts
493 -
Joined
-
Last visited
Posts posted by Orionsbelter
-
-
and whats the full query for $row?
-
you should make your title more descriptive next time.
-
is it how do i know which website has a curled corner box?
i can just search for websites with a curled corner box on it. you try find one i've tried looking for this on google and now i have come here.
-
flash is good i use that you can buy them for like $5, but its hard to look at the coding and work out how to change anything
-
its hard to find one. this is why i've posted for help
-
hi does anyone know the coding for a box with curled corners like a table with the corners curled. Because i've been using a image then put text on top of it but it takes longer for the images to appear.
-
so all i need to do is go on the php.ini which i can and set that?
-
you joking? oh i've been going through all the pages and adding it to each $_POST Grrrrrr:@ thanks mate.
-
try that see if it works and post back please
-
well first the string should be
$update = "UPDATE `user` SET `weight` = weight+$weight WHERE `username` = '$user'";
-
i keep getting people using MYSQL INJECTION on my website but i have over 300 scripts and it could be most of them. Is there anyway i can find out which script it is? i tried asking them but they are not very helpful.
-
oh so strip tags will also add slashes?
-
so this could stop the mysql_real_escape_string(); working? becuase am using mysql_real_escape_string(strip_tags($_POST['username'])); so could this stop the mysql_real_escape_string function?
-
strip_tags(); what do they do? Because i've used them with a mysql_real_string_escape(); so could this be useless if its taking away slashes?
-
hmmm that is hard to work out how to use can you show me what it would look like if i wanted it to be 7:00pm instead of 12:00 pm thank you,
owell i thought it was thanks for tell me though
-
ok i do not know how to do this but really need to know,
for example i need it to be like this
if(time(); == 12:00pm){ echo"Its midnight";}
that is not real code but if it was simple it would be like that. does anyone knwo how to do it?
-
No worries, just remember you need to register each season that was the function to register the session
-
session_register('admin');
$_SESSION['admin'] = $y;
try that! tell me if it works
-
first thing you should do is make your viarable more descriptive
-
thanks but not very helpful
-
hi i know the mysql_espace_string() and the addslashes() but what i need to know is are there any other ways and also can i use these for username string for example if someone logs in to my websites and it addslashes wont it just totally change the username?
e.g. username's login would change to username'/s login then my website would think its a invaild username wouldn't it ?
and is there a fucntion to remove these slashes?
-
Ok so some users on my website sign up with domain names, i don't like this so i want to stop them at the register.php page:
so say the username field is called $reg_username what coding do i need to echo an message saying username not allowed. i could also use this to stop users setting up names containing abusive words. thanks for all who looked
-
I need a string for showing php and mysql errors on tht page only. does anyone have the answers?
-
hi i have recently bought a sever and dont know much about them but noticed now i've moved my website onto my own sever it wont do the following:
$user=mysql_fetch_object(mysql_query("SELECT * FROM users WHERE username='$username'")); $newcash=1000; ////////// here is where is doesn't work it doesn't add these together $newmoney=$user->money + $newcash; mysql_query("UPDATE users SET money='$newmoney' WHERE username='$username'"); however it will do this: ////// it'll minus the money just dont add it. $newmoney=$user->money - $newcash; mysql_query("UPDATE users SET money='$newmoney' WHERE username='$username'"); and it'll do this: mysql_query("UPDATE users SET money=money+$newcash WHERE username='$username'"); this worked perfectly on my hosting account now i have my own sever it seems to be a problem what dod i need to configure to make it work? thanks
[SOLVED] help plz...
in PHP Coding Help
Posted