| |
| |
| |
|
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 32
Comments:
<0> shh! <0> lol <1> algum brasileiro ai <2> tdd1984: pretty much, yeah. Start reading the manul about the functions. <3> k <3> this ginseng drink makes my eyes feel wierd :( <3> richardlynch: thanks man <4> then dont drink it <3> lol yea im not gonna to anymore <5> f4ruk http://br.php.net/mysql that's in portuguese <3> zircu: have you ever drank em its like my eyes want to spin everytime i am reading, or scrool through my code lol <5> oh, it isn't :) <1> xshad tanks <4> that is just the mirror <6> MarkR42: could this be accomplished using the switch function to tell the php which answer was chosen ? <4> if the language of choice has been chosen you will get protuguese otherwise english
<5> well, he can set up the site language to pt-br at php.net/my.php <7> richardlynch: do you know what the limit for an AIX 5.3 system is? <2> airwave: No, but folks in #aix would, if #aix exists. And it probably depends on the SHELL php is using as well. <8> CBTC: It could but "if" is usually preferred, particularly if there are only two cases <5> f4ruk out of curiosity, windows or linux ? <4> airwave: you will most likely need to setup a wrapper application that does a SIGALRM <4> tdd1984: i usually get that after a few shots of jagameister <9> what is the best way to find out why psockopen is very slow in scripts ? <9> *fsockopen <10> hola <6> MarkR42: I meant something in realtion to this --> http://pastebin.com/709547 <6> can I actually do that ? <11> MatBoy: try using the ip instead of hostname <4> MatBoy: psockopen? <9> ||cw, was not making any difference, but I can try it again ! <11> MatBoy: try a traceroute <4> prehaps a reverse is trying to be done on the other end? <9> ||cw, it's all on the same router <9> zircu, indeed, thought the same, but rdns is working ok <8> CBTC: Not sure whether the syntax is exactly right, but that looks like you're on the right track. <12> lalala <6> you mean in relation to the 'name' and value="" <6> ? <6> I could post more of it to show you if you want <4> be sur you set: $errors = array(); before you start the tests <13> I'm trying to do a search with MySQL SELECT * from example where name = 'Frank Smith' but I want it so they can just the record using Smith is that with %? <4> i would make the switch case insenstive as well, using switch(strtolower($_POST['gamechoice]) ) { case 'battlefield 2': ....} <2> BrutusUnix: Yes. <10> damn... my motivation to code is at an alltime low... ranking in at -10 today. :/ <2> lith: Just take the day off, then. :-) <4> BrutusUnix: last time i read the mysql docs that was the character <10> richardlynch: lol, tell that to my business partner :/ <2> Ever feel like you need a blow-up doll that looks like you to sit at your keyboard?... :-) <7> how do I use an select within a select? <7> select * from Users where userId=(select userId from Users where name='airwave'); (yes i know it's redundant, but I'm trying to figure this out) <5> airwave #sql <14> airwave: I thought you were told to ask SQL question in SQL channel <2> airwave: Try it. <5> wolfie!! <15> g'day <10> damn, i just want a blowup doll =P~ <16> how do i query what OS i'm on from within PHP? <10> muahah <2> r0xoR: echo PHP_OS; <5> r0xoR echo PHP_OS <16> ok thx <14> heya, lig <17> can someone help me figure out why my php script isnt running? Here is the code: http://pastebin.com/709571 and what it turns up: http://sunfear.uchicago.edu/cks.php <2> ManiacMac: You haven't managed to install PHP correctly... <2> ManiacMac: Or, perhaps more accurately, U of C did not install PHP on sunfear for you... <17> son of a bitch, php was installed through a package manager on solaris <5> ManiacMac you'd use <?php and not <php? <17> well i manage the box <17> i used <php? <2> Ah: How about trying <?php instead of <php? <17> lemmie try <10> <?php is preferred over <php? because <php? doesnt work <2> LOL <10> ;) <5> omg
<18> haha <10> were all about best practices in this channel <2> I even did "View Source" and didn't catch that the first time. <2> My officemates wonder why I'm LOL... <5> hehe <19> you and your groupthink <19> maybe 'doesn't work' was a requirement for his job <10> richardlynch: I wouldn't tell anyone in your office about that one <2> 'Sokay. They wouldn't even begin to get the joke. <17> lol <17> ok, so i had a newb moment, my first time using php since college <14> ...right... <20> ManiacMac: its alright. we've all had n00b moments at one point or another <17> yeah <2> Maybe we should put in a feature request for other_tags in php.ini for <php? to work? :-) <17> ok, now to a diff q (now that it actually looks to be parsing <20> haha <17> i run the sql statement in the database and it works fine, but i seem to have no data turn up in the page. I am using one result to populate a feild in another query <2> ManiacMac: You really ought to separate the mysql_query() and mysql_result() into two lines, so you can do some error-checking on the result of mysql-query() and maybe use mysql_error() to tell you what the DB didn't like about your query. <2> For starters, the \' inside of the " will turn into bogus \' which MySQL ain't gonna like. <17> k <2> You're trying to hack a quickie answer in PHP instead of doing the job right... :-) <17> well im trying to figure out the language w/o any real guidance aside from a few ****ty tuorials <17> *tutorials <2> ManiacMac: You seem experienced in other languages... Error Checking is seldom covered in tutorials, which ****s, eh? but you always end up adding 3X as much code for the error-checking as when you started. <2> Even PHP doesn't change that Law of the Universe. <17> yeah, heh <21> Hi, Can I lauchn a dll(company dll to connect to sql server) from windows using php? <17> most of my programming xp is in shell scripting and C/C++, so this is all new to me <2> If this is a Real Project, consider http://php.net/set_error_handler and altering php.ini to not display errors and only log them and... <21> any idea? <2> ruben: http://php.net/exec and run an .exe file. Dunno about a DLL... You can maybe whip up a wrapper .exe file in VB or somesuch to get the DLL functionality. <21> It possible then? <17> heh, what isnt helping is that the installed version of vi on solaris ****s *** <2> ruben: Your other option is to write a PHP custom extension such as: http://www.zend.com/php/internals/extension-writing1.php <22> ManiacMac: that's just vi in particular. the fact that it's awful isn't platform-specific <2> ruben: I believe it will be possible. I don't make promises about it working on Windows. I don't make promises about ANYTHING working on Windows. <5> lol <23> at least solaris's vi doesn't puke on large terminals anymore <17> naw, I LOVE ViM on most platforms, but there isnt even ViM on solaris, just vi <24> vmplayer makes many things work in Windows. <2> Solaris vi pukes on wide terminals, pukes on arrow keys in insert mode, pukes on... <23> ManiacMac: look in /opt/sfw/bin, if you're on a recent solaris <17> richardlynch, basically pukes on everything <21> richardlynch thank,s then phpcode exec(visualbasic.exe to connext sqlserver) and return the result? <2> It really really ****ed when I worked at that University that used all Sun gear. <17> well im on sol10 <22> Vim .. a slightly less *** version of vi <17> i installed pkg-get on it too, I guess i should just look and see if a newer version of vim is in there <23> richardlynch: they modernized their vi sometime recently. i had a 200x70 xterm on a sol10 box and it worked. :) <2> ruben: I got no idea if it will work, but you can try. <25> hi, I am wondering if php can do everything javascript does? <23> as for arrows? dunno. i don't tend to use them <2> It was a year ago, almost. <23> punk: no. <17> I use vim all the time on my powerbook and my linux workstation with no issues, its just solaris really <5> punk JS is client side, php is server side, so the answer is no <23> xshad: unless you're using iis. but php still can't be used on the clientside :) <2> punk: in the sense of sheer programming, yes. In terms of using the two, they never even run on the same machine, so no, neither can do ANYTHING the other can do. <24> wasn't there a project a while back that tried to embed php into a browser as a script choice? <2> Actually, there's a PHPScript that, theoretically, one could get a user to install and be client-side. <2> It's in PECL or PEAR. <24> But the odds of both users going to your site are pretty slim. <26> Anyone ever use APC? http://pecl.php.net/package/APC ... I am thinking about setting it up and was looking for any input. <25> I don't really care if it's client-side or not, just need to make sites more dynamic <27> hi, can anyone help me with what's most likely a _very_ simple regex? I want every occurance of * replaced by a <br> <2> foo: Didn't you ask this yesterday?... Just install it on a dev box and play with it already. <26> hmm, heh, good idea. <2> ryuhse: str_replace('*', '<br />', $text); <26> richardlynch: Thanks.
Return to
#php or Go to some related
logs:
#linux #freedesktop eppicat #perl splish splash i was taking a bath mp3 agpgart gentoo 810 fedora 5 mythtv chowning php echo max execution time linux realtek alc850 menuconfig mesa xorg gentoo
|
|