| |
| |
| |
|
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
Comments:
<0> UltimateB| /topic ##php <0> BigE what? couldn't get a john tonight? <1> People ! I have into a define statement a variable which has a value "a1, a2, a3,$idid..." I am than recreate some variables name by splitting the list So I obtain a variable $p4 which in fact as you see here is $i ! $id is known in the place where I am using the ***ignemnet for variables, but it seem that I receive Undefined variable: $id in D:\.... <2> huh? <3> well register globals off will do it ^^ <4> Konky: Oh yes, it will do it! >:] <1> if I echo $$p4 it said Undefined variable $id ! Any ideea? <5> Just for the sake of typing something, i've got no clue what so ever. <1> If I echo on the same line $id is giving me a value 7289 <1> let me corect a little the first post <1> People ! I have into a define statement a variable which has a value "a1, a2, a3,$id, ..." I am than recreate some variables name by splitting the list So I obtain a variable $p4 which in fact as you see here is $id ! $id is known in the place where I am using the ***ignemnet for variables, but it seem that I receive Undefined variable: $id in D:\....echo $id output a integer , echo $p4 output $id and echo $$p4 output undefined $id <0> poobean ? wth does that nick represent?! <1> any idea ? <0> sounds like a nickname some sick and twist gf might give. <4> lol <0> "Oh poobean, lets cuddle tonight"
<1> any php programmer around with a little help ? <0> !+ask <6> If you have a question, please just *ask it*. And don't address specific people - ask the channel. If somebody knows, they'll answer. :) To get help more quickly, don't ask "can I ask a question," "can anyone help," or "does anybody use/know about foo". Be as specific as you can. Also, please don't /msg people without permission, and read the topic before you ask. <5> ace_me: maybe the problem is the html entitie <1> what do you mean UltimateB <5> ow im confused <5> $ <1> it help me create the desired variable name later where I am use the define content !? <5> ok, im sorry, as i said, i just type for the sake of typing <1> :) <5> 0;) <7> haha <2> ace_me: could you post an example code? Your language is confusing me :S <1> yes <7> UltimateB|: you know, when .. right, so when, funny that isn't go away? :) <5> Rhizome: thank you for your sentence, why head just exploded. <0> Rhizome: Say that again, this time in an EARTH language <5> earth? Is this earth? <5> grr, took a wrong turn this morning then :/ <0> UltimateB|: No, this is Fscking Goofy <1> http://pastebin.com/581814 <1> questions please ! It should work but something is wrong <8> how do you debug popen() (get the error message)? error_reporting(E_ALL); doesn't seem to work properly <9> ok so why does php require a delimiter when pattern matching with preg_grep ?? i use regexp in shell scripts and python code and i dont need a slash at the start and end etc. linkage ? <5> ace_me: do you even need the $ in the define? <2> ace_me: i have never defined anything in php like that, so i can't help you much :( <5> ace_me: two things come to mind, $$p4 or ${$p4} but its all wild guessing. <2> Scarlight: do you have access to the php.ini? i think there is something there <5> try those, then remove the $ from the define and try again <1> ok <8> LazyAngel, if you're talking about error_reporting, that function should take care of that :/ <1> it works without $ in define and with ${$p4} <1> Thank you guys <5> :> <5> np <1> :> <5> and i never worked wih this lol <1> that's why I am different ! I like to complictae things :> <5> ;p <10> anyone know where I can grab a function that parses a DOMDocument into an array? <10> I found one at php.net but it skips sibling tags with the same name <2> ! KISS <2> ~tell ace_me about KISS <2> ~tell LazyAngel about KISS <2> hmm <11> !kiss <11> :( <2> how do you send commands from the php-bot? <2> /msg php-bot guidelines <12> anyone know of an editor that will run on win32 without java, messing with the registry, and that has sftp support? :) <13> sftp? <13> ftps ? <12> secure ftp <2> i dont think you find much programs that doesn't mess with the registry <13> vim perhaps ? <13> :D <2> :D vim rules :)
<13> but i dont like vi* <2> ajnewbold: have you tried textpad? <2> i like that one. and you can make your own commands in there <12> LazyAngel: nope, I'll google that as well! I just need something I can run from a locked down desktop that will let me connect to a host via secure ftp <2> so you can link to psftp from the program <2> and upload your code <2> http://www.textpad.com/ <12> sweet <12> I'm sold <12> thanks! :) <2> http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html <2> but it might try to write to the registry <2> anyone knows about a php server that runs on windows 3.11? :P <14> yeah, good luck on that <15> LazyAngel: why would anyone want to do that? <15> besides sheer fun ;) <16> re <2> i'm just bored and had to write a stupid question :P <16> question: shouldnt date("d.m.y",$sometimestamp) give me a two digit year? <16> I always returns four digit year no matter if I use "Y" or "y" <16> is that bloody f**in windows again? <2> y should give 2 <2> Y should give 4 <16> LazyAngel: exactly. <16> LazyAngel: but I always get 4 <2> strange <16> M$ is suppose <0> ajnewbold: There's always edit =) <12> heh <0> ajnewbold: You do know that XP comes with EDLIN don't ya? <12> hey LazyAngel, how do you get textpad to play with psftp? <12> Jymmm: :) <2> ajnewbold: hold on. i have to get my laptop <0> ajnewbold (I'm not kidding) <12> Jymmm: heh really? <12> my god <12> that's from, like, DOS 1 isn't it? <0> ajnewbold gawd only knows why, but it's there <0> something like that <16> thank god the at least have something linke a crippled shell in WIndows at all <2> ajnewbold: preferences -> tools -> add -> programs -> choose psftp.exe -> Apply -> <2> ajnewbold: then you have to change the parameters <12> LazyAngel: rock on! thanks! <12> that's cool <9> i got a var ***ignment in a shell script i want to grab in a php file and use <17> hey - can i guys show you something? <17> can i show you guys something* <2> then from the main window you can choose tools and psftp <9> i have managed to extract it with preg_grep but then how can i "execute" it to ***ign the value ? <0> ajnewbold: Have you tried WinSCP? <12> Jymmm: no, is it good? <18> GarethAdams|Work: you about mate? <18> # web's a bit dead today... <16> ajnewbold: yep it is dood <0> ajnewbold : http://winscp.net/eng/index.php <17> can i show you guys my site please? :( <12> krisp: #web often kills itself <12> krisp: with cruelty! :P <18> how so? <8> when I try to run programs from php (using popen()..), I get "Permission Denied" in apache's error log. why's that? <12> krisp: the hardline attitudes and such exhibited by some of the regulars <12> krisp: "I won't help you because I refuse to accept that the way you're doing that is valid" <18> so so true <18> but then validity is important <8> anyone? <2> Scarlight: do the apache server have write permission? <2> to that dir <8> yes, LazyAngel <18> Scarlight: the user that it's using probably doesn't have permission to use the programs? <0> ajnewbold : FYI... http://winscp.net/eng/docs/ui_cleanup <8> krisp, how do I change that? <18> can you change the ownserhip of the proggy <8> krisp, I don't know how
Return to
#php or Go to some related
logs:
g_io_error_get_from_g_error
y2pmbuild gdt in c xampplite alias socket raw stream perl dvdrecord GSA-4163B nspluginviewer Can't create plugin class gentoo sendmail smarthost tls #perl slime sbcl windows invalid argument
|
|