Re: works in 4.4.2 - breaks in 5.2.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Does the xmlString print out?

Cuz my first guess is they turned off RAW_POST_DATA in the upgrade, so
it's just blank...

On Tue, June 5, 2007 11:34 am, Jim Berkey wrote:
> I'm familiar with actionscript, but pretty new to php . . .I have a
> guestbook script that worked fine until my host upgraded to php 5.2.1
> - can anyone tell me what part of my if statement or variable is
> breaking in 5.2.1? I send the new data with Flash using
> xml.sendAndLoad, to the xml file via standalone php file shown below.
> tia,
> jimbo
>
> <?php
> $file = fopen("guestbook.xml", "w+") or die("Can't open XML file");
> $xmlString = $HTTP_RAW_POST_DATA;
> if(!fwrite($file, $xmlString)){
>     print "Error writing to XML-file";
> }
> print $xmlString."\n\n";
> fclose($file);
>
> exit;
> ?>
>
>


-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux