Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Senior Coder
    Join Date
    Aug 2009
    Location
    Mansfield, Nottinghamshire, UK
    Posts
    1,547
    Thanks
    57
    Thanked 148 Times in 147 Posts

    dont what.. might be charset

    Hi, just had a browse through my site and realised IE 6 and 7 do not output correct data from my "custom hosting package" form.

    http://hosting.actwebdesigns.co.uk

    Im getting squares with circles inside. (never seen this before)

    This be the jQuery side:

    Code:
    // JavaScript Document
    jQuery(document).ready(hostCalc);
    function hostCalc() {
        $("select").change(function () {
            var diskSpace = $("#diskSpace :selected").text();
            var bandwidth = $("#bandwidth :selected").text();
            var subDomains = $("#subDomains :selected").text();
            var additionalFTP = $("#additionalFTP :selected").text();
            var mysqlDatabases = $("#mysqlDatabases :selected").text();
            var emailForwarding = $("#emailForwarding :selected").text();
            var AutoResponders = $("#autoResponders :selected").text();
            var emailDistributionLists = $("#emailDistributionLists :selected").text();
            var mailBoxes = $("#mailBoxes :selected").text();
            var operatingSystem = $("#operatingSystem :selected").text();
            var oneClick = $("#oneClick :selected").text();
    
            $.ajax({
                type: "GET",
                data: 'diskSpace=' + diskSpace + '&bandwidth=' + bandwidth + '&subDomains=' + subDomains + '&additionalFTP=' + additionalFTP + '&mysqlDatabases=' + mysqlDatabases + '&emailForwarding=' + emailForwarding + '&AutoResponders=' + AutoResponders + '&emailDistributionLists=' + emailDistributionLists + '&mailBoxes=' + mailBoxes + '&operatingSystem=' + operatingSystem + '&oneClick=' + oneClick,
                url: 'hostCalc.php',
                cache: false,
                timeout: 7000,
                error: function () {
                    $("#cost").html("error");
                },
                success: function (html) {
                    $("#cost").html(html);
                }
            });
        });
    }
    Website Design Mansfield
    PHP Code:
    function I_LOVE(){function b(&$b='P'){$b.='P';}function a($_){return $_++;}$b='P';define("B",'H');b($b=implode('',array($b=a($b),$b=a(B))));b($b);return $b;}
    echo 
    I_LOVE(); 

  • #2
    Regular Coder seco's Avatar
    Join Date
    Nov 2008
    Location
    Oregon
    Posts
    687
    Thanks
    6
    Thanked 79 Times in 77 Posts
    sounds like charset, do they show where a space might be?

  • #3
    Senior Coder
    Join Date
    Aug 2009
    Location
    Mansfield, Nottinghamshire, UK
    Posts
    1,547
    Thanks
    57
    Thanked 148 Times in 147 Posts
    no, no white space. cant understand it due to if the PHP side is working in one browser it should work in another yes? So that leaves the jQuery, but i cant see any problem..
    Website Design Mansfield
    PHP Code:
    function I_LOVE(){function b(&$b='P'){$b.='P';}function a($_){return $_++;}$b='P';define("B",'H');b($b=implode('',array($b=a($b),$b=a(B))));b($b);return $b;}
    echo 
    I_LOVE(); 

  • #4
    Regular Coder seco's Avatar
    Join Date
    Nov 2008
    Location
    Oregon
    Posts
    687
    Thanks
    6
    Thanked 79 Times in 77 Posts
    i did a mysql insert from a file yesterday, it had some spaces in a couple of the rows, when the query finished those spaces ended up at the square with the circles in it "in phpmyadmin - browse". im not really sure what it is. was in FF latest.

    
    Last edited by seco; 09-22-2009 at 09:57 AM.

  • #5
    Regular Coder seco's Avatar
    Join Date
    Nov 2008
    Location
    Oregon
    Posts
    687
    Thanks
    6
    Thanked 79 Times in 77 Posts
    you talkin about these


  • #6
    Senior Coder
    Join Date
    Aug 2009
    Location
    Mansfield, Nottinghamshire, UK
    Posts
    1,547
    Thanks
    57
    Thanked 148 Times in 147 Posts
    no this:

    instead of this:
    Website Design Mansfield
    PHP Code:
    function I_LOVE(){function b(&$b='P'){$b.='P';}function a($_){return $_++;}$b='P';define("B",'H');b($b=implode('',array($b=a($b),$b=a(B))));b($b);return $b;}
    echo 
    I_LOVE(); 


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •