Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


premiso last won the day on September 27 2012

premiso had the most liked content!

About premiso

  • Birthday 01/25/1983

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location
    Hairy Beaverville
  • Interests
    Badgers and growing cheese.

premiso's Achievements

Regular Member

Regular Member (3/5)



  1. Try these headers: /* Your other code above, minus the image/png header */ $image = imagecreatefromstring($row['thumb']); header('Content-Description: File Transfer'); header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment; filename="'.$filename.'"'); //<<< Note the " " surrounding the file name header('Content-Transfer-Encoding: binary'); header('Connection: Keep-Alive'); header('Expires: 0'); header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); header('Pragma: public'); header('Content-Length: ' . strlen($image)); echo $image; ?> Making necessary changes like the file name. You only use the image/png header when you want to display the image.
  2. I just cranked out my latest Article / Blog type site, lxt.me and wanting some feedback on it. It is very simple just meant for me and was a project that I used to learn more about Symfony2. I am more or less looking for critique on the flow of the site / colors etc, not so much functionality. Thanks!
  3. Don't know what you are talking about.
  4. You can join the IRC Chat! irc.phpfreaks.com #help / #chat We are very selective (about 20 members) and we are el33t.
  5. More than likely it will be a path issue. Do you have display errors turned on and your error_reporting set to E_ALL? If not that would be the first step I do is to try and get an error.
  6. $pos = strpos($description, 'I hate this part'); if ($pos !== false) { $firstpart = substr($description, 0, $pos); }else { echo 'Section was not found'; } echo $firstpart; Using a mixture of substr and strpos
  7. I use bash I know of http://sourceforge.net/projects/mysqlcc/ which works decent. The workbench I just hated. The MySQLCC program was the best I found, but I still prefer to use the CLI.
  8. Sorry, I tend to take articles written by self proclaimed SEO experts very lightly. http://goo.gl/Qfc9w That is a PDF written by Google about SEO Practices for their search engine. They state that no matter URL format used, they do their best for the relevant content and not just the URL. Now, for other search engines other than Google, it may matter. However, I doubt it matters as much as people think it does and as far as it being the effort just for SEO, I think it is not worth it. However, if you want people to be able to know what they are going to by the URL, then it is worth it. My 2 cents from my experiences.
  9. As mikosiko said, remove the <br/> and you will also want to add a \n inside of it for the break. echo "Exec dbo.hiddenprocedure '".$i ."', 350000 \n";
  10. You do realize that those URLs do nothing for SEO. They are just friendlier to use / prettier to look at.
  11. According to the Sourceforge Code site: $element = $html->find("font[size=-1]", 3); echo "Width is: " . $element->width . '<br />';
  • 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.