Jump to content

JacobYaYa

Members
  • Posts

    78
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

JacobYaYa's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Double quotes also makes PHP have to parse the string but that doesn't really matter unless you have a big site.
  2. some info also try adding the below lines to .htaccess php_value post_max_size 8M php_value upload_max_filesize 8M
  3. I think he means he has like $_SESSION['somevalue']; $_SESSION['anothervalue']; just use unset()
  4. You can do [...] echo "<td style=\"background-color:#ff0000\">$day_link</td>\n"; [...] Better to do it with a class to keep the web standards mob happy.
  5. If you are just wanting to set the variable, you can do this <?php $kw = (isset($_GET['kw'])) ? $_GET['kw'] : 'something you choose'; ?>
  6. Is this on your own development server or have you got this up on live webhosting? I know my host, Dreamhost, limits file uploads to 2mb. I think you have to use perl to get around it.
  7. I recommend going through the tutorials that come with Flash to get you started then moving on to something like O'Reilly Essential ActionScript 3.0 (or an older version if you want to do AS2.0). The O'Reilly books are best for AS because the are written in partnership with Adobe.
  8. Don't Make Me Think! A Common Sense Approach to Web Usability by Steve Krug. http://www.webdesignfromscratch.com is a series of tutorials covering the whole web design process from planning and scope to the final touches with JavaScript & DHTML.
  9. I haven't done this for a while but I think when you type the address into the browser address bar or use an absolute link it is called an "external" redirect and you won't get HTTP_REFERER etc. What I did last time was like [...] if (!isset($_SERVER['HTTP_REFERER'])){ //user has mistyped url }elseif (isset($_SERVER['HTTP_REFERER'])){ //your fault. Internal error so HTTP_REFERER & REQUEST are now usable. }
  10. Not sure if this is what you are looking for but maybe vars.php <?php $myCss = '../css/sec.css'; //Make sure path is correct ?> section.php <?php include 'vars.php'; ?> <html> <head> <link rel="stylesheet" href="<?php echo $myCss; ?>" /> </head> [...]
  11. http://wiki.creativecommons.org/XMP_Implementations Look under JPG section. There is a PHP library that looks promising.
  12. This is JavaScript and having a quick look at that mess you have on "onmousedown" on that <tr> I can't really see any problem so you maybe post all your JavaScript from the <script> tags etc.
  13. First you are going to need to use substr with strrpos to grab the file extension then on this line $uploadfile = $uploaddir . $code. basename($_FILES['upfile']['name']); you will change to $uploadfile = $uploaddir . $code. $fileExtension);
  14. Fat and rich for sure like Tony Soprano. Nirvana or Backstreet Boys
×
×
  • 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.