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



Comments:

<0> city names won't change, and if they do I'll be the one doing it.
<1> mik3dub: Then you can put them anywhere you prefer, really.
<2> guys
<2> anyone know anything about captcha
<2> cause i want to implement this junk: http://www.web1marketing.com/resources/tools/quickcaptcha/
<3> !+captcha
<4> [CAPTCHA] Completely Automated Public Turing test to tell Computers and Humans Apart (see: http://www.zend.com/zend/tut/tutorial-mehmet1.php), also http://en.wikipedia.org/wiki/Captcha and http://www.ocr-research.org.ua/list.html
<3> no.
<2> k
<2> but the thing is, that form is calling validate.php
<2> but my own form is calling PHP_SELF
<2> to validate user/p***
<2> how can i integrate captcha also, so to have user/p***/captcha
<2> know what i mean?
<2> and 1 submit button
<1> hackd` if (isset($_REQUEST['user'])) require 'validate.php';



<5> $i%3==1; what does this do?
<3> php.net/operators
<2> afroturk, modulus
<6> if the remainder of $i / 3 is equal to 1
<2> richard, i dont get it, where do i put that ?
<0> pear has a nifty captcha module
<5> ah thanks numist
<5> i'm trying todo something every 3
<6> aspie: still, you should read Wolfpaws' link
<1> hackd`: You want it all in one file. Put it in the part you dont' want them to get to unless they are kosher.
<7> if i show tables and echo {$row[0]}, it displays the table names, but if i use echo "<option value=\" {$row[0]}", nothing is displayed...
<8> AfroTurf: try $i % 3 == 0 ;) that means $i is divisible by 3 (no remainder)
<8> but then again, dont listen to me
<8> because I need coffee :(
<5> sequethin: i tried that and it didn't seem to work :(
<8> see above comment re: coffee ;)
<2> richard, i dont think you understand, i just want to add captcha to my login page, this is my login page: http://pastebin.com/752097
<9> xiam: I just found out about this shop. www.cs-cart.com maybe you should look at that.. it looks very promising and paying $125 to stop ****ing around with osCommerce is worth the "time is money".
<10> I was wondering... say i have a cl***, where public methods use private methods a lot - will a cl*** inheriting from that one still have those public methods working fine, or do i need to mark them protected instead?
<11> Vooloo: x-cart is better
<12> Hi all. Newbie needs help getting DB_DataObject error.
<12> Searched manuals.
<11> you need help getting the error? ;-)
<9> Rewt`: oh?
<11> ot you need help resolving the error
<9> Rewt`: dont tell me its based on oscommerce
<11> Vooloo: it's not.. google it
<1> hackd` I haven't looked at the specifica CAPTCHA implementation you are using, but you should only need to require 'something.php' to get the image, and require 'something.php' to validate the iinput. How tricky can this be?
<12> I do $obj->update() and get false. How do i get error string? Code follows.
<8> AfroTurf: as long as you don't start $i at 0 you should get reliable results (because 0 % 3 is 0 for some reason ;))
<9> Rewt`: cool, I'll check
<5> sequethin: my $i=1
<5> sequethin: 1 sec i'll pastebin
<6> thats the spirit
<13> thanks Vooloo!, it looks great :), i'll check it I really don't want to waste time cleaning oscommerce's code..
<8> uh oh my boss is kicking me out. but: for($i=1;$i < 30; $i++){ if($i % 3 == 0){ echo "$i is divis by 3"; } } works for me ;)
<2> richard, i know but my form is already doing the validation for the user/p***, like: <form name="frm1" action="index.php" method="post" onsubmit="return valid1(this);" >
<8> good luck all
<5> http://pastebin.com/752117
<2> richard, the captcha example, says that i have to <form action="result.php" METHOD="POST">
<12> / Edit
<12> $obj->setFrom($_REQUEST);
<12> $obj->raiseError("Database Update Error");
<12> $ret = $obj->update();
<12> if (!$ret) { die("Error updating " . $obj->_last_error);}
<12>
<6> kill him.
<14> yes
<12> Anyone help me get the error. That code prints "Error Updating".
<9> xiam: No me either, don't be a dumb*** ;) The time I wasted to sit with that ****ty code making the product better, it turned out to be its own commerce system after that. So I rather pay for a complete system at an attractive price.
<14> baibai.
<3> woof
<14> Oh my! Wolfpaws (.) <-- a BREAST! This is INACCEPTABLE
<15> hi
<3> o.O
<15> ;)
<14> I will never enter here again!
<14> now don't enforce that with a ban
<15> i'm create the search.php ...
<15> problem in select from mysql
<15> ;/



