phphandle form wont display data

This is a discussion on phphandle form wont display data within the PHP General forums, part of the PHP Programming Forums category; This must be obvious, but I am having trouble displaying the results of a form in the php handler. Here ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-23-2003
Jack E. Wasserstein
 
Posts: n/a
Default phphandle form wont display data

This must be obvious, but I am having trouble displaying the results of a
form in the php handler.

Here is the php code in the handler:

<?php

print " the referring doctor is $referringdr .<br>\n";
print " the referral date is $dateofreferral .<br>\n";
print " the patients first name is $pfirst .<br>\n";
print " the patients last name is $plast .<br>\n";
print " the patients telephone number is $telephone .<br>\n";
print " the referring doctor email is $refdremail .<br>\n";
print " the upload is $imageupload <br>\n";



?>

I am using the get action on the actual form and I can see all of the values
being passed to the script. The spellings of the
Reply With Quote
  #2 (permalink)  
Old 12-23-2003
David T-G
 
Posts: n/a
Default Re: [PHP] pgp form handler will not display data

Jack --

[Aha ... I see that you provide the calling URL in this post, which
explains the near-duplication. One question answered; a million to go!]

...and then Jack E. Wasserstein, DDS, Inc. said...
%
% There must be something obvious that I am missing but I cant get the php
...
%
% output from
%
% patreferhandler.php?%24referringdr=sample+person&% 24refdremail=sample@person
% .com&dateofreferral=12%2F03%2F03&pfirst=clientfirs t&plast=clientlast&telepho
% ne=555-5555&imageupload=&Submit=Submit

While it looks like dateofreferral, pfirst, plast, telephone, Submit
should work, I don't at all trust the %24 nistead of & at the beginning
of the URL; it's probably turned off your input parsing. Fix that and
try again and let us know what you get.


HTH & HAND & Happy Holidays

:-D
--
David T-G * There is too much animal courage in
(play) davidtg@justpickone.org * society and not sufficient moral courage.
(work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE/6FkHGb7uCXufRwARAljcAKDGgfJb8TCmFEWRjcKj7ENa0tXnmw CfcDD4
tMA0Y/vfTJmwQCAe9b6xIU8=
=PgQw
-----END PGP SIGNATURE-----

Reply With Quote
  #3 (permalink)  
Old 12-23-2003
Raditha Dissanayake
 
Posts: n/a
Default Re: [PHP] phphandle form wont display data

check your register globals settings or user variables like
$_REQUEST['referringdr']

all the best

Jack E. Wasserstein, DDS, Inc. wrote:

>This must be obvious, but I am having trouble displaying the results of a
>form in the php handler.
>
>Here is the php code in the handler:
>
><?php
>
>print " the referring doctor is $referringdr .<br>\n";
>print " the referral date is $dateofreferral .<br>\n";
>print " the patients first name is $pfirst .<br>\n";
>print " the patients last name is $plast .<br>\n";
>print " the patients telephone number is $telephone .<br>\n";
>print " the referring doctor email is $refdremail .<br>\n";
>print " the upload is $imageupload <br>\n";
>
>
>
>?>
>
>I am using the get action on the actual form and I can see all of the values
>being passed to the script. The spellings of the
>
>
>



--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 150 KB | with progress bar.
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:20 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0