Here's a couple of links you might find helpful, and note that in order to do what your wanting to do your school will need mod_rewrite enabled...
http://www.yourhtmlsource.com/sitemanag ... iting.html
http://www.workingwith.me.uk/articles/s ... od_rewrite
Search found 25 matches
- Sat Dec 08, 2007 3:59 pm
- Forum: Installation and Configuration
- Topic: I think this is related to URL-Rewriting but not sure
- Replies: 3
- Views: 1430
- Fri Dec 07, 2007 4:33 pm
- Forum: PHP - Code
- Topic: a way to tell if...is a number?
- Replies: 12
- Views: 1836
- Fri Dec 07, 2007 11:46 am
- Forum: PHP - Code
- Topic: a way to tell if...is a number?
- Replies: 12
- Views: 1836
- Fri Dec 07, 2007 11:36 am
- Forum: PHP - Code
- Topic: a way to tell if...is a number?
- Replies: 12
- Views: 1836
So what would be best? This method:
, this method ctype_digit
or this method:
(Note the last method just occurred to me as I read through ya'lls posts)
Code: Select all
if ((int)$input !== 0) {
// good
}or this method:
Code: Select all
if ( $user_ID >= 1 ) {
//Code to be done...
};- Thu Dec 06, 2007 12:15 pm
- Forum: PHP - Code
- Topic: a way to tell if...is a number?
- Replies: 12
- Views: 1836
a way to tell if...is a number?
Is there a way to tell if the value of a variable or what have you, is any number? here's a little more info to give you a better idea what I need. I have a form that returns a number that coincides with a user id, and I want a way to make sure that the value is a number as an extra security measure...
- Tue Oct 30, 2007 10:19 am
- Forum: PHP - Code
- Topic: if statements
- Replies: 1
- Views: 1009
if statements
Hopefully this is a quick question with a quick answer. Here's an example to go with my question which will be after the example. <?php include('wp-config.php'); //this were the database connection info is as well as were it connects from. $o_theuser = $_POST['theuser']; $o_profile = $_POST['profile...
- Mon Oct 29, 2007 7:16 pm
- Forum: PHP - Code
- Topic: if statements...
- Replies: 0
- Views: 144
if statements...
I got what I hope to be a quick question with a quick answer. Here's the example I'm going to reference for my question. <?php include('wp-config.php'); //this is were the database connection info is as well as were it connects $o_theuser = $_POST['theuser']; $o_profile = $_POST['profile']; $update_...
- Mon Oct 29, 2007 4:59 pm
- Forum: PHP - Code
- Topic: if statements...
- Replies: 0
- Views: 172
if statements...
Quick question, and here's the example that goes with my question. <?php include('wp-config.php');//has database connection info in it, and connects to the database. $o_theuser = $_POST['theuser']; $o_profile = $_POST['profile']; $update_profile = mysql_query("UPDATE user_allow SET share_info='...
- Sat Sep 29, 2007 7:44 am
- Forum: Databases
- Topic: can't login...to mysql
- Replies: 1
- Views: 349
- Fri Sep 28, 2007 9:40 pm
- Forum: Databases
- Topic: can't login...to mysql
- Replies: 1
- Views: 349
can't login...to mysql
OK so, I have Mysql community version installed on my computer (windows vista) and I can't login, and i don't know if it's that I'm not entering the password right (and I'm 99% sure I am) or if it's something else. Here's the error I get. http://www.mediamax.com/bonnerl16/Hosted/mysql.jpg And it's t...
- Sun Sep 16, 2007 2:07 pm
- Forum: PHP - Code
- Topic: while and if statements
- Replies: 14
- Views: 1840
- Sun Sep 16, 2007 1:55 pm
- Forum: PHP - Code
- Topic: while and if statements
- Replies: 14
- Views: 1840
//will this row display 1 $first_namef = mysql_fetch_array($first_nameq); echo $first_namef['user_id']; //and this one 2 $first_namef = mysql_fetch_array($first_nameq); echo $first_namef['user_id']; //and this one 3 $first_namef = mysql_fetch_array($first_nameq); echo $first_namef['user_id']; //and...
- Sun Sep 16, 2007 1:21 pm
- Forum: PHP - Code
- Topic: while and if statements
- Replies: 14
- Views: 1840
- Sun Sep 16, 2007 11:46 am
- Forum: PHP - Code
- Topic: while and if statements
- Replies: 14
- Views: 1840
- Sun Sep 16, 2007 11:10 am
- Forum: PHP - Code
- Topic: while and if statements
- Replies: 14
- Views: 1840