| |
| |
| |
|
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> how ya doing darlin? <1> okay, i'll go with that then <2> substr() <1> dunno why i was told different <2> user ___ <3> user____: some function nesting foo with substr and strlen ? <1> single or double or either? <4> thanks <5> lig: Not too shabby... Got the sign finished, just waiting for it to dry completely <3> callipygous: double quotes is only needed when the string has a variable in it that you want to evaluate as part of the string <0> Jymmm: excellant - you going to post a link when it's ready? <5> lig Yeah, right now it just stinks and I dont want to handle it <1> okay, thanks <1> so how do you unset the session variables/ <0> Jymmm: understood. Look as good as you thought? <6> Arthur: That error is probably a good thing, actually.
<3> callipygous: unset($_SESSION['variable_name']) should do it <3> just don't unset($_SESSION) though or PHP will barf at you O_O <5> lig It'll do to get it out the door... I have *SO* many issues when carving Douglas Fir! anything is fine though. <3> if you want to the clear the session completely, just ***ign an empty array to $_SESSION <3> $_SESSION = Array(); <3> for example <3> :-) <6> Arthur: It means that Apache isn't running as root, at least :P Check the permissions on the autonet directory. See if the user Apache (and thus mod_php) is running as (often apache or nobody or www-data) has sufficient permissions. <2> ok, Charball. <2> I'll check that. <5> lig splintery <7> whats the code in php 5 to get raw http request header <8> anyone here use PHP QT yet <1> cool, thanks <3> bungrudi: does such exist? a brief search through the PHP manual online returns nothing helpful :| <7> basically, i just want to check complete request header sent from my workstation <3> Honestly, I don't think PHP does that, as Apache or the webserver handles the request headers. Not certain, however. <9> there is one <9> www.php.net/apache_request_headers <7> hmm.. if i were apache i'll p*** the raw unmodified header to my scripting engines. im pretty sure this is the case since php is able to check client browser, cookies, etc.. <7> ah.. thanks <3> deadroot: oh wow. Thanks! <9> 3 <7> urm.. what was the ff plugin to check the response header? <2> Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/localhost/htdocs/autonet/picture_cl***.php on line 65 <2> guys, any idea on that? I'm p***ing the field['temp_name '] to it. <2> I have tested with many files. <9> Arthur: are you feeding it the file name? <9> or the file handler? <9> or the image handler? <2> the temp file name. <9> won't work. check www.php.net/imagecreatefrompng <9> there are also other functions for other file types <9> it won't accept a normal file handler <9> if you check the parameters it accepts "bool imagecopyresampled ( resource dst_image ...)" <1> hey <1> $query = "SELECT level, name FROM staff WHERE login='$usr' and p***word='$pwd'"; <1> $result = mysql_query($query); <1> $cl*** = mysql_fetch_array($result, 0); <1> am I doing the right thing here? <2> well, it was resource imagecreatefrompng ( string filename ) <1> that should return a named array, right? <9> Arthur: well look around that area, i gtg <1> i hate mysql <1> always returns NULL <2> thank you, root <1> anybody able to giv ema a clue? <2> deadroot, I couldn't figure out the problem <2> it is still just a black image. <2> I don't know <14> toodles, do you have a question in mind, or are you totally lost? :) <10> dkarp: what is your error? <11> jonez, its hard to say in 1 line what i can't under stand about it. Gimmie a sec, i'll explain. <12> does anyone know what the error "Unsupported operand types" means? I'm getting it trying to do simple division "$a=$b/$c"... <13> toodles,the error is Parse error: parse error, unexpected ';' in /home/dkarp/public_html/catalog/admin/includes/boxes/catalog.php on line 42 <14> toodles, ok <11> dkarp, whats on line 41? <13> a blank line <14> roo9, prolly because $b and/or $c are not numbers (integers) <13> line 40 is '</a><br>' . <11> jonez, what exactly happens to $***igned = $instance;? Do they both point to the same object, or is $***igned a copy of $instance?
<14> toodles, without the "&", you get a copy. <15> hey, is it possible trough PHP to do a POST of vars to a remote PHP script ? (the script uses form method=post) <14> meaning that if you change something in $a, $i will not reflect the change. <16> morning all :) <10> `Jay_: you can't send on post vars as far as i know <13> toodles, ? <11> jonez, thanks. I think I misread the example and that's why it didn't make sence to me. lol <14> toodles, the php manual is not perfect, but it's pretty darn good :).. happy to help <17> Jay: you must have a form that is submitted <11> dkarp, it seems html is mixed in with php... if you send me the file, i'll check it out. <11> jonez, :-) <17> Jay: you can ..... use a real http communicaton lib then you could simulate a post call... technical should be possible <17> Jay: but you dont want that <jedimove> <13> toodles, click here http://pastebin.com/566409 <11> dkarp, will do <13> thanks <13> toodles, how do you distinguish between PHP code and HTML code? <11> dkarp, 1 sec - just reading it now <13> k <10> ahhh gleeful osCommerce <13> yup <13> well an add-in to it anyhow <13> I think I may have pasted the code into it incorrectly although I have followed the so called install.txt file to the letter <18> hi all <19> any one remember ever read difference of big endian machine in php-calculation ? <18> i need to know how can i use one session login page for multiple diferent scripts plz <15> tnx Getty & dools <15> by modifying the http communication, indeed. but that's not the option, tnx for the feedback guys <11> dkarp, change line 36 to this: echo '<a href="' . tep_href_link(FILENAME_IMP_EXP_CATALOG, "", "NONSSL") . '" cl***="menuBoxContentLink">' . BOX_CATALOG_IMP_EXP . '</a><br>'; <10> `Jay_: one time i absolutely had to do this, so i go the host to setup a port forward to my box via ssh and access my mysql database with a script i provided them that got the data out and then deleted it <10> `Jay_: kind of a temporary data table <10> `Jay_: it was an extreme situation though <11> dkarp, make sure you can undo all this though, coz i'm only guessing. <11> dkarp, change line 38 to: echo '<a href="' . tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, "", "NONSSL") . '" cl***="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES . '</a><br>'; <13> toodles,Parse error: parse error, unexpected ';' in /home/dkarp/public_html/catalog/admin/includes/boxes/catalog.php on line 40 <11> dkarp, delete line 39 and 40. <13> oh, gonna change line 38 now <15> dools: yeah but your solution is not always possible, anyway I think I found a solution. <13> delete line 40 ??? <13> that's ?> <11> dkarp, you're new line 39 shound then be: ?> <13> ah, ok <11> dkarp, try that <13> yup, that seems to work toodles. What was wrong? <10> dkarp: you ever see zencart? <11> dkarp, whoever wrote that, kept mixing up single quotes with double quotes. Probably because of lazy <13> dools, yes i have. Don't see much difference between the 2. I stuck with oscommerce as it appears more heavily taken up. <11> I gotta fly - college awaits! <11> cya <20> hello, I get error messages about permission denied by using mkdir through web (apache/php), but if I run script in command line all works good; what can do this restrictions? (I used getmyuid function to find out who start script in 'web' case and it is same as If I run it from command line:my uid) <13> cheers toodles <11> no worries dkarp <21> hi <21> so many users and no one active? <21> hi FiNaLBeTa <22> can like an abstract cl*** have multiple interfaces? <23> hm- http://r-butler.net/~robert_/code/post.phps - the employees processing section doesn't work anymore, wtf <24> http://pastebin.com/566453 <24> anyone know what's up? <24> none are working... <25> plbgnr: unlikely <25> plbgnr: only if the webserver runs under your userid <25> plbgnr: you probably need to make the dir you want to write in writable for the user that runs the webserver <25> plbgnr: probably apache or www-data <25> plbgnr: or something like that <26> guys <26> i want to retrieve result of a cmd execution from shell <26> $ret = exec('foo; echo $?'); <26> doesn't work <26> $ret is always 1, whether foo fails or succeeds <26> any clues? <27> what is the different between header("Pragma: no-cache"); and <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="-1"> ? <28> CyberMad: I think you will find different browsers respect different input/tags <27> yes.. i read it on this site http://www.htmlgoodies.com/beyond/reference/article.php/3472881
Return to
#php or Go to some related
logs:
+ubuntu +system mail #mysql acer ar5bmb5 drivers iptables qemu ASHICA php4 character_set_results python2.5 pygtk #gentoo #linux #linuxhelp
|
|