Search:

Type: Posts; User: marain; Keyword(s):

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    325

    Resolved Nelly came home. I did not even have to try the...

    Nelly came home. I did not even have to try the Ctrl + F5. She just returned this morning as mysteriously as she previously disappeared.

    I'm afraid this will have to remain one of the mysteries...
  2. Replies
    2
    Views
    325

    Resolved Where's My Horse?

    I use CSS to put fixed images onto many pages of www.MarainLaw.com. For example, for https://www.marainlaw.com/page.php?here=appeals, this code puts an image onto the upper left corner of the page,...
  3. Replies
    1
    Views
    3,787

    DOS Copy Command

    Wanted to copy, changing extension, on all .js files in a folder.
    copy *.js *.js1 does not work. (It's been a while.) Any old timers here (or youngsters too) with the answer?

    Note: rename...
  4. Replies
    0
    Views
    5,120

    Google’s Page Experience Factor

    My sites are as indicated below. I invite quotes for preparing some (not all) of these sites for Google’s Page Experience Factor, as more particularly described at...
  5. Thread: Explode Problem

    by marain
    Replies
    2
    Views
    1,381

    Resolved James, Your explanation comports completely...

    James,

    Your explanation comports completely with my understanding. The final set, however, seemed to have been acting as if there were an additional separator. I developed a workaround to that,...
  6. Replies
    23
    Views
    15,080

    That's a good one, but it does not make the cut...

    That's a good one, but it does not make the cut for me.
  7. Thread: Explode Problem

    by marain
    Replies
    2
    Views
    1,381

    Resolved Explode Problem

    $bigData: 210210083045*68.197.65.57*10*2****210210083303*107.77.225.115*9*1****

    The code:
    $lineItem = explode ("*", $bigData); // create array
    foreach ($lineItem as $item) {
    echo...
  8. Replies
    1
    Views
    915

    Resolved Resolution was to eliminate the line breaks...

    Resolution was to eliminate the line breaks inserted in the script that created the file. I have no opinion as to whether the line breaks "should" have caused what I discerned originally to be a...
  9. Replies
    1
    Views
    915

    Resolved str_replace puzzle #2

    <?php
    $lastUpdate = date( 'j F Y', filemtime( 'pageContent/reviewActivity.txt' ) );

    $months = array (
    "January",
    "February",
    "March",
    "April",
    "May",
    "June",
  10. Replies
    2
    Views
    1,129

    Resolved James, You hit the nail on its proverbial...

    James,

    You hit the nail on its proverbial head. Thank you!

    Given your observation, I can now fix it easily. [URL]https://www.marainlaw.com/page.php?here=reviewActivity] shows the contents of...
  11. Replies
    2
    Views
    1,129

    Resolved str_replace puzzle

    <?php
    $lastUpdate = date( 'j F Y', filemtime( 'pageContent/reviewActivity.txt' ) );
    $bigCount = 0;
    echo "<br /><br />";

    $bigData = file_get_contents ("bigCollection");
    echo $bigData;
    echo...
  12. Thread: Rounding

    by marain
    Replies
    4
    Views
    1,276

    Resolved James, You have shown me the error of my ways....

    James,

    You have shown me the error of my ways. Thank you!

    The code is used for messages to visitors to my "poker" page who are asking for more poker "hands" than their limit. It is a...
  13. Thread: Rounding

    by marain
    Replies
    4
    Views
    1,276

    Resolved James, First of all, thank you! I'll be...

    James,

    First of all, thank you!

    I'll be happy to try it, unfortunately, it may be a few days before I am able to find the time to do so.

    In comparing your statement against mine, the only...
  14. Thread: Rounding

    by marain
    Replies
    4
    Views
    1,276

    Resolved Rounding

    Folks,

    When $_SESSION['sessionCounter'] is 9 and $_SESSION['limit'] is 8, I think that the PHP_ROUND_HALF_EVEN in


    $percentage = (round(((($_SESSION['sessionCounter'] / $_SESSION['limit'])...
  15. Replies
    23
    Views
    15,080

    Duplicate post? I don't see the original: ...

    Duplicate post? I don't see the original:

    Coothead,

    I appear to have violated a rule. I forgot. Thank you for the alert.

    Can you delete it? Am I able to delete it myself?

    A.
  16. Replies
    4
    Views
    3,417

    Sort Programs Under Windows 10

    Folks,

    I'm wondering where there exist software that can sort records in a file. It would run under Windows 10. And if there were some way I could upload it to a server and make it run there,...
  17. Replies
    23
    Views
    15,080

    [Response deleted by marain]

    [Response deleted by marain]
  18. Replies
    1
    Views
    678

    Resolved Problem solved: Found solution at...

    Problem solved: Found solution at https://www.wikihow.com/Insert-Symbols-in-Emails .
  19. Replies
    1
    Views
    678

    Resolved Mailing Special Characters

    Folks,

    Can someone please indicate how I can mail special characters that appear for the recipient as special characters? For example, &pi; appears as the pi character in html. Great. But when...
  20. Thread: Parse Error

    by marain
    Replies
    18
    Views
    4,120

    Resolved Trust me: That will not happen very often ;-)

    Trust me: That will not happen very often ;-)
  21. Thread: Parse Error

    by marain
    Replies
    18
    Views
    4,120

    Resolved Solved! Here is the winning code: echo "

    Solved! Here is the winning code:


    echo "<br /><br />Your final quota of hands for this session was {$numbers[$_SESSION['limit']]}. This would have been hand number...
  22. Thread: Parse Error

    by marain
    Replies
    18
    Views
    4,120

    Resolved OK. Thanks for your patience. A.

    OK. Thanks for your patience.

    A.
  23. Thread: Parse Error

    by marain
    Replies
    18
    Views
    4,120

    Resolved Are you sure? What about [CODE]const AGE =...

    Are you sure? What about

    [CODE]const AGE = 25;
    console.log(`I'm ${AGE} years old!`);[\CODE] ?

    See https://www.w3docs.com/snippets/javascript/how-to-do-string-interpolation-in-javascript.html...
  24. Thread: Parse Error

    by marain
    Replies
    18
    Views
    4,120

    Resolved Coothead, I'll try the resource you suggested....

    Coothead,

    I'll try the resource you suggested.

    A.
  25. Thread: Parse Error

    by marain
    Replies
    18
    Views
    4,120

    Resolved Modified the statement. Still it fails the...

    Modified the statement. Still it fails the syntax check, but I believe I'm making progress.

    The modification was to put the interpolated variables into braces ( { and } ). The statement now...
Results 1 to 25 of 315
Page 1 of 13 1 2 3 4