Shinyshell Community Forums > Coding > Moar Python Help Please |
||||||
Sign Up | Member List | New Posts | Help |
[1]
February 09 02009, 09:28 GMT | ||||
Nick^ merciful justice Location: Brisbane, Australia Post count: 78 |
Okay, I'm making a news management system, and so far I've come across the following problems:
1) How do you escape strings (As in: mysql_real_escape_string();) 2) How do you redirect the user? (As in: header("Location: url");) 3) In PHP, I used to go: if($_POST['formSubmit']){ How would I do that in Python? And how would I do $_GET as well? 4) What's the Python equivalent of die(); or exit();? I think that's all for now. ______________________________ Lazurane |
February 09 02009, 13:00 GMT | ||||
lec** Supra stultitiam Location: Varaždin, Croatia Post count: 173 |
Hope you find these answers satisfactory:
|
February 09 02009, 13:21 GMT | ||||
Nick^ merciful justice Location: Brisbane, Australia Post count: 78 |
March 07 02009, 14:14 GMT | ||||
Kthar Krme jedno bezglavo Location: kroatie Post count: 106 |
Ingmar Bergman. This is cool in the range of the coolness of the proverbial cucumber. Ußercool, Lec.
|
[1]
Forum Information |
||||||||||
|