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



Comments:

<0> and what do you mean what "javascript is supposed to do"?
<0> Javascript does what it does
<1> and what does it do?
<2> migs: No, JS is also server side.
<3> t432: php and java are not competing technologies unless you are using JScript server side on IIS
<3> s/java/javascript
<1> do they both do different things?
<2> depends on the (ab)use
<3> t432: yes, and can even complement each other like with AJAX
<3> php on the server, JS on the client
<4> Stormchaser: Yeah, that's what I thought. So it can be done, right?
<0> why on earth would you put JS server side?
<5> that is a mistake.
<2> foo: Of course.
<3> ^Migs^: because it's beter than vbscript?
<5> you're in a room called php



<5> ...
<4> Stormchaser: Gocha - thanks
<6> why would you put any language serverside? because you need to get a job done.
<2> *cough*Javascript != JScript
<5> hahaha
<0> <0> t432: PHP is server side, JavaScript is client side <2> migs: No, JS is also server side.
<3> Stormchaser: well, that's what MS wants you to think
<6> Stormchaser: http://docs.sun.com/source/816-6411-10/partfeat.htm
<2> migs: I'm sorry, but I don't see anything wrong with that statement
<3> jscript is an implemantaion of EMCA script, as javascript is, and was create to be quite compatable with javascript
<7> how could I get the html of the site that the user is looking at into a php var?
<3> ^Migs^: you can run any scripting lang anywhere you want.
<2> caffinated: I know that, silly :) That's the reason why I said, that JS is ALSO server-side ;)
<7> but it has to be what the user sees
<3> you can even run php client side in a browser, but browsers dont' come with it by default
<7> not just a random file_get_contents()
<6> Stormchaser: oh, ok. I've run in to a few people who think 'JScript' is the serverside variant of JavaScript
<3> punkstar: submit it in a form somehow
<3> JScript is what IE runs when you tell it to run javascript
<8> how can i use an incrementor in a post var? like $_POST['next_$i']; but that isnt wroking
<3> hyksos_: use " instead of '
<9> when you use single quotes the variables won't get resolved
<3> or 'next_'.$i
<2> ||cw: well... A big portion of ECMA is implemented in JScript. Yet it still differs quite a lot to be equivalent. Just like KJS != JavaScript, JScript != Javascript. Heck, not even ECMA262 != Javascript. That's ECMAScript :P
<3> i personaly prefer the latter for clarity
<10> could you guys help me out with this? I'm getting a wrong result with mktime()
<10> http://nopaste.php-q.net/202178
<3> Stormchaser: and html != what browsers render. it's all just interpretations of the "standards"
<2> ||cw: exactly.
<11> t432: Ultimately, the question isn't "which is better", so much as, "they have different reasons for existing, so 'best' is based on 'what do you want to do?' "
<1> what will be the best language to process forms?
<1> js or php
<3> Stormchaser: jscript == javascript just as '' == 0
<11> On the client side or server side?
<11> ^^ t432
<1> does it matter?
<11> Um. Yeah?
<3> i never said they were the same ting, they are just equivelent
<1> why would choose one over another?
<12> t432: Instead of all these questions, what are you trying to accomplish?
<11> What are you going to do with the form data? Crunch a few numbers and display a result? Put the information into a database? What?
<11> 'process forms' is still too vague. Process them to do what?
<1> I am trying to process form and sotre in a db
<1> typo
<11> PHP, hands down.
<1> store*
<3> t432: I'd say both. use JS to do some validation before sending, to reduce repeat form posts, then use php to validate again (in case js is disabled or the form is hacked) and do the "processing"
<10> for usability, I'd say PHP. Since users can disable javascript, why force them to use it in order to use your site...
<1> ok thx
<11> and I agree with ||cw about using JS to pre-validate client side then use PHP to re-validate and then access the databse.
<0> no use Java
<0> that's quite common, Ahroun
<10> I would agree with that as well
<13> if you loved your users you would trust them and not validate their data! :)
<10> :)
<1> I know Java but I will have to learn the script languages
<1> probably go with java then
<3> lostage: that's why you do both. don't force the user to use it, just take advantage of it when you can
<11> I hate my users. My users are vile, evil, disgusting creatures that deserve nothing more than gruel and water for sustinence and belong chained and caged, forced to just LOOK at my site.
<10> ||cw: completely agree



