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



Comments:

<0> hmm
<1> SunShineLady: I said awstats... And why do you need php/mysql one?
<0> what's the diff between @mysql_fetch_array and mysql_fetch_arrary ?
<2> lkthomas: @ suspends error messages
<3> a typo and an @ sign
<1> !+@
<4> [@] The PHP error control operator that suppresses errors (@foo()), see: http://php.net/operators.errorcontrol - Don't use it. Think I'm wrong? Ask me about "GO".
<5> fourat: try http://netevil.org/node.php?uuid=427d6d12-c107-9816-7428-27d6d128f5e
<6> ok
<3> bad link
<0> mst : so is it means that error does not actually using it
<0> mst : so is it means that error does not actually fixed
<6> Lomat, does not work
<2> you thought it would?
<5> fourat: grrrr try http://netevil.org/node.php?nid=280
<5> :)



<2> whoah I wish I could fix broken code with a lot of @s
<2> like
<0> mst : I don't know how to fix mysql_fetch_array() error
<2> @echo "Your username is $_GET[login]"
<2> magic!
<2> lkthomas: which is?
<7> Stormchaser - Missed the W, sorry. I don't have access to the logs and I want it to be a something that runs along with the page i think its better this way although I could be wrong ofcourse
<1> lkthomas: I thought php-bot said something usefull...
<0> nevermind
<0> I should ask my friend to fix it
<0> brb
<1> *blink*
<1> SunShineLady: Then --- no idea, sorry
<7> okey, thanks anyway :)
<8> SunShineLady: there are several tools, but all need access to the log files :(
<7> G anal won't give IPs nor search engine crawling stats and rough referer URLs with no $_GET variables Im looking for something to compensate for it, anyway, going to search Zend and other libraries.
<9> Stormchaser, it seems that you blink a lot these days, sight problem ? (:
<1> colder: A problem? Yes. Sight? No. :)
<10> hey Stormchaser
<1> heya, lig :)
<1> http://storm.homeunix.org/misc/bts/sonoratwc2.jpg <-- Something is wrong with this picture, but I don't know, what...
<11> The Hand, last finger is really small, at least, I guess
<10> tail looks like it is part of the scarf
<12> thing on the waste looks like a big fox penis
<12> waist
<1> "thing"? You mean the cloth?
<12> nah i mean i like it
<1> lol
<12> but then again not everybody likes penises as much as i do
<1> da-drew: bashed.
<13> hi. how to p*** an image in php? so it's locate on the web doesn't get known
<14> mmm: header / readfile
<11> you mean how to direct-link an image while it is protected against that?
<15> anyone can help me /
<15> i have a parsing script and i wann'a to post more
<15> vars on it .... but in several submits...
<15> can any7one tell me how can tell me how to post, but in the same time to keep allready posted vars?
<15> i'm using curl and
<15> i'm wirting something like that for this part
<15> $post_fields = $GLOBALS[HTTP_RAW_POST_DATA];
<15> curl_setopt($ch, CURLOPT_POSTFIELDS, $post_fields);
<3> why doesn't anyone seem to quote array indexes?
<15> this is my curl script http://pastebin.com/739073
<15> please
<15> any ideea?
<16> eeeeerr
<17> hey gang.. I'm sure you've been asked this lots.. but.. how could I replace a command similar to "$var1 = ereg_replace("[ \t\r\n]+", " ", $var1);" with a more 'best practice' kinda way? This one seems to escape on ('s) etc..
<17> $var is generally a sentence
<18> I still have problems with sending mail. I've tested with another script which sends mail instantly, mine takes ages, yet it's still the same code...
<18> I just do an ini_set("sendmail_from", "");
<18> and then the mail(...) function;
<18> are there some other settings I need to do?
<16> check your MTA logs
<19> i am converting a file from utf16 to iso8859 but the file command still tells me it was utf16
<18> marklar: when it says Completed, it means the mail sending has completed?
<16> when *what* says completed?
<16> what mta are you using? which os?
<18> linux



<18> exim4
<18> in the logs, it says like: 2006-05-26 15:27:09 1Fjg5c-0007Am-Gm Completed
<18> i guess it's the date time messageid
<18> I have setup a script I found on the web, when registering new users, it sends the mail instantly
<18> however, when I'm running a test of mine, it takes way too long
<18> and the code in the test is copied from the script I setup
<16> hrm
<16> looks like exim, anyway
<16> try the following --
<16> hrm
<16> hold on, I need to stab my isp's tech support in the face over the phone
<20> hey guys :)
<16> Kenvelo: have you tried simply making a 2-liner, with a mail() call sans any extraneous functions?
<18> yes, same thing
<18> it takes like 10mins to arrive at gmail
<16> err.
<16> try local delivery
<18> but the other script takes like 20s to gmail
<18> ok
<18> by the way, found something in the logs, like:
<18> 2006-05-26 15:27:32 Start queue run: pid=27582
<18> 2006-05-26 15:27:32 End queue run: pid=27582
<21> Kenvelo: are both scripts running on the same machine?
<18> yes, same machine
<21> Do the mail logs indicate the message received by the remote server?
<16> is the mail() invocation exactly the same?
<20> Guys please can you have a look at this paste and tell me why im getting the error; http://pastebin.com/739117
<18> marklar: I just changed the body
<18> and message
<18> i mean subject
<18> CryWolf: well, I don't know how such lines would look
<18> that's why I asked about the "Completed" lines
<18> 2006-05-26 15:27:09 1Fjg5c-0007Am-Gm Completed
<16> Kenvelo: echo foo | mail yourself@gmail.com whilst tail -F'ing your logs
<22> Kingmilo: echo ("<input type=\"button\" value=\"Go Back\" onClick=\"self.location.href='defer.php';\">");
<21> Kenvelo: I'm not that familiar with exim, although I do agree that the exim logs are less than immediately clear.
<16> ew
<21> I've been spoiled by postfix.
<16> qmail ftw
<18> hm, ok will try that
<21> heh. I prefer something that will do everything I want, such as recipient verification, without lots of patches.
<22> Kingmilo: or use echo ('<input type="button" value="Go Back" onClick="'."self.location.href='defer.php'".';">');
<23> anyone know of a good free cms?
<21> you don't need () with echo
<24> i have a very strange problem with mysql_query(): sometimes queries dont get executed on the server, but the connection is ok,mysql_query() returns NULL then (which it shouldn't, only True, False or a resource is allowed), mysql_errno() returns 0 (no error), mysql_error returns a empty string .. the sql query is perfectly valid sql, and most of the time the same query gets executed without any problem ... does that sound familiar
<24> to someone?
<21> JaMiNkLe: google
<16> JaMiNkLe: cmsinfo.org
<16> pfote: what does the daemon log say?
<23> gotta pay lole $10 for php nuke :(
<24> marklar: you mean the mysqld log?
<25> JaMiNkLe: Pay *money* for php-nuke??
<21> JaMiNkLe: I thought you said good, which rules out nuke.
<16> pfote: yes
<23> nuke is bad heh
<16> heh
<23> i was just googleing stuff
<16> nuke is the most insecure piece of **** ever
<23> i tryed mambo it ****ed
<16> sans ms windows
<18> marklar: I just mailed me through command line, the logs updated quickly, with the Completed line being the last... however no mail so far, will wait a bit...
<16> Kenvelo: perhaps your mta isn't configured correctly
<21> Kenvelo: did you mail yourself at localhost or a remote address?
<18> at gmail
<23> what would you recomend for just a random news site?
<24> marklar: no errors, nothing .. i cant afford to turn on full logging, thats a machine with about 1500 queries/s
<21> Kenvelo: bad test. You're still dealing with other servers, which are probably introducing the delays.
<18> well, I'm not used to this email stuff
<18> hm, what should I execute?
<21> Kenvelo: if Completed indicates that the remote server accepted the mail, the problem is on the other end, and there's nothing you can do about it.
<21> Kenvelo: see if the exim docs describe the format of the log file.
<18> CryWolf: I don't know what it indicates... I just think it means that...
<18> ok


Name:

Comments:

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






Return to #php
or
Go to some related logs:

equery uses openoffice
unichrome Xlib: extension XFree86-DRI missing on display
#perl
#kde
#debian
#web
#ubuntu
Using Perl 5.8.7 w/o ithreads and 'worker' mpm httpd
udev_event run_program
#openssh



Home  |  disclaimer  |  contact  |  submit quotes