David,

I'm not familiar with the debugger, i did put in some
trace's but came back with nothing.

here's the URL where I am trying to get it working

http://sireclothing.com/final/

here's the php

<?php 
//get email value from POST variable
$email = trim($_POST['email']);
//add a new line for Each email address
$email .="\n"; 
//initialize the variable
$fileName = "subscribe.txt";
//open files
if (is_writable($fileName)) {
        if(!$fp = fopen($fileName,"a")){
                echo "status=Can't open the file name $fileName";
                exit;
        }
        if (fwrite($fp,$email) === FALSE) {
                echo "status=Can't write to $fileName";
                exit;
        }
        echo "status=ok";
        fclose($fp);
} else {
        echo "status=The file $fileName is not writable";
}
?>

If you take a look the status goes directly to
Problem. I've been at this all day, no results, any
help?

Best,
Stone

--- David Rorex <[EMAIL PROTECTED]> wrote:

> On 3/21/06, stone larsen <[EMAIL PROTECTED]>
> wrote:
> >
> > Is there a reason this works in AS1 and not
> AS2???????
> 
> 
> Could you give us more info on what exactly is not
> working with it?
> Did you use trace()'s or the debugger to find out
> exactly which part is
> failing?
> 
> -David R
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the
> archive:
>
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to