[PHP] Reading from remote file

2003-07-06 Thread Daniele Baroncelli
Hi guys, I am trying to read from a remote file, by using an example reported at the manual page for the fread function: http://www.php.net/";, "rb"); $contents = ""; do { $data = fread ($handle, filesize ($filename)); if (strlen($data) == 0) { break; } $contents .= $data;

[PHP] parsing problem

2003-06-28 Thread Daniele Baroncelli
Hi guys, I have problem in including this text in my PHP parsed file for XHTML definition: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> It works if I remove the first line: So, I am assuming PHP has problems with the symbols, as they are recog

[PHP] Setup-dependent quotes problem

2002-11-09 Thread Daniele Baroncelli
Hi there, I have just reinstalled a new PHP version, the 4.2.3. Before I had the 4.0.6. I now get the quotes problem in my scripts that connect to the database. Also the phpMyAdmin gives me errors when I use the ' inside a field in a GUI select. Before everything was working fine. Which paramet

Re: [PHP] Warning! Spam to PHP mailing list

2002-11-07 Thread Daniele Baroncelli
gt; Maxim Maletsky <[EMAIL PROTECTED]> wrote... : > > > Mailing lists get archived and the archives get crawled. That is how > > your email got known. You have posted at least once, haven't you? > > > > > > -- > > Maxim Maletsky > > [EMAIL PROTEC

[PHP] Warning! Spam to PHP mailing list

2002-11-07 Thread Daniele Baroncelli
Just to inform that the spam mail reported below took addresses from the PHP mailing list! I can say it for sure, as I have just opened this email account and I have only used it in the PHP mailing list so far. I am including all the message source, in case some of you is willing to investigate it

[PHP] Installation error with 4.2.3

2002-11-06 Thread Daniele Baroncelli
No one replied to this message yet. I am trying to address it again, as probably the previuos newsmessage title wasn't very descriptive. Thanks Daniele = Hi guys, I have very weird problem. I have installed the PHP version 4.2.3 on the LINUX virtual server of my web project.

[PHP] Strange error!

2002-11-04 Thread Daniele Baroncelli
Hi guys, I have very weird problem. I have installed the PHP version 4.2.3 on the LINUX virtual server of my web project. Previously I had the PHP version 4.0.6. The error I get is very weird. When I insert a record with the phpMyAdmin, the first 4 characters of each field don't get saved. Same

[PHP] Re: XSLT Sablotron output

2002-11-03 Thread Daniele Baroncelli
No one replied yet, so I suppose no one was able to solve this. By the way, is there anyone that actually experienced the same situation? Cheers Daniele "Daniele Baroncelli" <[EMAIL PROTECTED]> wrote in message news:20021102212518.34728.qmail@;pb1.pair.com... > Hi guys,

[PHP] XSLT Sablotron output

2002-11-02 Thread Daniele Baroncelli
Hi guys, I have typed a simple script to test the Sablotron module recently installed. I found out that the HTML is output all in one line, without newlines, which is very annoying. Anyone can tell me if this is a bug of the module, or I have to specify something somewhere? Here is the script on

Re: [PHP] Re: Installation prob: I can't see libphp4.so

2002-11-02 Thread Daniele Baroncelli
Now it works. I repeated the installation from scratch and now it finally creates the libphp4.so file. Daniele "Daniele Baroncelli" <[EMAIL PROTECTED]> wrote in message news:20021102130710.81040.qmail@;pb1.pair.com... > > > I can't actually find out where

Re: [PHP] Re: Installation prob: I can't see libphp4.so

2002-11-02 Thread Daniele Baroncelli
> > I can't actually find out where the libphp4.so has been placed. > > Assuming you have done 'make', 'make install', use 'find / -name libphp4.so' > to find where it is. > > Or just do 'make install' again and watch carefully to see where libphp4.so is > copied to. The 'find / -name libphp4.so'

[PHP] Re: Installation prob: I can't see libphp4.so

2002-11-01 Thread Daniele Baroncelli
I am not sure if I have been clear. I can't actually find out where the libphp4.so has been placed. Daniele "Daniele Baroncelli" <[EMAIL PROTECTED]> wrote in message news:20021102060742.99705.qmail@;pb1.pair.com... > Dear all, > > I have been trying to install

[PHP] Installation prob: I can't see libphp4.so

2002-11-01 Thread Daniele Baroncelli
Dear all, I have been trying to install php 4.2.3 on my virtual server, where Apache 1.3.27 is installed The installation procedure seems to be right, but I can't find the "libphp4.so" file My configuration parameters where: ./configure --enable-inline-optimization --with-apxs=/usr/local/apache/

[PHP] Re: XML and XLS Sablotron

2002-10-30 Thread Daniele Baroncelli
> You'll need the SAX or DOM functions if you will be /generating/ your > XML. I suppose, you mean, generating XML from another XML document, am I right? > The Sablotron extension (and other XSLT processors) take XML and > XSLT and output whatever your XSLT tells it to. The XSLT processor > depe

[PHP] XML and XLS Sablotron

2002-10-30 Thread Daniele Baroncelli
Dear all, I am just approaching to XML and I would need some explanation, which most of you will probably consider very trivial. I have read about the XLS Sablotron functions, which are able to apply XLS stylesheets to an XML document. My question is: if my aim is to apply to an XML document an

[PHP] Editor

2002-06-13 Thread Daniele Baroncelli
Hi guys, Although any editor should be fine when coding PHP, I find that the standard Notepad it's a real pain in the ass. Especially when the script gives you an error at line 222 ! Each time I have to scroll and count each single line! Can anyone suggest me a different editor ? Cheers Danie

[PHP] Value of variable with name stored in another variable

2002-06-13 Thread Daniele Baroncelli
How can I access the value of a variable whose name is stored in another variable? Example: $field="artist"; How can I access the value of $artist ? Thanks Daniele -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] DOM XML?

2001-12-14 Thread Daniele Baroncelli
Hello, I would like to restyle one big site in XML and I would like some brief straight info/suggestions. I am definitely interested in DOM XML, but as far as I can understand, the module is still experimental and there to main risks: - The module is not completely stable - The functions are lik

[PHP] Re: Expat o DOM?

2001-10-20 Thread Daniele Baroncelli
Sorry, for this message in Italian. It should have been addressed to the Italian Php newsgoup. Daniele "Daniele Baroncelli" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Salve, > > Vorrei cominciare il nuovo svil

[PHP] XML: Expat o DOM?

2001-10-20 Thread Daniele Baroncelli
Salve, Vorrei cominciare il nuovo sviluppo del mio sito in XML. C'e' qualcuno che mi sa dire la reale differenza in velocita' tra i parser Expat e DOM? Inoltre, e' davvero rischioso sviluppare in DOM, considerando che il modulo e' sperimentale e in teoria potrebbe camb

[PHP] XML: Expat or DOM?

2001-10-19 Thread Daniele Baroncelli
Hi guys, I would like to start the new development of my site in XML. Can anyone with experience tell me the real difference in speed between the Expat and DOM parser? Also, is it really risky to develop in DOM, considering the module is experimental, and in theory it could change ? Any up-to