Re: [PHP] Sending mail on OS X

2007-06-08 Thread Jim Lucas
Christian Cantrell wrote: Hi, all. I'm sure this question has been asked, but I was not able to effectively search the forum archives, so I'm having to ask it again. I'm trying to use the mail function to send email on OS X, but the email gets rejected by the mail server I'm sending to. I get

Re: [PHP] Sending mail on OS X

2007-06-08 Thread Stut
Christian Cantrell wrote: Hi, all. I'm sure this question has been asked, but I was not able to effectively search the forum archives, so I'm having to ask it again. I'm trying to use the mail function to send email on OS X, but the email gets rejected by the mail server I'm sending to. I get

[PHP] Sending mail on OS X

2007-06-08 Thread Christian Cantrell
Hi, all. I'm sure this question has been asked, but I was not able to effectively search the forum archives, so I'm having to ask it again. I'm trying to use the mail function to send email on OS X, but the email gets rejected by the mail server I'm sending to. I get messages in mail.loglike th

[PHP] Re: PHP Form isnt emailing me

2007-06-08 Thread itoctopus
Remove the @ next to the mail function, probably there's a warning somewhere. Additionally, are you sure that your mail server is actually working? -- itoctopus - http://www.itoctopus.com ""Austin C"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, I just finished making a

[PHP] PHP Form isnt emailing me

2007-06-08 Thread Austin C
Hello, I just finished making a PHP contact form for my webite, and I can run through the whole thing, and get no errors, but it doesnt email me the form contents. *Here is th actual form page:* Contact Me Please

[PHP] Intercepting fopen, mysql_connect, and similar functions for migration

