@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
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



Comments:

<0> Stormchaser, i mean for like in if() statements...
<1> so I know postgreSQL doesn't have auto_increment, instead it uses sequences... is there any easy way to get the primary key ID of a row I just inserted without having to run another query to SELECT it?
<2> ee99ee: using pear?
<3> roaet: Sorry, I'm trying to read through close to 1000 pages of PDF files on SCORM, and getting mighty punchy.
<1> myconid: pardon? I'm using the built in postgreSQL functions built into php
<2> ee99ee: I would suggest using the PEAR DB module.
<4> dj_segfault: SCORM?!?! Poor you...
<1> myconid: oh, know what its called?
<2> http://pear.php.net/package/DB
<5> is it just me, or does oscommerce ****? :\
<1> niraj: its not just you lol
<1> thanks myconid
<2> ee99ee: http://pear.php.net/package/DB/docs/1.7.6/DB/DB_common.html#methodnextId
<4> niraj: Welcom to the club :)
<3> Stormchaser: You know about it? It doesn't sound *too* horrible, but the documentation is 90% filler words and 10% "here's what you do".



<5> good to know.. heh. going for a job interview tomorrow and it's been suggested that knowing oscommerce would be a plus.. so i'm tinkering with it right now
<6> what?? PHP 6?
<4> dj_segfault: I had a fair share with it :) I had nightmares about that for few months after I quit the job :)
<4> dxzone: It's written wrong... It should be 7...
<6> whaatt???
<5> lol
<6> ..
<3> Stormchaser: I felt that way after working on the Point of Sale system for the fast food chain Papa Ginos. 12-year-old C code, with all the rules about different states, countries and restaurant types all hard-coded everywhere. they even hard-coded monetary conversion rates.
<4> niraj: Instead of tinkering with oscommerce, you might want to try cpcommerce...
<5> omg.. oscommerce won't even let the admin reset customer p***words :|
<7> When's the next RC for PHP 9?
<2> niraj: oscommerce is just a framework..
<2> niraj: ive done 5/6 sites in it..
<2> its not horrible..
<4> dj_segfault: Fun stuff :)
<5> Well, i guess i'm spoilt. I custom code all my sites.
<8> Tvienti, good joke. Keep coding, don't go into humor.
<7> CPUnerd: ;)
<8> niraj, spoilt or poor.
<2> Congrats.. but in the real world there is time/money that can be saved.. and one might think the oscommerce guys know a bit more than you.
<8> oscommerce is ok for simple e-commerce websites.
<8> as soona s you need more, you are dead.
<5> myconid: what do you suggest i read to pick up on oscommerce? the docs don't seem helpful for developers
<7> The right tool for the right job.....
<4> CPUnerd: It's not worth for that either.
<2> niraj: download it, and customize it
<9> I'm reading the the PHP zip functions only read.
<2> niraj: get familure with the API and its quirks
<9> Is this incorrect?
<8> Stormchaser, exactly.
<7> Anyone know of any documented benchmarking done on ob's hit to performance?
<4> myconid: Um... From what I saw, the oscommerce relies on all the practices, that should be avoided, and the code needs an update to PHP >= 4.1
<3> roaet: No, it's correct. You have to use the programs (with proc_open or sibling) to create zip files.
<5> Stormchaser: i guess thats what he meant by "its quirks" :P
<4> niraj: :)
<9> Has anyone had any experiences with PclZzip?
<8> hehe
<9> PclZip that is.
<8> roaet, what you wanna do exactly
<1> hey guys I'm having problems getting PEAR installed on my windows box
<1> I followed the instructions on pear.php.net
<9> I have a group of files that I need to make downloadable dynamically to users. Two of the files are on the filesystem and aren't that big of a deal. But the third one needs to be generated based on their information. Then I need to zip them up so they can download them as a single package.
<1> but when I run "php go-pear.php", it just gets stuck in a loop asking me what packages to install
<4> !+pear
<10> [PEAR] PHP Extension and Application Repository, a framework and distribution system for reusable PHP components. ##PHP does not support PEAR, please see http://pear.php.net/support.php.
<8> joiin #pear on efnet ee99ee
<1> thanks
<11> The requested document /support.php. was not found on this server.
<11> php-bot: YOU STINK
<12> hu now how ceate in my site login and pasword ?
<13> SuperSim: worked fine for me.
<12> *create
<11> i think the problem is the . at the end
<14> off-topic: IE7 blocks AdSense.
<13> SuperSim: then perhaps you should be freaking out at your IRC client
<4> SuperSim: The smart people would remove that .
<9> What is the thoughts on that CPUNerd?
<8> on which ? I didn't see what you said.
<11> i did
<9> I have a group of files that I need to make downloadable dynamically to users. Two of the files are on the filesystem and aren't that big of a deal. But the third one needs to be generated based on their information. Then I need to zip them up so they can download them as a single package.
<11> it worked great without the .



