Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: Re: [flashpro] Totally baffled...help please
From: Joe Laffey
Date: Sat, 13 May 2000 04:02:58 +0100

On Fri, 12 May 2000, Phil Ward wrote:

> Hi all, still can't crack the passing of PHP generated variables to my swf
> whilst on a server apologies for the re-post new info below.
>
> It's almost as if the string being generated by the PHP3 page is not
> considered to be a text file, so is ignored.
>
>
> Here is the string being created if a direct call is made to the PHP page in
> the browser.
> transport=By+Rail &dest1=Thamesport+Le+Havre &sailing1=Wednesday
> &cutoff1=Saturday &days1=6+days &dest2=Hamburg &sailing2=Sunday
> &cutoff2=Thursday &days2=6+days &dest3=Liverpool+Antwerp &sailing3=Sunday
> &cutoff3=Wednesday &days3=6+days &destA=Naples+Genoa+Fos &sailingA=Sunday
> &cutoffA=Saturday &daysA=6+days &destB=Livorno &sailingB=Sunday
> &cutoffB=Friday &daysB=6+days &destC= &sailingC=Sunday &cutoffC= &daysC=&

Try modifying PHP script to not put ANY spaces or returns (newlines) in
the output. Everything should run together. Any space in the actual
variable data should be encoded with %20. Infact, each variable string
(not variable name) should be URLencoded. I believe PHP has a built-in
URLencoding function.

Your output needs to look like this:

transport=By%20Rail&dest1=Thamesport%20Le%20Havre&sailing1=Wednesday&cutoff1=Saturday&days1=6+days&dest2=Hamburg&sailing2=Sunday
etc...


Joe Laffey
LAFFEY Computer Imaging
St. Louis, MO
-------------------------
With no walls or fences on the Internet, who needs Windows or Gates?
---------------------------------------------------------------------


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Totally baffled...help please, Phil Ward

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]