You are here: Re: posting array to an external php file « PHP Programming Language « IT news, forums, messages
Re: posting array to an external php file

Posted by Michael Phipps on 07/25/05 02:11

"luke" <lduncalfe@eml.nope> wrote in message
news:XGTEe.3140$PL5.308308@news.xtra.co.nz...
> This could be a really bad suggestion, but, could your script quickly
> write
> the array to a .txt file which is read by the next website.

That's not a bad idea - and to get around the problem of the wrong data
going to the wrong viewer, perhaps using a random file name could help? PHP
has a function for creating a temp filename called "tempnam"

If the page that generates the img tag is php page that first generates the
data to be ploted, you could make your img tag something like:
<img src="plot.php?TMPA092e45xf" />

When plot displays the the file, at the end it could delete the temporary
file...

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация