| |
| |
| |
|
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
Comments:
<0> what happens Nineth <1> then just call that from php <2> mybadluck: I am using phpmyadmin 2.8.0 beta 1. but I am getting #1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client <3> Wilik, how do you call it from php? <4> or popen <1> shell_exec( '/path/to/perl/script.pl' ); <0> Nineth, what authentication method are you using? <2> mybadluck: sorry, I am new. please explain. <5> cause i want to display my list in reverse order. its comming up as 1-9 down the page and i want it 9-1 down the page <2> I didnt change any configurations <0> Nineth, do this, check in your config <0> i just had this problem <0> and i fixed it somehow <0> i am guessing you have a p***word on your root acct? <1> IllegalC0de, use this, SELECT * FROM `sometable` ORDER BY `somefield` DESC <3> Wilik, i did that, and still no output
<1> or ASC <1> did you chmod the perl script raccoontail? <1> it needs to be 755 <0> don't you need to do <2> mybadluck: p***word, i've put and it is correct. <6> indolent - since I got the other one to p*** the "Venue_ID" to next form, this page: http://pastebin.com/553732 is not inserting the posted "Venue_ID" to the database on the mysql_query line, any suggustions <0> perl /path/to/perlscript.pl? <1> naa <5> wilik: desc? <3> Wilik, no i didn't. btw, it does run in the terminal no prob <1> the perl script? <7> anyone have an ad randomizer so that each time I load the page a different ad appears? <1> good <0> i suspect a problem with the path <1> type this, chmod 755 script.pl <0> Nineth, hmm. check the manual for information. look in your config <1> then run your program <6> Since I got the other form to p*** the "Venue_ID" to next form, this page: http://pastebin.com/553732 is not inserting the posted "Venue_ID" to the database on the mysql_query line, any suggustions <3> Wilik, it is 755 and now it still does not output <1> hrm <2> mybadluck: okey, let me have a closer look <1> whats the return value? <1> usually theres like an error code <1> can you run the script like this <1> ./script.pl <3> Wilik, i can run the script no problem in the terminal <0> Wilik, I just had a problem with executing things like that today <1> k <0> and it turns out it was a problem with the path to the executable <1> yea that could be it <0> it was in the path for my user <0> but not for www <1> exactly, it needs be in the www path <3> mybadluck, but i'm telling it the precise dir..? <0> are you sure that's the right dir though? <1> otherwise apache or whatever cant access it <1> depending on the permissions of the directory its in <0> /bin/blah vs /usr/bin/blah vs /usr/local/bin/blah whatever <3> .. <3> well, what user executes stuff for php? <0> www <1> by default, nobody or www <8> ok, how can I iterate the HTTP request fields? <3> how can i find out which it is? <5> ok now i understand yea desc - desending, asc - asending <5> tanks <0> what do you mean mikepence <8> I mean I need to print all of the fields in an HTTP request using POST <1> IllegalC0de, DESC or ASC is a special keyword for MySQL which makes mysql format the order (based on primary key) in which the data is returned <0> it doesn't matter raccoontail, just find the exact one <8> is $_REQUEST what I need to look at? <4> ps -aux|grep apache <0> the exact path <3> mybadluck, you mean find the exact path for the perl binary? and the script? <1> just type 'which perl' <0> no, ignore perl for now <1> it'll tell you the perl you should use <0> you need the path to the binary <0> cowsay and fortune <1> 'which cowsay; which fortune' <9> Um, this is ##php, why are you talking perl?
<3> doesn't matter mybadluck, because the perl script is what's doing it no? <0> Jymmm, he's executing something from php <3> Jymmm, ....because i'm writing a php script to output an html file <3> and we already tried using exec <9> again, why talk of perl in here? <0> you need it raccoontail <3> Jymmm, i'm executing a perl script from php now. that's why. <1> something like this should work... <10> hey, do use an image for a form button (submit) am I doing it correct to do the following <input type="img" src="file.gif" alt="submit"> <1> exec( '/path/to/perl/script.pl', $aData, $ret ); for( $i = 0; $i < sizeof( $aData ); $i++ ) { print $aData[$i]; } <9> hey lig <3> Wilik, woah. <1> worked? <11> any php framework recommendations? <3> Wilik, it didn't work. no output at all <1> on the command line type this <1> php -q whatever.php <1> does it work there? <3> -bash: php: command not found <1> hrm <1> you need to find the php binary <3> which can't find php anywhere in my path <3> whereis just gives me /etc/php <3> .. <1> did you install php from a rpm? <3> um...hold on a second ^_^''.. <3> i keep forgetting, my server is no longer the computer that i work on the php for :) <3> the server doesn't have cowsay installed <1> lol <3> .. <0> oh my <3> lol... <3> which is why fortune worked but not cowsay!.. <3> hold on <0> path problem indeed <8> okay, will this dump all my post variables: <8> <?php var_dump($_POST) ?> <1> that or print_r( $_POST ); <8> thanks <8> what is the difference? <1> im not to sure, I usually use print_r though <8> k, thanks <1> personal prefernce I guess <0> alright i'm gonna go do stuff <1> this channel is pretty cool ;) <0> byez, good luck raccoontail <10> can anyone point me to a quick an dirty *shudder* javascript form checker? <0> i agree <0> i'll be comming back <1> kaylee, http://developer.apple.com/internet/webcontent/validation.html <10> Wilik: thanks! <1> np <3> hmm <3> thanks, bye mybadluck <0> bye <3> alright Wilik <1> working now? <3> no <1> lol <1> so where are we raccoontail <1> got cowsay and fortune installed? <3> yes <3> i'm transferring the perl script to the server as well <3> that's done <1> ok <3> not sure what to do. i've tried several of our previous methods and still there is no result. i'm going to try to perform the perl script from php again <1> ok <3> :D <3> works! <3> sweet <1> ;) <3> http://hesperaux.sytes.net:81/index.php?loc=cowsay
Return to
#php or Go to some related
logs:
8mb in kb gaim subgroup ubuntu downgrade how-to debian + samuel mathieson atheros ar5005g winxp problem TLS init def ctx failed: -1 mod_python esc characters client undefined reference to `_nv000016gl' VCS_ARCH #linuxhelp
|
|