[PHP] Re: Installing PEAR on machines without internet access.
Gregory Beaver wrote: Lester Caine wrote: I've been going through the hoops documenting installation and recovery notes for my customer sites. The majority of these run local web services with no internet access from the servers, so with the increasing reliance on PEAR extensions, I'm looking to the correct way to 'install' PEAR packages. Currently I just clone the PEAR directory from another machine. Is this the only way ? This will work if and *only* if the paths are the same on the destination machine. If so, this works fine. Otherwise, you can install PEAR directly just as PHP does, using install-pear-nozlib.phar, check out the pear/ directory in your unix-based PHP distribution for the Makefile.frag that shows usage. After PEAR is installed, you can install packages directly from tarball via the command-line. pear install Package-1.2.3.tgz Main problem I'm finding is working on site and hitting something that is not in the PHP download already. Although these sites are slowly allowing internet access, you can guarantee you forget to pick something on one that isn't :( Shitting windows has the same problem of cause - requires a working internet connection for some key steps and at 10pm trying to get a customers system back on line I have a large USB disk with almost everything I need - it would be nice to be able to simply download PEAR since many projects have stopped bothering to include the bits they use :( Greg P.S. PEAR questions are best asked on [EMAIL PROTECTED], the best support for PEAR is on that list. Another pile of stuff just for one question :( -- Lester Caine - G8HFL - Contact - http://lsces.co.uk/lsces/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: RE: Military Service WAS [PHP] Capitalization of variable
On Saturday 21 June 2008 16:58:24 Michelle Konzack wrote: > Merhaba Sancar, > > Am 2008-06-20 09:21:30, schrieb Sancar Saran: > > The Turkish Gendarmerie (Jandarma Genel Komutanligi) > > ;-) > > How long is the service there? 15 Months. > Thanks, Greetings and nice Day/Evening > Michelle Konzack > Systemadministrator > 24V Electronic Engineer > Tamay Dogan Network > Debian GNU/Linux Consultant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Another canvas example
Hi, You gonna post the source code? ;) Already have, like all Javascript, it's clientside. The direct URL is: http://www.phpguru.org/pie/pie.js There's also the ExCanvas library, but that's public anyway. -- Richard Heyes Employ me: http://www.phpguru.org/cv ++ | Access SSH with a Windows mapped drive | |http://www.phpguru.org/sftpdrive| ++ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Communicated-Key/Token for SOAP Authentication
Hi all, I'm working on a relatively straight forward Web API that'll have a SOAP presence. The most secure way of going about doing authentication would be undoubtedly client-certificate authentication. I have been able to implement such a service straight forward as there is plenty of documentation out there covering how to do so. I have some clients who're reluctant to manage client certificates at this point in time, and do prefer a communicated-key authentication, very similar to what Amazon and a few of the other big boys do. I'm having a bit of a difficult time coming up with multiple solutions as to how to properly implement this for my service besides stuffing a random hash into my database and making them send it to me over SSL through their message payload. I can then compare the hash against what's in the database + their IP, or something else. Would anyone be able to suggest some algorithm for the way I'm handling the tokens that's more secure and less "brute-forcible" than the methodology I described above? My objective in this exercise is not to only authenticate who's sending me the SOAP envelope, but also to ensure that whatever token/key system I implement is not open for very simple brute force. If they're able to knock down my brick house, I have other problems --- but I definitely want to build that brick foundation. Suggestions, web articles, books etc., are all welcome! Thank you for any advice from you avid web service gurus. /sf -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Communicated-Key/Token for SOAP Authentication
Checkout oAuth, to either see how they used it, or for the algo's http://oauth.net Kyle On Sun, Jun 22, 2008 at 7:53 AM, Steve Finkelstein <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm working on a relatively straight forward Web API that'll have a > SOAP presence. The most secure way of going about doing > authentication would be undoubtedly client-certificate authentication. > I have been able to implement such a service straight forward as > there is plenty of documentation out there covering how to do so. I > have some clients who're reluctant to manage client certificates at > this point in time, and do prefer a communicated-key authentication, > very similar to what Amazon and a few of the other big boys do. I'm > having a bit of a difficult time coming up with multiple solutions as > to how to properly implement this for my service besides stuffing a > random hash into my database and making them send it to me over SSL > through their message payload. I can then compare the hash against > what's in the database + their IP, or something else. > > Would anyone be able to suggest some algorithm for the way I'm > handling the tokens that's more secure and less "brute-forcible" than > the methodology I described above? My objective in this exercise is > not to only authenticate who's sending me the SOAP envelope, but also > to ensure that whatever token/key system I implement is not open for > very simple brute force. If they're able to knock down my brick > house, I have other problems --- but I definitely want to build that > brick foundation. > > Suggestions, web articles, books etc., are all welcome! > > Thank you for any advice from you avid web service gurus. > > /sf > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >
Fwd: [PHP] How to make a "Auto View" and a "Download" Link for PDF?
Oops -- Forwarded message -- From: Nitsan Bin-Nun <[EMAIL PROTECTED]> Date: 21 Jun 2008 19:23 Subject: Re: [PHP] How to make a "Auto View" and a "Download" Link for PDF? To: Michelle Konzack <[EMAIL PROTECTED]> I am not 100 percent sure that i have understood your idea, but if i did you can place the PDF for online view with content-disposition header* *>* Content-Disposition: inline; filename=pdf1.pdf * replace the *inline* with *attachment* and you get the save as dialog On 21/06/2008, Michelle Konzack <[EMAIL PROTECTED]> wrote: > > > * Do not Cc: me, because I READ THIS LIST, if I write here * > *Keine Cc: am mich, ich LESE DIESE LISTE wenn ich hier schreibe* > > > Hello, > > I generate PDFs on the fly and I like to setup TWO links on the HTML/PHP > page for the SAME PDF: > >1) View >2) Download > > I have seen this on other Websites, but can not figure out HOW this was > done. > > Suggestions? > > Thanks, Greetings and nice Day/Evening >Michelle Konzack >Systemadministrator >24V Electronic Engineer >Tamay Dogan Network >Debian GNU/Linux Consultant > > > -- > Linux-User #280138 with the Linux Counter, http://counter.li.org/ > # Debian GNU/Linux Consultant # > Michelle Konzack Apt. 917 ICQ #328449886 > +49/177/935194750, rue de Soultz MSN LinuxMichi > +33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com) > >
[PHP] Re: (*OT) What we are going to do about those OT's?
Daniel Brown wrote: Hey, Col. Thought you were dead. ;-P Not dead, just buried... :p But this reminds me of an idea I had a while back. As a developer working with a lot of open source projects etc, what would happen if I did die? I'd want to let all the people I deal with in the online world that I've died and that the chances of me fixing bugs/patching things are relatively slim. I heard of a service whereby you could send messages to people after you die. You write a special passcode for the service and instruct (in your Will) your executor to process it which then causes various messages to be sent (to loved ones, enemies etc.). I wonder if something similar should be done for mailing lists and such like? Anyway, I think you'll agree that I've managed to steer this thread off-topic now... ;) Col -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: (*OT) What we are going to do about those OT's?
At 10:02 PM +0100 6/22/08, Colin Guthrie wrote: But this reminds me of an idea I had a while back. As a developer working with a lot of open source projects etc, what would happen if I did die? We probably would have a hell of a time trying to get to finish it. :-) Seriously, look at "Key Man" Insurance for projects. In the event of your death, there's enough money to pay someone to take over the project. I've never had to use it myself. But I have carried it. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: (*OT) What we are going to do about those OT's?
tedd wrote: At 10:02 PM +0100 6/22/08, Colin Guthrie wrote: But this reminds me of an idea I had a while back. As a developer working with a lot of open source projects etc, what would happen if I did die? We probably would have a hell of a time trying to get to finish it. :-) The testing cycle could result in a few issues :) Seriously, look at "Key Man" Insurance for projects. In the event of your death, there's enough money to pay someone to take over the project. I've never had to use it myself. But I have carried it. :) It's not really about the project etc. it's more about, h, etiquette. I'd like people to know if I've shuffled of this mortal coil so they can all write nice things about me on their blogs etc. In this modern age I find myself with several associates, colleagues and friends that I've not actually met! While a in a regular, old fashioned circle of friends, word will get out when someone starts pushing up the daisies, the same cannot always be true of online friends. Facebook status: "Joe Bloggs is dead". Col -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] 5.3 Timeline and Features(true anon functions? shorter array syntax?)
Weston C wrote: > Just curious if anyone knows the rough timeline for PHP 5.3. > > Also curious if anyone knows whether anon functions/closures or a > shorter JSON-ish array syntax are being considered for inclusion. I > know there were two patches announced in December/January: Ask the -internals list - that's where those decisions are made. -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] escape character in query string
would someone happen to know the escape character for query string? here is my querysting my.php?message=Hello%PHP%0AHow%was%your%day? the output should be Hello PHP How was your day? -- View this message in context: http://www.nabble.com/escape-character-in-query-string-tp18061596p18061596.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Variables in forms
I am writing a form right now. I would like to make the checkbox an array variable. The first part of the array is the component reference, the second part is the package reference. What name would you assign to it that I could use in processing the form in the PHP script this posts to? Ron Children's Activities Child's ABC's -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Variables in forms
Ron Piggott wrote: I am writing a form right now. I would like to make the checkbox an array variable. The first part of the array is the component reference, the second part is the package reference. What name would you assign to it that I could use in processing the form in the PHP script this posts to? Ron Children's Activities Child's ABC's In your form, do this Then in PHP do this. This is if the form was sent via POST $packages ) { foreach ( $packages AS $package_id => $value ) { // At this point, the only way you would get here is if // a person was to place a check mark in the check box // So, one would assume that this component/package // combo was infact checked. } } ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php