Jump to content

peranha

Members
  • Posts

    878
  • Joined

  • Last visited

Everything posted by peranha

  1. Install the DynDNS software on your computer, and it will automatically update on the website. You will also have to open up port 80 on your router if you are using one, to allow access into your network.
  2. I hope that T.V. supports cable or Dish, because in 2009 When everything is Digital HD, That T.V. Will be junk. There is a converter coming out for old TVs when the cut over is coming.
  3. $id = $_GET['pokemon_id'] SELECT * FROM table WHERE pokemon_id = $id. This is an example,
  4. I am connecting to the database, That is all working, I can upload and download files, but when I download, it adds the header.php page to the top of the item that I downloaded. If I download a txt file that is. If I download a EXE, it makes it unusable.
  5. Yes that worked. a:link, a:visited, a:hover { color: RED; text-decoration: none; } body { background: #619CDE; font-size: 15px; background: url(../pics/background.JPG); } table { background: lightblue; border-collapse: separate; empty-cells: show } .yellow { color: YELLOW; font-size: 12px; } .red { color: RED; font-size: 12px; } H1 { color: #090363; font-size: 12px; } #head { background: #C0C0C0; height: 90px; width: 100%; background: url(../pics/backhead.JPG); } Thanks for the help
  6. Tried repeat-x, and still the same thing.
  7. It will help with SQL injection. the striptags will take out all tags as far as links in database, font tags, etc.
  8. $heading = mysql_real_escape_string(strip_tags($_REQUEST['heading'])); This is what I use for added security, Sorry, I overread the Request part. All your variables have to be set if you are going to put them in the database.
  9. Where are you doing something like this $date = date("Y-m-d"); for all the fields that are filled in. They all have to be like this $heading = $_POST(heading); and so on
  10. Where are you assigning the heading, body, date, author_name, author_email, and link to the variables in the form, or is it up farther with the databse. Are you getting any errors on screen or in you log file?
  11. I am using css to control the look of my website here is the code. a:link, a:visited, a:hover { color: RED; text-decoration: none; } body { background: #619CDE; } table { background: lightblue; border-collapse: separate; empty-cells: show } .yellow { color: YELLOW; font-size: 12px; } .red { color: RED; font-size: 12px; } H1 { color: #090363; font-size: 12px; } #head { background: #C0C0C0; height: 115px; background: url(../pics/backhead.JPG); } When I load the page, the backhead.jpg file does not go across the whole screen. Attached is a screen shot of what I am talking about. I would like the gray and the blue bars to go across the screen. [attachment deleted by admin]
  12. I second that, going between many different forums for different items get confusing at times. This one is the best that I have seen so far. Flash/Action script would be a great addition.
  13. echo $artist_id.'<br />';returns chosen id - works Should this be echo $artist_id.'<br />';//returns chosen id - works
  14. How do I forward users to a page after 5 seconds instead of immediately. Here is my code as of now. <?PHP header("Location: home.php"); ?> what do I add to this?
  15. The easiest way to stop people from accessing folders directly is by adding a index.php page, redirecting them to the root folder. You can also create .htaccess files which is more secure.
  16. Use Pagination http://www.phpfreaks.com/tutorials/43/0.php here is a tutorial
  17. Process.php should be this <?php $mytext = $_POST['mytext']; echo "You typed: $mytext"; ?>
×
×
  • 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.