Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Oct 2003
    Location
    Durham, North Carolina
    Posts
    4
    Member #
    3581
    Hi all:

    I am pretty new in mysql/php. I have site where I have access to php/Mysql/smtp etc. Lets call this site A.

    Lets say, I also have sites B,C,D that doesn't have php/mysql or anything. They have plain HTML support only.
    Now, is it possible to create forms/feedback forms etc on site B,C,D and execute the php script from server A.

    So, if I want to create a feedback form for Site B, C, I would like the feedback to be mailed to an email address or put it in a database or such.

    Any simple of example would be greatly appreciated.

    Thanks and have a good one.

    Shahab

  2.  

  3. #2
    Senior Member energizze's Avatar
    Join Date
    Oct 2002
    Posts
    260
    Member #
    238
    Some servers won't let you send form data if you send it as POST.
    e.g.
    <form action='http://www.siteA.com/script.php' method='post'>



    you can send it as GET this meens it will be in the url.
    e.g.
    <form action='http://www.siteA.com/script.php' method='get'>

    for instance if you had a form that looked like:
    <form action='http://www.siteA.com/script.php' method='get'>
    <input name='tbox1' type='text' value='hello'>
    <input name='tbox2' type='text' value='bye'>
    </form>
    then when the user clicked submit it would in effect redirect them to:
    http://www.siteA.com/script.php?tbox1=hello&tbox2=bye


    you can do it yes. But depending on what the server siteA is hosted on allows then you may have to use a GET method when submitting forms.

  4. #3
    Junior Member
    Join Date
    Oct 2003
    Location
    Durham, North Carolina
    Posts
    4
    Member #
    3581
    Hi:
    Thanks for your reply. I was thinking about this issue..and I think there is another work around.

    If site A has access to php/mysql, for simple forms (feedback, request forms etc), I could just create subfolders for other sites. So, for instance, I could have url like this:
    http://www.mysite_A.com/forms/siteB

    Using frames, it can be made to look transparent to the web user. MBNA credit card company does similar things for online payment.

    Take care.
    Shahab


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:12 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com