2007-06-08 Thread Kelly Jones
I'm migrating a website from one server to another, and my file paths and dbs have changed. For example /a/b/c/foo.txt on the old machine is at /x/y/z/foo.txt on the new machine. The MySQL db "foo" on the old machine is "bar" on the new machine. Can I intercept fopen() and mysql_connect() so tha

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Sukhwinder Singh
I think you have to go pretty far back in PHP history (in 'net time) to find that to be true... Not 100% sure, mind you, but pretty sure. I also think that the thing about memory limit is not true these days. I have been able to upload 3.28 gb file with memory limit specified as 128 MB. I a

Re: [PHP] Problems connecting to mysql

2007-06-08 Thread Richard Lynch
It's possible that PHP on the Linux box has a different mysql client driver version than the FreeBSD box... I would expect a more detailed error message in that base, but maybe not... Your command line in Linux could be using yet another different client version. Check output from these: mysql

Re: [PHP] Determing Content-type from request header when Apache installed as CGI

2007-06-08 Thread Richard Lynch
On Fri, June 8, 2007 2:48 pm, Chris Sommers wrote: > I read many notes on apache_request_headers() about simulating this > function > when Apache is configured with PHP as a CGI. In looking at the > $_SERVER > variable definition, I do not see the Content-Type variable listed. > Does > someone know

Re: [PHP] Faulting module php4ts.dll

2007-06-08 Thread Richard Lynch
On Fri, June 8, 2007 1:30 pm, Chris Boget wrote: > We are running PHP 4.3.11 in a Windows Server 2003 environment using > ApacheSSL v1.3. Starting just the other day, we starting seeing the > following error pop up in the windows eventvwr: > > "Faulting application Apache.exe, version 0.0.0.0, fau

RE: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Richard Lynch
On Thu, June 7, 2007 10:52 am, Jim Moseby wrote: > Rumor has it that uploaded files are stored in memory before being > committed > to disk. If so, the amount of free RAM available to PHP would be the > limit > to the filesize regardless of the ini file settings. I think you have to go pretty far

Re: [PHP] Patterns

2007-06-08 Thread Richard Lynch
On Thu, June 7, 2007 10:59 am, Steve Marquez wrote: > Greetings. I just want to say thanks for the help over the past couple > of > days. > > I am trying to get a form to delete a file. > > If the file ends in .php, then I want it to unlink from a certain > folder. > However, if the file ends in

Re: [PHP] Problems connecting to mysql

2007-06-08 Thread Tijnema
On 6/9/07, Tom Cruickshank <[EMAIL PROTECTED]> wrote: It is definitely on a separate machine. I have host as '%' in the user table in the mysql database. When I used the command line "mysql -u some_user -p -h xxx.xxx.xxx.xxx It was in a local and remote setting (ie, done in the linux machine and

Re: [PHP] filesize() and mime_content_type()

2007-06-08 Thread Richard Lynch
On Thu, June 7, 2007 12:04 pm, Chris Boget wrote: >>Have you uncommented or added `extension=php_mime_magic.dll` in >> your php.ini file for mime_content_type()? What about adding >> something like this, as well: > > extension=php_mime_magic.dll is commented out in my php.ini. So that > exp

Re: [PHP] logging of sql queries - success/failed

2007-06-08 Thread Richard Lynch
On Thu, June 7, 2007 2:12 pm, Bosky, Dave wrote: > I've got a script that imports several CSV files via the Load Data > File > command. > > I need to know if each import query was successful or failed. > > > > Is there a way to log the success/failure of each query including how > many rows were in

Re: [PHP] file_get_contents

2007-06-08 Thread Richard Lynch
On Thu, June 7, 2007 3:09 pm, Chris Boget wrote: >>> What's going on? >> That's the strangest absolute path I've ever seen... it seems to >> have >> some kind of non-absolute prefix. >> This has been a troll >:) > > Pardon? I'm not sure what you mean? I think it was a Windows-bashing joke... B

Re: [PHP] file_get_contents

2007-06-08 Thread Richard Lynch
On Thu, June 7, 2007 2:39 pm, Chris Boget wrote: > Does file_get_contents() not work with absolute paths? Works for me. In fact, I try to always use absolute paths so that I don't end up affecting the totally wrong file. > I'm able to > successfully write data to a file that I create dynamically

Re: [PHP] missing openssl

2007-06-08 Thread Richard Lynch
On Thu, June 7, 2007 2:55 pm, s2j1j1b0 wrote: > > > > Hello, > > I am working off my development machine (my home pc) and I just loaded > the > php-sdkfolder in my root directory and than ran php-sdk/install.php > and got > this message. > > INSTALLATION ERROR: One or more required PHP extensions

Re: [PHP] PHP process control

2007-06-08 Thread Richard Lynch
I believe that in CGI or CLI process you'd be okay, as the "fork" happens in its own process, and can only mess up PHP, which is fairly safe. In PHP as Module, you risk thread-safety issues in a big way with any PHP extensions that aren't thread-safe. And nobody is 100% sure on any of the extensi

RE: [PHP] Problems connecting to mysql

2007-06-08 Thread Tom Cruickshank
It is definitely on a separate machine. I have host as '%' in the user table in the mysql database. When I used the command line "mysql -u some_user -p -h xxx.xxx.xxx.xxx It was in a local and remote setting (ie, done in the linux machine and freebsd machine). If it didn't work via command line,

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Sukhwinder Singh
I think the problem occurred as I specified size in php.ini using 4096M or 4G. Then just now I specified as 4294967294 around 4(GB) and I am getting the POSTed values. *Locally, on windows xp* this is working but when I set these values as as 4294967294 on Mandriva with php 5.1.6 and Apache/2.2.

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Tijnema
On 6/9/07, Jim Lucas <[EMAIL PROTECTED]> wrote: Richard Lynch wrote: available hard drive space any possible hard disk quota limit single file size limit of the OS file size limit of Apache ( mentioned by another replier ) Apache < 2.x is less than 2g Apache 2.x is greater than 2g

Re: [PHP] Problems connecting to mysql

2007-06-08 Thread Tijnema
On 6/9/07, Tom Cruickshank <[EMAIL PROTECTED]> wrote: Hello, I was using a FAMP (FreeBSD Apache MySQL PHP) server for some web development I was doing. Then I had to switch over the php pages to a Linux box, however, the database is still on FreeBSD. Does that make any difference? The reason w

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Jim Lucas
Richard Lynch wrote: On Fri, June 8, 2007 4:03 pm, Jim Lucas wrote: afaik, you are using the stock php.ini setting while you are uploading. This should not be taken to mean that if one changes php.ini, that the change does not affect file upload -- it definitely does matter... Not sure Jim me

[PHP] Problems connecting to mysql

2007-06-08 Thread Tom Cruickshank
Hello, I was using a FAMP (FreeBSD Apache MySQL PHP) server for some web development I was doing. Then I had to switch over the php pages to a Linux box, however, the database is still on FreeBSD. Does that make any difference? The reason why I ask is because I keep getting this error. I use "

[PHP] OO Problem / Using Singleton Pattern / Extending mysqli

2007-06-08 Thread Lee PHP
Hi guys, For the life of me I can't figure this out. I have two classes as follows: 1. Config.php (based on the Singleton pattern; gets/sets properties). 2. Database.php (also based on the Singleton pattern; extends mysqli). -- BEGIN CLASS CONFIG -- $line) { if

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Richard Lynch
On Fri, June 8, 2007 4:03 pm, Jim Lucas wrote: > afaik, you are using the stock php.ini setting while you are > uploading. This should not be taken to mean that if one changes php.ini, that the change does not affect file upload -- it definitely does matter... Not sure Jim meant that Sukhwinder w

Re: [PHP] Re: php-cli vs python

2007-06-08 Thread Tijnema
On 6/8/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Fri, 2007-06-08 at 13:50 +0800, Man-wai Chang wrote: > > Micro$oft expressed interest in Python. But I don't know whether it's a > > trap or bait... :) > > > > I said these because of Foxpro. Micro$oft bought it, improved it. But > now that

