php-windows Digest 19 Apr 2002 11:43:30 -0000 Issue 1101

Topics (messages 13183 through 13189):

can't view php
        13183 by: joey
        13184 by: Steff

Re: Connecting to a remote database
        13185 by: Steff

Re: Apache 2.0.35 & php 4.2.0 RC4 includes
        13186 by: Steff

fastcgi under iis
        13187 by: Jean-Philippe Palha
        13188 by: Jean-Philippe Palha

write text with MING  error...
        13189 by: Franky

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 ---
Everytime i try to view a php file on my server it prompts me to download
the file then opens it up in word pad. I can view any other file just not
php.

Can anyone help me with this problem please?



--- End Message ---
--- Begin Message ---
It looks like your web server hasn't been told to handle php files the 
way the are intended to. which web server are you using? check the php 
manual for installation advice - and perhaps also the web server's.

HTH steff

Joey wrote:
> Everytime i try to view a php file on my server it prompts me to download
> the file then opens it up in word pad. I can view any other file just not
> php.
> 
> Can anyone help me with this problem please?
> 
> 
> 

--- End Message ---
--- Begin Message ---
further on you should tell your DBMS that not only local scripts 
(users), but also external users may access your database. this is done 
by modifying the table "db" in the database "mysql". with this table you 
can control which hosts may access your dbs. the simplest but also most 
risky way is to set host = % and db = %. db = "DB" and host = 
"your.remote.machine" (or for several domains or IP-ranges) would be 
safer already (the rest of the fields/permissions to be set per row are 
mostly self-explaining).


HTH steff

Matt Babineau wrote:
> Try to access the SQL DB by IP Address. If you want to access it from
> outside you LAN, The machine the SQL DB is on has to have an external
> IP.
> 
> Matt Babineau
> Freelance Internet Developer
> e: [EMAIL PROTECTED] 
> p: 603.943.4237
> w: http://www.illuminatistudios.com
>  
> 
> 
> -----Original Message-----
> From: R.S. Herhuth [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, April 18, 2002 3:57 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Connecting to a remote database
> 
> 
> Newbie alert!
> 
> 
> I am able to connect to a SQL Server Database on my local network by
> specifying the host as "testHost" the database is "DB".  My question is
> if I'm outside the network what is the correct syntax that I need to
> call in the host in order to access the database?
> 
> Thanks,
> ROn
> 

--- End Message ---
--- Begin Message ---
Have you set up PHP based on php.ini-recommended? Look out for the 
include_path directive in your php.ini(-recommended) and remove the 
semi-colon at the beginning of the line. I assume you're used to provide 
the full path for every file to be included

include("../my_include_files/inc_file.php");

I just set up php 4.1.2 and encountered the same "problem". I guess 
include_path='.;c:\php4\pear' is the default build-in php include path. 
So you have to override it using the php.ini directive. (In your case 
the important part in this directive is probably the period !?)

HTH steff

Chris Fraser wrote:
> Greetings,
>    Is anyone having problems with includes or include path with this configuration?
> 
> I'm running Apache 2.0.35/php 4.2.0 RC4 on WinXP pro.
> 
> Warning: Failed opening 'mod//index.php' for inclusion 
>(include_path='.;c:\php4\pear') in D:
> \Internet\Apache\htdocs\urswerks\mod.php on line 14
> 
> --
> "The dogmas of the quiet past are inadequate for the stormy present. The occasion is 
>piled high 
> with difficulty, and we must rise to the occasion. As our case is new, so we must 
>think anew, 
> and act anew. We must disentrall ourselves, and then we shall save our country.We 
>can not 
> escape history. We will be remembered, in spite of ourselves. The fiery trial 
>through which we 
> pass will light us down in honor or dishonor, to the last generation. We shall nobly 
>save, or 
> meanly lose our last best hope of Earth."                       Annual Message to 
>Congress, 
> Concluding Remarks, December 1, 1862
>                                                                                      
>                    - 
> President Abraham Lincoln  
> Copyleft 2001: http://www.gnu.org/licenses/fdl.html                                  
>                                   
>                       
>                                                                                      
>                                                                                      
>        
> 
> 
> 

--- End Message ---
--- Begin Message ---
Hi php dev,

First, sorry for my bad english!

Second, i'm using PHP with IIS (ISAPI & CGI) for months on production
servers
and all work fine :-)

Third, i'm trying to parse php files via fastcgi, but i have the "server
error" message
you can find in the gif files the settings for the registry and iis mapping
so what's wrong?

Thanks for your help,

Jean-Philippe PALHA ([EMAIL PROTECTED])
IMA'DIFF - 13, rue Damesme - 75013 Paris  FRANCE
Tel : 33 1 53 80 89 89 - Fax : 33 1 53 80 89 81
Web : http://www.imadiff.com
---------------------------------------------------------------
Webmail, agenda et newsgroups sur Messagerie.net
http://www.messagerie.net
---------------------------------------------------------------

--- End Message ---
--- Begin Message ---
here are the gifs...

--- End Message ---
--- Begin Message ---
It does not work. Can somebody to help me!?!?!?

Each time I try  to write with ming it does not work.  I have Popup:  The
instruction At "0x00b907fc" referenced memory At "0x00abc000".  The memory
could not Be "written".

I maked a  file .mdb by my self  (if the file would not be portable...) I
use a server win2K PHP4 v.4.1.2 Ming was already installed with the basic
package and to draw functions work.

here the code used:
<?php
$f=new SWFFont("Sydnie.fdb");
$t=new SWFText();
$t->setFont($f);
$t->moveTo(200,2400);
$t->setColor(0xff,0xff,0);
$t->setHeight(1200);
$t->addString("PHP fait du Flash avec Ming!!");
$m=new SWFMovie();
$m->setDimension(5400,3600);
$m->add($t);
header('Content-type: application/x-shockwave-flash');
$m->output();
?>

Thank you

Franky
[EMAIL PROTECTED]





--- End Message ---

Reply via email to