Search results

  1. marshian

    Making AJAX return a value.

    Of course, with the xml-object-thingie, you get regular text, and you're not forced to do anything with it. Something like "var something = yourxmlrequest.responseText;"
  2. marshian

    pb search for a generator sitemap

    There's always the best, but slightly time-consuming way... notepad(++) and a site owner working together ^^ http://sitemaps.org/protocol.php
  3. marshian

    tab contents

    You can do this with javascript alone. You have to make a style with the tabs and a box. Then if you click one of the tabs, you change the contents of the box (innerHtml) with new content you receive trough an xml request. It's a long time ago I've made anything like this, but I'll try to...
  4. marshian

    email submit button

    it could be easyer too: <?php $name = strip_tags($_POST["Name"]); $email = strip_tags($_POST["e-mail"]); $favourite = strip_tags($_POST["favourite"]); $comments = strip_tags($_POST["comments"]); $message = "<html><body>"; $message .= "<i>$name</i> has reacted to your site.<br>"...
  5. marshian

    email submit button

    I'll try to explain this... In the file "guestbookmail.php", there must be the code we've already mentionned. (You could add html below the php.) If you don't add any html below the php, the file is empty as far as the user knows. The php code gets executed, and in this case it doesn't output...
  6. marshian

    cgiemail Noobie help

    Try this: <form action="sendcomments.php" method="post"> <table border="0" cellpadding="3" cellspacing="2" align="center"> <tr><td colspan="2">Fill in what you please all fields are optional. Your information will not be sold or given to third parties. It will be used only for...
  7. marshian

    cgiemail Noobie help

    When I test it, it all works fine :s Maybe somebody else can help?
  8. marshian

    Help creating php/msql update page!!!

    I'm not sure what's causing the problem, but I do see 2 things that aren't too good: in 'the place where you create your session': $query = "select*from information where email='$email' and password='$password'"; to $query = "SELECT * FROM information WHERE email='$email' AND...
  9. marshian

    Autodownload in PHP?

    Depending on what script you're using: phpask's: $downloadurl mine: $file ($file2 as downloaded name) woiwky: $file
  10. marshian

    cgiemail Noobie help

    First of all, I think the language you mean is Perl. I don't know Perl, but I'll give you a php script that does the same. Second, your link is wrong :p Ok, change <form action="http://jotform.com/submit.php" method="post" name="q_form_81043241129"> to <form method="POST"...
  11. marshian

    email submit button

    So if no more faults are discovered, the code is now: <form action="guestbookmail.php" method="post"> <table width="575" border="0" cellpadding="3" cellspacing="2"> <tr> <td width="250"><div align="right"><span class="style6">Name:</span></div></td> <td...
  12. marshian

    Help creating php/msql update page!!!

    So when you run this php page, nothing changes to the database? Could we see your form too?
  13. marshian

    SQL Database location?

    Looks to me like that file doesn't call to mysql_select_db. Check wether there's something like "mysql_select_db($sql_db)" in the file. If not, add it AFTER the mysql_connect() command.
  14. marshian

    email submit button

    Forgetting stuff is human... Why do I keep forgetting stuff?
  15. marshian

    help..CMPS

    On some other free hosting services (which are noob), it's sometimes very hard to find out, but x10 owns them all again ^^ If you log in to your cp, on the left side, there's "Home Directory". If you then go to your file manager, you're in this home directory, and every time you change the...
  16. marshian

    help..CMPS

    if your forum is located at htt://username.x10hosting.com, your forumpath is: "/home/username/public_html/" if your forum is http://username.x10hosting.com/directories then your forum path is "/home/username/public_html/directories" etc... there's 2 possible ways of uploading stuff using...
  17. marshian

    email submit button

    There's no way to do this in one step, what you'll have to do is send the user input to a php page that then sends the mail. And you're missing form tags... replace <table width="575" border="0" cellpadding="3" cellspacing="2"> <tr> <td width="250"><div align="right"><span...
  18. marshian

    C++, PHP, Assembly, Delphi, Java e.t.c Which is most powerful?

    First of all: let's not compare [a fruit] and [any other fruit]. PHP or Java Servlets can't be compared to C or C++ or whatever other not-webdesign-language. And then what's the most powerful? The one you can work with the best. For example, if 70% of you say C++ is the best, for me it's...
  19. marshian

    PHP Error :

    I didn't say that, but it has to be the first thing to send output like: <?php session_start(); is right <?php session_start(); gives that error <?php echo "text"; session_start(); = error EDIT: send output, not execute like this: <?php $var = "something"; //do...
  20. marshian

    PHP Error :

    session_start() MUST be the first thing to output (like with cookies) if any output has occured before that command, you'll get that error. EDIT: watch your first line! <?php sends already output!
Top