5 Replies - 523 Views - Last Post: 08 May 2019 - 10:49 AM Rate Topic: -----

#1 astonecipher   User is offline

  • Senior Systems Engineer
  • member icon

Reputation: 2955
  • View blog
  • Posts: 11,472
  • Joined: 03-December 12

So a friend was helping someone fix some outsourced code...

Posted 08 May 2019 - 07:07 AM

And this is why I am not worried about my job being sent oversees!!!

Attached Image
Is This A Good Question/Topic? 2
  • +

Replies To: So a friend was helping someone fix some outsourced code...

#2 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 15300
  • View blog
  • Posts: 61,364
  • Joined: 12-June 08

Re: So a friend was helping someone fix some outsourced code...

Posted 08 May 2019 - 07:12 AM

I have to wish, in my heart of hearts, that some jackass web IDE made that.

Then again, if an outsource grunt wants to destroy their hands doing that then all for it.

Pivot, my html code now all will consist of php "echo" statements! Pfffsst this JS nonsense.
Was This Post Helpful? 0
  • +
  • -

#3 no2pencil   User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6821
  • View blog
  • Posts: 31,455
  • Joined: 10-May 07

Re: So a friend was helping someone fix some outsourced code...

Posted 08 May 2019 - 07:57 AM

sans php...

<?php echo "<html><head><title>Worst usage of PHP ever</title></head><body>"; ?>
<?php echo "<h2>The worst use of PHP!</h2>"; ?>
<?php echo "<p>This is the worst use of PHP ever!</p>"; ?>
<?php echo "</body></html>"; ?>


Was This Post Helpful? 0
  • +
  • -

#4 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 15300
  • View blog
  • Posts: 61,364
  • Joined: 12-June 08

Re: So a friend was helping someone fix some outsourced code...

Posted 08 May 2019 - 08:05 AM

You forgot to echo the html.push.

<?php echo "html.push('<html><head><title>Worst usage of PHP ever</title></head><body>";') ?>


Was This Post Helpful? 1
  • +
  • -

#5 no2pencil   User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6821
  • View blog
  • Posts: 31,455
  • Joined: 10-May 07

Re: So a friend was helping someone fix some outsourced code...

Posted 08 May 2019 - 10:01 AM

Posted Image
Was This Post Helpful? 0
  • +
  • -

#6 Martyr2   User is offline

  • Programming Theoretician
  • member icon

Reputation: 5485
  • View blog
  • Posts: 14,448
  • Joined: 18-April 07

Re: So a friend was helping someone fix some outsourced code...

Posted 08 May 2019 - 10:49 AM

View Postno2pencil, on 08 May 2019 - 10:01 AM, said:

Posted Image


This guy died in 2016. Probably because of years of doing html.push. Oh and working on the set of Superman 3.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1