@# 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> stormy
<1> Teolupus: www.php.net/foreach
<2> 'nygma :)
<1> Teolupus: Read That Now.
<1> while-list-each is horribly disgusting
<3> AcidReign he wants both key and value
<3> ok sorry
<3> foreach ($arr as $key => $value)
<1> SubOne: do you need to read that page too?
<3> foreach ($_POST as $key => $value)
<3> AcidReign apparently
<3> php is big :p and its not c
<4> will try it
<1> Plus, with PHP5, iirc, you can do foreach( $some_arra as $key => &$value ) { $value += " touch!"; }
<4> just a moment
<2> it's similar to C



<3> but its not c
<2> SubOne: Name me one scrpiting language that is ike C
<2> s/ike//
<3> dont be a smart ***
<2> is that a threat?
<3> you know what i mean
<4> Perfect now!!
<4> 20 on
<4> 22 on
<5> Stormchaser: csh? :)
<3> i'm more used to c and not aware of some functions
<4> SubOne, AcidReign: Thank you very much
<3> a threat? why are you paranoid?
<4> perfect solution
<3> thank AcidReign not me
<3> muchbetter answer :)
<6> anddah: Did you say I needed to go to mysql and get a new php_mysql.dll ?
<2> mattmcc: hehe... That's close enough ;)
<3> Remowylliams he did recomend it, but if its a new php build it should not be nesacary
<3> just make sure you have the extensions dir pointed to the right place or store your extensions in the windows dir
<4> I saw you talking about regular expressions.... I used to play a lot with them when using bash and sed
<6> I did not get the installer, I got the full php zip file and have been installing from there. Everything except for sqlite, curl and mysql load fine. the error log shows that it's trying to load \\php_mysql.dll
<6> PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\php-5.1.2-Win32\\ext\\php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0
<7> hi, does strftime has a nd, st, th, attribute?
<3> Remowylliams i like to download both the zip and the installer and install over the unzipped dir, that way it automjatically places the php.ini file and etc wheree they need to be on my system
<8> has anybody experienced problems when trying to go to the same URL in the same client (mozilla/firefox) simultaneously, the second instance waits for the first one to complete?
<8> i did a for/loop with a sleep(1) in it and watched it happen
<3> Remowylliams you can also drag the dll to the windows dir, thats what i do
<6> SubOne: I did and it fails the same way.
<9> Hi
<3> hmm sec
<5> Hyde92: Well, you can create a server configuration where that happens, but the default Apache config wouldn't do that.
<9> I want to load different pics in a div , but keeping a single html page. Right now I'm doing this using JS. I would like to have it done using server-side scripting. Is it possible in PHP?
<3> what is "extension_dir" set to?
<6> I really don't want to have to drop all the extentions I want to use in my windows directory
<9> (reloading that same page each time is okay)
<3> Remowylliams what is extension_dir set to in your php.ini file?
<7> anyone?
<5> derek_: Reloading the page is necessary, and yes
<6> SubOne: after several itterations I'm currently using 'extension_dir = "C:\php-5.1.2-Win32\ext"'
<9> mattmcc, okay. Can you give some directions as to how to implement it?
<3> did you try forward slashes?
<5> derek_: Well, you just have PHP pick an image source, and put it in the page..
<6> SubOne: that would be one of the other itterations Yes. And I get the same thing it loads xmlrpc, bz2 even pgsql.dll just fine.
<3> it loads other mods but not mysql?
<6> SubOne: Yes
<3> any other mods its not loading?
<3> sqlite?
<6> Not mysql, not curl or sqlite
<3> hmm
<3> whats the error exactly
<6> ;extension=php_mbstring.dll
<6> extension=php_bz2.dll
<6> extension=php_curl.dll
<6> bz2 loads curl does not
<3> hmm
<8> matmcc, it has happened on every apache/php i have used
<6> PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\php-5.1.2-Win32\\ext\\php_curl.dll' - The specified module could not be found.\r\n in Unknown on line 0
<6> PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\php-5.1.2-Win32\\ext\\php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0
<6> PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\php-5.1.2-Win32\\ext\\php_sqlite.dll' - The specified module could not be found.\r\n in Unknown on line 0
<8> any idea what config option would impact it?



