@# 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



Comments:

<0> bubblenut: where did you get the code you are trying to build with?
<1> If I use --force it generates the configure script fine, it configures fine but errors linking when making
<2> I also think that DOMA is constitutionally invalid as it superceeds the full faith and credit article of the constitution. Though I grant the right of a given state to decide when and how it will grant a marriage license.
<1> cvs, release php_5_1_0
<2> Though that's a problem in itself when it comes to that state's guarantee (if it has one) of non-discrimination
<3> stupid question: can i use php without httpd on my local machine?
<2> redduck: Sure, you can use the CLI version
<2> redduck: You got nix or doze?
<3> Pollita: nix
<2> Then (unless your distro puts it elsewhere) look for /usr/local/bin/php
<4> TML: I am confised why is it not working
<4> TML: confused
<2> You can run: php -f filename.php or php -r 'somecommand();' or a few other ways
<3> Pollita: thanks
<5> is there a way (using imap functions or something else) to use PHP to forward emails in an email inbox?



<6> can any one help with this please file_get_contents(): php_network_getaddresses: getaddrinfo failed
<2> chasep: Not sure what you're asking, but in all likelihood, yes.
<6> I am not sure whats missing ....
<2> porkpie: You're requesting a connection to a hostname that doesn't exist
<5> Pollita: now that I Think about it, there HAS to be, otherwise how would squirrelmail do it?
<6> OK thanks
<2> chasep: Precisely :)
<1> Just running it all again to get the exact error, another odd thing is that there seem to be far more warnings during the make process than usual
<0> bubblenut: pastebin the errors you are getting
<1> http://pastebin.com/580969
<7> Exists in Smarty templates something like in_array($i, $arr) ?
<7> I need to render checkbox (un)checked according to db
<6> Pollita:any ideas why it would put in the extension.xml.gz ?Warning: file_get_contents(http://extensions.xml.gz): failed to open stream: Invalid argument in
<1> This is the error I'm getting when making,http://pastebin.com/580971
<6> Pollita:Do I have a module missing ??
<1> the second link is the one to look at, it steps back a bit further
<0> bubblenut: the error means bascially that the .h files were found while compiling things but when linking the binaries their were no files that had those definitions
<0> bubblenut: what does your configure line look like?
<1> http://pastebin.com/581000
<1> I've removed the --with-pdo-mysql and am now trying it without
<1> It's annoying because pdo is the only thing I'm doing this for. There's a but in pdo in 5.1 above 0 and one guy was saying that on windows copying the dll compiled for 5.1.0 over worked, I was hoping to try this with the .so
<1> makes fine without pdo-mysql
<1> :grr:
<0> bubblenut: well, you have other options
<0> one thing is that you could help configure by specifiying a path a path to your mysql install --with-pdo-mysql=/path/to/mysql/
<0> bubblenut: or use the pecl option, installing it with the pear command 'pear install pdo-mysql'
<0> bubblenut: or grab the pecl.php.net/pdo_mysql code and install it as a shared extention.. of course pecl.php.net/pdo would have to be installed first
<8> bubblenut: Looks to me like something went wonky earlier, probably ./configure, that's stuffing you up by leaving out -lmysqlclient
<9> hello! i call mysql_connect($server,$user,$p***), but it fails and mysql.log shows that it doesn't use the p***word. any help is appreciated.
<4> $_POST['cieraAdmin_p***word']; does not worj
<4> $_SESSION['cieraAdmin_p***word']; works
<4> what might be the reason
<9> when i connect from the cmdline with --> $ mysql -u user -p dbase
<9> it works ^^^
<4> ?
<10> slowroth: paste code?
<0> close_to_debian: there is a big difference between $_POST and $_SESSION
<10> zircu: HUGE
<10> ^_^
<4> it works on the old server
<4> what can be the reason
<10> close_to_debian: is the old server and the new server same version of php?
<9> AfroTurf: http://paste.uni.cc/8698
<10> slowroth: first off $dbase is what your using as your db name soo i don't know what this is then $db
<10> slowroth: ah nvm
<10> scratch that
<10> slowroth: try single quotes around the first 4 vars
<9> AfroTurf: nope
<9> it is funny that this same thing works elsewhere (in another script)
<10> slowroth: and you don't need mysql_selct_db($dbase, $db); just mysql_select_db($dbase);
<1> Cheers for your help, I haven't managed to sort things out yet but it's proving a pretty good learning experience ;)
<1> I'll keep you posted
<10> and read www.php.net/mysql_fetch_array
<10> so you know proper arguments for mysql_fetch_array
<11> how to write some post vars into the header which are "submited" by a normal link then
<10> slowroth: and in the future use standard names for queries
<10> slowroth: like $sql and $result
<10> slowroth: soo people know what that is
<9> AfroTurf: thanks ... however, i'd like to discover why mysql_connect() doesn't send the p***word to the server.
<10> are you getting requires p***word
<10> error



