On Tue, 2004-05-25 at 05:03, Ago wrote:
> I have a PHP script who reads data from a XML file uploaded via http form.
> This file is about 15 MB. The script builds a query of thousands inserts as
> many as the products the XML file contains (more or less 4 inserts).
> After 4 minutes the httpd p
Ago wrote:
It is not a database problem, it seems to me something about the reading of
the XML file. This is my code about this:
You can't rule out the database because, inserts are a resource
intensive task.
$data = implode(file("example.xml"), "");
ouch!!
xml_parse_into_struct($parser, $d
It is not a database problem, it seems to me something about the reading of
the XML file. This is my code about this:
$data = implode(file("example.xml"), "");
xml_parse_into_struct($parser, $data, &$structure, &$index);
xml_parser_free($parser);
it could be the array $data creation fails becau
: showing me that the page transfer was finished.
good luck
alessandro
-Messaggio originale-
Da: Ago [mailto:[EMAIL PROTECTED]
Inviato: martedì 25 maggio 2004 13.04
A: [EMAIL PROTECTED]
Oggetto: [PHP] Reading from XML file
I have a PHP script who reads data from a XML file uploaded via
Ago wrote:
I have a PHP script who reads data from a XML file uploaded via http form.
This file is about 15 MB. The script builds a query of thousands inserts as
many as the products the XML file contains (more or less 4 inserts).
After 4 minutes the httpd process aborts by itself. What can it
I have a PHP script who reads data from a XML file uploaded via http form.
This file is about 15 MB. The script builds a query of thousands inserts as
many as the products the XML file contains (more or less 4 inserts).
After 4 minutes the httpd process aborts by itself. What can it depend on?
6 matches
Mail list logo