Re: [PHP] Removing a row from an Array

2007-06-08 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Jun 5, 2007, at 5:20 PM, Richard Lynch wrote: am I missing something (other than a few brain cells)? http://php.net/unset As in, unset($array['goner']); Yup, that's the one. Thanks to you, too. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

Re: Re[4]: [PHP] checking the aspect ratio of an images

2007-06-08 Thread Robert Cummings
On Fri, 2007-06-08 at 21:36 +0100, Richard Davey wrote: > Hi Robert, > > Friday, June 8, 2007, 7:47:17 PM, you wrote: > > > On Fri, 2007-06-08 at 19:35 +0100, Richard Davey wrote: > >> Hi Robert, > >> > >> Friday, June 8, 2007, 7:21:39 PM, you wrote: > >> > >> > Precisely defined limits are not

Re: [PHP] source like smorty.com

2007-06-08 Thread Tijnema
On 6/8/07, Jay Blanchard <[EMAIL PROTECTED]> wrote: [snip] Why don't you list the rest of the search engines? [/snip] Because he can search for search engines using that search engine. Oh, you should have noted that ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

RE: [PHP] source like smorty.com

2007-06-08 Thread Jay Blanchard
[snip] Why don't you list the rest of the search engines? [/snip] Because he can search for search engines using that search engine. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: high-bit characters

2007-06-08 Thread Abdullah Ramazanoglu
WeberSites LTD dedi ki: > I'm trying to validate an RSS feed and getting errors about "high-bit > characters". > How can I check if a string contains any high-bit characters? if (preg_match("/[\x80-\xff]/", $string)) { # high-bit char found } else { # no high-bit char } -- Abdul

Re: [PHP] source like smorty.com

