| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Comments:
<0> hmm <0> so i dont have to use it of course, why not just use it. <0> :P <1> mikere, lol, couldn't resist :) <2> should i have a file called gd.so or gd2.so in my php.ini for imagefttext to work? <0> im turning this into a series of functions so <3> nibbo: $_GET[ <3> nibbo: $_GET['type'] <0> small question function insert($what , $where) { $what and $where can be changed right?
<4> streaky: wonder how long before we have to link stuff about quad pumping to ken.... <1> heh <5> surfdue, yes, but changing them won't affect the variables p***ed to the function <0> i understand that much ;) <6> how would i get the values of the two arrays at http://cgtutorials.com/mag.php into uniques <7> stevarino: how more exactly? i tried to paste that before the if segment. <7> got no change by doing that <3> nibbo: if( $_GET['myvar'] === 'test' ) { /* test is set */ } <3> nibbo: that should read "myvar is set" in the comment <7> ok thanks for the help :) <6> samo question <0> $check = select_user($_POST[username], $_POST[p***word]); <0> if($check) { << i know thats not right, what should i be doing im checking to see if a user and p*** is correct to login <8> surfdue, what does the select_user() function return? <0> 1 sec <0> jbpros, http://pastebin.com/636475 <9> Sigh. Does anyone in here use eAccelerator (a PHP cacher) in a critical production environment? It finally supports PHP 5.1 now, but I don't dare to install it. Are there ANY known downsides of using it? Surely some people in here must be using it... <3> surfdue: select_user returns nothing? <0> i know :P <0> what do i need to do! <0> :P <9> surfdue: Why sprintf? <0> i choose to :) <5> surfdue, you also choose a truck to do your gardening ? <8> surfdue, you have to check the query result and return something like a boolean <3> an id would be more useful... <3> if( mysql_query($query) ) return true; return false; <3> no... wait <3> you need to check that the select returns a row. <10> http://pastebin.com/636481 - I am trying to call this here: http://notix.ath.cx:81/tfm/feed/image.php?text=test - but it is throwing an error. Any ideas? <11> foo, *what* error ? <12> colder: http://notix.ath.cx:81/tfm/feed/image.php?text=test that one <13> silly n00b question: this error: " <13> Warning: main(../dbconfig/ibls.php): failed to open stream: Permission denied in /srv/www/htdocs/addMachine.php on line 6" why? the file it is trying to include is 755 :S <11> I see a link here, no error <0> ill bbl
<12> colder: thats the error it puts out when somethings wrong with createing an image, the URL <11> itrebal, arr :) <10> colder, itrebal: Yeah, just trying to figure out why my code is not valid. I grabbed it from the example here: http://us2.php.net/gd .. except I made mine for jpeg <11> foo, check if gd is installed, it doesn't seem so. <12> foo: found it, $im = imagecreatefromjpeg("www.transmissionfm.com/images/tfm.jpg"); that is trying to get /path/to/script/www.transmissionfm.com/images/tfm.jpg <12> foo: you have to do http:// <10> itrebal: I tried with http too. Hmm, gd might not be installed. <10> I'll pull up a phpinfo right now <12> if GD wern't installed, it'd bitch about the functions <12> put the http:// and try again <10> True <11> itrebal, it does :) <10> itrebal: I did the http, no go. <12> colder: what does? <11> itrebal, "Call to undefined function: imagecreatefromjpeg()" <10> colder: http://notix.ath.cx:81/info.php - hmm. <12> i'm not seeing any errors <10> itrebal: ah, view source. I see what he is saying <12> ah <12> foo: is this a host your paying for? <10> itrebal: nah, it's local, for testing, ATM. <12> foo: how did you get this PHP? <10> I'm installing gd, it wasn't installed. <10> itrebal: Wha? The code? Or the php on the server? <12> did you compile yourself? <10> apt-get install <12> lol <12> 'cause thats a ****load of php options <10> Ah, I got it guys. <10> Thanks <14> whats a quick way to get the name of the first key back in an array without looping? <10> vhuren: $array[0] <14> that gets me the name of the $key <14> ? <11> vhuren, you have non-numerical keys ? <10> oh <10> vhuren: Oh, my bad. You have an ***osiative array and want the first key. Uh. <15> vhuren: key() perhaps? <10> Shoot, I don't know. <15> key($array);
Return to
#php or Go to some related
logs:
damnsmallinux partition python write color dccallow irssi find the value of k that makes this a probability density function cp -a failed to preserve ownership #egghelp +phpmyadmin-2.8 +Access denied for user +localhost kernel tty_struct flip vlc debian The following signatures couldn't be verified because the public key error opening/initializing ubuntu mplayer
|
|