Jump to content
Stef's Coding Community

cornetofreak

Member
  • Content Count

    21
  • Joined

  • Last visited

Community Reputation

0 Neutral

About cornetofreak

  • Rank
    Member

Profile Information

  • Location
    United Kingdom

Contact Methods

  • Website
    http://N/A
  • Other
    cornetofreak@gmail.com
  1. there's a system i know of called "Ajax 4 five star rating" and using Ajax/Php/Mysql.. heres the link Link 1: http://masugadesign.com/the-lab/scripts/unobtrusive-ajax-star-rating-bar/ But i would say you can use this for a more acute rating http://nofunc.org/AJAX_Star_Rating/
  2. Change header( "Location: http://www.mysite.com/contactthanks.html\"); to if(!headers_sent()){ header("Location: /contactthanks.html"); exit(); }
  3. I have wave account and willing to give them away, just PM me
  4. you might want to look into the php zip class that comes in PHP5... this way you can loop all your images and the output a zip file containing your images
  5. a simple referer check in php would work or if there already using a stats program they will be able to see.. on every outbound link to the checkout just add a variable to the URI for e.g. http://www.store.com/product/87/dome-product-name/?referrer=mysite.com then they can filter there tracking by the referrer variable and see how many times that url has been open with the value of mysite.com
  6. The least i could do was secure it and neaten it up for you.. hate to see code like this... <?php mysql_connect('localhost','bcheight_mbdc','frog123'); mysql_select_db('bcheight_mbdc'); $s = mysql_real_escape_string($_GET['s']); $result = mysql_query(sprintf("SELECT * FROM after_school_services WHERE Student_name = '%%%s%%'",$s)); $Data = ""; while($row = mysql_fetch_assoc($result)){ $Data .= sprintf( '%s Student Id: %s Student Name: %s D.O.B.: %s Sex: %s Grade: %s Class Room: %s Teacher: %s Parent\'s Name: %s Language: %s Home Number: %s Work Number: %s Cell
  7. Heres my version you can use Key-Features: Simple OOP Plain-Text OR Html Formatted Use both Plain-Text and Html to help with unsupported clients Able to add attachments of any sort Based on PHP-Mail Multiple Recipients in one batch Built for "Php Newbies" Available on PhpClasses for download Some Usage Smaples Simple Plain text <?php //Include the emailer class include 'Emailer.class.php'; //Load the Emailer class into a variable $Emailer = new Emailer; //Setup where and where from the message is being sent. $Emailer->set_to("some_email@some_domain.tld"); $Em
  8. Your webserver is bot set up to auoload .swf files as indexable.... you need to create a html document called index.htlm and within there place the embed code for the flash object/video
  9. theres a script called opencart.... and in there libary they have a PHP5 class for sending emails and its not built into the open cart system.. meaning you can just take the file and use it in other scripts that has attachment support
  10. You should use the force http header commend for content disposition <?php $link=mysql_connect("localhost","root",""); if(!$link) { die("could not connect:".mysql_error()); } mysql_select_db("media",$link); $que="select imageBlob from images where imageId=10"; $ret=mysql_query($que)or die("Invalid query: " . mysql_error()); $data = mysql_result($ret, 0); header("Content-type: image/jpeg"); header('Content-Disposition: attachment; filename="image.jpg"'); header('Content-Length: '.strlen($data)); echo $data; mysql_close($link); ?> shoul
  11. Heya everyone, First of all i would just like to thank Stephan for the hard work and dedication he puts into Killer..... throughout the entire www its hard to discover PHP at its greatest potential, and Stephan is the only person i know who can explain PHP more in depth, So thanks for what your Tutorials/Tips/Videos etc.. Highly appreciated. __________________________________________________________________ Introduction What you will learning to day is how to create a registry type of system for your "Framworke/Website" and how it will help you to manage all of your objects.
  12. also you should load your images from a cascading style sheet, by using on page change the images reload but if you use css they will be catched and your site will load much faster!
  13. make sure in your robots.txt or headers that you are disallowing google ips or hosts.
  14. maybe the theme developer created the theme for a blog that has the login system disabled!. you should look into the wordpress help & support section and there will be some to show you what code to use and where to place it within your template files
×
×
  • Create New...