2007-06-08 Thread Tijnema
On 6/8/07, Jay Blanchard <[EMAIL PROTECTED]> wrote: [snip] anybody knows an open source like smorty.com ? [/snip] No, but if you hum a few bars Sourceforge Freshmeat Google Why don't you list the rest of the search engines? Yahoo! search Live search -- PHP General Mailing List (http

Re: [PHP] PHP Corrupts URLs

2007-06-08 Thread Richard Davey
Hi Nathan, Friday, June 8, 2007, 9:47:22 PM, you wrote: > I have a php script that gets a url from a GET query parameter. I have > been running this script on PHP 5.2.2 on Ubuntu Linux, and everything > works as expected. I have just installed PHP 5.2.3 on OS X via > MacPorts, and the same qu

Re: [PHP] checking the aspect ratio of an images

2007-06-08 Thread Robert Cummings
On Sat, 2007-06-09 at 04:55 +0800, Crayon Shin Chan wrote: > On Saturday 09 June 2007 02:21, Robert Cummings wrote: > > > As for how this affects the aspect ratio of an image... it doesn't > > really, but the person who said that "You can't really be 'approximate' > > when coding" didn't exactly c

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Jim Lucas
Sukhwinder Singh wrote: I will again suggest http://radinks.com/upload/ . It does not use POST to transfer huge files. Thanks everyone for replying. I had a look at that. My problem is that along with uploading file I also have to post some other information as well. File names are randoml

[PHP] PHP Corrupts URLs

2007-06-08 Thread Nathan Corvino
I have a php script that gets a url from a GET query parameter. I have been running this script on PHP 5.2.2 on Ubuntu Linux, and everything works as expected. I have just installed PHP 5.2.3 on OS X via MacPorts, and the same query parameter url has any single quote characters escaped with a

Re: [PHP] checking the aspect ratio of an images

2007-06-08 Thread Crayon Shin Chan
On Saturday 09 June 2007 02:21, Robert Cummings wrote: > As for how this affects the aspect ratio of an image... it doesn't > really, but the person who said that "You can't really be 'approximate' > when coding" didn't exactly confine it to the question about aspect > ratio and an image. Taking

Re[4]: [PHP] checking the aspect ratio of an images

2007-06-08 Thread Richard Davey
Hi Robert, Friday, June 8, 2007, 7:47:17 PM, you wrote: > On Fri, 2007-06-08 at 19:35 +0100, Richard Davey wrote: >> Hi Robert, >> >> Friday, June 8, 2007, 7:21:39 PM, you wrote: >> >> > Precisely defined limits are not the same as precisely defined values. I >> > might precisely define the amo

[PHP] Determing Content-type from request header when Apache installed as CGI

2007-06-08 Thread Chris Sommers
I read many notes on apache_request_headers() about simulating this function when Apache is configured with PHP as a CGI. In looking at the $_SERVER variable definition, I do not see the Content-Type variable listed. Does someone know how to extract this in an Apache PHP CGI configuration? +--

[PHP] Re: Faulting module php4ts.dll

2007-06-08 Thread zerof
Chris Boget escreveu: We are running PHP 4.3.11 in a Windows Server 2003 environment using ApacheSSL v1.3. Starting just the other day, we starting seeing the following error pop up in the windows eventvwr: "Faulting application Apache.exe, version 0.0.0.0, faulting module php4ts.dll, versio

[PHP] Re: Faulting module php4ts.dll

2007-06-08 Thread M. Sokolewicz
zerof wrote: Chris Boget escreveu: We are running PHP 4.3.11 in a Windows Server 2003 environment using ApacheSSL v1.3. Starting just the other day, we starting seeing the following error pop up in the windows eventvwr: "Faulting application Apache.exe, version 0.0.0.0, faulting module php4

Re: [PHP] Faulting module php4ts.dll

