@# 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 30 31 32 33 34 35



Comments:

<0> or shove code at it to test etc
<1> row: i just split the blocks apart ()
<2> damn... That was wrong :(
<3> Stormchaser, can you let the bot tell row about google?
<4> row: I'm using regexbuddy (which is not free) and I find it really efficient
<1> dunno if it can be done by hand. txt2regex proves usefull sometimes.
<1> *not by hand
<2> !tell row about fgi
<0> jbpros: its you again.
<0> I learnt fair bit from your regexp btw, ta very much.
<4> row: ha yes and it's you again :)
<0> just slightly screwed it up here
<4> I'm glad it helped
<3> lol @ row
<4> row: regexbuddy is the only non OSS I'm using and it's really great.
<4> row: I don't regret buying it



<0> tempted to read this o'reilly book on regexp
<5> yaergh
<5> why the hell won't the parser even start
<4> row: that's a nice idea
<0> but a whole book just for regexp!
<0> very handy to know it tho.
<2> row: Are you using linux/ KDE?
<4> well regexes are complex. it deserves a book!
<0> Stormchaser: I am using windex for phpedit and debian for everything else so yeah.
<2> row: sudo apt-get install kregexpeditor
<3> Stormchaser: is there another PHP channel?
<0> ooo cheers storm
<4> kregexpeditor is not bad but it is limited
<4> don't exepect to play with look arounds, for example
<0> oh
<4> you do, yes ;)
<4> regexbuddy supports about everything
<2> Aap: Not that I know of... Why?
<0> jbpros: are you trying to tell me you spotted my error?
<3> i want to ask my question on another channel (the reverse engineering tool)
<4> row: no, I have not the regex in front of my eyes
<0> +'
<0> maybe if I get some sleep I will spot the error.
<4> what's the problem?
<0> its capturing part of the next tag set along
<0> its really odd
<4> did you modify the one I gave you?
<0> nope
<0> new regexp
<4> oh okay
<0> not for same thing
<0> this is for a preparser
<6> once an xml document is parsed in php does it create some type of object data set where I can read the values?
<6> I need something really simple
<4> row: I'm currently working on my stuffs. but you can ask me again later if I'm in here :)
<0> jbpros: no problem I am going to get some sleep its late anyway and I will see if I can fix it in the morning, I did the other stuff fine so I hope I can fix this, if need be I will have to read up on it :/
<7> I know this isn't exactly on topic but is there any reason NOT to use divs for displaying information out of a database? like listings/member listing or whatever
<8> hi all, im trying to set up php5 w/apache 2.2 on windows. I keep getting "cannot load c:/php/php5apache2.dll into server: module could not be found" when i try to start apache, any ideas? Ive searched everything w/no luck
<4> row: if you have some money to spend, go for regexbuddy, you will learn ways faster :)
<0> I am on a really tight budget atm :(
<0> anyways night.
<4> row: sleep well!
<9> Why does explode(":", "") return Array("")?
<6> nichos, you probably need to edit your apache config file to include the php module
<10> GD question... I am resizing images to thumbnails... im giving them a maxwidth, and a maxheight, however, i want my thumbnails to be 96x71 pixels wide, regardless of whether the image is proportionate to that size... so my question is... if I were to resize a thumb to say '40x71'... could I somehow add white around the image, so that it becomes 96x71?
<8> firefly2442 i have "LoadModule php5_module "C:/php/php5apache2.dll"
<6> nichos, is the path correct, the file exists?
<8> firefly2442 yep
<6> nichos, use Linux, ;)
<8> firefly2442 not realistic
<6> nichos, sorry, not sure what else to ask ya :/
<8> :)
<11> hi, i'm tyring to implement secured https connection between PHP and Java webService server
<11> i want to use PKI with private and public key algorithm
<11> but i cannot find a way to use PHP read key file generated by Java KeyTools. Anyone have similiar experience?
<10> GD question, is there a way to make the 'imagecreatetruecolor' function create images with a white background, instead of the default black?
<6> nichos, maybe this might help ya: http://www.experts-exchange.com/Web/Web_Languages/PHP/PHP_Installation/Q_21732051.html
<8> firefly2442 ty, maybe ill go back to php4



