Re: [PHP] $_POST superglobal empty, while readfile("php://input")does return data.

2007-11-04 Thread Mackatack
Jim Lucas schreef: Mackatack wrote: Nathan Nobbe schreef: On 11/3/07, Mackatack <[EMAIL PROTECTED]> wrote: Hey all! Im trying to submit a very basic form to phpinfo(): readfile: '; readfile("php://input") phpinfo(); ?> When i use the button to submit the

Re: [PHP] $_POST superglobal empty, while readfile("php://input")does return data.

2007-11-04 Thread Nathan Nobbe
On 11/4/07, Mackatack <[EMAIL PROTECTED]> wrote: > > I have not defined any tags in my httpd.conf and by default > apache should accept all request methods. I've stripped my apache config > down to: > > Listen 80 > NameVirtualHost *:80 > > ServerName my.server.com > DocumentRoot

Re: [PHP] mysql_fetch_array

2007-11-04 Thread heavyccasey
Do you even need reset()? I've never used it. On Nov 3, 2007 11:08 PM, Jim Lucas <[EMAIL PROTECTED]> wrote: > Eduardo Vizcarra wrote: > > Hi guys > > > > After doing some changes, I believe it is partially working, what I did is > > the following: > > while($row=mysql_fetch_array($fotos)) > >

[PHP] How do I specify a local file for fopen()?

2007-11-04 Thread Jon Westcot
Hi all: I've been beating my head against a brick wall trying to figure this out and I'm still no closer than I was two weeks ago. How do I specify a local file on my computer to use with fopen() on the server? I've checked and the allow_url_fopen setting is set to On. I use the h

Re: [PHP] How to replace define in a require file with mysql?

2007-11-04 Thread Ronald Wiplinger
Jim Lucas wrote: > Ronald Wiplinger wrote: >> I have a file linked with require into my program with statements like: >> >> define("_ADDRESS","Address"); >> define("_CITY","City"); >> >> I would like to replace this with a mysql table with these two fields >> (out of many other fields). >> >> How c

[PHP] Question about php.ini file

2007-11-04 Thread Jon Westcot
Hi all: I've learned, much to my pleasure, that I can place a php.ini file in the root directory of my shared domain to allow some customization of the php settings. However, when I do this, I keep getting weird results. Some of the values that I change appear as I've asked them to be. S

Re: [PHP] How do I specify a local file for fopen()?

2007-11-04 Thread Cristian Vrabie
Server can't access files on clients computers as they wish or it would be madness. Nothing would be secure. However you can get to the file if you make it public in some way and with some restrictions. Therea are several methods: 1. (wich i think is best) install a ftp server and "share" the fi

Re: [PHP] Question about php.ini file

2007-11-04 Thread Cristian Vrabie
You must take in count that before php even gets to receive something, it all passes through the HTTP server (apache or something). for most of these settings there are equivalents in the config file of the server that you need to change accordingly. this might be the cause of the weird results.

Re: [PHP] Question about php.ini file

2007-11-04 Thread Jon Westcot
Hi Cristian: Thanks for the replies. In this case, what I've been noticing is that most of the values have gone DOWN (i.e., gotten smaller) after I placed my own php.ini file in place. For example, upload_max_filesize was 8M before I placed my file, but, afterwards, it was 2M! I'm tryin

Re: [PHP] Question about php.ini file

2007-11-04 Thread Nathan Nobbe
On 11/4/07, Jon Westcot <[EMAIL PROTECTED]> wrote: > > Hi Cristian: > > Thanks for the replies. > > In this case, what I've been noticing is that most of the values have > gone DOWN (i.e., gotten smaller) after I placed my own php.ini file in > place. For example, upload_max_filesize was 8

Re: [PHP] Question about php.ini file

2007-11-04 Thread Jon Westcot
Hi Nathan: I'm not certain if I have all of the items you've mentioned, but I'll look into it. And thanks for the link; I'll check that out, too. Jon - Original Message - From: Nathan Nobbe To: Jon Westcot Cc: PHP General Sent: Sunday, November 04, 2007 5:05 PM Subject: Re:

[PHP] Looking for ways to prevent timeout

2007-11-04 Thread Jon Westcot
Hi all: I'm hoping to find a solution to the problem I'm having with my script timing out while inserting records into a table. Overall, the process is pretty fast, which is impressive, but when it gets to the 22,000 to 23,000 record mark, it seems to time out. I've had it get up over

Re: [PHP] Question about php.ini file

2007-11-04 Thread Jon Westcot
Hi Nathan: Another quick question regarding the use of the .htaccess file: If I'm trying to set something like post_max_size, which takes a shorthand value such as 16M in place of the full value, will using the php_value type of statement also accept the shorthand value, or do I need to

Re: [PHP] Looking for ways to prevent timeout

2007-11-04 Thread Jochem Maas
Jon Westcot wrote: > Hi all: > > I'm hoping to find a solution to the problem I'm having with my script > timing out while inserting records into a table. > > Overall, the process is pretty fast, which is impressive, but when it > gets to the 22,000 to 23,000 record mark, it seems to ti

Re: [PHP] Question about php.ini file

2007-11-04 Thread Jochem Maas
Jon Westcot wrote: > Hi Nathan: > > Another quick question regarding the use of the .htaccess file: > > If I'm trying to set something like post_max_size, which takes a > shorthand value such as 16M in place of the full value, will using the > php_value type of statement also accept the

Re: [PHP] Looking for ways to prevent timeout

2007-11-04 Thread Nathan Nobbe
On 11/4/07, Jon Westcot <[EMAIL PROTECTED]> wrote: > > Hi all: > > I'm hoping to find a solution to the problem I'm having with my script > timing out while inserting records into a table. > > Overall, the process is pretty fast, which is impressive, but when it > gets to the 22,000 to 23,0

[PHP] php 4.4.7 configure and sablotron version issue

2007-11-04 Thread Edward Vermillion
Anybody trying to build php 4.4.7 with xslt/sablotron support? I'm setting up a new Debian server and configure kept quitting on Sablotron saying the version was less than 0.96. Looking at /usr/ include/sablot.h, it shows the version at 1.0.3. Configure was saying it was using /usr, and I co

Re: [PHP] mysql_fetch_array

2007-11-04 Thread Jim Lucas
[EMAIL PROTECTED] wrote: Do you even need reset()? I've never used it. Personally, I do not see the need. The op is building the array then wanting to work with it. At this point, the internal pointer should still be at the beginning. AFAIK Jim -- PHP General Mailing List (http://www.php.ne