Jump to content

benanamen

Members
  • Posts

    2,134
  • Joined

  • Last visited

  • Days Won

    42

Everything posted by benanamen

  1. foreach (explode(' ', '72 101 108 108 111 32 87 111 114 108 100') as $bit) { echo chr($bit);
  2. foreach (range('d', 'w') as $v) { $a[] = $v; } echo ucwords("$a[4]$a[1]$a[8]$a[8]$a[11] $a[19]$a[11]$a[14]$a[8]$a[0]!");
  3. $hex = '48 65 6c 6c 6f 20 57 6f 72 6c 64'; foreach (explode(' ', $hex) as $bit) { echo chr(hexdec($bit)); }
  4. $helloworld = 'Hello World!'; $helloworld = sprintf('%s', $helloworld); echo $helloworld;
  5. $helloworld = 'Hello World!'; printf('%s', $helloworld);
  6. This should do it for you http://bfy.tw/2FJa
  7. Speaking of "Skinning a Cat", lets all head on over here for some fun. http://forums.phpfreaks.com/topic/298555-skinning-a-cat-or-how-many-ways-to-output-hello-world/
  8. We all know in PHP there are many ways to come up with the same exact result. Just for fun, lets see how many ways you can come up with to output the standard Hello World!. I did this on another forum awhile back and there are many. I will start off with the two most basic ways; echo "Hello, World!"; print "Hello, World!";
  9. Interesting take, although it does require that you know that the last element is the one without a key.
  10. I get this running your example: Only variables should be passed by reference on line number 14
  11. Then I guess you will be updating your code because it is very necessary. I thing the "will not work at all" part is enough reason all by itself, let alone the security implications.
  12. @scootstah, Excellent starting point. @rashidpathiyil, Stop crying and go through that tutorial as well as the one for HTML & CSS https://www.codecademy.com/tracks/web How to make a website https://www.codecademy.com/skills/make-a-website and when your down on all that, the SQL tutorial https://www.codecademy.com/courses/learn-sql After you understand all that, your likely to come back providing answers for people rather than asking for answers. Code on my brutha!
  13. We know how to make it. But we are not going to do it for you. You need to go study some tutorials and learn the basics. You're not ready to ask for help yet.
  14. @gabbymiles, I have some free time on my hands today. If you can provide a zip of EVERTHING I need to run it, I will look into it. That also includes an sql dump of the db including create table sql and at least a few rows of sample data.
  15. To properly secure WordPress, select the WordPress folder, then hold down the Shift key, now click Delete.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.