<1> lol
<13> php is server side, and you'll pickup the syntax quickly
<14> bahness
<14> the IMAP library is confusing
<3> Ahroun: Amen!
<2> <3> Stormchaser: jscript == javascript just as '' == 0 <-- VERY loosely
<14> how hard can it be to just look at the first message in the inbox then delete it?
<10> any suggestions on what to do with my mktime() issue? http://nopaste.php-q.net/202178
<1> I need to protect myself from my users .. they are constatntly looking for my weakspots .. lol
<11> Would you let the average man off the street get his grimey hands all over the Mona Lisa? No? Then why the HECK should I Let some average joe-schmo get his filthy, untaught hands on my sight?
<1> that kind of mentality huh
<1> :)
<3> prophile: that's like, pain
<14> t432: remove your website so you don't have to be careful about your users
<3> prophile: have you looked at using PEAR's imap cl***es? not the mail_imap, the other one
<7> gah, they are all fags on #javascript
<1> lol punks
<2> punkstar: *blink*
<14> ||cw: ew, PEAR :|
<14> ||cw: nah, I'll figure it out eventually
<3> prophile: it's better than C-Client, which is what php_imap uses.
<7> none of them in there will answer a question..
<7> aha!
<11> I guess I need to head over to #javascript then... i could use some nicotine right about now.
<3> prophile: I've heard of people using the cl***es from Aloha mail too
<3> punkstar: what are you trying to accomplish?
<3> Ahroun: don't bother, they are all ultra-lights
<7> trying to get at the html elements of a remote page in an iframe
<7> i would get the html via php, but I need to get the informatino when a user is logged in.
<3> punkstar: remote as in the URI of the iframe is a different site?
<7> yurp.
<3> hm, I don't think the browsers security model allows that anymore
<3> you can only gte to iframes that are ont eh same domain
<3> punkstar: why don't you just work with the owner of the remote site and work out an API where a user can auth to youin some way and allow direct access into their data?
<12> punkstar: You know what, I can't think of anything but exploits from what your trying to accomplish. So unless you can justify that, either drop the conversation or try another network.
<3> o_O
<3> or ask the FBI :D
<15> I'm having trouble getting php in apache load the mysql stuff. I have the following, and php works, but any mysql function calls give errors.
<15> extension_dir = "c:/program files/php5/ext/"
<15> extension=php_mysql.dll
<16> Jymmm: which is the other network where you can talk about exploits? :)
<11> lol
<12> maver: http://127.0.0.1/
<17> irc.exploit.net
<18> what error?
<17> :P
<16> I'd need a perl module to create raw sockets, and I don't recall the name
<2> maver: irc.notonthisplanet.universe
<16> irc.exploit.net: server is full, go away
<16> I'll have to hack it, in order to enter
<16> :D
<2> Jymmm: You do it. I don't feel like it.
<3> scott_: did you copy the other mysql dll's to somewhere in the system path?
<14> eugh
<11> maver: exactly. They figure if you can't get in, you shouldn't be in.
<14> IMAP still ****s
<14> so I finally figured out how to get this script working
<15> ||cw, they're in ext..
<14> and it cuts off after the first lines
<3> scott_: and that's in the PATH that apache sees?
<14> gives me the first four lines of this email then quits itself :|
<12> maver exploit this!
<2> >:)
<16> Ahroun: so here we should accept users only if they already know everything about php :D
<12> maver: and the rest to #phpfordummies
<11> maver: *grins* If I were you, I'd take the hint you were just given. ;)
<14> give the newbies the full tutorial from goatse.cx heeh
<15> ||cw: I don't know, apache loads php fine
<14> *hehe
<11> always better the hint than the clue-by-four.
<12> !+clues
<19> Due to high demand, we are having a clue sale: One for $1, two for $5, three for $10, and our best value yet... Four for $20! While supplies last. Call now, operators are standing by! 1-900-CLUE4$
<18> scott_: whats the mysql error being outputted?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#gimp
sssh behind a router
#debian
xwinwrap rpm
xorg defaultmode
#perl
#qemu
yenta_socket Invalid module format gentoo
change hostname windows xp home
#php



Home  |  disclaimer  |  contact  |  submit quotes