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 strongm 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. DaveyRichards

    Using JavaScript to access Remote Application

    It is basically a voting application whereby users to my site will submit a response to a question. It is only a small application, before voting the user is presented with the question and a list of responses and after voting the current results are displayed instead. What I basically want to...
  2. DaveyRichards

    Using JavaScript to access Remote Application

    Hey all! I have developed an application on my website that I would like other users to have access to and be able to manage and manipulate for use on their own websites through a control panel on my website. I have been told that this is possible using JavaScript, by generating code...
  3. DaveyRichards

    Setting Cookie

    Hey all. Am having a problem with my cookie. I have a drop down menu whereby on submission the selected value is stored within a cookie. My problem is that I am trying to display the value of this cookie on the page that has been submitted to, but it seems the cookie is not being set until...
  4. DaveyRichards

    Last Week from Mktime

    Hey all I am trying to get last week's date based on an Mktime value retrieved from a database. How do I recompile the numbers to display last week's date in "26th February" format? Thanks
  5. DaveyRichards

    Dynamic Dropdowns

    Hey guys. I am having a problem with my drop down menus. What I am trying to do is have two separate drop down menus and when a specific option in the first one is selected, the second one will become visible. At the moment I have the following on the "onchange" event for my first dropdown...
  6. DaveyRichards

    Page Headers

    I am also assessing external links which is where I am getting most problems. The links are not all that simple either most of which include parameters on the URL. I am getting different responses from different pages, some of which are fine (200 OK, 302 Found) but my most common problem are...
  7. DaveyRichards

    Page Headers

    Hey all. Am having a problem with getting the status code within my web page headers to display properly. While checking for broken links I am being returned plenty of "bad requests" for pages that are clearly still valid. Is this some sort of cookie/session issue maybe? Am not really up on...
  8. DaveyRichards

    Broken Link Check

    I am managing to display the headers for a specific webpage but when I try looping through pages to display their headers I get: SSL operation failed with code 1. OpenSSL Error messages: error:0306B067:bignum routines:BN_div:div by zero PHP Warning: get_headers(): Failed to enable crypto...
  9. DaveyRichards

    Broken Link Check

    Hmmmm still having problems. Is there not some way that I can return a header and if the page does not exist I receive a 404 type header?
  10. DaveyRichards

    Broken Link Check

    Hmmmm ok. At the moment I have a line of code like this: $sock = fsockopen("www.site.co.uk", 80, $errno, $errstr, 30); when calling !$sock I only avoid an error when the URL doesn't point at a specific page. i.e. www.site.co.uk is fine but www.site.co.uk/index.html returns an error, even if it...
  11. DaveyRichards

    Broken Link Check

    needs to be installed that does it not? what if installing a new library wasn't an option?
  12. DaveyRichards

    Broken Link Check

    Hey all! I was wondering how to get my PHP code to check for broken links when fed a URL. I can get my code to spider my website for links but am unsure how to separate the broken links from the long list of links that I am currently extracting. Thanks for any help.
  13. DaveyRichards

    Adding values within an array

    thanks for your help guys :) much appreciated. Will give the code a go tomorrow. Thanks again
  14. DaveyRichards

    Adding values within an array

    Hey all! was wondering if you could help me with my problem. I have the following code: Function within a class file: public static function getSomething($database){ $query = "SELECT important FROM tblPurchases WHERE purchase = 3 AND buyer = 5"; $result =...

Part and Inventory Search

Back
Top