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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by menkes

  1. menkes

    PHP Require in Ajax Requested File

    Thanks for the responses. The required file was pulling in just fine. The database abstraction was not creating a new object since the object had already been created in layout.php. The solution was to simply create a database object unique to submit.php and it worked just fine. As for the...
  2. menkes

    PHP Require in Ajax Requested File

    Fair enough. I have stripped non-relevant code such as validation and layout. container.php <?php require("../include/intranet.inc.php"); $refer = $_REQUEST[refer]; $client = $_REQUEST[client]; $appl = $_REQUEST[appl]; ?> <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0...
  3. menkes

    PHP Require in Ajax Requested File

    I have three files: container.php, content.php, and action.php. All three files use a "require" statement to bring in some global data. - container.php loads -> all good - container.php requests data via Ajax from content.php ->all good - container.php sends form data to action.php via Ajax ->...
  4. menkes

    Dynamic Div Pushing Content Down

    Vragabond, Thanks for the response. I tried absolute positioning. The only element it made a difference on was the 'ls' div. Unfortunately, instead of appearing below the textbox the div appears to the far left of the page...basically the same upper-left position as the 'nav_sub_span' div. - Scott
  5. menkes

    Dynamic Div Pushing Content Down

    First off, design is definitely not my strong point...but I need to get this working. It is an Ajax search box that drops down a suggestion list - standard stuff these days. But I just cannot get the CSS right: Here's the html: <body style="margin-top: 0px; padding-top: 0px;"> <div...
  6. menkes

    mssql query - fixed length column pads with spaces

    OK, no need to respond to this. After much digging I found that the automatic trimming of return values was disabled in php_mssql long ago. So, unless someone is upgrading from a pre-2005 version (such as I was), this should not be an issue for anyone.
  7. menkes

    mssql query - fixed length column pads with spaces

    Using PHP 4.3.9 results from a query DID NOT include spaces at the end of a fixed length column: select fld from tbl where id = 1 assuming fld is varchar(12) returns '12345' I moved my site to a new server using PHP 5.2.8. No changes at all to the database. The same exact query now returns...
  8. menkes

    PHP4 ISAPI to PHP5 FastCGI Issues

    Well, definitely a path issue. The function call failing was a false lead. I now get the correct error about the required file missing. I do have Errors on. Not sure why it was misleading me.... So the path points to c:\wwwroot\inetpub which is not where i put files. I seem to recall there is...
  9. menkes

    PHP4 ISAPI to PHP5 FastCGI Issues

    The include is not the problem, but I believe you sent me on the right track. I expected that the script would throw an error if it could not load the required file. But, then I noticed images were not loading. If I spell out the path to the image it works though...
  10. menkes

    PHP4 ISAPI to PHP5 FastCGI Issues

    Thanks for the response. I updated my requires to be explicit in path. Unfortunately, same result.
  11. menkes

    PHP4 ISAPI to PHP5 FastCGI Issues

    Feherke, excellent! Thanks for the reference. That clears up #2 for me quite nicely
  12. menkes

    PHP4 ISAPI to PHP5 FastCGI Issues

    As the subject says, I am converting an existing site. Specifically from 4.3.9 to 5.2.8 on Windows 2003 server using IIS6. I seem to have two problems that, although I have read the manual and many sites, I just cannot get my brain around. 1. Scope: Something has changed here, but I do not...
  13. menkes

    li tag style not working

    Thanks for the responses. I know the code is a bit sloppy...but I was testing some things out. Thanks to Vragabond I realized that using the li tag for the class was wrong. I needed to inherit from the base class for the div (that being .menu1) and place the style in the correct hierarchy...
  14. menkes

    li tag style not working

    CSS is NOT my strong point, but I need to get this template working. I use PHP and a database to dynamically generate a navigation menu. Although I 'know' which page the user is on, I cannot seem to make my list item display correctly. Here is an example of the generated HTML: <div...
  15. menkes

    MSSQL Query While Looping through Previous Result Set

    Excellent response. While all the options seem viable, I chose to modify the abstraction layer directly. Not only does it work, but appears to run a bit faster. Thanks!

Part and Inventory Search

Back
Top