Jump to content

LiamProductions

Members
  • Posts

    496
  • Joined

  • Last visited

    Never

Everything posted by LiamProductions

  1. hey. Just in the last 5 minutes i've made the change from IE 7 to Firefox [which im on now] and i can't believe it i'm already in love with Firefox Anyone using IE get firefox now I see FF in being a big browser in the future Except you can't use the ALT + S for quick post or it will bring down the History menu
  2. Hey. Just wondering who has there windows media player like this: What i really want to know does it make your computer run faster?
  3. If you get your online web cam streaming running. Tell me your link i'd like to see you PHP Coding
  4. I've got it working now and i have a cookie installed on my pc
  5. Hey. I'm just doing something simple trying to store the input from one page into a cookie so it can be outputted on other pages heres the scripts: <form method="post" action="secondpage.php"> Name: <input type="text" name="name"> <input type="submit" value="go"> </form> and... <?php setcookie("user", "$name", time()+3600); extract($_COOKIE); if (isset($_COOKIE['user'])) echo "Welcome " . $_COOKIE['user'] . "Enjoy the site<br />"; else echo "Hello Guest!!<br />" ?> Its just comming out as "Hello Guest!!" when the form is submitted i want it to come out as Welcome [NAME THEY INPUTTED] Enjoy the site but if they didnt input a name i want it to output Hello Guest!! any suggestions on what im doing wrong ?
  6. Hey. Good job on your site which im a member on
  7. Oh, Your working on it for someone.
  8. Don't you think this is a bit stupid "You fought Azeem!... demo attacked with nuclear bomb! Azeem defended with paper bag! Demo attacked Azeem again..." PAper bag to defend a nuclear bomb?
  9. I like the javascript to open the login panel but.. I can't seem to register.
  10. Hey. I've made a script to get all the .php extension files in the directory and make a link to them. Now. I was wondering how do i make it so that i can make it so the filetype comes at the end like PHP or .php I have tried filetype($filename) but it says file :s Heres code: <?php error_reporting(E_ALL); foreach(glob("*.php") as $filename) { echo "<center>"; echo "<table border=\"0\ cellspacing=\"50\"><tr><td><a href=\"$filename\">$filename</a></td><td> " . filesize($filename) . "KB</td><td>" . filetype($filename) . "</td></tr></table>"; } echo "</center>"; ?>
  11. it won't let me edit my last post so if a mod can edit it and put my new pic:
  12. For a start... Does your webcam allow a web page stream?
  13. Do you really want me to answer this? Yes, I do.
  14. Hey, I was wondering if these two codes actually work reason i can't test my self is because i don't have STMP server or whatever on my localhost and my web host is down Heres both codes: friends.html: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <meta name="author" content="Liam"> <title>Liams friends message</title> </head> <body> <table border="0"> <tr> <form method="post" action="success.php"> <td><b>To:</td></b><td><input type="text" name="to"></td> <tr /> <tr> <td> <b>From: </b></td><td><input type="text" name="from"></td> </tr> <tr> <td><center></center><input type="submit" value="Invite Friend!"></center></td></tr></table> </form> </body> </html> AND... success.php: <?php extract($_POST); echo "Your invite has been sent to $to"; $subject = "Your friend has invited you!"; $message = "Your friend $from has invited you to join http://www.liamproductions.com Click the link to go there now!"; $headers = 'From: friends@liamproductions.com' . "\r\n" . 'Reply-To: msn@liamproductions.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $headers); ?> Would that come to someones email like From: friends@liamproductions.com Reply to: msn@liamproductions.com Subject: Your friend has invited you! Message: Your friend [FROM FIELD ON FIRST PAGE] has invited you to join http://www.liamproductions.com Click the link to go there now! Would it?
  15. I thought that what you wanted if they didnt have an avartar ^o)
  16. I know this is a bit off topic but do you really sell houses?
  17. It works for me. Just does'nt update it inless i close the browser then re open it. well achually it only works if im using the link on a page on my website.
  18. Not sure... but you could give it a try: $avatarinfo = mysql_query("SELECT user.avatarid, user.avatarrevision, avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline,customavatar.width, customavatar.height FROM vb_user AS user LEFT JOIN vb_avatar AS avatar ON avatar.avatarid = user.avatarid LEFT JOIN vb_customavatar AS customavatar ON customavatar.userid = user.userid WHERE user.userid = '$userid'"); while ($query_row=mysql_fetch_array($avatarinfo)) { if (!$avatarinfo == "") { $avatarurl= imagecreatefromgif('forums/images/avatars/noavatar.gif'); } else { $avatarurl= imagecreatefromgif("forums/$query_row[avatarpath]"); } }
  19. Is'nt this Regex? Like if you use <i> </i> the script will turn it to if you choose it to.
  20. Thanks to this i made a script (I dont achually need it but i still made it i still had problems lol but i fixed them) <?php error_reporting(E_ALL); foreach(glob("*.php") as $filename){ echo "<a href=\"$filename\">$filename</a> <br />"; } ?> it will get all the file names with .php and link to the file name like a directory kinda
  21. Go to http://www.phpvideotutorials.com watch the video on Cookies then start developing
  22. Even though this isnt my topic.. Thanks. I've learnt a new syntax
×
×
  • 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.