What is the best code for auto scroll images in php?

Asked By 20 points N/A Posted on -
qa-featured

Hi,

What is the best code for auto scroll images in php? Can you share with me your coding technique about auto scroll images using a php programming language? I need some expert that can teach and guide me along the way.

Regards,

Greqory Gregory.

SHARE
Answered By 10 points N/A #178444

What is the best code for auto scroll images in php?

qa-featured

 

 

Hi,

It works pretty simple.

In the folder Place Backup.php you want to backup.

In your web browser Run Backup.php
the zipping will start by you all of the content of the folder and then a popup will allow to download the entire folder in a .zip file.

 Following code will be generates the text you will see in browser and start download at once the backup is completed  

Code>

For each ($filenames as $filename) {echo "Adding”. $filename . "<br/>"; $zip->addFile($filename,$filename);}

Echo "Files: " . $zip->numFiles . "n";

echo "Status:" . $zip->status. "n";

$zip->close();

Echo "<meta http-equiv='refresh' content='0;URL=Backup.zip'>";

This is what happens at this time:
– Text will be generated
– scrolls down page to bottom
– download will begins

 You want to happen:
– Text generated
– Page scrolls down automatically while text being generated
– begins downloads

Really simple script but it's a script you need.

Related Questions