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 Mike Lewis 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: *

  1. andybid

    Need help to see if a server is alive and display image if not!

    DOH!!! Yes, sorry, didn't realise it wasn't Stupid stupid me. Thanks
  2. andybid

    Need help with java field validation

    thank you for taking the time to explain that. I really must pit down and learn php properly.
  3. andybid

    Need help with java field validation

    thanks. I'll give that a go when get back home. On mobile phone at present. How do i get it to reject numbers. Thanks
  4. andybid

    Need help to see if a server is alive and display image if not!

    and the same here : http://fast-host.co.cc/ping.php
  5. andybid

    Need help to see if a server is alive and display image if not!

    $execres=exec("ping addresstopc.com",$output,$result); if($result==0){ if(isset($output[9])){ $values=explode(",",$output[9]); $Lost=explode("=",$values[2]); if($Lost[1]==0){ echo '<img src="http://madandi.gotdns.com/0lx.net/fast-host.co.cc/htdocs/live/image.php?id=03">'; }...
  6. andybid

    Need help to see if a server is alive and display image if not!

    The problem I got is this : <code> <img src="http://madandi.gotdns.com/0lx.net/fast-host.co.cc/htdocs/live/image.php?id=03" </code> That is what displays the image. Image.php contains code to see if the server alive or not. This file is on my PC and not the webserver. If I put it on the web...
  7. andybid

    Need help to see if a server is alive and display image if not!

    Hi I am hosting livezilla on my site, it is on a free account but have got it to work by hosting the server on my home pc, with a web address. The problem I have is that the php decides if you online or not, if not an offline image is displayed. The problem I have is that if my pc is off, the...
  8. andybid

    Need help with java field validation

    THANKS EVERYONE I have been over it and found lots of little things like those above. It now works The problem I now have is that the name field does not allow spaces, it thinks a space is an illegal character - how do I fix this? Yes it is prescript.php. As for DPA, No info is stored in...
  9. andybid

    Need help with java field validation

    Hi, I made a form for a client and am having trouble an d can't work out why. I need to check fields before submitting to save hassle It is missing the validation routine completely. The page is at bastions.fast-host.co.cc, have a look at the source and see if you can work it out. Php...
  10. andybid

    joining fields into a variable

    Top - Cheers dan . Simple answers. love em. I'l;l get the hang of this by the end !!
  11. andybid

    joining fields into a variable

    hi again i am trying to create a date of birth from day,month,year variables. I cant get it working <head> <script type="text/javascript"> function dobone() { var day = document.getElementById('day').value ; var mth = document.getElementById('month').value; var year =...
  12. andybid

    need to validate a form and then insert into db if ok. stuck again!

    as simple as that.. my function now has in, and ends like this. ................... else if (eillegalChars.test(email)) { alert ("The email address contains illegal characters.") return false; } else if (email.search(emailRegEx) == -1) { alert("Please enter a valid email...
  13. andybid

    need to validate a form and then insert into db if ok. stuck again!

    yep, Think I get your point about posting to a diffent page with ajax to do the work. I have, since posting this, intergrated the inserting into db into the same page using submit. The bit that was getting me was how to stop it doing it if wrrong input. so the onClick function will run before...
  14. andybid

    need to validate a form and then insert into db if ok. stuck again!

    hi Ok, I have aform with userrname, password, password repeat and email fields. I need to check the inputs client side just to make sure they are done right. I have onChange utilized for this but my problem is that the form can still be sent if the user clicks the button. If the user fills...
  15. andybid

    Javascript total onChange fields by calling function

    yep sort of, I was looking inton having an image float accross the page from bottom left to bottom right say and then stay there when scrolled. See, this is what you get when using wysiwyg for years. Come to do it yourself and there is just so much more to it - but it is fun nevertheless!
  16. andybid

    opening a new page in same window

    HI Trouble I got now is I cant get this to open in the same window window.open("http://google.com" + queryString,'' ,target="_self"); how does one get ones script to do ones bidding :) TA Andy
  17. andybid

    Javascript total onChange fields by calling function

    Thanks Dan for your help. Ill have a play with that one when I get time. Do you know where I can find a tutorial or code to 'float' images on a page? You know like the "live chat' you get on a few sites now where the image seems to float on the page. Thats my next bit to learn ta
  18. andybid

    Javascript total onChange fields by calling function

    done, used a div that dynamiclly updates. thatll do :)
  19. andybid

    Javascript total onChange fields by calling function

    ah - use an iframe
  20. andybid

    Javascript total onChange fields by calling function

    Yep, thats it. I added the functions to the index and it worked. (only added for first row if any1 goes there) Why does it not import the functions when including? would you be kind enough to explain as I dont understand. It seems basic that it SHOULD. but it doesnt. So the way you're...

Part and Inventory Search

Back
Top