2007-06-08 Thread Stut
Chris Boget wrote: We are running PHP 4.3.11 in a Windows Server 2003 environment using ApacheSSL v1.3. Starting just the other day, we starting seeing the following error pop up in the windows eventvwr: "Faulting application Apache.exe, version 0.0.0.0, faulting module php4ts.dll, version 4

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Stut
Richard Lynch wrote: On Fri, June 8, 2007 10:17 am, Sukhwinder Singh wrote: Stut, thank you very much for explaining things and trying to help. The applet *does* POST to PHP. However, it has the option to upload to an FTP server "the choice of using HTTP, HTTPS or FTP connections for your

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Sukhwinder Singh
- Original Message - From: "Richard Lynch" <[EMAIL PROTECTED]> To: "Sukhwinder Singh" <[EMAIL PROTECTED]> Cc: "Jim Moseby" <[EMAIL PROTECTED]>; ; "Stut" <[EMAIL PROTECTED]> Sent: Friday, June 08, 2007 11:32 PM Subject: Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Sukhwinder Singh
Tested on two servers. Both cases it seems to fail if it takes more than 30 seconds. I get an error: [08-Jun-2007 20:15:06] PHP Fatal error: Maximum execution time of 30 seconds exceeded in \handle_upload.php on line 2 That's php timeout message. You have NOT set the tmeout as you think.

Re: Re[2]: [PHP] checking the aspect ratio of an images

2007-06-08 Thread Robert Cummings
On Fri, 2007-06-08 at 19:35 +0100, Richard Davey wrote: > Hi Robert, > > Friday, June 8, 2007, 7:21:39 PM, you wrote: > > > Precisely defined limits are not the same as precisely defined values. I > > might precisely define the amount of entropy on a random value as being > > some formula based o

[PHP] Faulting module php4ts.dll

2007-06-08 Thread Chris Boget
We are running PHP 4.3.11 in a Windows Server 2003 environment using ApacheSSL v1.3. Starting just the other day, we starting seeing the following error pop up in the windows eventvwr: "Faulting application Apache.exe, version 0.0.0.0, faulting module php4ts.dll, version 4.3.11.11, fault addr

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Richard Lynch
On Fri, June 8, 2007 10:17 am, Sukhwinder Singh wrote: > Stut, thank you very much for explaining things and trying to help. > >> The applet *does* POST to PHP. However, it has the option to upload >> to an >> FTP server "the choice of using HTTP, HTTPS or FTP connections >> for >> your transfe

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Richard Lynch
On Fri, June 8, 2007 8:58 am, Sukhwinder Singh wrote: > I had a look at that. My problem is that along with uploading file I > also > have to post some other information as well. File names are randomly > generated. Jupload seems to do the work other than that POST problem. > Client > is asking for

Re[2]: [PHP] checking the aspect ratio of an images

2007-06-08 Thread Richard Davey
Hi Robert, Friday, June 8, 2007, 7:21:39 PM, you wrote: > Precisely defined limits are not the same as precisely defined values. I > might precisely define the amount of entropy on a random value as being > some formula based on the current temperature of my CPU. The formula is > quite precise, b

Re: [PHP] checking the aspect ratio of an images

2007-06-08 Thread Robert Cummings
On Sat, 2007-06-09 at 01:08 +0800, Crayon Shin Chan wrote: > On Friday 08 June 2007 22:17, tedd wrote: > > > >> Wednesday, June 6, 2007, 11:41:19 AM, you wrote: > > >> > I want to force users to insert landscape rather portrait images. > > >> > I don't want to be too pedantic about it but they

[PHP] high-bit characters

2007-06-08 Thread WeberSites LTD
I'm trying to validate an RSS feed and getting errors about "high-bit characters". How can I check if a string contains any high-bit characters? thanks berber

Re: [PHP] Re: Re: php-cli vs python

2007-06-08 Thread Crayon Shin Chan
On Saturday 09 June 2007 01:22, Daniel Brown wrote: > I actually haven't found a platform yet that I couldn't port PHP > to, if it wasn't already native. We're talking Windows, Linux, BSD, > true *nix, MacOS, SunOS, Amiga, et cetera. I doubt it would run on my > old Commodore 64 with the 154

