Re: [PHP] Mailform and mailit.php problem.

2005-04-27 Thread Cas
Your PHP server could be wrong configured. Open your php.ini and check the mail settings. If you run a homeserver the easiest way is to set it to your smtp server. Greeting, Cas On 4/27/05, Jim van den Noort <[EMAIL PROTECTED]> wrote: > > Hello, > > I have a problem. I d

Re: [PHP] Problems reading a DOMDocument out of a session

2005-04-25 Thread Cas
Tried the newest libXML stable release (2.6.19) and recompiled mod_php with it but I still have get the error: Warning: Couldn't fetch DOMDocument in /var/www/localhost/htdocs/pluxbox/test.php on line 20 foo May I ask what your system specs are? (OS, PHP and libXML version). Greetings, Ca

Re: [PHP] link generating script

2005-04-25 Thread Cas
Maybe it's also an idea to close the tag ;-) to make life easier: if ($n=$Pagenum) { print ''.$n.''; }else{ print ''.$n.''; } On 4/25/05, Ryan A <[EMAIL PROTECTED]> wrote: > Hey, > This is a common mistake...have a look at what you wrote: > > >if ($n=$Pagenum) {print ' ' . $n;} > > take

Re: [PHP] Problems reading a DOMDocument out of a session

2005-04-25 Thread Cas
is to write the DOMDocument to a random filename and pass the name through the sessions instead of the real dom object. Any better solutions are more then welcome! Greetings, Cas On 4/25/05, Jochem Maas <[EMAIL PROTECTED]> wrote: > Cas wrote: > > Hi, > > > > I'm tr

[PHP] Re: Problems reading a DOMDocument out of a session

2005-04-25 Thread Cas
Because I'm not sure if attachments are included in this mailinglist, I copied the source of my sample script: - start file -- loadXML('The almighty DOM'); // Write DOMDocument to session $_SESSION['dom'] = $dom; // Trying a variable too $_SESSION['var'] =

[PHP] Problems reading a DOMDocument out of a session

2005-04-25 Thread Cas
Hi, I'm trying to read a (XML object) DOMDocument from an session but when I try to do this from another page then where it's declared, it can't be read it. I _can_ read the DOMDocument on the same page out of the session. and also print_r(_SESSION); shows it still is a DOMDocument on all pages.