Results 1 to 8 of 8

Thread: Is this possible without a server??

  1. #1
    Join Date
    Jan 2007
    Location
    The stage
    Posts
    568
    Thanks
    23
    Thanked 6 Times in 6 Posts

    Default Is this possible without a server??

    Ok. I am looking for a script that check from an external file (XML file) to see if that property is already taken. I know some websites have something along the lines but, I bet it is server code. I really don't want to put server code into my pages but if its the only way. I have to.
    Here is the form peice:
    HTML Code:
    <br>Desired Username: <input type="text" name="Username" class="text"><br>
    -||- You may pick a username that might not work, even after you send it.  We are sorry for any inconvieniance this may 
    
    cause. -||-
    <br><input type="button" value="Check" class="text">
    I want the check button to actually check to see if the username is already been used.

    It would also be an added bonus if the username they desire is not already taken it says "Username is not taken, go ahead". If it is "We are sorry to say. But, your requested username has been taken"


    Thanks, for reading.

    The peice of code it is looking for in the XML file is:
    <Username>What the viewer wants his/her username to be</Username>
    Last edited by Rockonmetal; 03-03-2007 at 06:55 PM. Reason: I accidently pressed submit button again.

  2. #2
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    I want the check button to actually check to see if the username is already been used.
    This will definitely require server-side scripting, and most-likely a database.
    - Mike

  3. #3
    Join Date
    Jan 2007
    Location
    The stage
    Posts
    568
    Thanks
    23
    Thanked 6 Times in 6 Posts

    Default

    Details? Is there ANY possible way to do this without server script. Could Flash do it?

  4. #4
    Join Date
    Oct 2006
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hello Rockonmetal,

    As i know you can achieve XML reading and manipulation with ActionSctipt (Flash).

    And i think u can do the same with ajax.

    Unfrotunately i don't have such script...
    Keep Googling..

  5. #5
    Join Date
    Jan 2007
    Location
    The stage
    Posts
    568
    Thanks
    23
    Thanked 6 Times in 6 Posts

    Default

    Thanks, Only if I could get someone to do it...

    I ran out of my trial program on flash yesterday. Really not happy.

  6. #6
    Join Date
    Oct 2006
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    So this is one good reason to learn Ajax..
    It's absolutely free!!

    Here is one good resource for Ajax : Click me

    Good Luck.

  7. #7
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Theoretically possible with flash, perhaps, but the 'right' way would be to use php and mysql or another serverside script and a database.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  8. #8
    Join Date
    Jan 2007
    Location
    The stage
    Posts
    568
    Thanks
    23
    Thanked 6 Times in 6 Posts

    Default

    Ok
    psilios, i was wondering what is the code to do it with AJAX??

    But also what is AJAX????

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •