Jump to content

CammyD

Members
  • Posts

    22
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

CammyD's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Users can view it ok. Via a domain name i bought using my WAN IP.
  2. My name is cameron. My nickname is Cammy. My middle name is Douglas. Nick + M = CammyD
  3. Hey guys! I need some help with my Belkin F5D8631-4 router. Is there anyway i can disable the config page when i type in my WAN IP (as i am running a server). Whenever someone on my network connects, it gives them the config page. When people off my network connect, they get my server. Is there any way i can make it so i can only config the router is via 192.168.2.1
  4. I am running a WAMP (Windows Apache Mysql and PHP) server at 86.165.89.236 and i don't know how to make it show up on google. Any ideas how i can do this? I am running it on my home pc.
  5. I am STILL working on my members area thing and i need some more help! How do make php insert a new user if they don't already exist? So if user CammyD already exists, it would give you and error. Here is my table build up Table 'users': id - AUTO userlevel - always 1 username - $username password - $password email - $email
  6. Hey all. It is me again, coming to you guys for help. I am, as i said before, making a members online side of a website. I am trying to get the logout working, and i need some help. There is a link i made, with the action session_destroy(); But to log out, i have to press it twice. Any ideas how i can fix this?
  7. Thanks. The problem was that i had the code messed up. The if bit was in the middle of the mysql query. I am a dumbass
  8. Hey guys. Once again i need your help with a project. I am trying to create a little site for my mountain biking club. I have got most of the code sussed out, but there is a problem with my members script. On the main page i want it to say "You have not payed this month" if you user level is 1. I am using this code for it: foreach ($data as $words) { print ""; print $words; print '</a>, '; echo $words; $data = mysql_query("SELECT * FROM users WHERE username='$keyword'") or die(mysql_error()); if ( $data = "one" ) { echo "You have not payed this month"; } An whenever i load up the page, i get this error: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\wamp\www\Projects\admin\index.php on line 62
  9. As a php n00b, this is a little helpful. The reason: Every time i am using the echo"" for form codes, i always leave in atleast one ". It gets annoying, and for some reason, the / thing doesn't work, or i am doing it wrong when i try. So thanks, and it is of use to some of us!
  10. OK guys. I need some help with the protecting of the site. Please help!
  11. Done and Done. Ready for testing. I had a code that is meant to redirect back to main part, but it didn't work.
  12. I am trying to fix that right now
  13. The ' just deletes the contents of the mysql field. Nothing harmful
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.