Recent content by mallett76

  1. M

    Not seeing images

    Prior, when I ran the below code, I was erroring out. Upon further trouble shooting, I discovered that I was erroring out, because the path to the image was wrong. I updated the path to the image, and I am no longer erroring out. It is running. The problem now is, is that when I run the code, I...
  2. M

    Warning: imagecreatefromjpeg(/web/uploads/orig.jpeg): failed to open stream: No such file or directory in C:\xamppNew\htdocs\photo\thumbimage.class.ph

    In the followng folder, C:\xamppNew\htdocs\photo I created the following file fileExistsTestNew.php Which has the following code: <?php $filePath = "/web/uploads/orig.jpeg"; if (file_exists($filePath)) { echo "File exists: $filePath"; } else { echo "File does not exist: $filePath"; } ?>...
  3. M

    Warning: imagecreatefromjpeg(/web/uploads/orig.jpeg): failed to open stream: No such file or directory in C:\xamppNew\htdocs\photo\thumbimage.class.ph

    When I run the following code: <?php // example.php #require_once $_SERVER['DOCUMENT_ROOT'].'/common/configs/config_templates.inc.php'; require "thumbimage.class.php"; /* $objThumbImage = new ThumbImage("/web/uploads/orig.jpg"); $objThumbImage->createThumb("/web/uploads/thumb.jpg", 125); */...
  4. M

    Unable to connect to Teradata via ODBC connection on Windows

    This IM is a follow up to the question I had posted a couple of weeks ago about connecting to Teradata via PHP. Through a little bit of hacking, and an awful lot of trial and error and researching, I figured out how to connect to Teradata via PHP, I'll share, as it seemed as though others may...
  5. M

    Unable to connect to Teradata via ODBC connection on Windows

    When I go to the control panel, ODBC administrator, and I enter in my credentials I can connect to Teradata. However, when I try to connect to Teradata using php, I am receiving an "Warning: odbc_connect(): SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default...
  6. M

    NTLM Authentication

    Hello, I created a website for my company, and it had run fine for years. Then, recently some users were reporting an issue with the site. Digging into it more, it appears as though the NTLM authentication code doesn't seem to be working on some computers, but it does on others. Below is the...
Back
Top