Jump to content

Linc

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Linc's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. If it's not showing up in your php_info, then I doubt the module's installed. To install it, add the ext_gd2.dll file (the filename is something_gd2.dll, anyway) to your extensions folder. The folder is typically in your PHP folder called 'ext' or something like that. Next you need to tell php that it's there by uncommenting that file in your php.ini file (either in your php folder, or in your Windows folder). Give that a try.
  2. What version of PHP are you running? I know 5.1.3 had some file uploading bugs.
  3. Hey everyone, I'm getting ready to develop a set of employment application forms, and I've been thinking about I'm going to be handling the information across the different pages (the main contact info, education, references, etc), and I wanted to see if anyone out here has developed something like this before (or you're just naturally a smart person and know the answer). Right now, I was wondering if I should just keep everything as session variables and then run a transaction on the DB to make sure everything gets put in ok (the data's going to be split into about 7 tables I think), but I was concerned with the size the sessions would start to take up, so I'm hoping there's a better way. Have any ideas? Thanks in advance.
  4. No, they're not getting any error messages. Well, what happens is when there is an error, it displays the error message in the pic. The error message it's giving them is that the file it's trying to re-size doesn't exist. The wierd thing is that I'm able to see everything fine on my end. They're adding everything properly as far as I can tell since I'm on the phone going through it step by step...plus, I can see the new image on the site as soon as they're done. And I know they're not nuts (relatively) because I walked them through taking a screen shot and emailing it to me. It honestly looks like the server-side code only craps out on 3 computers in the country :-P! They're not trying to upload bitmaps or anything, the system only takes jpegs, gifs, and pngs and there's a size limit.
  5. Well, the actual thumbnail code is courtesy of phpThumb (http://phpthumb.sourceforge.net). As for the invocation, it's: [code] while (($prod_row = mysql_fetch_array ($products, MYSQL_ASSOC)))         {           echo "<tr>";                      echo "<td style=\"border-bottom-style: solid; border-bottom-width: 1px; color:white\" valign='top'><p align='center'>[b]<img src=\"phpthumb/phpThumb.php?src=" . UPLOAD_PATH . $prod_row['filename'] . "&w=310\" width=\"95\">[/b]</p></td>";                      echo "<td style=\"border-bottom-style: solid; border-bottom-width: 1px; color:white\" valign='top'><p>$prod_row[product_number]</p></td>";           echo "<td style=\"border-bottom-style: solid; border-bottom-width: 1px; color:white\" valign='top'><p>$prod_row[title]<br><br></td>";           echo "<td style=\"border-bottom-style: solid; border-bottom-width: 1px; color:white\" valign='top'><p>24 hours</p></td>";           echo "<td style=\"border-bottom-style: solid; border-bottom-width: 1px; color:white\" valign='top'><p>$$prod_row[price]</p></td>";                      echo "<td style=\"border-bottom-style: solid; border-bottom-width: 1px; color:white\" valign='top'><p><a href='product.php?product=$prod_row[prod_id]'>View Product</a><br /><br /><a href='#'>Add to Cart</a></p></td>";             //echo "<td style=\"border-bottom-style: solid; border-bottom-width: 1px; color:white\" valign='top'>$prod_row[description]</td>";             echo "</tr>";           } [/code] An example of the final <img> code would be: [a href=\"http://store.miracleperformance.com/phpthumb/phpThumb.php?src=/upload/MP2202.jpg&w=310\" target=\"_blank\"]http://store.miracleperformance.com/phpthu...P2202.jpg&w=310[/a] src = path to the file including filename w = width of the image Hope that helps. --Joel
  6. Hey everyone, I'm hoping someone here can help me. Basically, I'm trying to put together a really simply product catalog for someone. The problem is that I'm using a thumbnail generator to make the thumbs for product images and it works on every computer I'm tried it on...including friend's computers I've IMed the link to. However, on the clients computers it says that the image uploaded does't exist. Here's the fun part...everything works fine every computer I've tried it on! Their photos are uploaded and the thumbs are running fine. Here's a link to the current site: [a href=\"http://store.miracleperformance.com/listing.php?cat=2\" target=\"_blank\"]http://store.miracleperformance.com/listing.php?cat=2[/a] If anyone has some suggestions or anything, please help!
  7. Hey everyone, I'm working on the backend Admin section of website since there's going to be a max of 3 people allowed there, I was wondering if it would be easier to just set it up with HTTP authentication instead of user logins. I'm not concerned with tracking which user does what, so this is simply a security issue. Any thoughts?
×
×
  • 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.