| |
| |
| |
|
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
Comments:
<0> ZaphodBeeblebrox: \ is the one to escape <1> because it's a special char <1> no, the '/' <0> ZaphodBeeblebrox: i escape everything with \ <0> like \d \w \b <2> You have to escape: ~!@#$%^&*()_+{}:"<>?,./;'[]=-` <3> can php be integrated into paypal? (For automated scripts and etc) ? <1> notice that being a perl compatible regex, the whole regex is surrounded by '/' <0> ok <1> so actually your line should look like this <2> UnoBot: If you're a bot, I'm not answering :-/ <3> im not <1> $sfile = preg_split("/\//",$file)[-1]; <2> Hehe <1> probably <2> Just kidding
<2> Ex0r: You can <0> ZaphodBeeblebrox: but explode does not use perl stuff and did not work either, unless it also needs to be escaped which seems the case <4> Can you set it up to automatically make payments and send payments? <5> how to determine if a field type is TEXT ? <1> caonex: pastebin the whole code. Can you do that? So I can run some tests here? <0> ZaphodBeeblebrox: yes <2> ace_me: is_string() <0> http://caonex.pastebin.com/740761, ZaphodBeeblebrox <2> Ex0r: there are libraries to do that, yes <4> I see, thanks alot <2> ace_me: Or do you mean only alpha numeric characters? <1> caonex: k, hold on <2> Ex0r: This might help you http://www.zend.com/zend/tut/tutorial-paypal.php <4> thank you <4> LOL I just opened that same page <6> just don't get this why would this be an error ? <6> $user = $_POST['user_name']; <7> KillerX, <1> caonex: my editor highlights the square brackets on line 11 as a syntax error. (The error highlighting is done using the php interpreter, so...) <7> this code is going to work? <7> $f1 = file('/home/larousso/Documents/bucetinhalegenda.srt'); $f2 = file('/home/larousso/bucetinhalegendinha.srt'); $cont = count($f1); for ($i=0; $i<$cont; $i++) { if ( strpos($f1[$i], "->") ) { $f2[$i] = $f1[$i]; } } $f2 = implode("\n", $f2); $fp = fopen("arquivo2", "w+"); fputs($fp, $f2); fclose($fp); <2> ICE: What error do you get <2> mardukz: Please use Pastebin. I can't read what you just pasted <6> unexpected T_STRING <7> KillerX, sorry. <0> ZaphodBeeblebrox: so cant use -1 or the brackets there? <1> cant use the brackets, I guess <2> ICE: Are you looking at the right line? There is no string on that line?! <0> ZaphodBeeblebrox: nothing.....without using the brackets either <1> caonex: try this, instead: http://caonex.pastebin.com/740763 <6> yeah KillerX thats what is says I don't get it either <1> caonex: I'm still confused about what your script does, but this one at least is syntatically correct <6> I'm going to paste the whole think again <2> Okay <0> ZaphodBeeblebrox: it reads image filenames and creates an table with them for display <8> Does anyone here keep up with the zend framework ML? <1> caonex: try that one <6> http://pastebin.com/740765 <0> ZaphodBeeblebrox: i know the problem...$files was empty <1> caonex: or this one: http://caonex.pastebin.com/740766 <1> oh... <1> heh <0> because glob "/*thumb.jpg was never a match" <2> ICE Your code wont work like that <6> error on line 12 <0> ZaphodBeeblebrox: the match should be thumb.*jpg <6> KillerX can you please explain why ? <6> so I can code this write ? <6> right <1> caonex: So, could you solve it? <0> i am on it..... <1> k <2> ICE: http://pastebin.com/740767 <0> ZaphodBeeblebrox: now it is solved, thanks <1> caonex: yw <5> I mean if a MYSQL field is type TEXT ! <5> I've checked $type = mysql_field_type($result, $i); <5> but answer is blob <7> http://pastebin.com/740770 <7> why isn't that working? <2> markdukz: What's the error?
<7> there's no error. <7> it just doesn't do what I want it to do. <2> Hmm <9> === <7> it should copy the line every time there's "->" and overwrite it to $f2. <2> mardukz: I got it. In fputs you can't p*** an array <7> hm <9> wouldnt that be a cool interpreter warning... <9> "Warning: function y expects type x" <7> KillerX, why didn't the interpreter said anything? <2> batphone: I believe the PHP_Shell PEAR package plans that kind of stuff <2> markdukz: Maybe you have your error_reporting set to something low <9> http://shop1.outpost.com/template/harddrives/ <9> jeez look at this <9> 400 gb for 100 bucks <9> i wonder what new storage technology is about to hit the scene <6> ok well I'm learning more from error codes messages then making the darn script work <6> Parse error: syntax error, unexpected $end in C:\Program Files\xampp\htdocs\***tor\check_registration.php on line 34 <6> what would make an unexpected $end statement <2> ICE: The else is not close. This is the correct one: http://pastebin.com/740781 <10> what do I need to do to make a C cl*** var_dump friendly? (IE So it doesn't segfault) <10> ahh ha! <6> KillerX you want to try this one <6> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' '')' at line 1 <6> I'm trying to man to learn php mysql <6> these errors are kiling me <6> lol <6> oh well <2> Line 1?? <2> Which code are you referring to? <6> I'll send the code again <6> http://pastebin.com/740795 <2> ICE: Which line does the error in? <6> thats what I am trying to find out <2> Paste the complete error <6> doesn't say thats the error when I hit submiut <2> The line number is usually the first digit <6> submit <6> that is the whole error <6> I get in on the web page itself <6> error checking <2> try this http://pastebin.com/740796 so we know where the error os <2> s/os/is <6> SECONDYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' '')' at line 1 <6> ok here is the error message <2> Ok so it's the second one <2> Just tell me the field types of your 'user' table <6> k <6> user_name varchar (50) not null <6> user_pp*** varchar (50) not null unique <2> other two are important <6> user_*** varchar (2) not cull <6> user_age varchar (3) not null <2> Ah <2> Okay so we're back to http://pastebin.com/740805 <6> I do have a user_id int (9) not null primary key auto increment too <2> BINGO! <6> but didn't think I really needed it <2> http://pastebin.com/740806 <2> So that's the code <2> You need to include ALL fields, in the SAME order <6> oh I dind't know that <6> so id goes first then user_name and so on ? <2> Yep <2> I think http://pastebin.com/740806 should work now <11> if i use urpmi (mandriva precompiled packages) to install both apache and php, and then installing phpmyadmin , why i get "can't load mysql module, check php configuration" in phpmyadmin? and what should i do? <6> http://pastebin.com/740813 <6> KillerX will that work <2> Don't give ID <2> since that is auto-increment <2> Just try http://pastebin.com/740806 <12> ICE: you could always do something like this: http://pastebin.com/740817 <13> that way, you don't have to worry about db order - you can do it in whatever order you prefer. <6> you can declare the column by sayng column ?
Return to
#php or Go to some related
logs:
altermime lotus notes #gentoo hardlock xgl #linux cedega, timidity #linux #linux #css mlayer fedora #perl
|
|