<10> paste it a couple more times.
<2> mycoind: ...
<8> http://localhost/lag.php and lag.php?a=1 will not wait, but the exactl same URI will
<3> hmmm, im trying to recreate that error
<6> Grrr bots
<6> So you were saying SubOne?
<2> Remowylliams: what bots?
<3> im trying to recreate the error
<6> Ok Grr to you Stormchaser
<11> if you have the string "dir1/dir2/filename.ext" how would you get just "filename.ext" ?
<2> Remowylliams: Me? I don't remember spamming the channel...
<3> hmm
<6> Stormchaser: No you kicked me. I wasn't trying to spam the channel thank you
<3> Remowylliams when i get rid of my php_mysql file i dont get your error, i get undefined function
<2> Remowylliams: Ever heard of pastebin? Ever heard of guidelines? Read them next time, please
<6> Stormchaser: If the channel provided a pastebin I wouldn't have a problem
<3> Fatal error: Call to undefined function mysql_connect() in C:\...\header.php on line 15
<2> !tell Remowylliams about guidelines
<6> Stormchaser: Yes I've head of guidelines Sorry most often pastebin's are listed in the title
<3> jeez Stormchaser you need some coffee
<12> What happens if a script, which opens a file for writing, is executed simultaneously? Are there any locks or is the behaviour more or less undefined?
<6> Stormchaser: But thank you for being so diligent.
<3> or maybe too much coffee
<3> Remowylliams did you read my post?
<3> Fatal error: Call to undefined function mysql_connect() in C:\...\header.php on line 15
<3> thats what i get without the mysql dll
<2> Remowylliams: 6) Do not paste here; /msg php-bot pastebin <-- it says in the guidelines.
<6> Sorry SubOne Stormchaser was helping me understand how to read guidlines.
<3> i noticed
<3> is he the admin or something? very pushy
<6> Stormchaser: Thank you. .Again I thank you for your great and helpfulness.
<3> extension_dir = "C:\Program Files\Apache Group\Apache2\PHP\ext"
<3> thats my php.ini
<3> it works fine
<3> perhaps some characters in your must be slashed out?
<6> SubOne: I don't know I installed php in my c:\ directory hence the c:/php-5.1.2-Win32/ext but I will try to work around this PHP Bug and try putting it in the home directory for Apache
<3> i just put it there for convinence, try removing the non alphanumerics
<2> http://www.daholygoat.com/jaws/html/?gadget=StaticPage&action=Page&id=9
<3> c:/php/ should suffice, no?
<13> is php compiled with --with-mysql?
<2> it;s windows install...
<14> SubOne: www.apachefriends.org/en/
<3> tek_ what is this ****e you're linking me to
<6> from what I recall php 5 does not contain mysql no
<2> Remowylliams: Yes it does.
<6> ph8: There is a mysql dl it's just not compiled in
<3> Remowylliams if i were you id just change yoru install dir to c:/php/
<6> Stormchaser: I'm sorry I will correct myself when you tell me I'm wrong.
<2> Remowylliams: Um... You're wrong?
<3> rawr...
<6> *chuckles*
<3> cat fight
<2> SubOne: You might want to read the link I posted above.
<3> why
<3> i had no issues installing mine
<6> Stormchaser: php prior to 5, generally had mysql_client lib bundled with it
<2> Remowylliams: PHP5, like 4 and 3 includes mysql extension, but it's not built by default.
<1> Remowylliams: the difference is, you have to have mysql's client library installed, to compile the mysql extention.
<6> Stormchaser: If I were using 4 I wouldn't be having the problem I"m having now. I'm doing what I can to make it all work nice. And you're being lots of help. So thank you
<2> Remowylliams: MySQL client is not bundled with PHP5 because of the licensing change, but that doesn't mean you can't built the support in PHP... --with-mysql works fine.
<1> Remowylliams: mysql's license no longer allowes PHP to bundle mysql's client library
<4> why unchecked checkboxes don't post OFF to $_POST?
<1> Teolupus: because that's how html works
<2> Teolupus: Basically they don't edxist
<15> for those of you that use sessions for user handling (most of you, i would ***ume), how do you get around session piracy?
<2> *exist\
<4> what if I wanted to?
<2> bah.
<1> Teolupus: unchecked check boxes have no value, therefor the browser doesn't send one.
<6> Quite simply perhaps I misunderstood ph8's question I thought he asked if php comes with --mysql enabled
<4> ....
<4> I've to find a way to deal with it
<3> AcidReign are they sent as "" or just not sent?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#kde
#php
prototype.js browser detection
ubuntu how does gdm authenticate?
#perl
#math
oxfard dictionary
#perl
version 1 super block wiki
initrd powerpath



Home  |  disclaimer  |  contact  |  submit quotes