| |
| |
| |
|
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 31 32
Comments:
<0> ./modules/libphp5.la <0> your configuration may(will) differ <0> you also need to load the module in the apache configuration, of course <1> i've apache in /var/www/ <2> Is there a way besides SSL to make transactions secure? <3> Nope. <0> other forms of public-key cryptography <2> Thanks. I thought so. ( Bet with boss ; ) <3> You could require people to log onto a VPN before viewing your site.. :) <4> haha :) <0> ssh works good for that <2> That's nutty <3> True, but it's an option. <4> ssh tunnel is also an option :) <3> Depending on what sort of technicality it takes to win the bet.. :) <2> Sort of self defeating for an open site, isn't it?
<3> Oh, an open site. Well, that's different. <2> A simple ( and cheap way ) to make sales transactions secure. <0> ssl is free <5> Is to use HTTPS. SSL certificates aren't very expensive <2> But the certs aren't <4> Well... OpenSSL is free <3> SSL implementations may be free, but certificates generally aren't. <2> I know. <5> An SSL certificate, is way cheaper than a typical payment provider charges <4> walterwo1: Yes they are. self-signed are free. <5> and moreover, they usually insist that you use HTTPS <3> Stormchaser: And untrustworthy. <5> Self-signed certificates are not useful for production sites <4> mattmcc: noone asked that :) <6> how do you print out an array vertically and not just horizontally cause when I do var_dump($myArray) it does it across <0> trust is part of the security <7> using ereg_replace how to I replace all cpitals with a capital followed by a space <7> ? <8> is it stupid to put a query inside a loop? <2> I am just trying to convince the cheapskate to put money for a cert in my budget. <9> vhuren: <pre> <2> HS^: No <3> walterwo1: If he wants SSL, he has to pay for a cert. <6> philip: i'd do <pre> var_dump($myArray) </pre> ? <2> I know that but he said he read something.... <8> walterwo1.. i think if there are to many loops the php server, or sql will become very slow?? <9> vhuren: something like that <5> walterwo1: Surely the cost of an online payment system dwarfs that of a SSL cert? Not to mention your fee. <3> walterwo1: Heh. Beware when bosses read. <7> any thoughts? <2> HS^ Meybe, judgement call. <8> what matters , the fact that it calls the server <8> or the amount of results <2> mattmcc: Moron Managers Monthly. <3> HS^: Once a connection is open, the price of running a query is fairly negligible. <0> HS^ one nicely formatted sql query is better then a lot of somple ones <5> HS^: That depends entirely on how much work you're doing, and how many times the loop goes around <3> The query itself, however, may be costly. <7> any know ? <8> maybe the loop gos around a 1000 times <3> What kind of query is it? <8> very simple, with a one row result <7> ah ha <7> I got it <5> krisp: You may want to use preg rather than ereg. ereg is deprecated <2> HS^ Simple SELECTs are pretty quick but joins and sub-queries can get slow. <10> krisp- preg_replace('/([A-Z])/', '\\1 ', $string); <8> no its a SELECT.. i know enough. <7> why is preg better? <2> HS^ don't wory then <9> ereg is deprecated?!?! <11> hah <10> preg is faster and more powerful <5> HS^ - If what you're doing in the loop could be done easily not in a loop, then don't. But it's often easier (for code reuse especially). Benchmark it and make a judgement call. <10> There's no reason to use ereg <5> philip: The PHP developers meeting agreed that it was to be removed, eventually. <12> I have a <form> with inputs, and then want to process that to a php file which then forwards the contents to an external url which is a <form> instead of masking with <form action="http://externalurl"> is this possible? If so how do I submit to the external form with the phpscript? <5> I don't think they've decided whether they were going to include it in PHP6 <2> Vooloo: you need some javascript <9> crazy <12> walterwo1: Do I?
<5> Vooloo: Just use a HTTP redirect, which you can achieve in PHP using header() <2> use: <body onload="document.location = 'otherurl' > <12> MarkR: but how do I p*** the <input> ? <2> You will have to write the data to a form and then submit the form to the next form. <2> What Kevin? <12> walterwo1: I already do that <12> But I want my own phpscript inbetween <12> So I see what p***ed and not <5> Vooloo, so you want to achieve the same effect as submitting it to an external place, but collect the data yourself too? <12> Yes <5> IN which case, produce a form with hidden fields, and have it auto-submit with Javascript. If the user has js disabled, provide a button so they can manually submit it <2> Like i said. <12> why hidden fields? <2> The key is the auto-submit part. <2> So they cant edit them <5> Vooloo: Because with hidden fields, it is harder for them to change the data <4> Well... you could do that with XMLHttpRequest, but this isn't the channel for it. <5> Notice that I said "harder", not "impossible" :) <12> But they are supposed to edit the data? <12> :S <2> No, Vooloo <5> Vooloo: They edit the data in the original form, then when it's completed you make this interstitial form which auto-submits <12> Will this forward the user to the next stage landing page on the next site too? <12> my site -> save data/p*** on form -> ext site continue the process <2> Vooloo, Yes <12> I'm still confused technically on how to do it :E <13> philip, it worked now, thx! <2> Just output the data to be p***ed onto the page, thn use the javascript to uto submit. <12> walterwo1: yeah but _how_ heh <2> me tries out the me funtion. <2> You know how to parse write a from in php right? <13> folks... I need a set of strings that p*** "through" (correct?) pg_scape_string. Do you think it's a good idea to make a new type? <12> walterwo1: I guess I forgot, got an example ? :P <12> form handling? <2> you just use echo or print to write the form fields. ie, echo "<input name=\"field1\" value=\"myvalue\" type=\"hidden\" />\n"; <12> Ah, so having a middle page with only hiddenfields right that is filled by the phpscript when user submits, then redirect on that middlepage on a body onload? <2> Vooloo: Yes <12> And if no javascript enabled a continue button only <12> Now I got it :> <2> ye <12> Thanks <2> yes <2> YW <0> javascript should not be needed =p <12> No? <12> I was hoping that at first <2> Kevin`: ? Fill me in <0> well, why not instead of hidden fields use sessions <12> Kevin`: how will that fill the external forms? <2> Because he is changing sites <2> and the externall form does not know that the values are there. <12> there is no way to p*** form fieldvalues serverside right? <0> gah this is slow <12> With 2 sites I mean <0> guess I didn't see that.. why are you using a form post to an extermal site <12> Kevin`: to mask the identity of the real site <12> :P <12> With mine <12> Like a custom webmail login interface <4> !+enter <14> Don't use the enter key as puncuation. Think in complete thoughts, then type. <2> Vooloo: They will know that it is your site when they are redirected. <2> And if you are p***ing login info it is very insecure. <12> walterwo1: well yes AFTER <2> Unless you use SSL <12> Its nog a webmail login, but same principle <0> sounds dishonest ;) <2> This is not some sort of Phishing site is it? <12> No :) <2> Kevin`: I agree. <12> It's all legal
Return to
#php or Go to some related
logs:
#oe webcam_server Invalid argument #debian #ai #web #ubuntu mysql DROP USER 1268 fedora manually isntall flash plugin firefox obontu separate +boot partition +ubuntu
|
|