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



Comments:

<0> function funcName($var['arrayKey']) { /* is that possible to get what written on the 'arrayKey' in here?*/ }
<1> I really don't think you can do that
<0> okie, thanks
<2> Hey all -- is there any way to execute a SQL query in the background?
<1> function funcName($var){ echo $var['arrayKey']; } maybe?
<2> i.e. so one doesn't have to wait for it to return to continue processing?
<0> Dragnslcr, no i want the keyName
<1> Not unless you run a separate script in the background
<1> Ox41464b- you mean you want the keys in the array?
<1> Either array_keys or use a foreach loop
<2> Dragnslcr:Which isn't in and of itself a horrible idea.
<3> is it possable to have PHP read and write from a certain memory address?
<4> Pollita: You in?
<5> Shadow_mil: why do you need it to do that?
<3> itrebal: I need to read the input of a parallel port
<4> Shadow_mil: The question itself indicates you've painted yourself into a corner where you don't really belong. :)



<5> Shadow_mil: what system?
<6> That sounds, uh, incredibly bad
<3> itrebal: window 98
<4> Shadow_mil: It should be available as a device you can fopen()
<5> Shadow_mil: it can be done, through fopen, through the devices... i'm not sure... something like lpt:// or com://
<7> Shadow_mil: why are you playing with the parallel port with PHP?
<5> myconid: i've done it... i did communication between two computers at one point
<7> itrebal: so did I .. in school... in C
<7> itrebal: its stupi-easy with C
<5> and same with PHP, as it works nearly the same way
<7> itrebal: and im having trouble grasping an application that would require parallel communications.. that is simple enough to be done with PHP..
<5> not all apps done in PHP are simple
<7> I didnt infer that.
<8> Shadow_mil: Consider that you're using the wrong language.
<7> ^^^
<5> i enjoy using PHP for things it shouldnt be used for, just to see if i can
<4> myconid: That's OK, because he didn't imply it.
<4> itrebal: ...
<5> TML: its just to see if i can, not that i use it for anything
<4> itrebal: Do you also stick your reproductive organs in the electrical socket, just to see if you can?
<3> sorry, back, dad need PC
<5> TML: absolutely :)
<3> mattmcc: yeah, but PHP is the only thing I could ever possably make a RoBot in
<9> TML: works wonderful with chicken ;)
<5> RoBot?
<8> Shadow_mil: Perhaps it's time to add some tools to your belt.
<5> !tell Shadow_mil about hammer
<3> itrebal: yeah, I want to get a old motor wheel chain, thats joystick controll, take out the controller, and hook it up to a parallel port
<3> plus, I can already controll the parallel port output with a program I found called lptout.exe
<10> hack that into a php extension then
<10> hehe
<3> have not found one from input, but I have found input is saved to a certain memory address
<3> gtg, bbl
<10> Shadow_mil its not what php is designed for
<9> all I/O devices are, the question is whether PHP would be the best tool to achieve it with, an advice is to take itrebal's advice
<5> Shadow_mil: its going to be 100x more effort than it would be for you to learn C
<10> and ***embler
<0> Shadow_mil, since its hard communicate php and memory, what if... communicate php and your lptout.exe ?
<11> hi there, i have a problem with sessions, i'm trying smf and wondering why the install.php keeps empty..so i insertd some echos for debugging...and the echo before @session_start; is sent, but after it it isn't...any ideas why?
<12> hi. How would I get a php script to evaluate itself, as if it had been access via the webpage, within php itself?
<1> That sounds like a really bad idea
<12> heh.
<1> Welcome to the world of infinite recursion
<13> Hello. I have some errors on a php page after a script installation and would like to know how to fix it. Fails to open page, doesnt connect to mysql. Config.php is ioncode encrypted... http://trainingp***.com/articleportal/ArticleDashboard/
<5> ppl: as in.... in the command line, or inside a webpage?
<5> shibbyius: did you write this?
<12> Well, within a script that could be from the command line or a webpage
<5> !tell ppl about eval
<12> ah there. thanks.
<13> No the script is called ArticleDashboard
<12> i needed a keyword to find what i want in the php manual
<5> shibbyius: we dont support 3rd party scripts, we help you write php - not hack/install/use 3rd party ones
<5> ppl: the whole point of that was to NOT use it!
<9> shibbyius, I ***ume that if you've written the application encrypted in ioncode then you wouldn't have a problem decrypting it, however if it is encrypted it most likely is for a reason, you should probably refer this problem to the creator or publisher of the application, maybe for a license?
<12> ok well.. how would you do this. I have a php script (that i didnt write) who generate a RSS. I want to transform the RSS to HTML via XSLT.
<13> Okay sorry. Yes that makes better sense xpower.



