php-windows Digest 7 Mar 2003 08:35:46 -0000 Issue 1622
Topics (messages 18878 through 18888):
Re: The page cannot be displayed
18878 by: Thomas
Re: com_load_typelib()
18879 by: Sven Schnitzke
Good graphic engine
18880 by: Matt Babineau
question about mail
18881 by: freeman
18882 by: Matt Babineau
Re: Disappearing names
18883 by: rotsky
Develope a Windows PHP Extension.
18884 by: Setec Astronomy
I am having probles getting apache to work with php
18885 by: Stephen K Knight
I am try to upload an image to a folder on my web server
18886 by: Stephen K Knight
18888 by: J.Veenhuijsen
Re: Unusual problem with mail() function (PHP4.3.1(as ISAPI) - IIS 5 - Win2K)
18887 by: Manuel Lemos
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 ---
The page is now keeps refreshing without ever showing the full page, altho
its showing more than it did
"Ben O'Neill" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Goto IE, Tools, Advanced, and un-check using friendly error mesasges. That
> should give a move helpful error message.
>
> --
> Ben O'Neill
>
>
> "Thomas" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > i have just installed
> > php-4.3.1-Win32
> > mysql-3.23.55-win
> > apache_2.0.44-win32-x86-no_ssl.msi
> > following the stadard procedure using the standard httpd.conf and
php.ini
> > (editing only where neccesary)
> > on my windows XP pro server at home.
> >
> > locally everything works fine (in my http://localhost/beinspired) but
> > externally ther are problems.
> >
> > apache seems to be always working (all non php pages work fine)
> > sometimes all the php etc works fine (http://www.beinspired.biz, the
news
> > column on the right is php and MySQL)
> > sometimes it doesnt (http://www.beinspired.biz/support/ &
> > http://www.beinspired.biz/phpinfo.html)
> >
> > when it does not work it flashes the page very briefly and then displays
a
> > "The page cannot be displayed" error in Internet Explorer (the titlebar
> says
> > "Cannot find server").
> > i have only been able to test it with internet explorer but this
shouldnt
> be
> > the error as php is serverside altho netscape might display more usefull
> > error messages.
> >
> > any help apreciated
> > thanks
> > Thomas
> >
> >
> >
> >
> >
>
>
--- End Message ---
--- Begin Message ---
Ok I see. Try INI setting
com.autoregister_typelib = true
and leave out the call of com_load_typelib()
That gives you one instance of M$ Word that is dropped with Quit.
Loading is slower so you might try to use that with ini_set()
only when needed. I don't know if it's honored that way though.
Cheers
--
Sven
> -----Ursprüngliche Nachricht-----
> Von: Mark Hammond [SMTP:[EMAIL PROTECTED]
> Gesendet am: Donnerstag, 6. März 2003 16:19
> An: [EMAIL PROTECTED]
> Betreff: RE: [PHP-WIN] com_load_typelib()
>
> I need to load the typelib for the bookmarking functionality.
>
> When it is commented out I get these errors when I try to navigate to a bookmark.
>
> PHP Warning: Use of undefined constant wdGoToBookmark - assumed 'wdGoToBookmark' in
> C:\somewhere\index.php on line 87
>
> PHP Warning: Invoke() failed: Exception occurred. Source: Microsoft Word
> Description: Bad parameter in C:\somewhere\index.php on line 87
>
> Line 87 contains the following code:
>
> $word->Selection->GoTo(wdGoToBookmark, $empty, $empty,'newname');
> $word->Selection->TypeText($_POST['name']);
>
> ___________________________________________
>
> Mark Hammond [EMAIL PROTECTED]
> Information Service Coordinator
> Collingwood Utility Services
>
> Phone: 705-445-1800 ext: 247
> Mobile: 705-441-4209
>
>
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 06, 2003 10:11 AM
> To: Mark Hammond
> Cc: '[PHP-WIN]'
> Subject: AW: [PHP-WIN] com_load_typelib()
>
> What do you need the typelib for ? I suggest you try
> the example in the doc of com_load_typelib, just
> comment out the call to this particular function and smile.
>
> (Background: com_load_typelib apparently does not
> attach to a running instance, so you get orphans en masse.)
>
> Generally you have to quit COM server objects with its
> respective method. For MS Word this is Application.Quit
> ($word->Quit in PHP when the instance was created using
> $word = new COM('Word.Application');
> But for just using a COM object with the known vocabulary
> you never need to call com_load_typelib. This call is used
> by IDEs to show the interface to the user so (s)he can
> learn the possibilities (Object browser or similar).
> --
> Sven
>
> > -----Ursprüngliche Nachricht-----
> > Von: Mark Hammond [SMTP:[EMAIL PROTECTED]
> > Gesendet am: Donnerstag, 6. März 2003 15:13
> > An: [EMAIL PROTECTED]
> > Betreff: [PHP-WIN] com_load_typelib()
> >
> > How does one kill the process created by com_load_typelib()?
> >
> >
> > com_load_typelib('Word.Application');
> >
> >
> > The above code creates an instance of winword.exe on the server, and
> leaves it running indefinately. How does one kill this process when the
> code is done executing?
> >
> > ___________________________________________
> >
> > Mark Hammond [EMAIL PROTECTED]
> > Information Service Coordinator
> > Collingwood Utility Services
> >
> > Phone: 705-445-1800 ext: 247
> > Mobile: 705-441-4209
> >
> >
> >
> >
> >
> >
> > --
> > 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 ---
Hi All-
I'm looking for a really nice graphing engine. I have tried a couple but
they seem a bit clunky. I'm looking for something very visually
appealing without a ton of configuration. Something that supports
antialiasing would be nice.
Thx-
Matt
--- End Message ---
--- Begin Message ---
hey does anyone now if there is a way to determin which mail server to use directly
from the script when you write the mail function.
--- End Message ---
--- Begin Message ---
On windows try:
Ini_set("SMTP", "mail.yourserveraddress.com");
--> -----Original Message-----
--> From: freeman [mailto:[EMAIL PROTECTED]
--> Sent: Saturday, February 22, 2003 5:42 PM
--> To: [EMAIL PROTECTED]
--> Subject: [PHP-WIN] question about mail
-->
-->
--> hey does anyone now if there is a way to determin which
--> mail server to use directly from the script when you write
--> the mail function.
-->
--- End Message ---
--- Begin Message ---
Oh-oh - never mind, my cock-up. After I'd created the database on my local
MySQL set-up, I then had to do it again on the hosting server using
phpMyAdmin (because the hosting company hasn't worked out a way for me to
upload databases yet). And then I made some minor changes to my local
system - including changing the names of those two columns, which I forgot
to change on the server. Oddly, this only shows up on this one page, as
missing info. That'll teach me...
"Rotsky" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I've got the following routine in a login page. What happens is that the
> first time the user goes to the page, a form is shown. The user enters ID
&
...
--- End Message ---
--- Begin Message ---
Hy,
I write from Italy, I'm searching to develope a PHP extensio under
Windows OS, I read the weww.php.net documantation but I don't know
where to start.
Can someone help me?
Are there some resources about developing extensions?
Are there some sime SDKs with template or otherelse?
Thanks.
--- End Message ---
--- Begin Message ---
I am currently running on a Windows Box the OS is ME
I have installed apache 2.0.44 and I have downloaded the newest PHP download
for windows.
I have read the configuration manual repeatedly for getting the php into the
apache httpd.conf doc file. but I still cannot get php to be recognized.
Can anyone help me with this?
--- End Message ---
--- Begin Message ---
I am trying to upload an image to my webserver. This is the PHP page that
is called from my html page. I am trying to upload the image to my folder
called "logos" the direct link would be: C:\Program Files\Apache
Group\Apache2\htdocs\logos I am not sure what I am doing wrong in the code
below. Can someone please look and help me so that I can upload the image
to that folder.
Thank you!
In Kindness
Stephen K Knight
<?
if(!empty($userfile))
{
$abpath = "/logos/" . $newname;
echo "FileUpload2.php";
echo $username;
echo $newname;
echo $abpath;
//copy the file
// copy($userfile, "$abpath");
//destroy the uploaded file
// unlink($userfile);
// write javascript to store the newname
// echo "<script language='javascript'>\n";
// echo "newname = '" . $newname . "';\n";
// echo "</script>\n";
}
--- End Message ---
--- Begin Message ---
move_uploaded_file();
Jochem
Stephen K Knight wrote:
I am trying to upload an image to my webserver. This is the PHP page that
is called from my html page. I am trying to upload the image to my folder
called "logos" the direct link would be: C:\Program Files\Apache
Group\Apache2\htdocs\logos I am not sure what I am doing wrong in the code
below. Can someone please look and help me so that I can upload the image
to that folder.
Thank you!
In Kindness
Stephen K Knight
<?
if(!empty($userfile))
{
$abpath = "/logos/" . $newname;
echo "FileUpload2.php";
echo $username;
echo $newname;
echo $abpath;
//copy the file
// copy($userfile, "$abpath");
//destroy the uploaded file
// unlink($userfile);
// write javascript to store the newname
// echo "<script language='javascript'>\n";
// echo "newname = '" . $newname . "';\n";
// echo "</script>\n";
}
--- End Message ---
--- Begin Message ---
Hello,
On 03/06/2003 06:08 AM, Vlad wrote:
When I use mail() function fom my php script (PHP4.3.1(as ISAPI) - IIS 5 -
Win2K) some times, randomly, (not always!) I'm getting error: "SMTP error
550 5.7.1. Unable to relay to <destination_email_address>". I don't think
that this is problem with my SMTP server - to prove this I'm sending emails
with the same parameters from PERL script during the same time - works 100%
fine. Did anyone have the same problem? Any ideas??
You problem seems to be due to the need to authenticate. See here for a
recent response on the same problem:
http://news.php.net/article.php?group=php.windows&article=18867
--
Regards,
Manuel Lemos
--- End Message ---