Re: [PHP] Re: Re: php-cli vs python

2007-06-08 Thread Daniel Brown
On 6/8/07, Crayon Shin Chan <[EMAIL PROTECTED]> wrote: On Friday 08 June 2007 04:10, Abdullah Ramazanoglu wrote: > I found one intersting item though: Under the "What does Python have > that PHP doesn't?" header, there's a bullet stating that "support for > all major GUI frameworks". I know that

Re[2]: [PHP] checking the aspect ratio of an images

2007-06-08 Thread Richard Davey
Hi Crayon, Friday, June 8, 2007, 6:08:30 PM, you wrote: > On Friday 08 June 2007 22:17, tedd wrote: >> >> Wednesday, June 6, 2007, 11:41:19 AM, you wrote: >> >> > I want to force users to insert landscape rather portrait images. >> >> > I don't want to be too pedantic about it but they do nee

Re: [PHP] checking the aspect ratio of an images

2007-06-08 Thread Crayon Shin Chan
On Friday 08 June 2007 22:17, tedd wrote: > >> Wednesday, June 6, 2007, 11:41:19 AM, you wrote: > >> > I want to force users to insert landscape rather portrait images. > >> > I don't want to be too pedantic about it but they do need to have > >> > an > >> > >>approximate 4x3 > >> > >> > aspe

Re: [PHP] Re: php-cli vs python OT

2007-06-08 Thread Daniel Brown
On 6/7/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Thu, 2007-06-07 at 23:33 +0100, Colin Guthrie wrote: > Robert Cummings wrote: > > On Thu, 2007-06-07 at 16:36 -0400, Daniel Brown wrote: > >> Are you using Amarok on Windows, Linux, or other? I have Amarok > >> 1.3.1 on KDE 3.4.2 on Ma

Re: [PHP] Re: Re: php-cli vs python

2007-06-08 Thread Crayon Shin Chan
On Friday 08 June 2007 04:10, Abdullah Ramazanoglu wrote: > I found one intersting item though: Under the "What does Python have > that PHP doesn't?" header, there's a bullet stating that "support for > all major GUI frameworks". I know that both php and python have support > for gtk. Am I to unde

Re: [PHP] Re: php-cli vs python

2007-06-08 Thread Crayon Shin Chan
On Friday 08 June 2007 13:50, Man-wai Chang wrote: > > Micro$oft expressed interest in Python. But I don't know whether it's > > a trap or bait... :) > > I said these because of Foxpro. Micro$oft bought it, improved it. But > now that Micro$oft wanan go .NET, Visual Foxpro was discontinued. > > Sam

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Sukhwinder Singh
I think you need to read up on how an HTTP POST request works when it's handled by PHP because some of what you've written there indicates that you don't quite have it. When you hit the upload button the browser makes a connection to the server and the PHP engine gets invoked to handle the requ

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Robert Cummings
On Fri, 2007-06-08 at 10:53 -0400, tedd wrote: > At 4:35 PM +0100 6/7/07, Stut wrote: > >You need to look into maybe a java applet, or just plain > >FTP/SFTP/SCP for files that big. HTTP was never designed to handle > >uploading files of that size. For a start there is no facility to > >restart

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Stut
tedd wrote: At 4:35 PM +0100 6/7/07, Stut wrote: You need to look into maybe a java applet, or just plain FTP/SFTP/SCP for files that big. HTTP was never designed to handle uploading files of that size. For a start there is no facility to restart the upload should it get interrupted and fail.

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Stut
Brad Fuller wrote: Have a look at "Filechucker" http://encodable.com/filechucker/ My company purchased this program for a small project; It's quite inexpensive ($39 USD) and works well. It's written in perl and does not post to PHP, and we've used it to upload large files and it seems to handle

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Stut
Sukhwinder Singh wrote: Stut, thank you very much for explaining things and trying to help. That's no problem, it's what I'm here for (I knew there was a reason). The applet *does* POST to PHP. However, it has the option to upload to an FTP server "the choice of using HTTP, HTTPS or FTP c

