Re: [PHP] SOAP in PHP on very restricted host?

2007-09-25 Thread Nathan Nobbe
i just read the first message in this thread and NuSoap immediately came to mind. though it will solve your problem you may end up like me, hating to use NuSoap under duress. i think it was really popular back in th php4 days when there was nothing solid that could be built right into php. anyway

[PHP] SOAP in PHP on very restricted host?

2007-09-25 Thread David Zentgraf
Hi, We need to work with a credit card checking company for an online store. The one we're looking at only offers an API implementation via PHP modules, or via SOAP protocol. Unfortunately our host is extremely restrictive right now and did not --enable-soap and even did a --without-pear,

Re: [PHP] SOAP in PHP on very restricted host?

2007-09-25 Thread David Christopher Zentgraf
On 26. Sep 2007, at 13:19, mike wrote: i've downloaded PEAR packages before and used them manually. all PEAR is is PHP object code modules in a central place. nothing special, really. you just have to tweak some script paths and you can use include/require on the files like normal. That's w

Re: [PHP] SOAP in PHP on very restricted host?

2007-09-25 Thread mike
On 9/25/07, David Zentgraf <[EMAIL PROTECTED]> wrote: > Hi, > > We need to work with a credit card checking company for an online > store. The one we're looking at only offers an API implementation via > PHP modules, or via SOAP protocol. Unfortunately our host is > extremely restrictive right now

[PHP] SFTP connections via PHP

2007-09-25 Thread Cameron Just
Hi All, Just wondering if anyone has had any success getting a connection working with PHP via SFTP. I am running Win 2003 Server PHP Version 5.1.6 Win32 OpenSSL v0.9.8e Light is installed PECL module for SSH2 is installed The following code - // create connetion

[PHP] Re: Strategy for Secure File Storage

2007-09-25 Thread Colin Guthrie
Kevin Murphy wrote: > $ext = explode(".",$file); > > $extension = $mimetypes["$ext[1]"]; Other people have provided answers so I'll just make a quick comment on this bit. It's not ideal but if you only upload a subset of file types then I guess it's OK. Also if the file has more than a single "

Re: [PHP] Re: Data request

2007-09-25 Thread Børge Holen
On Tuesday 25 September 2007 16:10:47 Robert Cummings wrote: > On Tue, 2007-09-25 at 16:57 -0400, tedd wrote: > > At 9:17 AM -0400 9/25/07, Robert Cummings wrote: > > >On Tue, 2007-09-25 at 10:44 -0600, Børge Holen wrote: > > >> On Tuesday 25 September 2007 03:27:25 Christian Hänsel wrote: > > >

Re: [PHP] Re: Data request

2007-09-25 Thread Robert Cummings
On Tue, 2007-09-25 at 16:57 -0400, tedd wrote: > At 9:17 AM -0400 9/25/07, Robert Cummings wrote: > >On Tue, 2007-09-25 at 10:44 -0600, Børge Holen wrote: > >> On Tuesday 25 September 2007 03:27:25 Christian Hänsel wrote: > > > > "Colin Guthrie" <[EMAIL PROTECTED]> schrieb im Newsbeitrag > > > >

Re: [PHP] Re: Data request

2007-09-25 Thread Steve Edberg
At 4:57 PM -0400 9/25/07, tedd <[EMAIL PROTECTED]> wrote: At 9:17 AM -0400 9/25/07, Robert Cummings wrote: On Tue, 2007-09-25 at 10:44 -0600, Børge Holen wrote: On Tuesday 25 September 2007 03:27:25 Christian Hänsel wrote: > > "Colin Guthrie" <[EMAIL PROTECTED]> schrieb im Newsbeitrag > >

Re: [PHP] Re: Data request

