| |
| |
| |
|
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> niraj: all I need to do is fill in like 4 lines on a form and present it as a download link; should i do it another way besides a .doc :D <1> dgtlhoon: try it <0> seems somewhat silly to integrate a .net application to do that <2> DogWater: erm.. sorry i think i gave you the wrong link <2> DogWater: http://www.php.net/manual/en/cl***.com.php <3> FAQ <3> Q: Does it work? <3> A: Probably not. Really. <3> Q: So why did you write it? <3> A: It was an ad hoc quick hack which went out of control but was real fun. <3> Q: So are there any real php indenters? <0> Niraj: No I mean we have this form we need people to fill out if they want to sign up and fax to us; so instead of us emailing it to them we want it to just fill out a few fields and then present it to them <3> A: We didn't find any which is why we tried this nonsense at all. If you find any just let us know and we will link to them. <3> :( <0> so they can sign it and fax it to us <1> dgtlhoon: don't flood
<2> DogWater: oh.. why can't you just use html then? <4> Argh... I like many people have a PHP related problem... L( <2> DogWater: you could make a javascript print button :P <4> The Data from my REALLY simple form is not getting to my .php script :( <0> niraj: just have it open a little window that shows the form <4> testField as a text box should be $testField if my computer calls insert.php <4> but $testField is alwyas blank <0> $_POST[ <0> 'testField']; <4> ? <5> When a server wants info from a cookie, does the browser send only that spec of info? or the whole cookie? <4> hmm? <4> what did you mean DogWater? <4> I am currently cl***ified as n00btacular <0> If the form method = Post then its $_POST['testField']; if its $_GET... you need to read about globals. <0> security concerns <0> rewriting variables <0> globals are bad mmkay <4> oh <1> bah...what kind of server motherboard is this? It's only got one case fan connection. <5> DogWater, add this line to debug your code... "phpinfo(32);" <0> you can ***ign it like $x = $_POST['testField']; <4> so the variable is $_POST instead <6> CryWolf: A desktop turned server. <4> i see <4> cool <0> wtf are you talking about <4> thx! <0> jlulian38: $_POST is a global <4> I know <1> A-L-P-H-A: I would ***ume it requests the cookie only by name, and so it gets the entire contents of it. <4> sry <1> nitishp: it's a dual-opteron board. <4> i type faster then i think <4> lemme just go and edit my script <6> CryWolf: Nice. <1> though admittedly it doesn't have built-in video...so my boss probably did manage to get a desktop dual-opteron board. <7> I have a snarly piece of regex funkiness That I need help with. I am trying to parse some multi-part mime headers, my input string looks like: 'content-disposition: form-data; name="image"; filename="WikiGnome.jpg"' and I am using the regex: '/^content-disposition: form-data; name="(.+?)"(?:; ([a-zA-Z]+?)="(.+?)";)*/i'. I am apparently not getting 'filename' or 'WikiGnome.jpg' in my matches. <5> CryWolf, yep, you're right. crap. <1> actually, I think it's a workstation motherboard...the AGP slot is about twice as big as the connector on the card. <4> YAY! <4> you fixed another of my age old problems. <8> is there another way to redirect in php other than header()? i'm trying to redirect halfway through my code <7> newpers: Well, there is javascript redirects, or a html meta-refresh. <7> newpers: conversely, you can use output buffering <8> html meta-refresh would be better than javascript, right? <8> and output buffering would work, but there <8> 's about 400 lines of html <9> why are you deciding to redirect so late? <8> i am doing my form processing in the page <8> and if there's no errors, i redirect <1> newpers: generally, you should do all your logic first, before outputting anything, so you know whether or not to output anything. separation of logic and output also keeps your code cleaner. <4> isn't there a redirect() function in php? <10> hey, can somoene help me with this script? [05:25pm] Marquel like $> php /path/to/script -f /path/to/file/to/decode <10> [05:26pm] Marquel if that script is not working at all i'm afraid i can't help you very much. <10> oops <10> can anyone help me with this script? <10> http://pastebin.com/553925 <10> i dont know how to get it to run
<1> hakea|ini: what error are you getting? <4> ok well <8> CryWolf: I am... i just realized that it was the white space i had <??> <??> <4> my brain is now off <8> so it works now <1> newpers: that'll get you every time <7> Oops. Non greedy match where there shoulda been a greedy one. My mistake. <10> Usage: /srv/www/htdocs/977th/munch/test.php -f encoded_filename <10> thats what i get each time <1> hakea|ini: you should contact the author of the script <10> so you have no idea why it isnt working to decode the file> <10> ? <1> hakea|ini: since I didn't write the script, and I don't know what it does, and it's giving a script-generated error rather than a php error, no. <11> CryWolf joos have no php skills! <11> CryWolf you cant even mind read! <12> hey <1> Jymmm: read this <11> CryWolf commit suicide with an electric razpr and put us out of our mizery! <10> hey crywolf.. this is my friend who is having trouble with the script, he probably can explain better <1> hakea|ini: did he write the script? <12> no i didnt <12> but its not to do witht he script <1> you should contact the author of the script <12> i want to know how to run it... on linux <11> CryWolf No, I wont have *** wwith you! not even in your wet dreams <13> munch: try ##linux then? <11> !+guidelines <14> 1) Just ask. 2) Don't repeat. 3) /msg php-bot smart-q 4) msg the bot 5) Be polite and patient. 6) Do not paste here; /msg php-bot pastebin 7) No spam/bots/scripts/trolls/job postings or onjoin/away . 8) If it's not a PHP question, don't ask. 9) Don't PM without permission. 10) We don't support packages here. 11) ##php is a manual supplement. RTFM first! 12) Spelling matters. Use real English. <11> !+g10 <14> Guideline #10) We don't support xyz script. We help you *write* PHP, not download and install/hack/use pre-written scripts <15> I have a problem with the DB cl***, during insert or update, I get an error that the column doesnt exist, but I know it does. <1> that's the last time I try to mentally swear at someone while porn is playing in the background. <13> CryWolf: hrm <11> CryWolf lol <13> kuku5; well clearly you are wrong :) <15> It works on one server, but on the other it doesnt <15> same db <15> only difference is php <13> kuku5: well, php doesn't have anything to do with that error message, php just sends the query to the server <12> CryWolf: ok listen to this, i put the script on my server on the web, it spits out what i'm supposed to put into command line, but i tried that in windows but it php.exe doesnt seem to work <15> aidan: It might, the DB cl*** is based on OO <11> munch Did you write the script? <15> does 5.0.5 have any problems with oo ? <12> no <1> munch: what error do you get? <12> i dont get an error <12> i'm asking how to run it -_- <11> munch ask the person who wrote it <1> munch: I've already told you <13> kuku5: what DBA are you using? <13> I must run ... bbl <16> In order to return a <select> as an array to PHP all I need is to make it <select name="foo[]" multiple>, right? <15> PEAR's <15> I think I will update to a higher php verison <11> CryWolf: Why do you even bother? <1> Jymmm: boredom <17> Jymm WHAT? why me? <11> CryWolf: Well **** if your bored... you any good with illustrator or InkSpace? <11> InkScape <10> oukei, so you people have no idea how to make the script run? like we arent getting any errors or anything and we have tried the author but he doesnt reply. <10> http://pastebin.com/553925 <10> pls have one last look.. <11> hakea|ini where did you get this from? <10> http://evilcode.net/sjg/blog/sc_decode.phps <10> he never responds.. :( <1> Jymmm: alas, I don't do graphics stuff... <1> hakea|ini: tell you what....write a simple "hello world" script, and we can help you with that. <10> :P i wish it was that easy.. mabye Jymmm knows what he is doing anyways.. :P <11> $help = 'Usage: ' . $_SERVER['SCRIPT_FILENAME'] . " -f encoded_filename\n"; <11> and dont even bother... it's not worht the time or effort <1> I'll bet anything there's a detailed readme file for that script that says exactly what to do. <10> ?? the script is too technical to understand? <11> hakea|ini: RnVjayBvZmYgYW5kIGRpZSE=
Return to
#php or Go to some related
logs:
grep....., @Entire_File svn bad packet length superball/football powermated ubuntu #qemu #ubuntu dapper automatics Error in I830WaitLpRing() gentoo perl mysql injection prevent php tertiary operator
|
|