Jump to content

Birdmansplace

Members
  • Posts

    170
  • Joined

  • Last visited

Everything posted by Birdmansplace

  1. I am lookin for ideas for color. every thing i try just doesn't look right to me. I guess i am trying to go for a dark theme. Thought about doing a color theme like my forum but then i would like to keep each area of the site a different theme. I bet that makes no sence to do that but i am limited on what i do know and how to do it. Any and all ideas are welcome. Birdman (my nickname): beats head on wall repeatedly
  2. Thanks for the input. No hard feeling from me anyways. Maybe i should just give up while I still don't have anymore members.
  3. Well i have found that 800x600 rez that nothing loads right. and theres an issue in IE with links page. everything displays correct in 1027x768
  4. well i viewed site in IE and everything si displaying like it should. but if you click the links nav button in ie the page doesn't load right at all unless you refresh it. Any ideas?
  5. The rules i wanted to the left. make it more like a list. Main part of the site is the forum and stats. As far as the rest goes its just easy nav. I want layed back and basic for some of the pages do users are sign up to get any more info. I guess i didn't know validate was a big deal a basic site but i guess so. I do like the feed back. its takin be many hours and months to get this far. Edit:Used another computer on my network to view my site and i see what you mean. for some reason probably what you stated is causing everything to be to the left. both my computers display it normal. not sure. whats going on
  6. Well i have gone through my site and made alot of changes. http://birdmansplace.myftp.org
  7. I am not to bothered by what uses what as long as the computer can handle it. I am still in the "start up" of my site anyways. I only have 3 members including me and they haven't been back in a few months. But for those who want to at least check out go to http://birdmansplace.myftp.org On a side note i could use some smart phper's with my site. I am on the look for members to add to my staff.
  8. well its for my game server and entering a http://whereever.whatever wount connect you to it. so the only way is by ip so to make it easyer for them to just give them the ip address. And i figured out the php script to do so <?php $ip = gethostbyname ('yourwebsitehere'); echo $ip; ?>
  9. maybe i will just have to figure out how to do script a nslookup and just have my site preloaded and all they have to do it submit and presto
  10. i think hes after have you get 3 options. if you check option 1, 2, or 3 that each takes you to a different url whe you submit. op 1 take you to url 1 and 2 takes you to 2 and so on
  11. been there done that. being that the webserver is localhost an another computer on my net i have only been able to get the ip of the computer viewing it or computer host name. I am after the host ip. My isp is dhcp so my ip changes some times daily and i would like to have something that checks and echos my ip or something like that. I want users to see my ip from any where in the world.
  12. I am been spending hours trying to figure this out. I want to so my ip addy on my web site. Meaning when "user" goes to my site i want to show them my ip not theres. Like nslookup.
  13. I am have in troble finding or even understanding how to sent the textarea to sql. i have form already and just sure what is needed to send to mysql
  14. I got help tonight with a form that i wanted for my donate page on my site. webmaster1 helped me for about 5 hours. Thanks to his help i got want i wanted. I sorry i could donate some cash to the site for the help i got but i did the next best thing and i am hosting the files created in that time for other users. here is the tread :http://www.phpfreaks.com/forums/index.php/topic,228830.0.html Thanks a million and i will be back again if i need it.
  15. Alright guys. Thanks alot. saved me hours and hours of personal head beatings. I will leave the test folder and this info here for others to see. And i will export the .sql file. check it out: form:http://birdmansplace.myftp.org/test/form.php output:http://birdmansplace.myftp.org/test/output.php Download: http://birdmansplace.myftp.org/test/form.zip
  16. mysql connection info is: dbinfo.php
  17. drop: i did the table name change and i get this Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\test\output1.php on line 21 also i would like the date to sort by news date on top oldest on bottum. i think that what i read, well understood form your code drop. Also your code drop is at http://birdmansplace.myftp.org/test/output1.php
  18. Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\test\output.php on line 21
  19. well that was an easy. form info is showing in db.
  20. MySQL returned an empty result set (i.e. zero rows). (Query took 0.0003 sec)
  21. how would i go about finding that out?
  22. form.php <?php if (isset($_POST['submit'])) { if (strlen($_POST['username']) > 0) {$username=TRUE;} else {$username=FALSE; $message_username="* You forgot to enter the username!";} if (strlen($_POST['amount']) > 0) {$amount=TRUE; if (is_numeric($_POST['amount'])) {$amountnumericcheck=TRUE;} else {$amountnumericcheck=FALSE; $message_amountnumericcheck=" *Please enter numeric values only!"; //echo "$message_amountnumericcheck"; } } else {$price=FALSE; $message_amount=" *You forgot to enter the amount!";} if ($username && $amount) { //YOU NEED TO HAVE AN EXTERNAL PHP FILE WITH YOUR DATABASE CONNECTION DETAILS. LET ME KNOW IF YOU DON'T KNOW HOW include("dbinfo.php"); mysql_connect(localhost,$username,$password); @mysql_select_db($database) or die( "Unable to establish a connection to the relevant database."); $username = mysql_real_escape_string($_POST['username']); $amount = mysql_real_escape_string($_POST['amount']); $ipaddress = getenv('REMOTE_ADDR'); $now_datetime = date('Y-m-d h:i:s'); $query = "INSERT INTO tablename VALUES ('','$username','$amount','$ipaddress',NOW())"; mysql_query($query); echo "Thank you $username !"; exit(); } } ?> <html> <body> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" enctype="multipart/form-data"> Username:<input type="text" name="username" id="username" value="<?php if (isset($_POST['username'])) echo $_POST['username']; ?>"/> <?php if ($message_username) echo ''.$message_username.''; ?> </br> Amount:<input type="text" name="amount" id="amount" value="<?php if (isset($_POST['amount'])) echo $_POST['amount']; ?>"/> <?php if ($message_amount) echo ''.$message_amount.''; ?> </br> <!---NO NEED FOR USER TO MANUALLY INPUT DATE FIELD, MYSQL WILL CAPTURE THIS FOR YOU AUTOMATICALLY-> <input type="submit" name="submit" id="submit" value="Submit Details"> <br><br> Form by staff and members of <a href="http://www.phpfreaks.com">phpfreaks</a> </form> </body> </html> <?php if (isset($_POST['submit'])) { if (strlen($_POST['username']) > 0) {$username=TRUE;} else {$username=FALSE; $message_username="* You forgot to enter the username!";} if (strlen($_POST['amount']) > 0) {$amount=TRUE; if (is_numeric($_POST['amount'])) {$amountnumericcheck=TRUE;} else {$amountnumericcheck=FALSE; $message_amountnumericcheck=" *Please enter numeric values only!"; //echo "$message_amountnumericcheck"; } } else {$price=FALSE; $message_amount=" *You forgot to enter the amount!";} if ($username && $amount) { //YOU NEED TO HAVE AN EXTERNAL PHP FILE WITH YOUR DATABASE CONNECTION DETAILS. LET ME KNOW IF YOU DON'T KNOW HOW include("dbinfo.php"); mysql_connect(localhost,$username,$password); @mysql_select_db($database) or die( "Unable to establish a connection to the relevant database."); $username = mysql_real_escape_string($_POST['username']); $amount = mysql_real_escape_string($_POST['amount']); $ipaddress = getenv('REMOTE_ADDR'); $now_datetime = date('Y-m-d h:i:s'); $query = "INSERT INTO tablename VALUES ('','$username','$amount','$ipaddress',NOW())"; mysql_query($query); echo "Thank you $username !"; exit(); } } ?> <html> <body> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" enctype="multipart/form-data"> Username:<input type="text" name="username" id="username" value="<?php if (isset($_POST['username'])) echo $_POST['username']; ?>"/> <?php if ($message_username) echo ''.$message_username.''; ?> </br> Amount:<input type="text" name="amount" id="amount" value="<?php if (isset($_POST['amount'])) echo $_POST['amount']; ?>"/> <?php if ($message_amount) echo ''.$message_amount.''; ?> </br> <!---NO NEED FOR USER TO MANUALLY INPUT DATE FIELD, MYSQL WILL CAPTURE THIS FOR YOU AUTOMATICALLY-> <input type="submit" name="submit" id="submit" value="Submit Details"> <br><br> Form by staff and members of <a href="http://www.phpfreaks.com">phpfreaks</a> </form> </body> </html> It works know!!!!!!!!!!!!!
×
×
  • 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.