| |
| |
| |
|
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
Comments:
<0> mrkris: index.php/my_controller/the_view <1> I need help, I want to send e-mail, but it wont send it . :/ <1> mail('slobodan.mihaljevic1@zg.tcom.hr','Apartman - rezervacija','Od $first do $sec, broj osoba: $osobe', $header); <2> _KZ: What does it say when you execute it? <1> http://localhost/Apartman/<br%20/><b>Notice</b>:%20%20Undefined%20variable:%20textfield3%20in%20<b>c:/Inetpub/wwwroot/Apartman/contact.php</b>%20on%20line%20<b>47</b><br%20/><br%20/><b>Warning</b>:%20%20mail()%20[<a%20href='function.mail'>function.mail</a>]:%20SMTP%20server%20response:%20550%205.7.1%20Unable%20to%20relay%20for%20slobodan.mihaljevic1@zg.tcom.hr%20in%20<b>c:/Inetpub/wwwroot/Apartman/contact.php</b>%20on%20line%20<b>48</b><br%20/> <1> Sorry <3> kuja: correct <3> http://pastebin.com/530134 <3> thats basically the layout i have <2> _KZ: pastebin your code. <1> Just the HP code, or? <1> sorry <3> kuja: there are several different frameworks, but fortunately mine is extraordinary small, is based off the cool features of yawp, and some features i like of RoR <1> http://pastebin.com/530137 <3> kuja: frameworks are meant to be simple, not complex
<0> Heh, I disagree. <3> oh? please explain <0> Sometimes, the complexity of a framework portrays its power. <2> _KZ: OMG. What the hell are you trying to do? <3> yes, but unless it is written properly and cleanly (cake wasn't very clean) it becomes messy, contains major overhead, and is a pain to use and debug <3> look at symfony <3> blah <0> I'd probably use Symfony over CakePHP <1> tws : Trying to do a little app, that sends data via e-mail <3> heh, i liked qcodo <3> until i saw the code and clawed out my eyes <3> it's demo was impressive in my opinion <1> I'm learning, so <3> so demo's are nothing, code implementation is everything <1> See, it's supposed to send When people are coming and how many of them <0> mrkris: Usually the underlying code isn't my problem :) <3> ahh, see qcodo was VERY impressive in its demo <3> i looked at the code, they rewrote everything from scratch (not that it is bad) <3> just that they have a crappy form setup that lacks features, only supports mysql if i recall, and has a major design issue :x <0> heh <3> kuja: my framework isn't perfect, but it will do what i need, how i want it, and gave me a great intro to php5 since i just made the move from 4.x <4> _KZ: <form action="needs-to-point-to-a-file"> <3> TML: or $_SERVER['PHP_SELF'] <4> mrkris: That's a file <2> _KZ: A lot of things are wrong, including PM-ing me. <1> Sorry <3> yes, but you don't have to put anything, it will default to itself <4> Technically, it only needs to point to a resource, but that's more semantics than _KZ is ready for. <3> tws: haha <3> yeah <4> mrkris: Actually, that's not part of the standard. That's a common convention amongst the more popular UAs, but it's technically not part of any standard. <1> Ok, could we go trough all the mistakes?? <1> Please :( <4> _KZ: The first mistake, as we've already told you, is putting the code in your action <3> TML: true -- but we should all take the ideas of MS and not follow standards :) <4> _KZ: You need to point action at a file <2> _KZ: First, action="" should be a file. <1> OK <4> mrkris: erm <1> w8 <4> !tell _KZ about aolbonics <3> TML: a joke ... lol <3> oh god please stop with that aolbonics crap <3> last time i said, 'oic' i was yelled at <3> lol <3> oh **** i said lol, will i get aolbonics messages? <1> OK, sorry. I didn't know. <4> mrkris: As long as I'm part of this channel, I'll be enforcing that rule. <3> why ... <3> seriously, is it a god complex? <1> Hey <4> mrkris: Because it angers and annoys me when people do it. <1> I changed action to index.html <1> What next? <3> TML: i think you need to find jesus <4> _KZ: Does index.html contain PHP code? <1> no <1> Don't worry, it'd be PHP then <4> _KZ: action needs to point to the page that's going to contain your PHP code
<1> How do you mean? <1> I really need this set up fast, so I am really grateful to you. <4> _KZ: When you click submit, the browser takes all the inputs on the page, makes an HTTP request out of them, and p***es it to the page you specified in the "action" <1> then it's contact.PHP <2> _KZ: In a simpler way, in your index.html page, put the code that will read the input being sent and process everything as you wish and then send it. <1> ah <1> Thanls <1> *ks <1> THen, why couldn't the PHP code stay in action ? <4> _KZ: action needs to point to a FILE that has php code in it <2> _KZ: You're pushing your luck. action should be a file. <1> And, another thing. Will it Remember all variables? <1> Ok, it will. <4> _KZ: action should NOT contain code. The browser is going to p*** the data to the FILE that your action specifies. <1> I know. <1> You already told me. <4> _KZ: php.net/getting-started <4> Start there, please <0> rtfm has never been easier with PHP :) <4> _KZ: You need to read, at the very minimum, sections I (one) and III (three) of the online manual, top to bottom. You can find it at php.net/manual. <1> K <1> Thans <1> *ks <5> anyone wants to spend one minute and save my 20 minutes ? i need the line to check if the string satisfies this format x/y/z <6> hi, is it possible to have dictionary-like objects in php? i.e. key1 -> value2, key2 -> value2 <0> vortec: php.net/array <5> ***ociative arrays, i.e. regular array <5> hehehe <1> no <1> Does anyone here know a good link to working mail() example? <1> Please, I really need it. <7> php.net/mail <1> Thank you. <1> hi eLE <8> can nebody tell me how to implement sessions and cookies in php <9> read about sessions and cookies on php.net <9> probably the easiest way ;-) <8> thanx so mch <9> !tell shalini about sessions <8> but i hav wasted 2 days readin tht only <9> couldn't be that much waste.. <9> I learned them by reading that, with only the basics of php behind me.. <8> i read all tht <8> still thr is so much confusion <9> like what <9> http://fi.php.net/session you read this? <8> i have read it.. <8> actually it is not maintain the session <8> as soon as i click back button it gets bak to its prev page n i dont want tht <2> shalini: Why's that? <8> how to maintain tht info of session so tht as soon as i logout frm the page <9> you're missing a lot of buttons on your keyboard <8> the info of prev session gets detroyed <8> like wat??? <9> "bak" "tht" <- <9> "wat" <8> ya <8> on browser <9> you should consider using proper spelling <8> didn't get.. <9> whois shalini <9> 8] <9> you should probably find people who can help you in your native language <8> nobody can u ans tht <10> anyone got anything for word to doc? <10> erk, word to html? <8> well <10> Doesn't have to be perfect, just readable text. <8> i just asked a simple ques <8> i cum to know tht u dont know d ans <8> newayz <2> shalini: session_unset(); session_destory();? And don't ***ume other people don't know when they don't give out an answer to you, please? <11> shalini you wont get help in here talking like a retard <8> thanx
Return to
#php or Go to some related
logs:
#perl document/literal support is EXPERIMENTAL in SOAP::Lite #ubuntu celerex dirigible
#perl teletabies screensaver #lisp Tier_1 funney-game #css
|
|