php-windows Digest 13 Nov 2003 22:56:35 -0000 Issue 1998
Topics (messages 22082 through 22089):
Re: attachment with pdf files
22082 by: Eric COLINET
22084 by: Disko_kex
JPgraph
22083 by: Rinku Shivnani
22085 by: Ignatius Reilly
Fatal error, but include_path seems correct?
22086 by: Roderick Martin
22087 by: Eric COLINET
22088 by: Roderick Martin
Re: Session configuration
22089 by: PETCOL
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Maybe you have to set magic_quotes_runtime (in php.ini) to false.
But it's a strange issue.
Regards,
Eric
At 10:35 13/11/2003, Disko_kex wrote:
Hi again..
I have a really strange problem when I sending emails with attachment.
With regualar text files, images etc it works fine but with pdf files it
wont work. I also tried with "MIME E-mail message composing and sending"
class from phpclasses.org. When I compared the orginal file with the one
I sent, I notice that the sent pdf file has added a lot of \ exmple "
will result in \" and some other chars have changed too.
Why is that and how can I fix it?
// Jocke
--- End Message ---
--- Begin Message ---
I had magic_quotes_runtime = On, I turned it Off and now it works fine,
Big thanks!!!!
> -----Original Message-----
> From: Eric COLINET [mailto:[EMAIL PROTECTED]
> Sent: den 13 november 2003 10:38
> To: Disko_kex; [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] attachment with pdf files
>
>
> Maybe you have to set magic_quotes_runtime (in php.ini) to false.
> But it's a strange issue.
>
> Regards,
> Eric
>
> At 10:35 13/11/2003, Disko_kex wrote:
> >Hi again..
> >
> >I have a really strange problem when I sending emails with
attachment.
> >With regualar text files, images etc it works fine but with pdf files
it
> >wont work. I also tried with "MIME E-mail message composing and
sending"
> >class from phpclasses.org. When I compared the orginal file with the
one
> >I sent, I notice that the sent pdf file has added a lot of \ exmple "
> >will result in \" and some other chars have changed too.
> >
> >Why is that and how can I fix it?
> >
> >// Jocke
--- End Message ---
--- Begin Message ---
Dear all,
Pls guide me on how to install jpGraph library in the server and from which URL ?
Expecting your prompt response.
Regards,
Rinku
--- End Message ---
--- Begin Message ---
http://www.aditus.nu/jpgraph/
_________________________
----- Original Message -----
From: "Rinku Shivnani" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2003 10:45 AM
Subject: [PHP-WIN] JPgraph
> Dear all,
>
> Pls guide me on how to install jpGraph library in the server and from
which URL ?
>
>
> Expecting your prompt response.
>
>
> Regards,
> Rinku
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
My setup:
PHP 4.0.6
Windows NT 4.0
Netscape-Enterprise/3.6 SP3
Installed phpMyAdmin to the root of the server, which is
d:/Netscape/SuiteSpot/docs/phpMyAdmin254/
I get the error: Fatal error: Failed opening required
'./libraries/grab_globals.lib.php'
(include_path='.;c:\php4\pear;D:\Netscape\SuiteSpot\docs;D:
\Netscape\SuiteSpot\docs\phpMyAdmin254\libraries')
ind:/Netscape/SuiteSpot/docs/phpMyAdmin254/index.php on line 9
As you can see, I've added the path to phpMyAdmin in my include_path,
but it still errors out.
Yes, there is a /libraries folder containing grab_globals.lib.php.
Any suggestions?
--- End Message ---
--- Begin Message ---
Try :
D: \Netscape\SuiteSpot\docs\phpMyAdmin254
Instead of :
D: \Netscape\SuiteSpot\docs\phpMyAdmin254\libraries
for your include path.
Eric
At 16:34 13/11/2003, Roderick Martin wrote:
My setup:
PHP 4.0.6
Windows NT 4.0
Netscape-Enterprise/3.6 SP3
Installed phpMyAdmin to the root of the server, which is
d:/Netscape/SuiteSpot/docs/phpMyAdmin254/
I get the error: Fatal error: Failed opening required
'./libraries/grab_globals.lib.php'
(include_path='.;c:\php4\pear;D:\Netscape\SuiteSpot\docs;D:
\Netscape\SuiteSpot\docs\phpMyAdmin254\libraries')
ind:/Netscape/SuiteSpot/docs/phpMyAdmin254/index.php on line 9
As you can see, I've added the path to phpMyAdmin in my include_path,
but it still errors out.
Yes, there is a /libraries folder containing grab_globals.lib.php.
Any suggestions?
--- End Message ---
--- Begin Message ---
Tried it. Same error message...
Fatal error: Failed opening required './libraries/grab_globals.lib.php'
(include_path='.;c:\php4\pear;D:\Netscape\SuiteSpot\docs;D:
\Netscape\SuiteSpot\docs\phpMyAdmin254')
ind:/Netscape/SuiteSpot/docs/phpMyAdmin254/index.php on line 9
On Nov 13, 2003, at 10:15 AM, Eric COLINET wrote:
Try :
D: \Netscape\SuiteSpot\docs\phpMyAdmin254
Instead of :
D: \Netscape\SuiteSpot\docs\phpMyAdmin254\libraries
for your include path.
Eric
At 16:34 13/11/2003, Roderick Martin wrote:
My setup:
PHP 4.0.6
Windows NT 4.0
Netscape-Enterprise/3.6 SP3
Installed phpMyAdmin to the root of the server, which is
d:/Netscape/SuiteSpot/docs/phpMyAdmin254/
I get the error: Fatal error: Failed opening required
'./libraries/grab_globals.lib.php'
(include_path='.;c:\php4\pear;D:\Netscape\SuiteSpot\docs;D:
\Netscape\SuiteSpot\docs\phpMyAdmin254\libraries')
ind:/Netscape/SuiteSpot/docs/phpMyAdmin254/index.php on line 9
As you can see, I've added the path to phpMyAdmin in my include_path,
but it still errors out.
Yes, there is a /libraries folder containing grab_globals.lib.php.
Any suggestions?
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
David,
I too had the same problem, once I put the session_start(); outside the HTML
<html> tag it's now gone away, but, using this code which is in a tutorial,
I get these errors:
++++++++++++++++Start Code ++++++++++++++++++++++++++++++
<?php
session_start();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Session test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
print($counter);
$counter++;
session_register("counter");
?>
</body>
</html>
++++++++++++++++Start Error ++++++++++++++++++++++++++++++
Parse error: parse error, unexpected ';' in
c:\inetpub\wwwroot\php\session.php on line 13
Any suggestions? I'm my WindowsXP Pro machine, and I'm from a ColdFusion
background so this is all similar but different to me.
Col
"David Felton" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> The error just means you are printing something out before you call
> session_start();
>
> you just need to call session_start() *before* you print anything out to
the
> page, so it's best off called at the top/start of your php page.
>
> -----Original Message-----
> From: Voodoo [mailto:[EMAIL PROTECTED]
> Sent: 10 November 2003 5:09
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Session configuration
>
>
> I'm using php 4.3.0 under an IIS server, and I'm having some trouble on
> starting a session. I guess it's a configuration problem. Tried to edit
the
> php.ini file, and found this line:
>
> ; Handler used to store/retrieve data.
> session.save_handler = files
>
> ; Argument passed to save_handler. In the case of files, this is the path
> ; where data files are stored. Note: Windows users have to change this
> ; variable in order to use PHP's session functions.
>
> I don't know what changes I got to do, as Windows user, to get it working
> properly. Is this the problem?
>
> The session.save_path is allright, I can see the session file being
created
> every time I use the session_start() method, but I receive this error
> message:
>
> Warning: session_start() [function.session-start]: Cannot send session
> cookie - headers already sent by (output started at c:\(blah)\teste.php:9)
> in c:\(blah)\teste.php on line 12
>
> Warning: session_start() [function.session-start]: Cannot send session
cache
> limiter - headers already sent (output started at c:\(blah)\teste.php:9)
in
> c:\(blah)\teste.php on line 12
>
> The script I'm using to test it is the session example script from the
> documentation at php.net:
>
> session_start();
> if (isset($HTTP_SESSION_VARS['count'])) {
> $HTTP_SESSION_VARS['count']++;
> }else {
> $HTTP_SESSION_VARS['count'] = 0;
> }
> echo $HTTP_SESSION_VARS['count']."<br>";
> ?>
> <a href="teste.php">Acrescentar</a>
>
> Can somebody help me?
>
> Cheers,
>
> Voodoo
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
> **********************************************************************
--- End Message ---