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.
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'] =
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
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
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
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
6 matches
Mail list logo