php-windows Digest 17 May 2005 21:49:40 -0000 Issue 2672

Topics (messages 26013 through 26019):

Re: PHP installation
        26013 by: Ionut Gazdaru

Re: page output to file
        26014 by: Ionut Gazdaru

Re: problemas com MYSQL e PHP
        26015 by: Ionut Gazdaru
        26016 by: Luis Moreira

HTML source code is cut off in some cases with Windows 2003 SP 1, IIS, PHP 
5.0.4, CGI/FastCGI
        26017 by: Marco Ab�cherli

Questions oh PHP
        26018 by: Barry Fawthrop

Re: Firefox COM objects?
        26019 by: Shark Mayhem

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 --- Tom Patterson wrote:
I have installed PHP 5.0.4 on my desktop along with Apache 2.0.54.  They both seem 
to be working, as when I bring up the Apache Service Monitor, it shows 
"Apache/2.0.54 (Win32) PHP/5.0.4 mod_jk2/2.0.4.

However, when I try to test the PHP installation, by setting up a test.php file in 
the Apache htdocs folder, which contains <?php phpinfo(); ?> and click on the 
file to run it, it brings up a blank browser window.  The browser window just sits 
there, while the cursor shows busy, and flickers.  Nothing else happens, and I end up 
having to close the browser window to stop whatever is happening.

Probably I have some of the configeration wrong, but I don't know where to 
start looking for the problem.  Does anyone have a suggestion?

Thanks
-Tom

if clicking on it means that you opened your browser at http://localhost/ than clicking test.php from the apache file list than you have a problem, but if you clicked on it from explorer/other file manager in win/linux than you should open http://localhost/test.php in your browser.


also there is a good apache-php-mysql combo package made by apachefriends.org which works on win/linux and has all the stuff preconfigured & working out-of-the-box.
--- End Message ---
--- Begin Message --- Aidal wrote:
Hi NG.

I'm having trouble making a local php script open a remote php script and save the output of the remote script in a local file.
I have FTP access to the remote server, so if placing the "local" script at the same server as the "remote" script, makes this easier this would also be an option for me.


What I want to do is like this:

A local script like: http://localhost/fetch_remote_contents.php
fetch_remote_contents.php should open the remote script http://www.blablabla.com/index5.php?id=23554
and save it's output in a local file instead of displaying it in a browser.


If this can't be done, running fetch_remote_contents.php from the same remote server as index5.php and saving the output in a file on the remote server is also an option as I have access to it.

Can anyone help me out here, I'm pretty sure it's possible because I think I've done it before I just forgot how :o(

Thanks, Aidal


you should be able to use functions like fopen or file_get_contents to open the remote file (eg. $contents=file_get_contents('http://www.blablabla.com/index5.php?id=23554'))


but note that this is possible only if your php.ini states that allow_url_fopen=1 else you should be running the script that retrieves the content on the same machine as the script creating the content but to acces the content generated by the http://www.blablabla.com/index5.php?id=23554 script you should have allow_url_fopen set to 1 on the machine where script it is running.
anothr option would be to make the script which generates the content to write that content to a local file which is accesible to the script runing on the same machine through a local path like C:\apache\htdocs\generatedcontent.txt

--- End Message ---
--- Begin Message ---
http://www.apachefriends.org/en/


<? php Nick Marinho ?> wrote:
N�o consigo configurar o mysql para funcionar com php...algu�m pode me ajudar ???

--- End Message ---
--- Begin Message ---
And advice : to pick up a greater number of hints, post in English...
Doing so, you help yourself and possibly someone else with the same problem.

Do you MySQL setup ?
Can you open a database through the command line ?
If not, then start by having a proper DB installation.
If this is OK, then your problem is not on the DB side, but on the programming (php) side.
How are you connecting to MySQL ?
What are the errors you get ?



Ionut Gazdaru wrote:

http://www.apachefriends.org/en/


<? php Nick Marinho ?> wrote:

N�o consigo configurar o mysql para funcionar com php...algu�m pode me ajudar ???



--- End Message ---
--- Begin Message ---
Hello

I have a problem with Windows 2003 SP 1, IIS, PHP 5.0.4, CGI and FastCGI.

In some cases the PHP generated HTML source code delivered to the client is
cut off. Not the whole HTML source code ist deliverd. This occurs not
regularly.

Example: call page test.php -> the site is well displayed. Open a new
browser window, call the same page -> the last part of the page will not be
displayed. I can't figure out a rule. Sometimes it works sometimes it
doesn't.

I tested the problem with the following installations:

Error occurs:
- PHP 5.0.4 CGI
- PHP 5.0.4 CGI with Zend Optimizer
- PHP 5.0.4 FastCGI with Zend WinEnabler 1.2

No Error:
- Static HTML file
- PHP 4.3.7 CGI
- PHP 4.3.9 FastCGI mit Zend WinEnabler 1.2
- PHP 5.0.4 ISAPI

This error occurs only after updating our test server to SP1.

Thanks,
Marco Ab�cherli

--- End Message ---
--- Begin Message ---
Hi all

being new to PHP I would like to try and convert some of the apps I have into PHP
PHP that produces a webpage or HTML code displayed in a brower


1) Can you use shortcuts, Like Alt+F, and Alt+F4, etc. Can you capture these key inputs, and have the script perform an action, or can it only be <a href link based ?

2) Create a File, Edit, View...... Help System Menu. Just like any app, that has File, Edit.... menu on the top. Create a PHP script that displays a File Menu in the browser, that you can click?

3) Create hot spots on a graphic?

I'm used to developing web app .dll in Delphi but would like to convert to a PHP based application. for multi platfom base.

Thanks In Advance

Barry


-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.12 - Release Date: 5/17/2005

--- End Message ---
--- Begin Message ---
theres some css for firefox you can use
like a radius for buttons and stuff

On 5/16/05, Louis Solomon [SteelBytes] <[EMAIL PROTECTED]> wrote:
> ask the firefox team
> 
> --
> Louis Solomon
> www.SteelBytes.com
> 
> "Dang Nguyen" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hello,
> >
> > I have a PHP script that uses the IE COM object for automating some tests.
> > I'd like to be able to test the same website and use the same test engine
> > (that I've built), except with Firefox.  Does Firefox support COM objects
> > and can I use PHP to access them through the COM class?
> >
> > Cheers,
> > Dang Nguyen
> 
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-- 
Shark mayhem - Bradley

--- End Message ---

Reply via email to