2007-09-25 Thread tedd
At 9:17 AM -0400 9/25/07, Robert Cummings wrote: On Tue, 2007-09-25 at 10:44 -0600, Børge Holen wrote: On Tuesday 25 September 2007 03:27:25 Christian Hänsel wrote: > > "Colin Guthrie" <[EMAIL PROTECTED]> schrieb im Newsbeitrag > > Heck, I am turning 30 at the end of next month :o( Quit tal

Re: [PHP] Re: Strategy for Secure File Storage

2007-09-25 Thread Andrew Ballard
Kevin Murphy wrote: > > The problem is IE7. All browsers work with this code as is but IE says > > "Internet Explorer cannot download test.pdf from XXX" The problem with IE was when you told it not to cache the document. If you just want the browser to download the file rather than let the Ad

[PHP] php auction/bidding system

2007-09-25 Thread bruce
Hey... I'm researching, trying to find a really good/stable bidding/auction system. I've checked freshmeat/sourceforge, etc Anybody with experience with one of these kinds of systems that you care to share. Looking to potentially rip it apart for my needs. Thanks -- PHP General Mailing Lis

Re: [PHP] Newbie: special characters in regex?

2007-09-25 Thread Jim Lucas
Zembower, Kevin wrote: I'm trying to modify a string so that it can be used as a Distinguished Name in an LDAP operation. Distinguished Names must have special characters, such as (, ), / and \ escaped with a backslash. For instance, 'Kevin (Kev) Zembower, III" becomes 'Kevin \(Kev\) Zembower\, I

Re: [PHP] Newbie: special characters in regex?

2007-09-25 Thread brian
Zembower, Kevin wrote: I'm trying to modify a string so that it can be used as a Distinguished Name in an LDAP operation. Distinguished Names must have special characters, such as (, ), / and \ escaped with a backslash. For instance, 'Kevin (Kev) Zembower, III" becomes 'Kevin \(Kev\) Zembower\, I

RE: [PHP] Newbie: special characters in regex?

2007-09-25 Thread Edward Kay
> > I'm trying to modify a string so that it can be used as a Distinguished > Name in an LDAP operation. Distinguished Names must have special > characters, such as (, ), / and \ escaped with a backslash. For > instance, 'Kevin (Kev) Zembower, III" becomes 'Kevin \(Kev\) Zembower\, > III'. > > I

Re: [PHP] php downlaod script

2007-09-25 Thread brian
Hulf wrote: My download script only gives me empty (0kb) xls files. They are being uploaded as blobs and seem ok. Can someone shed some light on why the downoad is not working. Many Thanks, R. $query = "SELECT id, file_name, size, type, content FROM results WHERE id = '$id'"; $result =

[PHP] Re: Newbie: special characters in regex?

2007-09-25 Thread Al
Suggest using the hex or oct codes for the special characters. It will save you much heart ache. Here is a great utility http://www.dextronet.com/charprobe.php Zembower, Kevin wrote: I'm trying to modify a string so that it can be used as a Distinguished Name in an LDAP operation. Distinguish

Re: [PHP] php downlaod script

2007-09-25 Thread Jim Lucas
Hulf wrote: My download script only gives me empty (0kb) xls files. They are being uploaded as blobs and seem ok. Can someone shed some light on why the downoad is not working. Many Thanks, R. $query = "SELECT id, file_name, size, type, content FROM results WHERE id = '$id'"; $result =

[PHP] Newbie: special characters in regex?

2007-09-25 Thread Zembower, Kevin
I'm trying to modify a string so that it can be used as a Distinguished Name in an LDAP operation. Distinguished Names must have special characters, such as (, ), / and \ escaped with a backslash. For instance, 'Kevin (Kev) Zembower, III" becomes 'Kevin \(Kev\) Zembower\, III'. I tried to do this

Re: [PHP] php downlaod script

2007-09-25 Thread Stut
Hulf wrote: My download script only gives me empty (0kb) xls files. They are being uploaded as blobs and seem ok. Can someone shed some light on why the downoad is not working. header("Content-Length: ".filesize($size)); I'm thinking this should not be calling filesize. -Stut -- http://st

Re: [PHP] php downlaod script

2007-09-25 Thread Jason Pruim
Hi Hulf, Just looking at it, I'm not sure why it's not working. But here is the script I use for exporting database files to excel: $select = "SELECT * FROM ".$table." WHERE FName like '%".$search."%' or LName like '%".$search."%' or Add1 like '%".$search."%' or Add2 like '%".$search."%'

Re: [PHP] read post data as a buffer

2007-09-25 Thread Jürgen Wind
You may be looking for this : http://martinjansen.com/2007/04/upload-progress/ David Blanco-3 wrote: > > Hi! > > I think that is not possible to read post data as a buffer with php like > it´s in perl. If this is true, how do you deal with large file uploads > to know the status of the operat

Re: [PHP] Re: Data request

2007-09-25 Thread Paul Scott
On Tue, 2007-09-25 at 09:17 -0400, Robert Cummings wrote: > Oh sure, and now when I'm searching for "shit" I'll get all these > Henry's cat references *bleh*. > Well then why not tie in "coprophilia" as well? ugh. --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.a

[PHP] php downlaod script

2007-09-25 Thread Hulf
My download script only gives me empty (0kb) xls files. They are being uploaded as blobs and seem ok. Can someone shed some light on why the downoad is not working. Many Thanks, R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Data request

2007-09-25 Thread Robert Cummings
On Tue, 2007-09-25 at 10:44 -0600, Børge Holen wrote: > On Tuesday 25 September 2007 03:27:25 Christian Hänsel wrote: > > "Colin Guthrie" <[EMAIL PROTECTED]> schrieb im Newsbeitrag > > news:[EMAIL PROTECTED] > > > > > Auto-Deppe, C. Haensel wrote: > > >> Haha... nice one Col! Just started up my wor

Re: [PHP] Re: article: 7 reasons I switched back to PHP after 2 years on Rails

2007-09-25 Thread Robert Cummings
On Tue, 2007-09-25 at 08:29 -0400, tedd wrote: > At 7:47 PM +0100 9/24/07, Colin Guthrie wrote: > >Robert Cummings wrote: > >> On Mon, 2007-09-24 at 12:52 -0500, XIMvad wrote: > >>> hohoho .. maaanya :D > >>> > >>>http://www.oreillynet.com/ruby/blog/2007/09/7_reasons_i_switched_back_to_p_1.html

[PHP] Re: article: 7 reasons I switched back to PHP after 2 years on Rails

2007-09-25 Thread tedd
At 7:47 PM +0100 9/24/07, Colin Guthrie wrote: Robert Cummings wrote: On Mon, 2007-09-24 at 12:52 -0500, XIMvad wrote: hohoho .. maaanya :D http://www.oreillynet.com/ruby/blog/2007/09/7_reasons_i_switched_back_to_p_1.html DUPE!!! Posted yesterday! :) T

[PHP] read post data as a buffer

2007-09-25 Thread David Blanco
Hi! I think that is not possible to read post data as a buffer with php like it´s in perl. If this is true, how do you deal with large file uploads to know the status of the operation at any time? Thanks Greetings from Spain -- David Blanco -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: Data request

2007-09-25 Thread Børge Holen
On Tuesday 25 September 2007 03:27:25 Christian Hänsel wrote: > "Colin Guthrie" <[EMAIL PROTECTED]> schrieb im Newsbeitrag > news:[EMAIL PROTECTED] > > > Auto-Deppe, C. Haensel wrote: > >> Haha... nice one Col! Just started up my work computer, and the first > >> thing I read is your post. Really a

[PHP] Quota Display function sample

2007-09-25 Thread edwardspl
Dear All, Mine is Linux FC6 and define the quota by using the build in as the following : For sudoers : apacheALL= NOPASSWD:/usr/bin/quota, /bin/grep For /var/spool/mail -rw--- 1 root root 7168 Sep 24 23:02 aquota.group -rw--- 1 root root 8192 Sep 24 18:05 aquota.user So, is

[PHP] Re: Data request

2007-09-25 Thread Christian Hänsel
"Colin Guthrie" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] Auto-Deppe, C. Haensel wrote: Haha... nice one Col! Just started up my work computer, and the first thing I read is your post. Really a good start into the day :o) Thanks. Paul: Thanks for the flightgear link. As

[PHP] Re: Data request

2007-09-25 Thread Colin Guthrie
Auto-Deppe, C. Haensel wrote: > Haha... nice one Col! Just started up my work computer, and the first > thing I read is your post. Really a good start into the day :o) Thanks. > > Paul: Thanks for the flightgear link. As a FS2004 user I never even > thought of flightgear, so thanks, I'll have a lo

Re: [PHP] Regex æøå email validation?

2007-09-25 Thread Per Jessen
Søren Neigaard wrote: > It works fine, but my friend strangely enough has users with special > danish letters (æøåÆØÅ) in their email address, and that it does not > accept. Hej Søren I just realised - you can't have those characters in the email address. You may have them in the name part, bu