php-general Digest 7 Jun 2007 11:35:54 -0000 Issue 4834

2007-06-07 Thread php-general-digest-help
php-general Digest 7 Jun 2007 11:35:54 - Issue 4834 Topics (messages 256254 through 256265): Re: Parse domain from URL 256254 by: Stefan Wixfort 256264 by: Robin Vickery Re: More include issues 256255 by: Robert Cummings 256256 by: Jared Farrish

[PHP] XSLT and DocBook

2007-06-07 Thread Larry Garfield
Hi all. I have a DocBook source[1] that I am processing into XHTML using the DocBook XSL[2] toolchain. That is, XSLT. I'm not doing a huge amount of customization on top of the default setup, either. Right now, I'm using the standard XSLT Java toolchain; Xalan, Xerces, XIncluder, and all of

Re: [PHP] cannot make directory at remote host

2007-06-07 Thread ross
Hi, I can make the files now after setting the permission to my images folder but I cannot delete the folder or images in it. I have tried unlink and rmdir with no success. Even with filezilla cannot delete it The problem seems to be the images that are set to chmod of 600 and cannot be

[PHP] directories - again

2007-06-07 Thread Ross
Hi, I can make the files now after setting the permission to my images folder but I cannot delete the folder or images in it. I have tried unlink and rmdir with no success. Even with filezilla cannot delete it The problem seems to be the images that are set to chmod of 600 and cannot be

Re: [PHP] Re: More include issues

2007-06-07 Thread Stut
Robert Cummings wrote: On Wed, 2007-06-06 at 20:26 -0500, Jared Farrish wrote: On 6/6/07, Robert Cummings [EMAIL PROTECTED] wrote: On Wed, 2007-06-06 at 17:21 -0500, Jared Farrish wrote: I feel ya brotha! I think Stut might be having a bad day... Bad day?? Did you read the same posts I read?

Re: [PHP] Parse domain from URL

2007-06-07 Thread Robin Vickery
On 06/06/07, Brad Fuller [EMAIL PROTECTED] wrote: Daniel Brown wrote: On 6/6/07, Brad Fuller [EMAIL PROTECTED] wrote: I need to strip out a domain name from a URL, and ignore subdomains (like www) I can use parse_url to get the hostname. And my first thought was to take the last 2

[PHP] Re: directories - again

2007-06-07 Thread itoctopus
use the function chmod chmod($img_url, 0777); //note the leading 0, it should be there I hope this is what you want: -- itoctopus - http://www.itoctopus.com Ross [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I can make the files now after setting the permission to my

[PHP] Re: php-cli vs python

2007-06-07 Thread Man-wai Chang
Otherwise you have to start again from scratch in python code (creating more places for bugs to hide and making the whole thing more complicated). While they can access the same database, there's nothing else they can share. Micro$oft expressed interest in Python. But I don't know whether it's a

[PHP] Re: directories - again

2007-06-07 Thread Ross
No I want it to be 777 when I upload it not upload it nd have to change it. itoctopus [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] use the function chmod chmod($img_url, 0777); //note the leading 0, it should be there I hope this is what you want: -- itoctopus -

[PHP] file permissions

