php-windows Digest 21 Sep 2001 07:47:42 -0000 Issue 765

Topics (messages 9437 through 9446):

Re: Applying the memory-limit patch
        9437 by: Gaylen Fraley

Re: text file question thanks
        9438 by: CJD

Re: creating ZIP files
        9439 by: CJD
        9440 by: Arron Edwards

Help!  convert manipulate gif and jpgs
        9441 by: aaron
        9442 by: Cameron Stuart

Re: installing Mcrypt...
        9443 by: Robin Bolton

Debug PHP code is it possible?
        9444 by: Burak Delice

some kind of not real , real time clock :)
        9445 by: sur-php

to use PHP as a module in Apache?
        9446 by: Burak Delice

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]


----------------------------------------------------------------------


http://www.php.net/do_download.php?download_file=php-4.0.6-memlimit.diff.gz&;
source_site=download.php.net

--
Gaylen
[EMAIL PROTECTED]
http://www.gaylenandmargie.com
PHP KISGB v1.2 Guestbook http://www.gaylenandmargie.com/publicscripts

"Elias Santiago" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Sorry, what memory limit?
>
>
> "Gaylen Fraley" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I've looked for instructions on this but have been unable to find them.
> How
> > do you apply the memory-limit patch for 4.0.6 on Windows?
> >
> > --
> > Gaylen
> > [EMAIL PROTECTED]
> > http://www.gaylenandmargie.com
> > PHP KISGB v1.1 Guestbook http://www.gaylenandmargie.com/publicscripts
> >
> >
> >
>
>






The use that PHP runs as may not have security permissions to the
file/directory you are trying to write to. This is standard for a large
number od ISPs and I think it is also the case when safe_mode_on is set in
the php.ini file.  Check the security rights for the PHP user (most likely
the same user as the webserver) and what rights it has.



"Clock" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 無?
> 個code 來自台灣書的example
> 有冇可以solve?
>
> Cjd 寫入:
>
> > PHP probably does not have write access to the disk.
> >
> > "Clock" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > hi
> > > Warning: fopen("9-02_counter.txt","w") - Permission denied in
> > > c:\inetpub\wwwroot\9-02_pcounter.php on line 20
> > >
> > > Warning: Supplied argument is not a valid File-Handle resource in
> > > c:\inetpub\wwwroot\9-02_pcounter.php on line 21
> > >
> > > Warning: Supplied argument is not a valid File-Handle resource in
> > > c:\inetpub\wwwroot\9-02_pcounter.php on line 22
> > >
> > > Warning: fopen("9-02_counter.txt","w") - Permission denied in
> > > c:\inetpub\wwwroot\9-02_pcounter.php on line 20
> > >
> > > Warning: Supplied argument is not a valid File-Handle resource in
> > > c:\inetpub\wwwroot\9-02_pcounter.php on line 21
> > >
> > > Warning: Supplied argument is not a valid File-Handle resource in
> > > c:\inetpub\wwwroot\9-02_pcounter.php on line 22
> > >
> > > Warning: fopen("9-02_counter.txt","w") - Permission denied in
> > > c:\inetpub\wwwroot\9-02_pcounter.php on line 20
> > >
> > > Warning: Supplied argument is not a valid File-Handle resource in
> > > c:\inetpub\wwwroot\9-02_pcounter.php on line 21
> > >
> > > Warning: Supplied argument is not a valid File-Handle resource in
> > > c:\inetpub\wwwroot\9-02_pcounter.php on line 22
> > >
> > > what problem!?
> > > need to download sth!?
> > > or how to solve!?
> > > thanks
> > >
>






use exec() to call the zip/unzip command

"Raphael Pirker" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi Guys,
>
> Is there any way I can create a zip file from files? (filenames and their
> paths will be specified in an array) Any help would be very much
> appreciated!
>
> TIA,
>
> Raphael
>
>






Hi, i think this might be what you want to know:
http://www.zend.com/zend/spotlight/creating-zip-files1.php
I knew i saw that yesterday somewhere...

