php-windows Digest 13 Oct 2004 12:06:23 -0000 Issue 2428

Topics (messages 24739 through 24744):

mysql question.
        24739 by: Patrick Roane

Help on choosing Scripts
        24740 by: Francisco Perez

Re: Downloading webpages
        24741 by: William Cox

PHP e file zip
        24742 by: Mauro Griffa
        24743 by: Nunners
        24744 by: barbablu

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 ---
where can I find a tutorial that can help me use mysql
to  update data 'dynamically'(content, URLs'
etc.)contained in an html table, instead of going into
the html code itself? 




=====

----------------
"forget your lust for the rich man's gold. All that you need, is in your soul. You can 
do this if you try. All that I want for you my son, is to be satisfied"

  ~ Lynard Skynard

--- End Message ---
--- Begin Message --- Good evening,
Let me explain my problem. See i have few php experience, i do use includes and other cool PHP features and can find programing and mistype errors rapidly. Unfortunently, i work alot and don't currently have the time to continu some tutorials I wanted to finish.


As of now, I am responsible of a webpage, which was in rustic html that i took over not too long ago. I've developped it with a phpbb forum and some php functions to make the loading faster. But since its a fan club page, i would like to include a User_Friendly script just like phpbb, to manage members, and that they could have their profile with a limit of 5 pictures with a descriptions of their cars. I've been looking around and there seems to be alot of "Groupware scripts" on the web available to people who would like to pay or manage their staff at work. But im only looking for something like a PHPBB Forum, unique usernames, controlled users (which i would like to be able to acknowledge their applications) and some profiles with picture galleries.

So i was wondering, why not ask the pro's opinions. What would you guys suggest?

Thanks in advance...
--- End Message ---
--- Begin Message ---
Morten,
    the reason for this is outlined here: http://us2.php.net/fread.
Network streams are only made available to fread() one packet at a
time. Doing a while loop is the recommended way of getting around
this.


On Tue, 12 Oct 2004 23:44:43 +0100, Morten Pedersen
<[EMAIL PROTECTED]> wrote:
> 
> I'm attempting to download a webpage (http://finance.yahoo.com/q?s=erts), using the 
> following code
> 
>    $fp=fopen($quote_url,'rb');
>    $contents=fread($fp,500000);
>    fclose($fp);
> 
> but it only downloads part of the webpage (1460 bytes to be exact). Putting the 
> fread inside a while loop and reading until 0 bytes read eventually gets the entire 
> page. Anyone know the reason for this, and how to fix it?
> 
> 


-- 
William Cox

email: [EMAIL PROTECTED]
blog: http://my-dimension.com

--- End Message ---
--- Begin Message ---
Ciao,
qualcuno sa come si pu� decomprimere un file zip presente sul server usando
uno script PHP?

grazie per l'aiuto
Mauro

--- End Message ---
--- Begin Message ---
Spiacente il mio italiano � limitato un poco per Balbettare il pesce, ma se
lei guarda l'URL seguente... http://uk2.php.net/zip

[English]
Sorry my italian is somewhat limited to Babble fish, but if you look at the
following URL... http://uk2.php.net/zip

Nunners


> -----Original Message-----
> From: Mauro Griffa [mailto:[EMAIL PROTECTED]
> Sent: 13 October 2004 11:17
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] PHP e file zip
> 
> Ciao,
> qualcuno sa come si pu� decomprimere un file zip presente sul server
> usando
> uno script PHP?
> 
> grazie per l'aiuto
> Mauro
> 
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

--- End Message ---
--- Begin Message --- Mauro Griffa ha scritto:
Ciao,
qualcuno sa come si pu� decomprimere un file zip presente sul server usando
uno script PHP?

grazie per l'aiuto
Mauro

Ciao,
per php5(come modulo)+apache2
1. guarda nella sottocartella '/ext' della tua distribuzione di php per file php_zip.dll


2. se fosse necessario scarica 'collection of PECL modules for php5.x.x' dalla pagina di download 'http://it.php.net/downloads.php' e decomprimi php_zip.dll nella tua cartella delle estensioni

3. aggiungi stringa extension=php_zip.dll (c:\windows\php.ini)

4. riavvia apache

5. pronto, MA:

6. nel caso pi� comune tuo_script.php e tuo_arcivio.zip si trovano nella stessa cartella. funzione zip_open('tuo_arcivio.zip') ti communica 'Warning: zip_open() [function.zip-open]: Cannot open zip archive...'

7. devi usare zip_open(getcwd().'\tuo_arcivio.zip')

funziona:)
--- End Message ---

Reply via email to