Jump to content


  • Posts

  • Joined

  • Last visited

About bd1e0d0

  • Birthday 12/30/1988

Contact Methods

  • Website URL
  • ICQ

Profile Information

  • Location
  • Interests
    You're asking ME???

bd1e0d0's Achievements


Newbie (1/7)



  1. You can have JavaScript on VBScript on the same page?
  2. bd1e0d0

    PHP My Admin

    I got WAMP (PHP+MySQL+Apache [i got sick of IIS]) and it came with PHP My Admin. What is this?
  3. bd1e0d0

    Login Page Codes

    I believe the best way to go is by MySQL and sessions. So I have no clue. Do your homework on those and you should get what you need .
  4. bd1e0d0

    File List

    Good for you, (so do I) .
  5. bd1e0d0

    File List

    Yeah, I guess the one I was using was pretty generic. This one's better, using separate arrays for files and directories. Kind of a nice touch. Thanks, Clavin.
  6. bd1e0d0

    File List

    if($handle=opendir('.')) { while(false!==($file=readdir($handle))) { if($file!=".") { echo("$file<br />"); } } closedir($handle);} I think I'm using a generic file lister, ergo I think I'm screwed. Is there anyway through this script that I can make all the directories (folders) list first? If not, can anyone tell me a script that can?
  7. Nah, I just put that put there as what I liked. ASP and PHP are, like, the dominant server-side languages. CGI is dying ...
  8. bd1e0d0

    new message

    If you mean JavaScript alert, try this: <html> <body onLoad="alert(document.getElementById("text").value);"> <input type="hidden" id="text" value="<?php echo($_POST['your_var_here']); ?>" /> </body></html>
  9. bd1e0d0

    Basic Question

    Ask an admin or a mod to clean it up, that's all I can think of.
  10. bd1e0d0

    picture comment

    If you meant to check the code, I can't from the site itself. You need to email the page or something to get at the PHP script. Also, PHP is increadibly easy, you could learn the basics in less than 5 minutes, tops, here: http://www.w3schools.com/php/php_syntax.asp.
  11. bd1e0d0

    Basic Question

    It's staring you right in the face! Your form was set to POST, and your variable was set to $_REQUEST. Use $_POST to get the variable. But if you wanted to use $_REQUEST, set the form to GET. Here (fixed up some of the XHTML for ya, too, also got rid of the comments beacuse I knew you put them there for this board):HTML File: <html> <head> <title>What’s your name?</title> </head> <body> <h1>What’s your name?</h1> <h3>Writing a form for user input</h3> <form method="post" action="/hiUser.php"> Please type your name: <input type="text" name="userName" value="" /><br /> <input type="submit" /> </form> </body></html> PHP File: <html> <head> <title>hiUser.php</title> </head> <body> <h1>Hi User</h1> <h3>PHP program that receives a value from "whatsName"</h3> <?php $userName=$_POST['userName']; echo("<h3>Hi there, ".$userName."!</h3>"); ?> </body></html>
  12. Or if you have XP Pro, you could install IIS then PHP. IIS also comes with ASP. I find I really don't need that other stuff. PHP, ASP, and ColdFusion are what I like.
  13. Hope you got it as "\n."<?php echo("<textarea>Hello.\nHow are you?</textarea>");
  14. bd1e0d0

    PHP Search Script

    I kinda sorta knew how to make the Google search anyway. Although it's more simple to do this:<html> <head> <script language="JavaScript" type="text/javascript"> function gsearchme() { window.location="http://www.google.com/search?q=" + document.forms.google.q.value + " site:http://my.web.page/"; } </script> </head> <body> <form name="google" action="javascript:gsearchme();" method="get"> <label for="q">Google</label> <input type="text" name="q" /> <input type="submit" value="Google Search" /> </form> <body></html> It works, trust me. All browsers.
  15. bd1e0d0

    PHP Search Script

    I don't do sessions, I view them the same as cookies. They're stupid and I hate them. [i actually don't know hoe to do them, heh heh ... ]
  • Create New...