<15> $s = mysql_query(select * from table where login LIKE '$z%');
<1> hackd`: You can make result.php be your PHP_SELF -- You just have to add in whatever they want in result.php in the right place to your code. Somewhere near valid() function.
<10> Vooloo, is oscommerce not open-source? ...
<15> $line = mysql_num_rows($s);
<9> Xen0n: yes?
<15> echo %line ;
<15> not work
<14> contra: no ' detect.
<15> hehhee
<14> mysql_query('stuff');
<14> not mysql_query(stuff).
<10> Vooloo, so, instead of everyone doing the same things to fix oscommerce... contribute back?
<1> contraventor: $line or %line?
<15> richardlynch $line
<15> ElliottHird hunrum
<15> i'm using '' yes
<1> The fix for oscommerce is to just not install it, as far as I can tell.
<15> hehehe
<10> Vooloo, open-source doesnt work if everyone keeps their changes to themselves....
<9> Xen0n: no, because oscommerce is run by hiercy that is idiotic and wont accept new developers into the core, so there are no good versions.
<10> Vooloo, and they dont accept patches either?
<9> No
<10> Oh
<10> They how are they open-source?
<12> hhmm. I guess i broke #10 in guidelines. sorry. thanks.
<9> The amount of time spent on modifying and hacking oscommerce, that money can be used to buy a better commerce syste
<16> anyone recommend any database apis like java's hibernate but for php?
<10> If the community cant contribute back, they can;t really call themselves "open"
<3> Xen0n: open source projects usually have hiearchy
<9> Xen0n: ask them..
<10> Wolfpaws, of course - but they usually at least consider patches too
<9> Last release was several years ago, so many bugs, the code is ****ty.
<3> JakeConnor: sleep()
<17> Xen0n: no one says patches have to be accepted
<10> Vooloo, i can understand that, where time == money...
<10> ||cw, never said they did
<16> ?
<3> Xen0n: Actually depends... They *aprove* patches
<17> Xen0n: it's stupid not to at all, but no one MUST
<18> ElliottHird: I have no idea what provides aclocal. I don't even know what aclocal is. :P
<9> Xen0n: There are millions of contributions, but even then installed all of them to change the system into better, costs more than buying.
<1> JakeConnor: I know there is a PHP port of something like hibernate "out there" as it was discussed at last Chicago PHP User Group after the formal meeting... Now idea what it's called. Sorry.
<10> Vooloo, sounds about time everyone abandoned oscommerce ^_^
<9> Yes!
<3> JakeConnor: uh... never mind me...
<1> Elazar: Google for aclocal.
<9> It's complete crap, but it's free
<15> richardlynch http://www.phpfi.com/121404
<10> Vooloo, i only ever tried it for about 10 mins, and thought "**** this"
<10> haha
<9> And people are cheap... instead of paying a small sum.
<15> error is
<15> [Thu Jun 1 17:50:53 2006] [error] PHP Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/mantenedor/public_html/iproute/visao.php on line 75
<16> richardlynch: i find propel to be the closest thing but i want something more closer than propel... it wouldn't be propel you were referring to is it?
<9> Xen0n: $125 for a REAL commerce system is not much money IMO
<1> My swiss-cheese memory is not firing on propel... But that don't mean much.
<10> JakeConnor, you shouldnt be quoting the mysql result..
<9> osCommerce does like 100 SQL queries to list categories etc. too..
<10> JakeConnor, the result is a resource ID - just p*** it directly
<10> Don't force it to be a string
<1> contraventor: or die (mysql_error());
<12> and #6
<15> richardlynch error printing is resource id xx
<1> Xen0n: You are addressing the wrong guy...
<16> Xen0n: you are talking to wrong person
<10> JakeConnor, i am?
<10> fucj
<10> sorry
<1> contraventor: Line 4, add this: or die(mysql_error());
<15> ok
<10> well, contraventor , read what i just accidentallt said to JakeConnor :P
<10> $linhas = mysql_num_rows("$resultado");
<10> >.<


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#math
#php
idefix enlightenment
#ubuntu
atrpms wmvdmod
porno-yourself
#bash
#linux
.ola extension file player
#css



Home  |  disclaimer  |  contact  |  submit quotes