<9> AfroTurf: i see "Using P***word: NO" in mysql.log
<10> slowroth: when you run your php script what do you see
<10> slowroth: try this approach http://paste.uni.cc/8700
<9> AfroTurf: same thing
<10> slowroth: better thing to do would be if(!($db = mysql_connect(DB_HOST, DB_USER, DB_P***WORD))) { mysql_errno() ': ' mysql_error(); }
<10> slowroth: this way when you run your script it will tell you whats wrong
<0> also, ensure that ini_set('error_reporting', E_ALL);
<10> yes thank you zircu
<9> AfroTurf: mysql_connect(): Access denied for user: 'user@localhost' (Using p***word: NO) in ... on line ...
<10> slowroth: there ya go
<10> slowroth: permissions problem
<9> why doesn't mysql_connect send the p***word i supplied
<9> :D
<10> slowroth: try no p***word
<9> AfroTurf: i can't try it without p***word -- the p***word for that user is not blank
<10> slowroth: you sure
<12> what would make a file not writeable even though it's chmod is 777
<12> ?
<9> AfroTurf: yes, i connect with that p***word from the command line
<10> slowroth: with the same user?
<9> AfroTurf, yes
<12> jesus christ....ipowerweb's setup is frustrating
<10> slowroth: the only other thing that comes to mind is permissions problem
<12> I'm uploading files, then chmodding them to O777, but php refuses to see it as writeable
<10> regress: you mean you can't upload them?
<10> regress: using php?
<12> no, they upload perfectly...and then I copy() them, works fine, then I chmod them to O777.....then I want to open one of them to write to, php says it's not writable
<13> what editor has good color coding, PHP parsing and can work over FTP ? Somehow my Jedit doesn't want to do FTP anymore :-( , it times out while Filezilla works ?!
<9> but as far as i can see from some web posts, this could also be a bug in mysql itself .... hmmm... no idea :-(
<10> regress: sorry mate can't help with that one
<12> man, drivin' me nuts
<12> stelt editplus
<12> free trial
<12> never expies, heh....awesome piece of soft
<14> php considers an empty string to be False right?
<15> if you use ==, yes
<15> if you use ===, no
<16> meow
<14> insin: er?
<14> insin: just the string
<14> insin: if ($myString){echo("Yay!";)}
<2> if ($foo) is equivalent to if ($foo == true)
<2> So to answer your question, an empty $myString would be considered false in that if statement
<2> grrr
<2> ****ing ethanol ads
<10> what tells an $var to be ignored
<2> Its lack of self esteem
<10> like $var = NULL; ?
<2> Oh, you probably want unset($var);
<10> pollita: ah thank you
<17> http://shadowarts.shadowarts.org/svn-repo/?do=browse&project=techwars&path=/ <- on this page author names are cut short (to 8 characters, svn list limitation...) anyone have a bright idea on how i could take this short name and convert it to a longer name (all the authors have unix shell accounts with the same name)
<0> shadowarts: create a map of names?
<17> how so?
<0> array('shadowar' => 'shadowarhog');
<2> $accoutns = file('/etc/p***wd'); $results = preg_grep("/^$partialname/", $accounts);
<2> Something like that should do
<0> or that
<0> of course partials could match each other.. user: foo and user: foobar, some changes to the regex could probably fix that
<17> well for now that might just work
<0> as long as you dont have shorter names that match longer names yea
<2> zircu: How would you fix that?
<2> The whole issue is that they ARE partials
<2> unless you mean short (less than 8 chars) names....
<18> is there any way in gd to get cmyk values of an image instead of rgb values?
<14> hey
<14> err
<17> well if the author name is less than 8 chars it doesnt have to check
<14> wrong channel
<14> still, hi everyone! :P
<0> Pollita: it is the case when there is a shorter username trying to match a longer name
<2> In which case I'd only do the grep when $partialname is >= 8 characters long and just use it as-is for shorter names
<10> i have an $array of elements from a db, anyone know of a way that <input type="checkbox" /> if value from the $array matches the value of the input then have that box checked. and then continue to display the rest of the checkboxes?
<2> But: foobarba will match both foobarbaz and foobarbang and there really is no way to tell the difference
<0> well if I user 'foo' posts and there is a user 'foobar' the regex would pickup both


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#lisp
#perl
#perl
${VISUAL} linux sensible-editor
everything is simple once you understand it
fedora soundcard autodetect intel
#kde
#perl
#debian
#physics



Home  |  disclaimer  |  contact  |  submit quotes