Jump to content

chaoswarriors

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

chaoswarriors's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. im a noob w/ php, but learning fast! i made a website (html) for a friend in an hour (it pwns face) still learning php so help be appreciated =) [code]<form action="welcome.php" method="get"> Name: <input type="text" name="name" /> Age: <input type="text" name="age" /> <input type="submit" /> </form>[/code] When the user clicks the "Submit" button, the URL sent looks something like this: [code]http://www.wowl33tskillzomgpwnd.com/welcome.php?name=Peter&age=37[/code] Is there anyway to scramble it so they cant comprehend it? [code]http://www.wowl33tskillzomgpwnd.com/welcome.php?!adgkn-0234tnm0h2en09u4[/code] Not to be exactly like that, (its just random letters)  but where its encoded =D welcome.php [quote]Welcome <?php echo $_GET["name"], <?php echo $_GET["age"]; ?>.<br /> [/quote]
  2. i cant get this stupid thing to work.. i just started getting into MYSQL: Lets say to start, my DB name is Johndoe_db, my pass is WoWrocks Am i just doing something wrong? ??? [code]<?php $con = mysql_connect("localhost","johndoe","WoWrocks"); if (!$con)   {   die('Could not connect: ' . mysql_error());   } // Create database if (mysql_query("CREATE DATABASE db",$con))   {   echo "Database created";   } else   {   echo "Error creating database: " . mysql_error();   } // Create table in my_db database mysql_select_db("db", $con); $sql = "CREATE TABLE Person ( FirstName varchar(15), LastName varchar(15), Age int )"; mysql_query($sql,$con);mysql_close($con); ?> [/code] [quote]Error creating database: Access denied for user 'johndoe'@'localhost' to database 'db' [/quote]
  3. [quote author=wildteen88 link=topic=109830.msg443078#msg443078 date=1159453391] Prehaps [url=http://www.firepages.com.au/php_usb.htm]this si[/url] what you're after? [/quote] ty! will try when i get home
  4. i have a 512 MB sandisk usb drive ive heard that you can put a "portable server" program Where you just start it, and then it runs as a server (and you can use PHP pages) Would help so i can get my friend to help me with something im designing thanks a bunch in advance
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.