RE: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Brad Fuller
Sukhwinder Singh wrote: > Stut, thank you very much for explaining things and trying to help. > >> The applet *does* POST to PHP. However, it has the option to upload >> to an FTP server "the choice of using HTTP, HTTPS or FTP >> connections for your transfer" (from the website). > > So it se

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Zoltán Németh
2007. 06. 8, péntek keltezéssel 20.17-kor Sukhwinder Singh ezt írta: > Stut, thank you very much for explaining things and trying to help. > > > The applet *does* POST to PHP. However, it has the option to upload to an > > FTP server "the choice of using HTTP, HTTPS or FTP connections for >

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread tedd
At 4:35 PM +0100 6/7/07, Stut wrote: You need to look into maybe a java applet, or just plain FTP/SFTP/SCP for files that big. HTTP was never designed to handle uploading files of that size. For a start there is no facility to restart the upload should it get interrupted and fail. -Stut -St

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Sukhwinder Singh
Stut, thank you very much for explaining things and trying to help. The applet *does* POST to PHP. However, it has the option to upload to an FTP server "the choice of using HTTP, HTTPS or FTP connections for your transfer" (from the website). So it seems applet posts complete data to tha

Re: [PHP] customer ids

2007-06-08 Thread tedd
At 3:40 PM +0100 6/6/07, blueboy wrote: Hi, I want to create random customer ids. I have an auto incremented coulumn but I would rather have a 6-8 digit/letter id randomly generated that can be used as a unique identifier across 3 tables. Does anyone have a algorithm to generate such a string a

Re: [PHP] checking the aspect ratio of an images

2007-06-08 Thread tedd
At 9:33 AM -0400 6/6/07, Robert Cummings wrote: On Wed, 2007-06-06 at 12:01 +0100, Richard Davey wrote: Hi, Wednesday, June 6, 2007, 11:41:19 AM, you wrote: > I want to force users to insert landscape rather portrait images. I don't > want to be too pedantic about it but they do need to ha

Re: [PHP] taking a single payment online

2007-06-08 Thread Miles Thompson
Googling for: online payment services returns a slew of hits, among them www.auctionbytes.com/cab/pages/payment* *based in the UK. I don't believe you are going to find a "fully automatic" PHP connection for most of these services. HTH - Miles * * On 6/8/07, Ross <[EMAIL PROTECTED]> wrote: H

RE: [PHP] Parse domain from URL

2007-06-08 Thread Brad Fuller
Tijnema wrote: > On 6/7/07, Brad Fuller <[EMAIL PROTECTED]> wrote: >> Robin Vickery wrote: >>> In that case you can't do it just by parsing alone, you need to use >>> DNS. >>> >>> >> function get_domain ($hostname) { >>> dns_get_record($hostname, DNS_A, $authns, $addt); return >>> $authns[0][

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Stut
Sukhwinder Singh wrote: PHP's handling of uploaded files is confusing. I have added logging to the script to which jupload posts. Logging suggests that php file is only accessed after file is completely uploaded by jupload. I also checked apache access logs. Entry in apache log appears only aft

Re: [PHP] Re: php-cli vs python

2007-06-08 Thread Robert Cummings
On Fri, 2007-06-08 at 16:42 +0300, Sancar Saran wrote: > On Friday 08 June 2007 16:21:04 Robert Cummings wrote: > > On Fri, 2007-06-08 at 13:50 +0800, Man-wai Chang wrote: > > > > Micro$oft expressed interest in Python. But I don't know whether it's a > > > > trap or bait... :) > > > > > > I said t

