![]() |
Search the web for GD library. And uh, why start a silent command (@imagecreatetruecolor) and then call up the or die ("..") function...? Couldn't you then just better $im = @imagecreatetruecolor(...); if (!$im) { exit('DieCommand'); }
|
PHP Code:
|
HTML Code:
<p>Hello TalkPHP!</p> |
*sigh* ...
Didn't see this one yet. PHP Code:
|
Quote:
http://www.talkphp.com/tips-tricks/2...html#post12378 |
As in response to ReSpawN's exit() code:
You can't use exit()'s parameter to specify a shutdown message, thats why we have die(). exit()'s parameter is an integer that tells the shutdown code. exit(0); means that the program shutdown correct just like in C++: Code:
int main() |
exit can take a string argument (in place of the usual integer). If the argument is a string, it gets printed just before exiting just like with die. Try it. :-) |
Hai
Can Has Stdio? Visible "hai Talkphp" Kthxbye |
By typing it...
Never said it had to be in PHP. XD |
PHP Code:
|
Quote:
Mah way of outputting data without using echo/print: PHP Code:
|
PHP Code:
PHP Code:
|
Code:
document.write('O HAI'); |
The same, but different
<?=`echo Hello_World`?>
|
Use a java bridge!
Code:
// action handler to fill button |
Howzabout some Error Tossing
PHP Code:
|
PHP Code:
|
C++
Code:
#include <stdlib.h> |
I can confirm it compiles on linux, although you may need to change the line:
cpp Code:
cpp Code:
in a similar vein, heres ruby: ruby Code:
|
how about breaking out of php and just getting the html to output?
PHP Code:
|
| All times are GMT. The time now is 04:20 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0