Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: coolicus
  • Order by date
  1. coolicus

    automatically toggle visability of layers

    At the moment I have a layer than scrools top to bottom and back again if the content within it exceeds the page, however this is proving to be a unusable. So I thought about rotating between layers automatically, display layer 1 for 10 secs then layer 2 for 10 secs, back to layer 1 etc. Using...
  2. coolicus

    refromat date from yyyymmdd to dd/mm/yyyy

    aha, I didn`t know there was a mid hehe. I used left and right but couldn`t get the month out on it's own! thanks chopstik I have given you a star and have bookmarked this page for future reference.
  3. coolicus

    change script from window scroll to layer scroll

    sorry for being a muppet here but how do I do that?
  4. coolicus

    refromat date from yyyymmdd to dd/mm/yyyy

    A database holds the date as a varchar in the format yyyymmdd so today is held as 20080320 Is it possible to output this on my page as 20/03/2008 At present I just call it using rs("deadlinedate") which outputs 20080320. I tried to use right and left thanks for any help you can give
  5. coolicus

    change script from window scroll to layer scroll

    I found this script on a javascript site that automatically scrolls the window up and down, is it possible to make tchange this to make a layer scroll up and down instead of the whle window?? <script type="text/javascript"> function page_size() { var y, h; if(window.innerHeight &&...
  6. coolicus

    copy input from a text field into another text field

    Is it possible to copy input from a text field into another text field, but minus the space? So if someone types into text1 tek tips is great into text2 goes tektipsisgreat The field can either be populated when the user clicks away from text1 or as each key is presed, which is easier...
  7. coolicus

    if statement inside an echo?

    that worked great thanks
  8. coolicus

    if statement inside an echo?

    In my edit page of my cms I am writing the form and populating it if there is content existing, but how do I check if the checkbox has a value of 1, if so then echo 'checked'? Here is what I am doing $query1=" SELECT * FROM properties where id = '{$_GET['id']}' "...
  9. coolicus

    session logon

    I have really enjoyed doing this despite constantly being baffled by it. I may take you up on that offer jpadie just as soon as I have fully digested what is going on in this script and read a few more tutorials (and w3schools). I am definately going to have a go at setting up a website of my own.
  10. coolicus

    session logon

    yay that works thanks. If you are ever in Derbyshire I'll get you a drink or 10 :o)
  11. coolicus

    session logon

    I changed the line but it is still doing it
  12. coolicus

    session logon

    I have looked at this a million times and can`t find the fault!
  13. coolicus

    session logon

    sure <?php require_once 'login.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Edit</title> <meta http-equiv="Content-Type"...
  14. coolicus

    session logon

    Thanks for helping me with this, especially on the weekend :) It seems it is being saved to the /tmp directory, I looked on ftp and couldn`t find any folders with that name, so created one but still no luck. session Session Support enabled Registered save handlers files user Directive Local...
  15. coolicus

    session logon

    Yes I changed it to 600 however if I click a link, type in password, then click another link straight away I need to type password, click another link, type password etc The edit.php?id=2 just does not work, after logging in it sends me to edit.asp
  16. coolicus

    session logon

    I can`t get the code to work, it keeps logging out after every page, and a page such as edit.php?id=2 will not display as it goes to login then to edit.php each time :o(
  17. coolicus

    session logon

    Thank you for the comprehensive reply jpadie, I will definately digest each area of the code to work out what does what, especially the nonces part which I had never heard of before. I am enjoying this project that was thrust upon me, I might even try to build a website of my own after this :)
  18. coolicus

    session logon

    I am trying to create a simple text field login but am struggling <?php session_start(); if($_POST){ $_SESSION['username']=$_POST["loginpass"]; } if(!$_SESSION['username'] == "password"){ echo "You are not authenticated. Please login.<br><br> <form action='index.php' method='post'>...
  19. coolicus

    Confirm box before redirect

    I would use a confirmation screen as the javascript alert won`t work if they have javascript turned off.
  20. coolicus

    how to get data from a webpage in ASP

    I had this problem with our website, the hosting company wouldn`t release the database when we wanted to move hosts however I managed to write a script that queried the database (I had passwords for the DB access) and outputted each row etc to a csv which I then used to create a new database.

Part and Inventory Search

Back
Top