<11> now to report the bug
<8> ohhh I see now let me read two secondsI would say http://pecl.php.net/package/zip
<6> offtopic Jakarta: ****!!
<8> but i'm on the phone i'l tell you after.
<8> I'll have to read waht you ned.
<8> need*
<13> actually, it wasn't irssi .. gnome-terminal knew the period shouldn't be there :)
<15> I know this is the complete wrong channel to ask this question, but can anyone point me in the direction of someone who might know something about "creating a webcast"
<4> http://www.rinkworks.com/stupid/cs_email.shtml#1 <-- lol :)
<9> Thank you very much CPUnerd.
<0> What would be the best way to do a MX record lookup for a domain name using PHP? Is there a function for getting host records, or would i have to do it via the OS?
<8> roaet, do you need to write zip files ?
<14> Stormchaser: did you hear about microsoft "brilliant idea" of "stamps for e-mails"?
<5> error403: getmxrr
<9> Yes.
<5> error403: unfortunately, that's linux only i think
<9> I need to write zip files.
<9> The zip library on php.net and that one only appear to read.
<0> niraj, so not part of PHP then?
<2> error403: .. wtf? http://us3.php.net/manual/en/function.getmxrr.php
<5> error403: it is part of php, but only implemented on linux
<0> niraj, ah, i see
<0> sorry
<2> For Windows use Net_DNS: http://pear.php.net/package/Net_DNS
<0> misundestood there
<5> error403: or actually, its not implemented on windows :P
<0> niraj, sounds more like it :P
<5> error403: been a while since i've coded e-mail address validation :P i just use my validation library :)
<2> why cant iTunes see the music on my ipod.. they need wifi/bluetooth.
<12> so,how create in my site the login only for pasword?
<2> fuubu: wana try that in proper english?
<5> myconid: erm.. oscommerce forces product attributes to be a predefined finite set of values? no way around that?
<8> roaet, did you read the whole thread ?
<8> http://ca3.php.net/zip
<2> niraj: you can extend it however you want.. i never did.. so yes.. i sued the internal list.
<5> hmm.. not fun..
<12> http://ca3.php.net/zip its for me?
<2> heh.. i sued it.
<6> CPUnerd: it reads only
<6> fuubu: no
<16> is it possible to split a cl*** definition into several files?
<8> dxzone, I knwo it does :P BUt look lower..
<6> ok..
<8> but no, you can't just, write .zip files, do you need zip files or you could use gz ?
<4> niraj: Well... That's why you should learn to live with agony, if you're going to deal with oscommerce
<12> CPUnerd you dont now how create?
<2> CPUnerd: windows users dont typically like 'gz' files
<8> fuubu, of course I do.
<16> for example, i have a relatively large cl*** (it holds vehicle information about an automobile)
<16> and it has a crapload of functions.
<4> fuubu: You have some libs in PEAR and PECL to do that
<9> I see.
<0> niraj, well, im just writing a common function library at the moment that i can copy around everywhere - and this just happens to be one of the functions
<2> jrlenz: so make a base clase, and child cl***es..
<16> (it's at 400+ lines and barely done)
<0> niraj, can you think of a reliable way to determine the OS from within php?
<2> 400 lines is a big deal?
<2> my user cl*** is ~2700 lines
<13> myconid: I guess we shouldn't tell them their browser recieves gzipped content all the time ;)
<16> myconid it's not a big deal, i just dont like dealing with files that are that large
<9> Are you talking about PCLZip CPUnerd?
<5> error403: PHP_OS?
<16> they are a pain in the *** to scroll through.
<2> jrlenz: that sounds like an IDE problem
<8> damn this place is worse than hell on earth..
<16> ide? :-p
<2> error403: javascript
<8> back to Pollita's tiger..
<16> text editors :-p
<12> Stormchase you...
<0> myconid, from within php...
<2> jrlenz: sounds like thats your real problem then
<0> niraj, that a constant?


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

PATH-variable ddwrt
#linux
codecs32
#math
+unbuntu +sip phone
fedora gdmsetup freezes
ubuntu mfs partition
#math
cosmynx
#ubuntu



Home  |  disclaimer  |  contact  |  submit quotes