TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 06-29-2009, 03:44 PM   #21 (permalink)
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

Ah yes, I should have caught on to the sarcasm being one of the most sarcastic people I know.
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote
Old 06-29-2009, 03:53 PM   #22 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

By the way, I *think* I changed the option to allow you to set your own user titles. Hopefully I did it right, so you can make them nicer, if you wish!
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Old 06-29-2009, 03:53 PM   #23 (permalink)
The Frequenter
Zend Certified 
 
Join Date: Sep 2007
Location: Denmark
Posts: 352
Thanks: 8
Kalle is on a distinguished road
Default

Quote:
Originally Posted by tony View Post
Salathe, that snippet blows my mind. how does it work? is if using concatenation? WOW :O
The PHP parser doesn't check if you use concatenation outside an assignment or when passing it to a parameter, thrus making it available to use anywhere:

PHP Code:
<?php
error_reporting(0);

/* Call to undefined function javascript() */
This.is.just.like.javascript();

The parser is abit weird though, take the following syntax thats also valid:
PHP Code:
<?php
This;
does;
not;
generate;
a;
parse;
error;
either;
__________________
Send a message via MSN to Kalle Send a message via Skype™ to Kalle
Kalle is offline  
Reply With Quote
Old 06-29-2009, 04:13 PM   #24 (permalink)
The Addict
 
tony's Avatar
 
Join Date: Aug 2008
Posts: 336
Thanks: 8
tony is on a distinguished road
Default

Oh, I didn't know about the parser, then in Salathe's code, the only thing working is calling the function welcome();

in the midst of sarcasm I learned something new :P
tony is offline  
Reply With Quote
Old 06-29-2009, 04:18 PM   #25 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

We seem to be having some trouble with identifying sarcasm in this sarcastic forum, don't we?

sar·casm (särkzm)
n.
1. A cutting, often ironic remark intended to wound.
2. A form of wit that is marked by the use of sarcastic language and is intended to make its victim the butt of contempt or ridicule.
3. The use of sarcasm. See Synonyms at wit1.
...Not any more!
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Old 06-29-2009, 07:43 PM   #26 (permalink)
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

Quote:
Originally Posted by tony View Post
Oh, I didn't know about the parser, then in Salathe's code, the only thing working is calling the function welcome();

in the midst of sarcasm I learned something new :P
No-no.
Actually his code won't work at all because in newest version of PHP you need to leave out the closing php-tag(?>). If you don't, it will result in a internal server error.
__________________
Tanax is offline  
Reply With Quote
Old 06-29-2009, 08:18 PM   #27 (permalink)
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

Haha I really hope people finding this thread through casual browsing (or maybe even G searches!) don't take what has been said literally.
Salathe is offline  
Reply With Quote
Old 06-29-2009, 08:33 PM   #28 (permalink)
The Addict
 
tony's Avatar
 
Join Date: Aug 2008
Posts: 336
Thanks: 8
tony is on a distinguished road
Default

lol this is funny
tony is offline  
Reply With Quote
Old 07-02-2009, 09:28 AM   #29 (permalink)
The Acquainted
 
Join Date: Oct 2007
Posts: 170
Thanks: 18
maZtah is an unknown quantity at this point
Default

wHY cANT yOU wRITE a wHOLE sENTENCE wITH cAPSLOCK oN?
maZtah is offline  
Reply With Quote
Old 07-02-2009, 10:45 AM   #30 (permalink)
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

What Do You Mean?

Edit: Oooh.. cool xD didn't work
__________________
Tanax is offline  
Reply With Quote
Old 07-02-2009, 11:19 AM   #31 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

I live near a school and hear enough shouting to allow TalkPHP to do the same!
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Old 04-02-2010, 11:22 AM   #32 (permalink)
The Wanderer
 
Omega's Avatar
 
Join Date: Mar 2010
Posts: 6
Thanks: 0
Omega is on a distinguished road
Default

Quote:
Originally Posted by Salathe View Post
I have this Python script, make it PHP!

Python Code:
class Hello:
  @staticmethod
  def world():
    print "Hello World!"

Hello.world()
Oh... let me show you

PHP Code:
<?phplanguage
Hello world
endphplanguageforthemoment?>
Good luck for your project
Omega is offline  
Reply With Quote
Old 05-01-2011, 07:43 AM   #33 (permalink)
The Visitor
 
Join Date: May 2011
Posts: 1
Thanks: 0
yuvaser3 is on a distinguished road
Smile

good post and interesting
yuvaser3 is offline  
Reply With Quote
Old 11-02-2011, 04:55 AM   #34 (permalink)
Banned
 
Join Date: Oct 2011
Posts: 1
Thanks: 0
Billjohn90 is on a distinguished road
Default

hey guys sorry for being off topic
Hello! I have translated this great component to spanish (formal spanish version).

Last edited by Billjohn90 : 11-04-2011 at 07:14 AM.
Billjohn90 is offline  
Reply With Quote
Old 06-25-2012, 12:32 PM   #35 (permalink)
The Wanderer
 
Join Date: May 2012
Location: usa
Posts: 6
Thanks: 0
cheapcnjerseys is on a distinguished road
Default

Nike NFL Jerseys from china, Nike NFL Jerseys online,cheap Nike NFL Jerseys,2012 nike nfl jerseys, nike nfl women jerseys,buy jerseys online, soccer jerseys shop online, nfl jerseys store online
cheapcnjerseys is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing Clean Code Village Idiot Tips & Tricks 10 06-25-2012 12:35 PM
For some reason when I downloaded the php manual Nor General 5 01-24-2008 02:52 PM
The reason for PHP's lack of protocol Wildhoney General 3 10-03-2007 11:21 AM


All times are GMT. The time now is 11:26 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design