| |
| |
| |
|
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
Comments:
<0> works fine in FF/IE/Opera <1> let me see what's the problem here. <2> back, that is <3> I think there is a quirk where not setting a session cookie properly will not work with the root domain <3> for example a cookie is set for http://www.domain.com/webpage.php but not http://www.domain.com/ <3> drove me up the wall <1> ah! set now! <4> Hello, I have a problem and it is that the phpfiles download <4> how resolved it? <1> lpmusic, Myconid3 thank you very much! it works now... sorry to bother you, expert guys, with a so stupidy question! ;) <5> I need to convert UTF-8 string to TIS-620. How can I do that? <6> McFly working now? http://69.172.40.18:211/ <4> Hello, I have a problem and it is that the phpfiles download <4> how resolved it? <7> hey, if I'm using php to send an html message ... to have an image in the message does the src need to be the complete url to the image? or do I need to attach the image?
<7> wb deadroot <8> when you hit BACK on your browser, it goes back to your previous webpage -and- scrolls to the area you were at. How it does that? I would like to "refresh/edit/delete" something on the page, and have it scroll down to where you were (x,y coordinates) when you hit the button. <7> ZeroFear: *shrug* I know back.. <7> but I suppose that doesn't help much <9> ZeroFear: that is the characteristic of the back button. it returns you to the previous state <9> any browser that doesn't do that, is actually violating the specs, iianm <7> anyone have pointers on the html email? <9> as for scrolling back to where you want it to be, you can use the URL fragment identifiers. those "#id" thingies <9> kaylee: "phpmailer"? <7> hey, if I'm using php to send an html message ... to have an image in the message does the src need to be the complete url to the image? or do I need to attach the image? <7> the email is html...I just need to make sure the image will display <9> kaylee: i'd suggest looking up phpmailer then <9> it has implemented most of the e-mailing specs, easier for us to use <9> the mail() doesn't do it that well <9> as for the choice of attaching the images or linking them in, attaching the images are better <7> nuts...I don't know what else is already on the server....I don't have admin priv. <9> kaylee: "phpmailer" is a php script, you can just "include()" it <7> deadroot: good point....looking... thanks <8> is there a way to replicate the back button in php <10> no <10> not really :p <8> :C <10> well, HTTP_REFERER or summit perhaps <9> ZeroFear: it's mostly the UA's problem <8> cuz i have a bunch of comments and a delete button next to each one <8> and if you hit delete it deletes it <8> and then sends you back to the top of the page <9> you could: take note of what was POSTed to the server, guess where in the page you want to look at, append the fragment URI to the URL and redirect the user to the new URL. <8> i was wondering if i could make it so it dosnt send me back to the top <11> When someone leaves my site, is there a way for me to know what site they left to? Like if someone is at my <11> site, and then decides they want to go to google, is there a way for me to know they left my site to go to <11> google.com? <11> whoops that got messed up <11> :p <12> BeerBottle javascript, try #web <11> ok <11> is that the javascript channel ? <12> yep <13> Jymmm: my wife is better than your wife. :P <14> my wives are better than both of yours <15> zircu: <:O <15> zircu: I thought *I* was the only one allowed to make pluarality jokes around here <16> i have a question but does not know if it is postgreSQL or php when echoing text from a table to a browser can make it stop at a certain character and then go to the next line <10> lol <17> ;) <18> i need help limiting a table to 5 columns and as many rows as their are pic's. i'm getting my pics filenames from a db. anyone know of a tut or have an example? <10> what was that about? bearing your teeth for me? :P <18> anyone :( <16> i have a question but does not know if it is postgreSQL or php when echoing text from a table to a browser can make it stop at a certain character and then go to the next line <16> have u heard me enought <9> cheikh: what do you mean by going to the next line? <16> lets say to display 70 characters then stop and go display another 70 characters <9> you mean with a <br> to represent the new line? <10> <br/> <12> wordwrap
<16> whatever whould work for that <12> http://us2.php.net/wordwrap <16> seems like this wordwrap would work <19> :-D <19> thank ye <19> can anyone else spare a copper? <15> ... <15> This isn't #role-playing <19> easy there, guvnah. i came bearing a php related question <10> then spit it out before we spit you out <14> guv<TAB> results with nothing <19> damn, hostile night in ##php...anyway, can i POST using file_get_contents? <15> fires: No. <19> alright, then what's the recommended way to do that? <15> fires: curl, the HTTP client in PEAR, or a roll-your-own minimal HTTP client using fopen. <15> Take your pick <19> i need to post login info and recieve the "you're authorized now, bitch" page it responds with <19> hmm, alright <19> thanks <14> fires: well if you have >= 5.1 you can use the context parameter <19> nope, still working in php3 <19> er, php4 <19> slippy fingers <20> does html_entity_decode(' ') return the proper space character (or, ASCII 32?) <20> it doesnt seem to in my script ;/ <15> Smirker: It does for me. <15> php -r 'var_dump(html_entity_decode(" "));' <15> string(1) "" <20> that doesnt look like 0x20 to me ;p <15> Smirker: It shouldn't be 0x20 <20> oh <20> oh well, nm, i worked around it anyway ;o <15> Smirker: It should be 0xA0 <12> TML wth char is that? <20> ascii 160? :P hmm ok <15> Jymmm: Non-breaking Space from ISO-8859-1 <12> TML the a with a bar on it? <15> No <15> It's printed as a single space <12> oh <15> 0x20 and 0xA0 are different in that 0xA0 is a *non-breaking* space. <15> 0x20 may break across lines. <15> 0xA0 may not. <15> Which is why we use instead of just hitting the space bar <15> They're different characters altogether. <9> i don't quite get the usage of "php -r" it throws errors like "PHP Parse error: parse error, unexpected $end in Command line code on line 1" <14> deadroot: dont forget the ; <15> deadroot: That means you forgot something. <14> php -r "echo 'foo';"; <15> zircu: You probably don't need that last ; <14> the first ; the last ; just came out of habit <15> :) <9> oh, i got it now. thanks <9> php -r "var_dump(html_entity_decode(' '));" works but 'var_dump(html_entity_decode(" "));' doesn't work <9> in win2k <15> deadroot: Yes, when I paste a php -r, you may ***ume that it won't work on your OS. :) <15> Our shells have different quoting rules <9> yeah, true that <21> can someone tell me how to check to see if <?php <21> function LoadJpeg($imgname) <21> { <21> $im = @imagecreatefromjpeg($imgname); /* Attempt to open */ <21> if (!$im) { /* See if it failed */ <21> $im = imagecreatetruecolor(150, 30); /* Create a black image */ <21> $bgc = imagecolorallocate($im, 255, 255, 255); <21> $tc = imagecolorallocate($im, 0, 0, 0); <21> imagefilledrectangle($im, 0, 0, 150, 30, $bgc); <21> /* Output an errmsg */ <21> imagestring($im, 1, 5, 5, "Error loading $imgname", $tc);
Return to
#php or Go to some related
logs:
guile cannot compute sizeof (float) ubuntu libssl.so.4 cannot open shared radmin wine ubuntu show tables hyphen error wine winsock ipx bind failed ubuntu dapper GnomeBoyAdvance #perl warning azureus did not shutdown tidily difference imps/2 explorerps/2 ps2 WMware Ubuntu
|
|