2007-06-07 Thread Ross
n relation to my other posts it is not that the folder permission are not working, when I put an image inside them the image automatically has a 600 chmod and has the owner is 'nobody'. This means I cannot delete the files. mkdir('images/'.$customer_id, 0755); chown('images/'.$customer_id,

Re: [PHP] Re: directories - again

2007-06-07 Thread Dave Goodchild
umask

Re: [PHP] ownership and permissions

2007-06-07 Thread Myron Turner
blueboy wrote: t: 0131 553 3935 | m:07816 996 930 | [EMAIL PROTECTED] | http://www:blue-fly.co.uk I cannot delete a couple of folders on the server as the have the owner 'nobody'. All I am doing is making the folders with mkdir($customer_id, 0755); Now is there a way to set the ownership

Re: [PHP] XSLT and DocBook

2007-06-07 Thread Myron Turner
Larry Garfield wrote: Hi all. I have a DocBook source[1] that I am processing into XHTML using the DocBook XSL[2] toolchain. That is, XSLT. I'm not doing a huge amount of customization on top of the default setup, either. Right now, I'm using the standard XSLT Java toolchain; Xalan,

[PHP] fsockopen with proxy?

2007-06-07 Thread Tijnema
Hi, What I want is to send a complete HTTP request, including special headers, to another server over a HTTP proxy. Is this possible with PHP? I've seen the manual, and it doesn't say anything about proxy. I've checked the comments on the fsockopen page, and there's a comment about it for using

Re: [PHP] file permissions

2007-06-07 Thread Daniel Brown
On 6/7/07, Ross [EMAIL PROTECTED] wrote: n relation to my other posts it is not that the folder permission are not working, when I put an image inside them the image automatically has a 600 chmod and has the owner is 'nobody'. This means I cannot delete the files.

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

2007-06-07 Thread Daniel Brown
On 6/7/07, Man-wai Chang [EMAIL PROTECTED] wrote: Otherwise you have to start again from scratch in python code (creating more places for bugs to hide and making the whole thing more complicated). While they can access the same database, there's nothing else they can share. Micro$oft

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

2007-06-07 Thread Robert Cummings
On Thu, 2007-06-07 at 10:46 -0400, Daniel Brown wrote: On 6/7/07, Man-wai Chang [EMAIL PROTECTED] wrote: Otherwise you have to start again from scratch in python code (creating more places for bugs to hide and making the whole thing more complicated). While they can access the same

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

2007-06-07 Thread Daniel Brown
On 6/7/07, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-06-07 at 10:46 -0400, Daniel Brown wrote: On 6/7/07, Man-wai Chang [EMAIL PROTECTED] wrote: Otherwise you have to start again from scratch in python code (creating more places for bugs to hide and making the whole thing more

Re: [PHP] Parse domain from URL

2007-06-07 Thread Daniel Brown
On 6/7/07, Robin Vickery [EMAIL PROTECTED] wrote: On 06/06/07, Brad Fuller [EMAIL PROTECTED] wrote: Daniel Brown wrote: On 6/6/07, Brad Fuller [EMAIL PROTECTED] wrote: I need to strip out a domain name from a URL, and ignore subdomains (like www) I can use parse_url to get the

[PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-07 Thread Sukhwinder Singh
Hello, I want to allow uploading of huge video files, which may be as big as 4 GB. But when I try to set post_max_size = 4G upload_max_filesize = 4G in php.ini, it doesn't work and everything in post (posted data) is ignored. I get a warning about size of posted data greater than some

Re: [PHP] cannot make directory at remote host

2007-06-07 Thread Jim Lucas
[EMAIL PROTECTED] wrote: Hi, I can make the files now after setting the permission to my images folder but I cannot delete the folder or images in it. I have tried unlink and rmdir with no success. Even with filezilla cannot delete it The problem seems to be the images that are set to

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

2007-06-07 Thread Stut
Sukhwinder Singh wrote: I want to allow uploading of huge video files, which may be as big as 4 GB. But when I try to set post_max_size = 4G upload_max_filesize = 4G in php.ini, it doesn't work and everything in post (posted data) is ignored. I get a warning about size of posted data greater

[PHP] PHP process control

2007-06-07 Thread Nathan Nobbe
I was reading the handbook on the topic of Unix process control. The first thing it says is: Process Control support in PHP implements the Unix style of process creation, program execution, signal handling and process termination. Process Control should not be enabled within a web server

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

2007-06-07 Thread Sukhwinder Singh
Thanks for your reply. So you are saying I cannot do it using php. These files have to be uploaded locally but using web interface and I have to pass some parameters along with file upload to update the database after upload is successful. Also I have to rename the file after it is uploaded.

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

2007-06-07 Thread Jim Moseby
Hello, I want to allow uploading of huge video files, which may be as big as 4 GB. But when I try to set post_max_size = 4G upload_max_filesize = 4G in php.ini, it doesn't work and everything in post (posted data) is ignored. I get a warning about size of posted data greater

Re: [PHP] php-cli vs python

2007-06-07 Thread jose javier parra sanchez
Hi. One big diferrence is that python can be run interactively, while php not. That's a really good advantage to debug the scripts. Anyway, use the one you fell more comfortable. 2007/6/7, Abdullah Ramazanoglu [EMAIL PROTECTED]: Hello, I'm already (going to) use php for web based

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

2007-06-07 Thread Stut
Sukhwinder Singh wrote: Thanks for your reply. So you are saying I cannot do it using php. These files have to be uploaded locally but using web interface and I have to pass some parameters along with file upload to update the database after upload is successful. Also I have to rename the

[PHP] Patterns

2007-06-07 Thread Steve Marquez
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 .html or .htm, I want it to unlink from another folder. Is there any

Re: [PHP] php-cli vs python

2007-06-07 Thread Daniel Brown
On 6/7/07, jose javier parra sanchez [EMAIL PROTECTED] wrote: Hi. One big diferrence is that python can be run interactively, while php not. That's a really good advantage to debug the scripts. Anyway, use the one you fell more comfortable. 2007/6/7, Abdullah Ramazanoglu [EMAIL PROTECTED]:

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

2007-06-07 Thread Sukhwinder Singh
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 don't think that is the case. File is written to temp directory as it is uploaded. And

[PHP] filesize() and mime_content_type()

2007-06-07 Thread Chris Boget
Is there anything special you need to do to utilize these functions? The former says it's available in versions 4 and 5 while the latter states that it's available in versions = 4.3 and 5 (although is deprecated). I'm currently running PHP version 4.3.11 on a Windows NT box. Based on both

Re: [PHP] Patterns

2007-06-07 Thread Daniel Brown
On 6/7/07, Steve Marquez [EMAIL PROTECTED] 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 .html or .htm, I

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

2007-06-07 Thread Sukhwinder Singh
A beeter method is to send the file via ftp. I think most browsers allow this. And for example store the file in a user specific file. Then the user, via a web interface, select the file it has uploaded and do the rest of the operations you need. Along with uploading the file I also have to

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

2007-06-07 Thread Stut
Sukhwinder Singh 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 don't think that is the case. File is written to temp

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

2007-06-07 Thread Sukhwinder Singh
I would hazard a guess that you're overflowing a signed 32-bit int by specifying 4gig, but I could be wrong. It's certainly not the issue. Yes you are right. That is what is happening. Sukhwinder Singh - Original Message - From: Stut [EMAIL PROTECTED] To: Sukhwinder Singh [EMAIL

RE: [PHP] Patterns

2007-06-07 Thread Jay Blanchard
[snip] Is there any way to do this? ? $extension = str_replace('.','',strtolower(strrchr('installer.php',.))); if($extension == php) { // Do your unlink() routine for PHP here. } elseif(strstr($extension,htm)) { // Do your unlink() routine for .htm/.html files here will also do

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

2007-06-07 Thread Daniel Brown
On 6/7/07, Chris Boget [EMAIL PROTECTED] wrote: Is there anything special you need to do to utilize these functions? The former says it's available in versions 4 and 5 while the latter states that it's available in versions = 4.3 and 5 (although is deprecated). I'm currently running PHP

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

2007-06-07 Thread Chris Boget
Sounds like a problem with the installation. What could go wrong with an installation on a Windows machine that uses the binaries? Why would it be only these functions (that I can tell) that would be missing? Is there somewhere I can go and check (possibly using phpinfo()) to find out if

Re: [PHP] Patterns

2007-06-07 Thread Daniel Brown
On 6/7/07, Steve Marquez [EMAIL PROTECTED] wrote: Thank you very much! That worked. -- Steve M. on 6/7/07 11:31 AM Daniel Brown ([EMAIL PROTECTED]) wrote: On 6/7/07, Steve Marquez [EMAIL PROTECTED] wrote: Is the installer.php my form file? -- Steve M. on 6/7/07 11:12

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

2007-06-07 Thread Daniel Brown
On 6/7/07, Chris Boget [EMAIL PROTECTED] wrote: Sounds like a problem with the installation. What could go wrong with an installation on a Windows machine that uses the binaries? Why would it be only these functions (that I can tell) that would be missing? Is there somewhere I can go and

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

2007-06-07 Thread Chris Boget
Sounds like a problem with the installation. What could go wrong with an installation on a Windows machine that uses the binaries? Why would it be only these functions (that I can tell) that would be missing? Is there somewhere I can go and check (possibly using phpinfo()) to find out if

[PHP] Re: directories - again

2007-06-07 Thread Al
Here is a function you and others may find helpful. It may need some work, I haven't fully checked it out. DOC_ROOT is $_SERVER['DOCUMENT_ROOT'] ftp_conn() is a simple ftp connection function. /** * dir_perms() * * Checks to see who is dir owner and uses ftp or php to change

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

2007-06-07 Thread Daniel Brown
On 6/7/07, Daniel Brown [EMAIL PROTECTED] wrote: On 6/7/07, Chris Boget [EMAIL PROTECTED] wrote: Sounds like a problem with the installation. What could go wrong with an installation on a Windows machine that uses the binaries? Why would it be only these functions (that I can tell) that

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

2007-06-07 Thread Chris Boget
Oh, I also forgot to ask what do you get when you use stat()? stat() works, but not if I pass in the actual name of the file. I have to use fstat() in order to get the proper data. I'll have to check to see if there are any functions disabled in the php.ini (I don't believe there are

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

2007-06-07 Thread Chris Boget
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 explains why the mime_content_type() isn't working. That's fine.

[PHP] PHP process control

2007-06-07 Thread Nathan Nobbe
I was reading the handbook on the topic of Unix process control. The first thing it says is: Process Control support in PHP implements the Unix style of process creation, program execution, signal handling and process termination. Process Control should not be enabled within a web server

Re: [PHP] register_globals and magic_quotes_gpc (again)

2007-06-07 Thread Tijnema
On 6/7/07, Afan Pasalic [EMAIL PROTECTED] wrote: hi, this question is already posted thousand times. but, after I tried for 2 hours to figure it out, I gave up and posted the question here. I'm rebuilding one site. php 4.4.4 as usual, register_globals on, as well as magic_quotes. I tried to turn

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

2007-06-07 Thread Sukhwinder Singh
Sounds like you need a Java applet. I have little experience with this, but I know that quite a few exist. I have no idea if any of them support sending meta data with the upload. I suggest you start Googling. Even java applets have to hand over the file to some script, in this case php and

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

2007-06-07 Thread Jim Moseby
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 don't think that is the case. File is written to temp directory as it is

Re: [PHP] register_globals and magic_quotes_gpc (again)

2007-06-07 Thread Afan Pasalic
Tijnema wrote: On 6/7/07, Afan Pasalic [EMAIL PROTECTED] wrote: hi, this question is already posted thousand times. but, after I tried for 2 hours to figure it out, I gave up and posted the question here. I'm rebuilding one site. php 4.4.4 as usual, register_globals on, as well as

[PHP] logging of sql queries - success/failed

2007-06-07 Thread Bosky, Dave
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 inserted? Thanks, Dave

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

2007-06-07 Thread Jim Moseby
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 inserted? I assum you are using MySQL,

[PHP] file_get_contents

2007-06-07 Thread Chris Boget
Does file_get_contents() not work with absolute paths? I'm able to successfully write data to a file that I create dynamically but when I go back to actually read the contents of the file, nothing seems to work. Not file_get_contents(), not file(), not fread() and not fgets(); $mydata =

[PHP] missing openssl

2007-06-07 Thread s2j1j1b0
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 is missing: openssl I am not sure where to look for a fix.

[PHP] Re: php-cli vs python

2007-06-07 Thread Abdullah Ramazanoglu
Chris dedi ki: Abdullah Ramazanoglu wrote: --8-- Personally I'd stick to one or the other for the whole project, you'll save yourself a lot of headaches in the future. Thank you Chris, for the insight. The more I think about it, the closer I get to the same conclusion. I've already made up

Re: [PHP] file_get_contents

2007-06-07 Thread Robert Cummings
On Thu, 2007-06-07 at 15:39 -0400, Chris Boget wrote: Does file_get_contents() not work with absolute paths? I'm able to successfully write data to a file that I create dynamically but when I go back to actually read the contents of the file, nothing seems to work. Not

Re: [PHP] file_get_contents

2007-06-07 Thread Chris Boget
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? thnx, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

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

2007-06-07 Thread Abdullah Ramazanoglu
Daniel Brown dedi ki: On 6/7/07, Man-wai Chang [EMAIL PROTECTED] wrote: --8-- Interesting reading: http://wiki.w4py.org/python-vs-php.html Really interesting. It was a relief for me to see that even a somewhat biased document written by python champions didn't reveal serious

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

2007-06-07 Thread Daniel Brown
On 6/7/07, Abdullah Ramazanoglu [EMAIL PROTECTED] wrote: Daniel Brown dedi ki: On 6/7/07, Man-wai Chang [EMAIL PROTECTED] wrote: --8-- Interesting reading: http://wiki.w4py.org/python-vs-php.html Really interesting. It was a relief for me to see that even a somewhat biased

Re: [PHP] file_get_contents

2007-06-07 Thread Robert Cummings
On Thu, 2007-06-07 at 16:09 -0400, 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? Just jabbing at windows :) Cheers, Rob. --

Re: [PHP] PHP process control

2007-06-07 Thread Stut
Nathan Nobbe wrote: I was reading the handbook on the topic of Unix process control. The first thing it says is: Process Control support in PHP implements the Unix style of process creation, program execution, signal handling and process termination. Process Control should not be enabled

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

2007-06-07 Thread Stut
Sukhwinder Singh wrote: Sounds like you need a Java applet. I have little experience with this, but I know that quite a few exist. I have no idea if any of them support sending meta data with the upload. I suggest you start Googling. Even java applets have to hand over the file to some

[PHP] Making your our MVC framework with PHP

2007-06-07 Thread Emil Ivanov
Hi, I just posted something like a how-to about making your very own PHP-based lightweight MVC framework. Hope you like it: http://vladev.blogspot.com/2007/06/implementing-your-very-own-lightweight.html Regards, Emil Ivanov -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

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

2007-06-07 Thread Robert Cummings
On Thu, 2007-06-07 at 16:19 -0400, Daniel Brown wrote: On 6/7/07, Abdullah Ramazanoglu [EMAIL PROTECTED] wrote: If I'm not completely mistaken, I think that Python can even interface with the GNOME libraries. PHP could theoretically do that, as well, if someone went through and created

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

2007-06-07 Thread Sukhwinder Singh
Even java applets have to hand over the file to some script, in this case php and php will get it in $_FILES array it seems (in case of japplet). so the problem will remain. Not at all true. A Java applet can use FTP to handle the upload and still pass meta data about the file as an HTTP POST

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

2007-06-07 Thread Daniel Brown
On 6/7/07, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-06-07 at 16:19 -0400, Daniel Brown wrote: On 6/7/07, Abdullah Ramazanoglu [EMAIL PROTECTED] wrote: If I'm not completely mistaken, I think that Python can even interface with the GNOME libraries. PHP could theoretically do

Re: [PHP] Making your our MVC framework with PHP

2007-06-07 Thread Robert Cummings
On Thu, 2007-06-07 at 23:30 +0300, Emil Ivanov wrote: Hi, I just posted something like a how-to about making your very own PHP-based lightweight MVC framework. Hope you like it: http://vladev.blogspot.com/2007/06/implementing-your-very-own-lightweight.html Personally, I hate front-end

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

2007-06-07 Thread Robert Cummings
On Thu, 2007-06-07 at 16:36 -0400, Daniel Brown wrote: On 6/7/07, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-06-07 at 16:19 -0400, Daniel Brown wrote: I had one of those little screams yesterday when I started using the PHP's id3 lib when I realized it's crap because it can't

RE: [PHP] Parse domain from URL

2007-06-07 Thread Brad Fuller
Robin Vickery wrote: In that case you can't do it just by parsing alone, you need to use DNS. ?php function get_domain ($hostname) { dns_get_record($hostname, DNS_A, $authns, $addt); return $authns[0]['host']; } print get_domain(www.google.com) . \n; print get_domain(google.com) .

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

2007-06-07 Thread Stut
Sukhwinder Singh wrote: Even java applets have to hand over the file to some script, in this case php and php will get it in $_FILES array it seems (in case of japplet). so the problem will remain. Not at all true. A Java applet can use FTP to handle the upload and still pass meta data about

Re: [PHP] Parse domain from URL

2007-06-07 Thread Tijnema
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. ?php function get_domain ($hostname) { dns_get_record($hostname, DNS_A, $authns, $addt); return $authns[0]['host']; } print

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

2007-06-07 Thread Sukhwinder Singh
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 information you need to give it

[PHP] Re: php-cli vs python OT

2007-06-07 Thread Colin Guthrie
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 Mandriva 2006.0 Community on 2.6.12-12mdksmp on an i686 Intel(R) Pentium(R) 4 CPU 2.60GHz w/ 1GB RAM on a desk with a bunch

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

2007-06-07 Thread Abdullah Ramazanoglu
Sukhwinder Singh dedi ki: --8-- I have read. I have been trying to find out way for last two days. I can say about jupload and how it seems to work. It uploads file to server in a temporary directory. It has postURL parameter. Then it POSTS the data to php file. Because it POSTS, the php

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

2007-06-07 Thread Sukhwinder Singh
Sorry but I couldn't follow. If I understood correctly, there's 50M (or 4G, for that matter) data, and there's say 5K metadata. First, java applet uploads the bulk data over ftp to a temp directory on the server (employing the ftp service running on the server - not apache/php). If/when the bulk

[PHP] PHP tailing a log

2007-06-07 Thread Steve Finkelstein
Hi all, Does PHP happen to have something similar to Perl's File::Tail - http://search.cpan.org/~mgrabnar/File-Tail-0.99.3/Tail.pm? I'm looking to be able to tail a file on the server side and somehow figure out how to use AJAX to keep the file consistently updated through to the client. Any

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

2007-06-07 Thread Robert Cummings
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 Mandriva 2006.0 Community on 2.6.12-12mdksmp on an i686 Intel(R)

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

2007-06-07 Thread Dylan Bouterse
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 for that

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

2007-06-07 Thread Robert Cummings
On Thu, 2007-06-07 at 22:03 -0400, Dylan Bouterse wrote: 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

Re: [PHP] Difficulties including scripts from another folder (apache2.2, PHP5, Vista)

2007-06-07 Thread Robert Cummings
On Fri, 2007-06-08 at 04:29 +0100, brice wrote: Hi, I was wondering if anybody had any ideas about how to tackle this problem: I have just set up Apache2.2 and php5 on VISTA using mod_php. Php page load work fine for most things. However, when i try to separate some .php files for

[PHP] Difficulties including scripts from another folder (apache2.2, PHP5, Vista)

2007-06-07 Thread brice
Hi, I was wondering if anybody had any ideas about how to tackle this problem: I have just set up Apache2.2 and php5 on VISTA using mod_php. Php page load work fine for most things. However, when i try to separate some .php files for inclusion throughout the website in a separate folder to the