"Raphael Pirker" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi Guys,
>
> Is there any way I can create a zip file from files? (filenames and their
> paths will be specified in an array) Any help would be very much
> appreciated!
>
> TIA,
>
> Raphael
>
>






I'm using Windows IIS 4.0 and am trying to create gifs and jpgs and
manipulate them but there is NO documentation describing what components I
need to install so I can do so.  There is some documentation on installation
packages needed for Unix but none work on Windows or require a C compiler to
build the files which eventually fail during build as well.   Where is the
windows documenatation?  What components do I need to manipulate gifs and
jpgs and in what order do I need to install them, and what versions do I
need?

Thanks for any help.

Aaron







Hi,

Under win32, your best bet is to work with jpg's and png's, take a look at
your php.ini and make sure 
the gd extension is enabled:

first make sure PHP knows which directory you are using:

; Directory in which the loadable extensions (modules) reside.
extension_dir = C:/php/extensions

Then un-comment the extensions

extension=php_gd.dll
not
;extension=php_gd.dll

In a win32 distribution of PHP, you get all the dll's and extensions by
default, but that are not always turned on in php.ini (should be
C:\winnt\php.ini)

To be sure of what you have enabled, try this:

<?php
        phpinfo();
?>

A rather large table with lots of cool info will show up, telling you what
you have enabled.

If your PHP distribution does not contain the dll's or extension's drop me a
line and I will send you mine (NT)
(obviously not via the mailing list)

Hope this helps
Cheers,
  

> -----Original Message-----
> From: aaron [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, 21 September 2001 11:56
> To:   [EMAIL PROTECTED]
> Subject:      [PHP-WIN] Help!  convert manipulate gif and jpgs
> 
> I'm using Windows IIS 4.0 and am trying to create gifs and jpgs and
> manipulate them but there is NO documentation describing what components I
> need to install so I can do so.  There is some documentation on
> installation
> packages needed for Unix but none work on Windows or require a C compiler
> to
> build the files which eventually fail during build as well.   Where is the
> windows documenatation?  What components do I need to manipulate gifs and
> jpgs and in what order do I need to install them, and what versions do I
> need?
> 
> Thanks for any help.
> 
> Aaron
> 
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 
Privileged/Confidential Information may be contained in this message. 
If you are not the addressee indicated in this message, you may not copy 
or deliver this message to anyone.  In such case, you should destroy this 
message and notify the sender by reply email. Opinions, conclusions and 
other information in this message that do not relate to the official 
business of this organisation shall be understood as neither given nor 
endorsed by it.




This was the most in depth explanation I could find:
http://marc.theaimsgroup.com/?l=php-windows&m=97568101005300&w=2


> -----Original Message-----
> From: cros [mailto:[EMAIL PROTECTED]]
> Sent: September 19, 2001 8:35 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] installing Mcrypt...
> 
> I've downloaded mcrypt-2.5.6-win32.bin.zip from mcrypt.hellug.gr and
have
> been trying different ways to install it.  So far no success.  I
haven't
> been able to find any docs on installation so I've come here for some
> wisdom.  Has anyone been able to install mcrypt under win32?  Thanks.
> 
> 
> 
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
[EMAIL PROTECTED]






hello,


Can I debug php code like javascript in dreamweaver or others?

thank you.








Hello ,
some trick for real time clock
which will show latest time every 60 second
but this cannot be said real time data, i think :)

//======================================================

<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Refresh" CONTENT="60" URL="clock.php">
</head>

<?
        echo date ("H:i:s A");
?>
//======================================================

-- 

Best regards,
 sur-php                          mailto:[EMAIL PROTECTED]





hello,

I was reading  php setup's Install.txt. and I saw a advice in it:

"
If you would like to use PHP as a module in Apache,
  you should move php4ts.dll to the windows/system (for Windows 9x/Me)
  or winnt/system32 (for Windows NT/2000) directory, overwriting any
  older file. Then you should add the following two lines to you Apache
  conf file:

   LoadModule php4_module c:/php/sapi/php4apache.dll
   AddType application/x-httpd-php .php

"

why should Php used as "module" on apache server? which kind of advantages
it has?




Reply via email to