Jump to content

wdv

Members
  • Posts

    13
  • Joined

  • Last visited

wdv's Achievements

Apprentice

Apprentice (3/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Site came up quickly on Felucia, but some services (smtp, webmail, cpanel) not working yet.
  2. wdv

    Tch Logo?

    We are redesigning our web site and would like to include a link to TCH. Is there a small graphic available? Thanks. -- Bill www.pawsct.org
  3. FYI - there have been a couple of posts in the SANS diary about recent vulnerability disclosures for Roundcube webmail The latest diary entry is here: SANS Diary 12/31
  4. 1.PAWS 2. PAWS (Pet Animal Welfare Society - Norwalk, CT) 3. PAWS is dedicated to rescuing homeless animals and placing them in loving new homes. 4. Non-Profit 5. TCH ink at the bottom of our home page. Will be added to other pages as well once we standardize our footer. Thanks! -- Bill
  5. Perfect, owatagal -- worked like a charm. I tried dozens of different syntax combinations, but none worked until yours. All the dogs and cats at the shelter appreciate everyone's incredibly quick assistance! -- Bill
  6. Thanks. That's what I initially thought, but I can't seem to get the syntax right. When I cut and paste from your example >value="<?php = $_GET['nop'] ?>" I get the following error: Parse error: parse error, unexpected '=' in dogapp1.php on line 5 If I take out the equal sign, the script runs, but I get a blank field (no "Rover"): >value="<?php $_GET['nop'] ?>" I know it must be something simple that I'm missing ... -- Bill
  7. Thanks for the coding suggestion and the quick responses from the welcoming committee. We're trying to finish up our TCH site so that we can transfer our domain (www.pawsct.org) before our current hosting agreement expires on Thursday. I don't think I explained my problem clearly, so I put together two simplified samples to see this helps: rover.html <HTML><BODY> <A HREF="dogapp1.php?name_of_pet=Rover"> Click to adopt Rover</A> </BODY></HTML> dogapp1.php <HTML><BODY> <form method="post" name="form1"> <p> Name of Pet: <INPUT name="name_of_pet"><BR> Your name: <INPUT name="your_name"><BR> Your address: <INPUT name="your_address"><BR> </p></form></BODY></HTML> I need the "Rover" value passed by rover.html to show as the default value for name_of_pet in dogapp1.php, while allowing the user to modify the value and fill in the rest of the form. I can do this manually by adding value="Rover" to the name_of_pet INPUT field, but can't pull the variable value in correctly. I played with PHP commands (e.g., $_GET, $_POST, $_REQUEST) but can't get the syntax right. Can someone point me in the right direction to modify dogapp1.php to get Rover (or Fido or Fluffy ...) as the default? Thanks!!! -- Bill
  8. Simple question, but I've been banging my head on the keyboard for hours. I need to pass a value to a form in php script. The HTML file that calls the script has the following line: <A HREF="catapp1.php?nop=Abby">Adopt Abby</A> Within catapp1.php, I want to grab the value out of nop (if any) as the default entry for an html form field. The form works well for manual entry, but I can't find a way to pull the variable in as a default. The form is initialized as follows: <form action="ufm/mailit.php" method="post" enctype="multipart/form-data" name="form1"> Here's a failed example of where I try to pull the value of nop into the form as the default entry, but all I get in the field is the text "$_GET['nop']": <b>Name of Pet: <INPUT name="name_of_pet" value=$_GET['nop'] style="HEIGHT: 22px; WIDTH: 310px"> Can someone spell this out in simple terms for a php/script n00b? Thx. Bill
×
×
  • Create New...