@# 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> <input ... />
<1> Usage: btmaketorrent [OPTION] TRACKER_URL FILE [FILE]
<2> Hi. How to change error handler ?
<0> /sw/bin/btmaketorrent or /sw/bin/btmaketorrent.py
<3> sgrgc_away: is this secure for all browsers ?
<1> /sw/bin/btmaketorrent.py
<2> ok, got it.
<4> I'm looking for some simple, small blog code. don't advise wordpress or bblog... I'm looking for the opposite.
<0> defbyte dunno
<3> how to change style of <input type='submit' value='enter' />
<3> ?
<3> with css
<5> defbyte: Ask in #html
<6> hi, can i use in cl***es more extends ? cl*** test extends test1 extends test2 ??
<5> defbyte: But either with cl***, id or style.
<0> ErenTurkay nope



<6> hmm.. var $cl*** = new cl***();
<6> ??
<6> $this->cl***->method();
<6> ?
<7> defbyte: <input type=submit value=enter style='blah blah blah' />
<0> defbyte http://www.w3.org/TR/xhtml1/#guidelines
<8> is there a php error log?
<9> Hi. I'm tying to get a 'To; ' field in mail() to work as per manual. I want: 'To; Sam Brown <test@ex.com>' where $name is 'Sam Brown'. I end up with: 'To: Sam@ex.com, Brown@ex.com' why is this ahppening. Using PHP 5/Apache 2. (Old version 4.x.x. would mail properly)
<7> maybe you want a border: <input type=submit value=enter style='border: 1px' />
<10> FlEeFlIcK: you need quotes around submit and enter too, or else is aint 'valid' code :)
<11> are there any online sources for instructions on upgrading php?
<0> html tidy makes most of the compat job for you :P
<11> i'm going to be doing it from commandline and it'd be nice if i had another window to look at instead of going back and forth in ssh
<10> I'd rather know, than rely on tidy
<12> Question about PHP and MySql..... When connecting to a database without a persistant connection, does this ensure that on execution of an SQL statement PHP will connect to the DB, execute, then disconnect?
<11> plus i've never done it on linux before so i'm not sure what's different
<11> McFly: if you want to "ensure" it disconnects put mysql_close() at the bottom of your page
<13> Mannex: no, it connects on mysql_connect(), and disconnects on mysql_close() or end of script execution.
<12> So it will stay connected all the time?
<11> no
<13> during the execution of that script
<12> Connects, Executes, Disconnects?
<12> Upon fetching, it reconnects, fetches, disconnects?
<4> Mannex: you'll notice that mysql_close has an argument of the connection handle, so you're in charge of when the handle is closed.
<4> otherwise it will be closed at the end of the script
<4> http://us3.php.net/manual/en/function.mysql-close.php
<12> Next question, lets say I have 20 people accessing the site at the same time, will I have 20 simataneous connections to the DB?
<12> 8simultaneous
<12> *simultaneous
<13> yep
<12> Ah ha... Just making sure because I wrote a DB connection object to help manage the connections.... and I wrote it so that upon executing a statement it _connect()'s, fetchs, then _close()'s
<12> I was wondering if PHP mysql already handled that
<4> Mannex: if your using php5; i find it nice to just subcl*** mysqli.
<0> lamp :P
<12> bhundven, good idea but I want to write this object to support multiple databases
<4> Mannex: http://pear.php.net/package/DB
<4> or mdb...
<4> gar... mdb2
<4> hehe
<12> bhundven, nice! I'll check this out.
<14> Hi !
<4> yeay to code reuse!
<14> I have $v="name" and i want to do $this->name doing somrthing like that $this->$$v ... Seems not work ?!
<15> _AxL_: $this->$v
<16> Can someone please recommend a good php-based templating system? I am going to be doing the back-end programming for a site but I want to keep my stuff as independant of the web designer's stuff as possible.
<17> smarty
<14> Dangermouse: yes it works :) thanks
<0> !+help i am hacked
<8> can someone explain why @mcrypt_encrypt works but mcrypt_encrypt doesn't
<16> Rewt: Thanks.
<8> Fatal error: Call to undefined function mcrypt_decrypt() in /home/feingold/httpdocs/staffasap/index.php on line 11
<15> webguy: @ will just surpress the error
<8> however if i append the @ it works find
<8> ah
<8> is there a reason why i would be getting the error?
<15> its the error suppression operator :)
<8> good to know
<15> Yes, the extension is not installed/configured correctly
<15> Hence its not available
<8> cool
<8> where would i install/configure this function?



