php-windows Digest 11 Mar 2003 06:53:20 -0000 Issue 1628

Topics (messages 18949 through 18961):

Re: e-shop problem
        18949 by: Thomas Smart

Re: IE seems to be more stupid than I spected!
        18950 by: H Marc Bower
        18951 by: Rasmus Lerdorf
        18952 by: Charles P. Killmer

GIF handling problem...
        18953 by: Peres Levente

image question
        18954 by: Anthony Ritter
        18958 by: Thomas Smart

Newbie attempting file open...
        18955 by: William Fisher
        18959 by: Thomas Smart

fopen - windows - FTP
        18956 by: Jonathan Almarez

CGI or ISAPI
        18957 by: Afonso Marques dos Santos
        18960 by: Thomas Smart

PHP 4.3.1 / MySQL
        18961 by: Ryan

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 ---
www.hotscripts.com has some good cart scripts, the best way to learn these
is to download and read the script thru :)


"Andrzej Wroblewski" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
>
>
>
>
>
>
>
> Hi
>
> I'm designing internet shop based on PHP and MySQL, but I don't know
> how to solve the following problem: when the customer want to buy some
> article he/she  click check button and the article is in her/his bag. So
the
> problem is I'm not familiar with this technology. Could anyone explain me
> how this things works.
>
> Or maybe you know some good place (in internet) where thing like this
> are explained from basis.
>
> Thanks for all help
>
> Regards
> Andrzej W
> ------------------------------------
> e-mail: [EMAIL PROTECTED]
> http://republika.pl/wroblewski_online
>



--- End Message ---
--- Begin Message ---
Does it work with Netscape?  I find it odd that the browser would have
anything to do with this, really.

(V)

----- Original Message -----
From: "Leonardo Javier Belén" <[EMAIL PROTECTED]>


HI all!
    I am facing a problem thanks to the so-called powerful IE on Windows.
I'm trying to generate PDFs on the fly but IE refuses to open the file. Not
mention that I cannot ask for implace activation. I tried all the stuff
around but I get always the same thing. "The file is not longer available"
(sorry about the translation but Im using a Spanish version). Has somebody
found a work around for this matter. Thanks in advance. Leo. AFIP AR.





--- End Message ---
--- Begin Message ---
Are you sending a content-length header?  Without that I have found that
IE gets confused.

-Rasmus

On Mon, 10 Mar 2003, [iso-8859-1] Leonardo Javier Belén wrote:

> HI all!
>     I am facing a problem thanks to the so-called powerful IE on Windows. I'm trying 
> to generate PDFs on the fly but IE refuses to open the file. Not mention that I 
> cannot ask for implace activation. I tried all the stuff around but I get always the 
> same thing. "The file is not longer available" (sorry about the translation but Im 
> using a Spanish version). Has somebody found a work around for this matter. Thanks 
> in advance. Leo. AFIP AR.
>
>

--- End Message ---
--- Begin Message ---
I ran into problems with IIS, IE, pdfs, and Sessions.  Try not using a session and see 
if it works.  If it does I think there are some functions to use before you send the 
pdf.  Session_write_close()  I think.

Charles


-----Original Message-----
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 10, 2003 9:56 AM
To: Leonardo Javier Belén
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] IE seems to be more stupid than I spected!


Are you sending a content-length header?  Without that I have found that IE gets 
confused.

-Rasmus

On Mon, 10 Mar 2003, [iso-8859-1] Leonardo Javier Belén wrote:

> HI all!
>     I am facing a problem thanks to the so-called powerful IE on 
> Windows. I'm trying to generate PDFs on the fly but IE refuses to open 
> the file. Not mention that I cannot ask for implace activation. I 
> tried all the stuff around but I get always the same thing. "The file 
> is not longer available" (sorry about the translation but Im using a 
> Spanish version). Has somebody found a work around for this matter. 
> Thanks in advance. Leo. AFIP AR.
>
>

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


--- End Message ---
--- Begin Message ---
Hi!

I'm not sure that there's a simple soulution, but here's my
problem. Please, if anyone can help me out with an idea, write here.

First, forgive my bad english, I'll try to do it as clearly as I can.

Basicly, the problem is that I want to create an animated GIF output,
where I put together an animated GIF file and a non-animated GIF
file. Now, you may ask why I want to do this? If it helps, the reason why
I want to put together the two graphic data is to create a web banner,
where the first 68x60 part of the banner is my logo, and the second 400x60
part of the banner is the company logo. They'll send a 400x60 banner via
a form, and the script has to work it up to a 468x60 banner by putting in
my logo. One half of the whole mess is that my logo's static, but the
company's logo will almost certainly be animated. The second half of the
mess is that with all the GIF support removed from PHP - and having no
administrator account on the server to patch it up - how to implement
this? I hope I was clear... 

