Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Kriekie

    Perl Script Output in text? (w3c validator)

    Hi, Yes: I've created a virtualhost in the apache httpd.conf :: <VirtualHost ***IP Adress***> ServerAlias w3c.myserverhere.com www.w3c.myserverhere.com ServerAdmin email@w3c.myserverhere.com DocumentRoot /usr/local/validator/htdocs/ ServerName w3c.myserverhere.com BytesLog...
  2. Kriekie

    Perl Script Output in text? (w3c validator)

    Hi I've just installed the w3c validator on my server (and triple checked the installation instructions). But when the form is submitted to the "check" form, the entire perl script is outputed to the screen instead of executed. Anyone know how I should fix this? Thanks!
  3. Kriekie

    Variables passed incorrectly

    Hi All! I have the following php code in a form: $Limit = 1; $Page = $_REQUEST["Page"]; if(empty($Page)) {$Page = 1; } $Start = $Page / $Limit - 1; if($Start <= 1) {$Start = 0;} $list = mysql_query("SELECT * FROM detail LIMIT $Start, $Limit") or die(mysql_error()); $num =...
  4. Kriekie

    Blob images in mail()

    Nope, it still does it.
  5. Kriekie

    Blob images in mail()

    Hi I have a script that successfully sends a message: (The Basic Script): $from = "me@myemail.co.za"; $subject = "Test E-Mail"; $headers = "MIME-Version: 1.0\r\n"; $headers = "From: My Email<$from>\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; $message = "This is an...
  6. Kriekie

    Black block after image resize?

    Hi I have this script that uploads a file, resizes it and saves it as a blob into a database, then displays it. Without the resizing it works fine, but as soon as I resize it the image is replaced by a black block. Any help will be appreciated. <?php error_reporting(E_NONE); $conn =...
  7. Kriekie

    Resource id #4 Error on Binary Row

    Hi I'm trying to access an image from a binary blob row in mySQL, but keep getting the error "Resource id #4" The code I'm using: <?php @require("scripts/connect.php"); $iid = $_REQUEST[iid]; $Query = mysql_query("Select image from image where image_id = $iid"); header("Content-type...
  8. Kriekie

    Operating System Detection

    Hi All! I have a custom popup script that works fine with Windows XP Professional, but not with XP Home. I want to add a script that will detect wether the user is using XP Home or XP Professional and then redirect the user according to these variables. However, the only scripts I can find...
  9. Kriekie

    PHP and Operating System Detection

    Hi All! I have a custom popup script that works fine with Windows XP Professional, but not with XP Home. I want to add a php detection script that will detect wether the user is using XP Home or XP Professional and then redirect the user according to these variables. Any ideas how this can be...
  10. Kriekie

    Undefined Index error on paging scripts

    Hi All I have a simple db table containing fields for ID, Ref # and Image name. The Ref field is NOT a unique key field. Below is my php script. It displays the first record, but as soon as I click on the "next" button, I get the error "Undefined Index: Ref on....." <?php...

Part and Inventory Search

Back
Top