| |
| |
| |
|
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
Comments:
<0> the problem in first step of doing this thing is , i get curl error of code 1 <0> What does 1 mean ? <1> thanks tml, now i just gotta get my designer on the build schedule ;) that will be an interesting one.. but i didn't install an ftp server on the live server for that reason *snicker* <2> Can anyone tell me what this error means? Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/cody/public_html/theed/trunk/common.php on line 28 <3> $template_parse = substr($template_parse,0,3); returns nothing, why ? <1> cody, can you pastebin that? <4> Cody`: Unexpected :: <2> TML: that's much nicer than their T_PAAMAYIM_NEKUDOTAYIM <4> Cody`: PAAMAYIM NEKUDOTAYIM is "double colon" in...Hebrew, I think it is. <2> ah <4> Whatever it is Zeev and Andi speak natively <2> ah <2> that makes sense then <3> http://hashphp.org/pastebin?pid=6496 <3> is this a sane way to do that regex i wanted ? <0> God please stop TML to stop resenting me so that he could answer my question too
<3> rofl <5> when should i use include () and when should i use fopen() ? <0> oops, 2 times stop causing problem :) <3> TML ? Ahroun ? CryWolf ? <3> geren: include when you want to add php code from another file, fopen when you just want to read a file ? <1> icebreak... i don't see any regex in that pastebin, what is it you're trying to do? <0> ok tell me if there is some problem with this line <0> curl_setopt($ch, CURLOPT_URL, "http://www.misspellsearch.com/misspell/misspellsearch.php" ); <3> wikkid: some1 told me it's better, i'm trying to find in a string $*$ and not $$*$ <0> is that syntax ok ? <5> IceBreak, if i want to access a variable from another php file, should i use include or fopen? <0> Is there any syntax error in this line ? <6> plea_: do you get an error? <3> geren: include will run all the php file <1> icebreak: have you tried the regex (^\$)(\$\*\$) ? not sure if that would work or not <4> wikkid: It would not <5> IceBreak, right, and if i want to access another php variable, then fopen wouldn't really work ,right? cause fopen only lets you read the content of the file as text... <3> tml: did you check my code ? <4> IceBreak: No <3> geren: correct <3> tml: can you ? :) <4> IceBreak: Not right this moment, no <3> k <0> CryWolf, i get curl error 1, which means Unsupported protocol and I guess i forgot some escape sequence in string <5> hmm ok <3> ok, seems to work <3> just dunno if i'm doing it backwards or not <5> (int)$variable does not round, right? it just takes the integer part <7> Geren: correct <5> ok thanks <5> and the 'false' value of a boolean variable does not echo , right? <5> only the true value echoes to 1 <8> Right. <8> You could, of course, just try it... <5> hmm ok <5> i tried echoing a false boolean variable, and it doesn not display anyting <8> Indeed. <9> I have a couple questions about generating a file (to save to the server) and then running a command-line app on that file; anyone willing to help? I dont mind rtfm if I know where <0> Does curl support http by default or need to install some plugin ? <10> hello <0> wtf, nobody is answering. This ****s <10> some one has tried to develop websites for mobile phone ? <11> calm down plea <0> i am desperate zbq <12> is there a way to capture the "bookmark" part of a URL in php? i.e. the part of a URL that comes after the # character? <11> you can answer your own question by typing curl cnn.com on the command line <11> that is the default behaviour <0> no leading http:// ?? <6> emitchlp1: not with php <13> I have a question regarding cl***es... is it possible to use a function name that already exists within php... without getting trouble... like: $cl***->current(); ?? <6> emitchlp1: or rather, not server-side <11> you could also google "curl http default" and find your answer times 10000 <12> ok, so the browser isn't sending that info to the server <11> like i said: curl cnn.com <0> thanks zbq <6> emitchlpd: right <14> that makes sense. Thanks. <15> RvGaTe: no.. it isnt.. but you shouldn't call your object-vars "cl***" <16> If I have numerical string that can be up to 5 numbers long, how do i add 0's infront of a number if its not 5 numbers log? For example 39 -> 00039 1-> 00001 etc?
<13> fumanchi: that was an example <13> fumanchi: but thx for the answer :) <15> RvGaTe: okok :) so.. hf.. but wait.. <15> RvGaTe: it is of cource possible... :) <15> RvGaTe: its another namespace... (another function-table) <13> fumanchi: you lied to me :P <15> RvGaTe: sorry... :) <15> RvGaTe: im sooooo sorry :) <13> fumanchi: ill forgive you... <0> is there any way to see the verbose mode log of curl ? <15> RvGaTe: :) so.. have fun :) <17> I really need some help <17> I am trying to intergrate two bits of code <13> Razz3r: just ask and wait for an answer <11> plea_: please read this entire page: http://curl.haxx.se/docs/manpage.html <3> welp, laters, and thank <17> however the sql doesnt add info as it should <13> Razz3r: maybe it does, but you coded it wrong? what are you trying to do? <18> penguin, there's many ways to do it, one of them are kinda easy, printf("%02d", $number); <17> I have had a little experiance with php so I decided to use zen cart but I needed to add some php code for affiliates <18> penguin, if you'r playing with money, use money_format(); <16> thanks <17> RvGaTe: which all works fine up until it should log the infomation after checkout sucess <17> RvGaTe: there is nothing in the database <13> Razz3r: so you tracking the users actions, and then put it all in the database when he logges off ? <17> RvGaTe: well there is something in the database but not for the affiliate <19> hey everyone, how can I make my regular expression: /\[b\](.*?)\[\/b\]/ism match the first [b] in the string and the last [/b]? e.g. so [b][b][/b][/b] would have the first and end tags matching? <13> !pastebin <17> RvGaTe: yer kind of but after coming back from paypal and just before displaying the checkout sucess page adding the info in the database <13> __Rob: this is what i used: http://hashphp.org/pastebin?pid=6497 <19> RvGaTe: i'd rather keep it as one regular expression, this is just one of many in quite a large script <13> k... then i cant help ya __Rob, sorry :P <17> this invokes the code: http://pastebin.com/646550 <20> Greetings! :) <21> my does the PHP's default timezome is set to EST while the server is running in EDT? <13> Razz3r: so it's not adding the stuff to the database, or is it adding the wrong stuff to the database, or is it adding the stuff, but not displaying it correctly? <13> outofjungle_m: you can set your timezone in your php.ini i guess. <17> this is affiliate_checkout_proccess.php http://pastebin.com/646555 <6> that filename looks suspiciously like...oscommerce... <22> does php 5.1 play nice with apache 2.2 in debian yet? <13> blobaugh #debian ? <6> the code is nowhere near ugly enough to be oscommerce, though. <21> RvGaTe, does it work on PHP4? the php.net says that its available only on php5+ <13> outofjungle_m: i have debian running with php 4 and apache2 <13> outofjungle_m: works like a charm <23> why is php's config.log so useless? The ./configure script keeps complaining about not libXpm.{so,a}, yet, it can't tell me why <23> the libs/headers are available... <24> hi <21> RvGaTe, Thanks <17> RvGaTe: any look? <13> Razz3r: sorry, still dont know... do your queries have the right values and format? <25> http://pastebin.com/646577 <-- Weird problem. When I uncomment out lines 7 to 16, I get the error message on the bottom. I'm not sure how they are related. Anyone have an idea? <6> will_: which line is 148? <25> CryWolf, The one that is highlighted. <25> Line 61 <13> will_: im wondering why line 61 is highlited on pastebin <25> Line 61 is line 148 in the script :) <17> RvGaTe: I have added the following to the affiliate_checkout_proccess.php however it doesnt end thefore it would suggest that it isnt even being called http://pastebin.com/646580 <25> I don't understand why it affects that array, or my SQL (it drops off $user_id) <6> will_: print_r($_POST) at various points through the script <25> CryWolf, Does it make any difference that if I leave the above lines comment out, it works fine? <26> foreach works on a complete array not one element <25> archivist, It is an array <6> will_: I don't know. The answer lies in what the program sees. <13> Razz3r: try exit(); instead of end <25> Well, I'm ***uming something is going wrong. But why, ***uming the nested array is cleared? <17> RvGaTe: k <27> Lets see if I can explain this quickly.. I admin a server that has a few web pages on it. One of these pages is causing high cpu usage for some reason. I'm not sure what page it is, and I can't exactly go taking down sites to narrow it down. <6> will_: locate where. that will probably tell you how. <27> Is there any way to figure out what script is doing it? <6> devicenull: load pages while running top <27> windows server. <25> CryWolf, Well, I did find out where. It's that section that is comment out that causes the problem. When I comment it out, the script runs fine. When I uncomment it, it gives me that error. <6> will_: you have verified that $_POST is being changed at that point?
Return to
#php or Go to some related
logs:
+illegal offset +ipod umbrello ubuntu .deb #centos e-image openzaurus streen slash fedora 5 automount dvd #css cannot execute binary file vfat
javascript props function sometimes working sometimes not working $_SERVER[HTTP_REFERER]
|
|