Search:

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

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    3,371

    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...
  2. Replies
    0
    Views
    4,339

    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...
  3. Thread: Explode Problem

    by marain
    Replies
    2
    Views
    1,294

    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,...
  4. Replies
    23
    Views
    12,916

    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.
  5. Thread: Explode Problem

    by marain
    Replies
    2
    Views
    1,294

    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...
  6. Replies
    1
    Views
    875

    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...
  7. Replies
    1
    Views
    875

    Resolved str_replace puzzle #2

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

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

    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...
  9. Replies
    2
    Views
    1,082

    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...
  10. Thread: Rounding

    by marain
    Replies
    4
    Views
    1,167

    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...
  11. Thread: Rounding

    by marain
    Replies
    4
    Views
    1,167

    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...
  12. Thread: Rounding

    by marain
    Replies
    4
    Views
    1,167

    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'])...
  13. Replies
    23
    Views
    12,916

    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.
  14. Replies
    2
    Views
    2,782

    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,...
  15. Replies
    23
    Views
    12,916

    [Response deleted by marain]

    [Response deleted by marain]
  16. Replies
    1
    Views
    607

    Resolved Problem solved: Found solution at...

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

    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...
  18. Thread: Parse Error

    by marain
    Replies
    18
    Views
    3,804

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

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

    by marain
    Replies
    18
    Views
    3,804

    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...
  20. Thread: Parse Error

    by marain
    Replies
    18
    Views
    3,804

    Resolved OK. Thanks for your patience. A.

    OK. Thanks for your patience.

    A.
  21. Thread: Parse Error

    by marain
    Replies
    18
    Views
    3,804

    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...
  22. Thread: Parse Error

    by marain
    Replies
    18
    Views
    3,804

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

    Coothead,

    I'll try the resource you suggested.

    A.
  23. Thread: Parse Error

    by marain
    Replies
    18
    Views
    3,804

    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...
  24. Thread: Parse Error

    by marain
    Replies
    18
    Views
    3,804

    Resolved Many thanks, Coothead. I'll linger here for a...

    Many thanks, Coothead.

    I'll linger here for a while..we've given it now well less than half a day!
  25. Thread: Parse Error

    by marain
    Replies
    18
    Views
    3,804

    Resolved Coothead, You get an "A" for effort! ...

    Coothead,

    You get an "A" for effort!

    Perhaps someone here who is an expert can educate both of us ;-)

    A.
Results 1 to 25 of 313
Page 1 of 13 1 2 3 4