|
Posted by JasonDamianUs on 10/29/06 19:56
ok.
I move those functions to the very beginning of my code
it produces
Notice: Undefined index: subscriber in
/homepages/43/d94351932/htdocs/email/email.php on line 22
Which referes to the line
$subscriber = $_POST['subscriber']; // get the subscriber name
Not sure why that is invalid, isnt that how you declare variables in
PHP??
Also the code works, so I am confused.
thanks
Jason
JasonDamianUs wrote:
> jerry,
>
> thanks for the prompt response
>
> those functions produce -
> 1
> 2037
>
> Jerry Stuckle wrote:
> > JasonDamianUs wrote:
> > > Hello all,
> > >
> > > I am trying to write a simple PHP script to process a form.. the
> > > function seems to be working fine
> > >
> > > // subscriber is the users email in the form
> > > if (( $subscriber ) && ($_SERVER['REQUEST_METHOD'] == 'POST') )
> > >
> > > thing is while this processing is taking place the page load hangs...
> > > in IE i see nothing the page background, in Firefox (even worse) I get
> > > only 1/2 the page....
> > >
> > > I would like the whole page to load the the processign to take place,
> > > except that my PHP is 1/2 way down the page, inside the form
> > >
> > > Any help would be greatly appreciated.
> > >
> > > Thanks
> > >
> > > Jason
> > >
> >
> > Jason,
> >
> > This should not hang the processing, unless you have a loop or error in
> > your PHP code.
> >
> > What do you get if you add the following to the start of your PHP code?
> >
> > ini_set("display_errors","1");
> > error_reporting(E_ALL);
> >
> > --
> > ==================
> > Remove the "x" from my email address
> > Jerry Stuckle
> > JDS Computer Training Corp.
> > jstucklex@attglobal.net
> > ==================
[Back to original message]
|