<15> www.php.net/mcrypt i think
<8> thanks
<18> Hi!
<18> I need recommendations for a good Linux-based PHP development environment. I already tried Quanta Plus, gvim, GNU/X Emacs and PHPEclipse.
<19> Does php act as a mail transfer agent, or do I have to set one up to send emails?
<15> Fyron: nope, php just p***es the mail to the MTA
<20> rindolf I like jedit and emacs
<15> Fyron: read php.net/mail for more detail
<4> rindolf: screem, bluefish, I of course use vim 7
<4> webguy: mcrypt should show up in phpinfo(); if it is installed.
<8> bhundven: ok, should i restart apache before i check - just curious
<4> ... you could check now, restart and check again...
<15> Yea you need to restart
<8> k thx
<8> anyone know how to apt-get this function for ubuntu
<4> apt-get install mcrypt
<4> apt-get install libmcrypt-dev
<4> I'm just using debian, but you also need: php4-mcrypt
<15> webguy: ##linux / #debian / #ubuntu / man apt-get / man dpkg
<4> word
<15> hey Jymmm
<8> will php4-mcrypt work with php5 bhundven
<4> webguy: php5-mcrypt
<15> ...try php5-mcrypt
<21> I need a totally gross/sick image (large res would be great), has to be legal, so no goatse or tubgirl crap.
<4> webguy: apt-cache search mcrypt
<8> bhundven: returned nothing
<4> again... I use debian, not ubuntu...
<8> thanks
<15> Jymmm: Got a camera and a mirror? Sorry :P
<15> mmm tubgirl :x
<4> too bad I'm not at work. I could take a picture of the mold growing in my coffee cup.
<15> lol
<4> :-D
<2> How can I see PHP errors when I call some script using ajax?
<21> I think I found one, but anything grosser would be better... http://worshipalcohol.com/Vomit.jpg
<4> hehe
<15> haha a usual friday night
<22> i try to submit a text from an editor, but if the text (this is html codes) too huge.. the text can not insert to the database and there is no error message :(, but if i use not many codes on the text (submit) insert works fine.. how to catch what is the error? i'm forget,.. mysql_error ?
<23> sunia_: Are you using xajax?
<4> sunia_: turn on 'log_errors' and set 'error_log' to your log file that exists...
<15> "log files, wow, is that an ajax thing? or xml??"
<2> L1nX: no, its my thing
<23> okay then do what bhundven said
<2> bhundven: but how will it catch syntax error?
<2> or stuff like "call method on not a object"
<23> error_reporting(E_ALL); isn't it?
<24> hello lovlies
<4> ah
<4> L1nX: yea
<4> I forgot about that
<2> bhundven: look
<2> error_log its just a function
<4> no
<2> how the heck will it catch syntax error ??
<4> ini_set('error_log', '/path/to/your/log/file');
<2> ahso/
<2> ok, thx
<4> ini_set('log_errors','On');
<4> less /path/to/your/log/file
<2> yeah ok
<4> or you can just put those to ini settings in your php.ini and you now have a site wide log file for errors.
<4> s/to/two/
<4> otherwise the log will only get populated by errors in the scope of where ini_set was ran. which is useful if you want seperate log files for seperate scripts (iirc)
<25> hi, I have PHP 4.4.2 compiled with openssl, but I get Call to undefined function: ftp_ssl_connect() what's the problem?
<4> is ssl enabled on your phpinfo(); ?
<15> retro_neo: That's part of the FTP extension, is that enabled?
<23> compile with: --enable-ftp
<2> bhundven: mhm, I'm setting it in php.ini
<22> i tried ths: http://pastebin.com/770244 This really make me confuse.. if i insert not too many html codes (text) on $tour_itinerary it will works fine... but problem with too many codes and return echo "do nothing!" (i already set the field to longtext), but still problem :(
<25> Dangermouse: that's it :( thanks
<22> how to trace the problem?
<26> Hi all. I am getting a "General error: 2013 Lost connection to MySQL server during query" when I attempt to use an existing DB connection to run more than 1 query in PHP. How can I recycle a connection to do this?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

ar5005 gentoo
dirkvdbroek
#bash
jintxo
Xinerama Fluxbox Maximize
zenity compile failure gentoo
apache2 sfar
#math
#perl
#web



Home  |  disclaimer  |  contact  |  submit quotes