If you need to know more, just ask.

Thank you if you can throw me an idea or any clue.

Cheers!

- Levente


--- End Message ---
--- Begin Message ---
I'm looking for a php tutorial or script which can open and read an existing
.jpg or .png from another URL.

Next, the script then modifies that image by - say - cropping off the bottom
by 20px or resizing it by 50%.

Lastly, could this modified file then be renamed on ones server?

Many thanks,
Tony Ritter




--- End Message ---
--- Begin Message ---
look for GDlib tutorials


"Anthony Ritter" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm looking for a php tutorial or script which can open and read an
existing
> .jpg or .png from another URL.
>
> Next, the script then modifies that image by - say - cropping off the
bottom
> by 20px or resizing it by 50%.
>
> Lastly, could this modified file then be renamed on ones server?
>
> Many thanks,
> Tony Ritter
>
>
>



--- End Message ---
--- Begin Message ---
The Question:  It is my understanding that fopen() using the "r" option will either 
open the indicated file for read only OR create one if it doesn't exist. fopen() is 
giving me this error when trying to create/open a file.

Warning: fopen(c:/program files/apache group/apache/htdocs/test.txt)     
[function.fopen]: failed to create stream: No such file or directory in c:\program 
files\apache group\apache\htdocs\file_open.php on line 5

The Code: What I've written...well...copied... is this:

<?php

 $DOCUMENT_ROOT = $HTTP_SERVER_VARS['DOCUMENT_ROOT'];

 $fp = fopen("$DOCUMENT_ROOT/test.txt" , "r");

?>


The Guts: Windows ME, Apache 1.3.27, PHP 4.3.1. 

Why am I using ME? Call it compulsary. I buy the cheap gas, too. Any ideas as to why 
this is happening? What's this whole file streaming issue?

Blessings,

Zach Fisher....



---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more

--- End Message ---
--- Begin Message ---
try r+ instead of r

and if your working with a windows server add b after the r+



"William Fisher" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> The Question:  It is my understanding that fopen() using the "r" option
will either open the indicated file for read only OR create one if it
doesn't exist. fopen() is giving me this error when trying to create/open a
file.
>
> Warning: fopen(c:/program files/apache group/apache/htdocs/test.txt)
[function.fopen]: failed to create stream: No such file or directory in
c:\program files\apache group\apache\htdocs\file_open.php on line 5
>
> The Code: What I've written...well...copied... is this:
>
> <?php
>
>  $DOCUMENT_ROOT = $HTTP_SERVER_VARS['DOCUMENT_ROOT'];
>
>  $fp = fopen("$DOCUMENT_ROOT/test.txt" , "r");
>
> ?>
>
>
> The Guts: Windows ME, Apache 1.3.27, PHP 4.3.1.
>
> Why am I using ME? Call it compulsary. I buy the cheap gas, too. Any ideas
as to why this is happening? What's this whole file streaming issue?
>
> Blessings,
>
> Zach Fisher....
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, and more



--- End Message ---
--- Begin Message ---
I receive this warning when I try to fopen using FTP:

warning: fopen(ftp://user:[EMAIL PROTECTED]/and/to/the/file.txt):
failed to create stream: FTP server reports 125 Data connection already
open; Transfer starting.

The code that it is refering to is:

$handle = fopen
("ftp://user:[EMAIL PROTECTED]/and/to/the/file.txt", "rb");

My OS is Windows XP
My PHP version is: 4.3.0.0
My HTTP Server is: Apache 2.0.44

I have tried this on another Unix server and it works fine.  The same code
works fine.  But on my XP server it don't work.

Thanks in advance,
Jonathan

--- End Message ---
--- Begin Message ---
Hi,

I would like to know whats best on a Windows2000/IIS system.

I've changed to ISAPI, buit now i can't make it ro read a specific php.ini, located on 
the site root.



Afonso Marques dos Santos

--- End Message ---
--- Begin Message ---
how do u make it read a specific php.ini in the cgi version?



"Afonso Marques Dos Santos" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi,

I would like to know whats best on a Windows2000/IIS system.

I've changed to ISAPI, buit now i can't make it ro read a specific php.ini,
located on the site root.



Afonso Marques dos Santos




--- End Message ---
--- Begin Message ---
Just recently I've upgraded on of my systems to Apache 2.0 / PHP 4.3.1
on Linux. All priors installs using Apache 1.3.x I've compiled mysql
manually and added support instead of using the default support. Trying
to add mysql support now (the same way: --with-mysql=../mysql-3.23.49)
PHP stops with an error that it can't find the headers. 

The system is running RedHat Linux 8.0

Thanks


--- End Message ---

Reply via email to