php-windows Digest 17 Jan 2008 06:01:18 -0000 Issue 3402

Topics (messages 28726 through 28730):

Re: Use PHP to open outlook
        28726 by: Warren Vail
        28729 by: Jacob Kruger

Re: Can't get MySQL extensions to load
        28727 by: Bruce Cowin
        28728 by: Bruce Cowin

mysql not working but very odd
        28730 by: Joaquin Grech

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 ---
You probably want to open Outlook on the machine that is not running PHP
(the browser machine) so you will need to use something else.

Try something like;

<a href="mailto:[EMAIL PROTECTED] is a subject&body=this is a
body">clickablevalue</a>

This is html and is limited by the length of a valid URL (Get method), which
means the subject and body will need to be very short

Warren Vail

If you really meant to open outlook on your server machine, check out COM
access in the manual, which will obviously need to be a windows server.

> -----Original Message-----
> From: Harpreet [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 16, 2008 10:01 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Use PHP to open outlook
> 
> Can I use PHP to Open Outlook with subject , To and body pre-populated.
> So that user can preview before pressing send.
> 
> Help is appreciated.
> 
> Regards,
> Harpreet Kaur
> Sr. Application Developer
> Crispin Corporation
> (919) 367-7911
> (919) 696-0515 (Cell)
> 
> 
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
FWIW, you can basically do this with a standard HTML form where the action
is something along the lines of mailto:...

Can't remember if I've got this exactly right, but, basically your <form...
tag would be something along the lines of:
<form action=mailto:[EMAIL PROTECTED] line method="post"
enctype="text/plain">

Then, each of the fields in the form will be sort of included in the body of
that email.

HTH

Jacob Kruger
Blind Biker
Skype: BlindZA
'...Fate had broken his body, but not his spirit...'

----- Original Message ----- From: "Harpreet" <
[EMAIL PROTECTED]>
To: <
[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2008 8:00 PM
Subject: [PHP-WIN] Use PHP to open outlook

Can I use PHP to Open Outlook with subject , To and body pre-populated.
So that user can preview before pressing send.

Help is appreciated.

Regards,
Harpreet Kaur
Sr. Application Developer
Crispin Corporation
(919) 367-7911
(919) 696-0515 (Cell)

--
PHP Windows Mailing List (
http://www.php.net/)
To unsubscribe, visit:
http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
That was a good idea, but unfortunately it doesn't work.  It still doesn't load 
any of the extensions.


Regards,

Bruce

>>> Gustav Wiberg <[EMAIL PROTECTED]> 16/01/2008 8:29:00 p.m. >>>
Hi!

If phpinfo points at c:\windows - that's where the php searches for settings in 
first place. Try to copy php.ini from c:\php to c:\windows and see the result.

Vänligen/Regards

Gustav Wiberg
Developing Engineer



=====================================
DET SKA VARA LÄTT ATT TA RÄTT BETALT!
Har du råd att inte prova Timeweb.se?
===================================== 


-----Original Message-----
From: Bruce Cowin [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 16, 2008 2:40 AM
To: Patrick Farley; [EMAIL PROTECTED] 
Subject: Re: [PHP-WIN] Can't get MySQL extensions to load

I have a similar issue.  We copied a PHP installation that was
successful on Windows 2000 to a 2003 server.  Although it works fine on
2000, it won't load any of the extensions on 2003.  I've checked the
.ini file and the extensions are definitely uncommented, the
extension_dir setting is correct, I've included c:\php in the path.  PHP
works (as phpinfo() runs) but extensions don't load.  A couple of things
I've noted that are different on this server (in case it's related):

- if I use cgi-win.exe, php pages won't load so have to use
phpisapi5.dll
- in phpinfo, the ini file path shows as C:\Windows instead of c:\php
even though there is no php.ini file in that folder

Can anyone help??


Regards,

Bruce

>>> "Patrick Farley" <[EMAIL PROTECTED]> 9/12/2007 6:11:58 p.m. >>>
Evening.

 

I've installed the latest PHP using the zip files (not the installer)
to my
Windows 2003 machine with IIS.  I have tested the installation with a
phpinfo() and was successful.  I installed Roundcube and when trying
to
connect to the site was greeted with an error about being unable to
connect
to the database.  I rechecked my connection string and all seemed
well.
Figuring I'd come back to it later, I went to install Joomla and during
the
install process was told that Joomla is unable to connect to MySQL.

 

I have checked and rechecked my php.ini file (though I may be missing
something not obvious)

PHP in general works.

My system PATH is configured for C:\php and I have restarted several
times

I've even redownloaded the php zip files and compared the md5 to make
sure
it was not corrupt.

MySQL is active and working on localhost for an email server without
any
issue.

Have tried both mysql.dll and mysqli.dll

I have searched Google with out any success.

 

Is this something with PHP or my MySQL install?  I'm out of ideas.

 

 

 

Patrick

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php 

--- End Message ---
--- Begin Message ---
I got it to work.  It turns out you need a registry entry in  HKLM\Software\PHP 
call IniFilePath set to where your ini file is.  Now that it's using the right 
ini file, it's loading the extensions.


Regards,

Bruce

>>> "Bruce Cowin" <[EMAIL PROTECTED]> 17/01/2008 8:53:58 a.m. >>>
That was a good idea, but unfortunately it doesn't work.  It still doesn't load 
any of the extensions.


Regards,

Bruce

>>> Gustav Wiberg <[EMAIL PROTECTED]> 16/01/2008 8:29:00 p.m. >>>
Hi!

If phpinfo points at c:\windows - that's where the php searches for settings in 
first place. Try to copy php.ini from c:\php to c:\windows and see the result.

Vänligen/Regards

Gustav Wiberg
Developing Engineer



=====================================
DET SKA VARA LÄTT ATT TA RÄTT BETALT!
Har du råd att inte prova Timeweb.se?
===================================== 


-----Original Message-----
From: Bruce Cowin [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 16, 2008 2:40 AM
To: Patrick Farley; [EMAIL PROTECTED] 
Subject: Re: [PHP-WIN] Can't get MySQL extensions to load

I have a similar issue.  We copied a PHP installation that was
successful on Windows 2000 to a 2003 server.  Although it works fine on
2000, it won't load any of the extensions on 2003.  I've checked the
.ini file and the extensions are definitely uncommented, the
extension_dir setting is correct, I've included c:\php in the path.  PHP
works (as phpinfo() runs) but extensions don't load.  A couple of things
I've noted that are different on this server (in case it's related):

- if I use cgi-win.exe, php pages won't load so have to use
phpisapi5.dll
- in phpinfo, the ini file path shows as C:\Windows instead of c:\php
even though there is no php.ini file in that folder

Can anyone help??


Regards,

Bruce

>>> "Patrick Farley" <[EMAIL PROTECTED]> 9/12/2007 6:11:58 p.m. >>>
Evening.

 

I've installed the latest PHP using the zip files (not the installer)
to my
Windows 2003 machine with IIS.  I have tested the installation with a
phpinfo() and was successful.  I installed Roundcube and when trying
to
connect to the site was greeted with an error about being unable to
connect
to the database.  I rechecked my connection string and all seemed
well.
Figuring I'd come back to it later, I went to install Joomla and during
the
install process was told that Joomla is unable to connect to MySQL.

 

I have checked and rechecked my php.ini file (though I may be missing
something not obvious)

PHP in general works.

My system PATH is configured for C:\php and I have restarted several
times

I've even redownloaded the php zip files and compared the md5 to make
sure
it was not corrupt.

MySQL is active and working on localhost for an email server without
any
issue.

Have tried both mysql.dll and mysqli.dll

I have searched Google with out any success.

 

Is this something with PHP or my MySQL install?  I'm out of ideas.

 

 

 

Patrick

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php 

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php 

--- End Message ---
--- Begin Message ---
Ok,

I had php installed on a server with mysql module and I just copied all the
files over to a new machine. It didn't work. I tried reinstalling and all,
still same issue.

I ran php -I output and it seems to be all ok, this is part of the output:

 

mysql

 

MySQL Support => enabled

Active Persistent Links => 0

Active Links => 0

Client API version => 5.0.37

 

Directive => Local Value => Master Value

mysql.allow_persistent => On => On

mysql.connect_timeout => 60 => 60

mysql.default_host => localhost => localhost

mysql.default_password => no value => no value

mysql.default_port => 3306 => 3306

mysql.default_socket => no value => no value

mysql.default_user => no value => no value

mysql.max_links => Unlimited => Unlimited

mysql.max_persistent => Unlimited => Unlimited

mysql.trace_mode => Off => Off

 

 

 

Now, when I try to load a page I get an error:

This page cannot be displayed due to an internal error.

You can provide the following information to the administrators of this site
to help them solve the problem:

Error: mysql extension not loaded

 

 You can see the error in http://www.unionlatina.org/

 

Any ideas what's going on? I tried putting the files in c:\windows\system32
and same thing, I can't think of anything else. I've installed, reinstalled,
restarted, removed, downgraded, upgraded, copy the exact files. nothing
always the same error.


--- End Message ---

Reply via email to