RE: [PHP] source like smorty.com

2007-06-08 Thread Jay Blanchard
[snip] anybody knows an open source like smorty.com ? [/snip] No, but if you hum a few bars Sourceforge Freshmeat Google -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: php-cli vs python

2007-06-08 Thread Sancar Saran
On Friday 08 June 2007 16:21:04 Robert Cummings wrote: > On Fri, 2007-06-08 at 13:50 +0800, Man-wai Chang wrote: > > > Micro$oft expressed interest in Python. But I don't know whether it's a > > > trap or bait... :) > > > > I said these because of Foxpro. Micro$oft bought it, improved it. But > > n

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Sukhwinder Singh
I will again suggest http://radinks.com/upload/ . It does not use POST to transfer huge files. Thanks everyone for replying. I had a look at that. My problem is that along with uploading file I also have to post some other information as well. File names are randomly generated. Jupload seems

[PHP] taking a single payment online

2007-06-08 Thread Ross
Hi, I have a clinet with a small hotel. I want to send a link to customers requesting cash similar to paypal. If there total booking is £320 I want to send them a link to pay £32 online. Is there an alternative non-paypal way to do this? Other gateways with good PHP based API. thanks, R.

Re: [PHP] Re: php-cli vs python

2007-06-08 Thread Robert Cummings
On Fri, 2007-06-08 at 13:50 +0800, Man-wai Chang wrote: > > Micro$oft expressed interest in Python. But I don't know whether it's a > > trap or bait... :) > > > > I said these because of Foxpro. Micro$oft bought it, improved it. But > now that Micro$oft wanan go .NET, Visual Foxpro was disconti

RE: [PHP] need to alter FROM address when sending with PHP forms

2007-06-08 Thread Jim Moseby
> > My company has a RH ES4 web server running apache/2.2.2 and PHP 5.1.4. > Our PHP programmer has developed quite a few PHP email forms and each > time an email is sent, the FROM: address is > [EMAIL PROTECTED] I don't know if this is a PHP > problem or apache problem (or even a sendmail problem

RE: [PHP] Re: File Upload - post_max_size and upload_max_filesiz e in GBs

2007-06-08 Thread Jim Moseby
> > Any suggestion to use some other applet. Any freeware etc. Or > one not so > expensive and which overcomes this php's 1.99 gb limit. > I will again suggest http://radinks.com/upload/ . It does not use POST to transfer huge files. JM -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Stut
Sukhwinder Singh wrote: You don't appear to have read what I said. A Java applet can use FTP to upload the file - PHP does not get involved in that part. Once the upload is complete the applet can POST to your PHP file giving it information like where it's put the file and this other informatio

Re: [PHP] new forum

2007-06-08 Thread Marco Sottana
my server is on www.register.it at soon will be faster thanks :) - Original Message - From: "Tijnema" <[EMAIL PROTECTED]> To: "Marco Sottana" <[EMAIL PROTECTED]> Cc: Sent: Friday, June 08, 2007 11:08 AM Subject: Re: [PHP] new forum On 6/8/07, Marco Sottana <[EMAIL PROTECTED]> wrote

Re: [PHP] new forum

2007-06-08 Thread Tijnema
On 6/8/07, Marco Sottana <[EMAIL PROTECTED]> wrote: hi i am builing a new forum about pear .. www.myflashxml.it if anyone want to be a moderator of that forum contact me msn: [EMAIL PROTECTED] my icq: 210139517 my skype: marco xot You're site is incredibly slow... You host it on your local PC

[PHP] new forum

2007-06-08 Thread Marco Sottana
hi i am builing a new forum about pear .. www.myflashxml.it if anyone want to be a moderator of that forum contact me msn: [EMAIL PROTECTED] my icq: 210139517 my skype: marco xot

[PHP] source like smorty.com

2007-06-08 Thread Marco Sottana
anybody knows an open source like smorty.com ?