<12> itrebal: My problem is with the RSS being a "dynamic" file
<5> ppl: file_get_contents('http://www.yourdomain.com/rssgeneratorfile.pph'); and simple XML (or DOM if your php4)
<12> ok, thats what i needed.
<12> Now.. just for learning.. This will p*** via the webserver. But if my script is in http://www.yourdomain.com/, I could use eval (or something else) to by p*** the webserver. What would it be?
<5> wait... what?
<14> ok, who lives in the ****ed up state of texas?
<5> Jymmm: not i, but why?
<12> I ***ume that file_get_contents() makes a request to the webserver reguardless if it's being called on a local webserver.
<14> itrebal you ask we way too many damn questions! =)
<5> Jymmm: what can i say... heh
<5> ppl: correct, leave it at that
<12> heh
<12> itrebal: For my curiosity, what would be the mechanisms (functions) to byp*** the webserver request?
<11> hi there, i have a problem with sessions, i'm trying smf and wondering why the install.php keeps empty..so i insertd some echos for debugging...and the echo before @session_start; is sent, but after it it isn't...any ideas why?
<12> I'll definitly be using file_get_contents() btw.
<11> are there any known probs with php5 and sessions?
<1> ppl- if you want to run code that's on your own server, you'd normally use include/require
<14> the-dead: yes, use php6 instead
<14> the-dead: yes, use php7 instead
<14> the-dead: yes, use php8 instead
<15> heh, where can I find this "php6"?
<14> the-dead: yes, use php3 instead
<12> Dragnslcr: *nods* But if you want the output of the code, you could use eval, right?
<1> Real programmers have been using PHP12 for 4 years now
<3> Ox41464b: I have already writen a PHP app to controll output, all it takes is system("lptout " . $output);
<1> ppl- no, you never use eval
<14> !+eval
<16> If eval() is the answer, you're almost certainly asking the wrong question. -- Rasmus Lerdorf, BDFL of PHP
<11> Jymmm: sorry, but stfu
<12> Dragnslcr: Ok, is there something sane to accomplish this?
<1> ppl- you'd use proper modularity in your code
<12> Yes, hopefullu.
<5> pwnd.
<3> there is even a website that shows how you can controll parallel port output with PHP.
<5> GregVernon: cvs -d :pserver:cvsread@cvs.php.net:/repository checkout php-src
<1> I've used eval I think exactly once ever, and that was when I really did want to be able to evaluate arbitrary code
<5> Shadow probably, search google
<14> Shadow_mil url?
<3> infact, I think two.
<12> Dragnslcr: I'm just wondering in the case where you didn't wrote the code.
<1> ppl- you'd probably rewrite it yourself
<12> Ok. Thanks for the help everyone.
<3> nope, a lot more then that.
<17> -nods-
<14> itrebal then flunk and quit bitchin about it!
<0> How do i check a MySQL Link still connected or not? $link=mysql_connect();mysql_close($link); if ($link) echo "true"; else echo "false"; //its return "true";
<5> Jymmm: i keel you
<14> itrebal you couldn't you flunky!
<5> lol
<5> meh, i couldnt flunk this cl*** - the teacher likes me too much :)
<14> I like ya, but I'd still flunk ya!
<5> no, she wouldnt flunk me :)
<14> you boiking her huh?
<14> ^n
<18> lol
<5> Jetpack: uhh... we payed 120 for XP pro
<19> itrebal how many copies of it?
<5> Jetpack: 1?
<19> on MS website it says $299 for XP Pro, $199 for upgrade version
<5> what country?
<19> USA i imagine
<5> no, what country are you in
<5> Dragnslcr: why was it free?
<20> And why are you hugging Windows?
<1> Academic bulk license
<21> Dragnslcr has a patch on one eye


Name:

Comments:

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






Return to #php
or
Go to some related logs:

Kilt avar
#perl
#lisp
ppdev0: claim the port first
#perl
tefad sucks
t
#suse
flashplugin-nonfree hangs on apt-get
#debian



Home  |  disclaimer  |  contact  |  submit quotes