Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Callum

  • Rank
  • Birthday 10/10/1992

Previous Fields

  • Languages
    (X)HTML, CSS, Basic PHP and Javascript

Contact Methods

  • Website URL
  • ICQ

Profile Information

  • Location
    Berkshire, UK
  • Interests
    Snowboarding<br />Computers<br />Web design<br />School<br />Money<br />Skiing<br />Bass Guitar
  1. Callum

    Php Mail Question

    EDIT 2: Problem solved
  2. could you show us a screenshot?
  3. Callum

    Php Mail Question

    can anyone tell me the fault with this script. I am confused. I am just recieving blank emails. <form action="sent.php" method="post"> <table> <tr><td> Name: </td><td><input type="text" name="appname" size="30"></td></tr> <tr><td> Xfire:</td><td> <input type="text" name="appxfire" size="30"></td></tr> <tr><td>Email: </td><td><input type="text" name="appemail" size="30"></td></tr>
  4. Callum

    PHP Proxy?

    I need a proxy and am fed up of being bombarded with ads using commerical proxies. How would I make a php proxy? Could someone show me how with a tutorial? Also the proxy needs to be able to view images. I am reltively new to php.
  5. Hi, Quick question how do a hyperlink back?Normally you would Hyperlink link thisWebsite/finalversion/Images/Resized/image1.jpg This would get you to the Resized folder from the Website folderHow do you hyperlink backwards???say to get from the Resized folder back to the Website folder?I have some word docs I need to link back to but there backwards, So I'm a bit confused :)Callum
  6. EDIT: Moved on, starting to get the hang of it.EDIT 2: Does every MYSQL database need a primary key??, if so is it possible to set a primary key without deleting the table ???(table is empty at the moment but I don't want to delete it)
  7. This is on my own test host using Wampserver2 though :S. if it helps im running MYSQL 5.0.51bEDIT: Uploaded the script to my online host and I get exactly the same error.Is both my local test server and my online host blocking me from creating DB's? Or is my code incorrect :S
  8. thanks, the new error message is.Fatal error: Call to undefined function mysql_create_db() in C:\wamp\www\newfolder\proj1\create_db.php on line 8I do not understand? :S i thought that was a defined function :S
  9. Hi, I would be gratefull if someone could tell me why this script doesn't actually load. All that happens is that the browser loads a blank page. Can someone tell me where I've gone wrong. Thanks Callum <!-- Create db form --><?php $conn = @mysql_connect( "localhost", "root", "" ) or die( "Could not connect to MySQL" );$rs1 = @mysql_create_db( $_REQUEST['db'] );$rs2= @mysql_list_dbs($conn);$list = "";for( $row=0; $row < mysql_num_rows( $rs2 ); $row++ ){ $list .= mysql_tablename( $rs2, $row ) . " | "; } ?><html> <head> <title>Admin Tools</title> <
  10. Callum

    PHP mail error

    I can't believe I missed the post error lolbut more importantlyhow do I get the variables to display on different lines?Currently it's this $msg = $var1 . $var2 . $var3 . $var4 . $var5; But as you can imagine, the email is impossible to read with all the variables side by sideI tired this, but it just came up with errors not allowing the "\" character $msg = $var1 . \n $var2 . \n $var3 . \n $var4 . \n $var5; Could someone tell me how to display a new varialbe on a new line?EDIT: I'm relatively new to PHP so don't be too harsh :/
  11. Callum

    PHP mail error

    Hi when ever I submit the form, I recieve the email but the data in the $msg varible is not sent. It just sends blank. Can someone show me whats wrong?here is the form <form action="payment.php" method="POST">Name: <input type="text" name="name" size="20"/>Email: <input type="text" name="email" size="20"/><br>Site title: <input type="text" name="title" size="20" />No. of pages <input type="text" name="pages" size="13" /><br>Site topic: <input type="text" name="topic" size="20" /><br><span><p>Images</p></span>
  12. Callum

    setup rant

    Having finally got PHP, Apache and MySQL installed I am hugely relieved but why the ###### is it so damm hard to set up Apache and PHP? It took me ages to fail at setting it up. All I can say is thank god for Wampserver 2. (not sure if im allowed to mention names). How was your experiance setting it up?
  13. Is it possible to connect a Microsoft Access database to your website using php?I know it can be done using asp, but just wondering if you could do it with PHP 5. If so can you use post to get data from the user into the precreated database.EDIT: aslo if it was possible would I store the database file on the host :S or my pc? (unclear on how it works)Callum
  14. Had a look at that, but it's not exactly begginer friendly and the sheer amount of php on the page is daunting unlike the tutorials on the main site.just my 2c
  15. Callum

    white on black

    Black on White is ok as long as its not in huge quantities. e.g. no 600 x 600px black squares on a white backer. However red on white does strain my eyes and I think it is a bad design choice.
  • Create New...