Jump to content

premiso

Members
  • Posts

    6,951
  • Joined

  • Last visited

  • Days Won

    2

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
    http://www.aeonity.com/ab/games

Profile Information

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

premiso's Achievements

Regular Member

Regular Member (3/5)

28

Reputation

  1. /me facepalms
  2. 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.
  3. That is what I said wasn't it?
  4. 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!
  5. I am offended.
  6. Hell on earth? That is my HAVEN!
  7. Don't know what you are talking about.
  8. You can join the IRC Chat! irc.phpfreaks.com #help / #chat We are very selective (about 20 members) and we are el33t.
  9. 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.
  10. $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
  11. 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.
  12. 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.
  13. 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";
  14. You do realize that those URLs do nothing for SEO. They are just friendlier to use / prettier to look at.
  15. 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.