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...
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...
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...
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
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...
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...
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...
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...
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...
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.
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 =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.