<6> nichos, your call, php5 is pretty nice though ;)
<12> uhm, i get "Fatal error: Call to a member function getValue() on a non-object in index.php on line 65" in http://www.onetrix.net/extra/hardware/index.php[s] ... could someone plshelp me?
<12> i dont get the error :/
<1> $foo->getValue() - $foo isnt an object.
<12> well, i dont use $foo in my foreach() ... but i have to write it cause else the function doesnt work
<13> I'm looking for a small file server written in PHP. Something that has very basic user/p***word stuff in a database, and where you can upload files and give other users access to them.
<13> Does anyone know of a package like that?
<1> vchrizz: pastebin the code
<12> rdgzt, there are enough on the net, just look for it.. like hotscripts.com or similar :)
<14> aside from the mailing lists, is their anyone else I can look to for answer regarding possible bugs in the MySql Connecter .NET
<13> It's for a small company that often needs to p*** files of varying sizes to clients, they'd like to be able to put the file on their server and email the client the user/pw and URL.
<12> Meltir: http://onetrix.net/extra/hardware/index.phps
<13> vchrizz: I'm sure, I was mostly wondering if anyone could recommend one that works well.
<6> rdgzt, FTP server? would that be easier?
<15> Hey, hey.
<12> rdgzt: i dont know such script in special, but i know services which do what you may need: rapidshare.de :)
<10> anyone here familiar with GD?
<16> can someone explain what PEAR is?
<1> pear.php.net has an explanation
<12> ack meltir, with some webinterface like www2ftp.de :)
<16> Is pear commonly used?
<14> grr I think i found a bug in the MySQL .Net Connector
<14> anyone I can talk to since there is no list
<16> Whats the bug, jfarrell? I'm using the .Net connector myself
<14> jbrimble, good
<14> well I will show you the problem section, C# ok
<14> ?
<1> vchrizz: $hwlist_iniElement =& $hwlist_iniGroup->getElement fails for some reason. look into why.
<16> ah, i'm a vb.net coder, not c#. sorry
<16> there is a #mysql channel who might be able to help you out
<14> jbrimble, I think the code s close enough where you can see what i amd oing :)
<1> c# ? vb ? you huys are in the wrong channels :|
<1> *guys
<15> I have a bit of a question, partly debugging, partly the extent of defining variables... I am trying to create a loop that will create a small film strip to show images along with normal information queried from a MySQL database, however I also want to be able to change images between the main viewer and the film strip items, however I may have up to 20 of these "listings" per page. Is there a way to define a variable using a variable name ($img_a_$counter = $
<16> PM me if you like, jfarrell
<14> jbrimble, http://pastebin.com/710635 The problem is occuring on the fill line
<1> adrian: you mean variable variables ? ${$foobar} ?
<14> jbrimble, k
<15> Meltir: perhaps... could you provide an article or some description so that I could see if that could solve my problem?
<12> Meltir: well, the foreach() runs for every element and if every element is displayed i get the error... refresh: http://onetrix.net/extra/hardware/ ...
<1> adrian: its as simple as that $img_a{$counter} =
<1> $$foobar is also valid
<1> vchrizz: im not sure what these methods do: it looks like parsing an xml, and as if one of the elements lacks a subelement (price,name,desc)
<17> Hi - I have a flat-file database, where records are separated by \n, and fields by ;. Are there any PHP libraries/PEAR stuff for using SQL on this thing?
<15> Meltir: hmm... tried that however now the variable is an array (when I run all I get is "Array" as the output). Is there a way to make an echo just print the first item in an array?
<12> im parsing an inifile .. and the inifile is sure ok .. same directory like index.php .. articles.ini
<10> anyone here familiar with GD?
<1> adrian: print_r($array) will print the entire array.
<1> reset($array); $foo=current($array); should get you the first element
<15> Meltir: after looking into it, that does not appear to be what I am looking for... I am looking for a way of taking a loop and appending the counter to the end of a variable.
<15> Meltir: so, while($row = mysql_fetch_array($result))
<15> {
<15> $auto_id = $row["auto_id"];
<15> $active = $row["active"];
<15> $img_a{$counter} = $row["img_a"];
<15> $img_b = $row["img_b"];
<15> $img_c = $row["img_c"];
<15> $img_d = $row["img_d"];
<15> $img_e = $row["img_e"];
<15> $img_f = $row["img_f"];
<15> $img_g = $row["img_g"];
<15> $img_h = $row["img_h"];
<15> $location = $row["location"];
<1> dont paste!
<15> $description = $row["description"];
<15> $listagent = $row["listagent"];
<15> $contactnum = $row["contactnum"];
<1> Stormchaser: !
<15> $price = $row["price"];
<15> }
<15> Meltir: Sorry... and then, append $counter to the end of img_a, img_b, and so on...
<10> wow
<10> that was crazy


Name:

Comments:

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






Return to #php
or
Go to some related logs:

intel 8201g
#python
ubuntu initlevel
mmmmeow
dev-node ipv6 -openvpn
brumac
netdaemon gentoo
#oe
asound/cards
etch wpa_supplicant setup



Home  |  disclaimer  |  contact  |  submit quotes