Re: [PHP] Save page as text

2005-06-30 Thread Richard Lynch
On Wed, June 29, 2005 2:22 pm, [EMAIL PROTECTED] said: > I have page with PHP and Javascript code and I need to a link or bottun in > it to save its content to a plain text file. (I'm using an apache server > in a machine running Windows 2003, and I want to be able to use this > feature in IE 6 and

[PHP] Save page as text

2005-06-29 Thread rm2004mail-listas
Hi, I have page with PHP and Javascript code and I need to a link or bottun in it to save its content to a plain text file. (I'm using an apache server in a machine running Windows 2003, and I want to be able to use this feature in IE 6 and Mozilla 1.7) I saw some information about how to do tha

Re: [PHP] Save page

2004-05-11 Thread Nadim Attari
, file ('http://www.example.com/')); > then you have all text from the .html page in $contents and you can do a > fwrite on it to a local file, echo it, str_rep etc etc etc > > Brandon Holtsclaw > [EMAIL PROTECTED] > > > - Original Message ----- > From:

Re: [PHP] Save page

2004-05-10 Thread Curt Zirzow
* Thus wrote Curt Zirzow ([EMAIL PROTECTED]): > * Thus wrote Mike Mapsnac ([EMAIL PROTECTED]): > > Hello > > > > I' m writing php script that will request page and save it locally. The > > page URL will be parameter (example: > > http://www.pagetoget.com/thispage.html). How php can request such

Re: [PHP] Save page

2004-05-10 Thread Curt Zirzow
* Thus wrote Mike Mapsnac ([EMAIL PROTECTED]): > Hello > > I' m writing php script that will request page and save it locally. The > page URL will be parameter (example: > http://www.pagetoget.com/thispage.html). How php can request such page and > save it locally on the file? $ch = curl_init(

Re: [PHP] Save page

2004-05-10 Thread Brandon Holtsclaw
ll text from the .html page in $contents and you can do a fwrite on it to a local file, echo it, str_rep etc etc etc Brandon Holtsclaw [EMAIL PROTECTED] - Original Message - From: "Mike Mapsnac" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 10, 2004

Re: [PHP] Save page

2004-05-10 Thread Serhan D. Kiymaz
I think you have to write apache rules to handle the request (search for ReWriteRule) and an index.php can save the file regards Mike Mapsnac wrote: Hello I' m writing php script that will request page and save it locally. The page URL will be parameter (example: http://www.pagetoget.com/this

[PHP] Save page

2004-05-10 Thread Mike Mapsnac
Hello I' m writing php script that will request page and save it locally. The page URL will be parameter (example: http://www.pagetoget.com/thispage.html). How php can request such page and save it locally on the file? Thanks _ St

[PHP] save page to DB

2002-04-01 Thread Phil Solomon
Hi all, I have a page that dynamically produces itself from a mysql db. It produces a form with the prices of scaffolding items and then uses JS as a quote calculator. I was wondering whether someone could tell me how to save the whole page into one field so that it can be reproduced in what ever