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 Mike Lewis 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. anders2002

    Findout the page we're in?

    Just worked it out! I can use $PHP_SELF!! Sorry for wasting your time!
  2. anders2002

    Findout the page we're in?

    Hi I would like an include in a PHP script to indentify the page into which it has been included....how can I do this? Tried the $http_referer but that's not giving me the right answer as it tells me the link that loaded the page that calls the include file... Cheers, Anders
  3. anders2002

    Autoload a webpage

    Great - thanks for all your suggestions it works treat now! I did the following 0 1 * * * /usr/local/bin/php ~/secure/crm/admin/cron.php
  4. anders2002

    Autoload a webpage

    Hi, How do I setup a linux system using CRON to automatically open/view a PHP page (or just execute its content!) Ideally I want a php page to be run every morning at 1am that performs a number of email routines via data from a mysql database. Is CRON the right area to be looking in for this...
  5. anders2002

    Search scripts

    Hi, I've got a problem with a search I am trying to perform in MySQL: I have a company table and a contacts table. They are linked by a table called contactassocs which simply assigns an ID to an entry where the companyId and contactID and entered. This is the assocID. I want to do a 'like'...
  6. anders2002

    Alias Directory

    Hi, I am trying to setup my apache installation so that when a php script attempts the following include: /var/www/main/glcorp_php_settings/settings.php it actually looks at: C:/Program Files/Apache Group/Apache/htdocs/glcorp_php_settings/settings.php How can this be done? I have tried...
  7. anders2002

    NOT distinct???

    You are a mysql god! Thanks ever so much! Anderz
  8. anders2002

    NOT distinct???

    Thanks for that, but what I actually want to find is this: ContactID CategoryID 1 1 2 2 2 2 3 3 4 4 5 5 What I would like to find is a sql statement that would identify that 2 2 has been written twice to...
  9. anders2002

    NOT distinct???

    Hi, Is it possible to run a simple query that will return entries in a table that are NOT distinct? Like: Select !distinct from categoryassocs The table contacts ID1 and ID2 and I need to know where there are duplicates? Any ideas? Thanks, Anderz
  10. anders2002

    Multiple DB import/export

    Great! Thanks a lot!
  11. anders2002

    Multiple DB import/export

    Hi, Can anyone explain how to export multiple (i.e. ALL) DBs from one server as a single file then import then to a new server in one go? Anderz
  12. anders2002

    PDF creation problem in Quark 4.11

    cool thanks for the advice! they are massive a4 pics on each page at 300dpi CMYK!!!
  13. anders2002

    PDF creation problem in Quark 4.11

    Hi, Can anyone help explain why it is that when I try to send my 4-page Quark file to Acrobat Distiller only the 1st page prints? When I send it to a paper printer all pages print??? It is only in this specific Quark file that I am having the problem. Has anyone else come across this issue...
  14. anders2002

    Refresh/Reload Problem

    yes
  15. anders2002

    Refresh/Reload Problem

    nothing happens now when i click the 'close and refresh' button?
  16. anders2002

    Refresh/Reload Problem

    Hi, I use this code: onClick=\"opener.parent.mainFrame.location.reload();window.close();\" To close a window and refresh the parent window. However, becuuse the parent output is set by it first of all retrieving a $_GET variable from PHP I get a browser error stating that "The...
  17. anders2002

    Cookie timeout

    Excellent thanks!
  18. anders2002

    Form field blanks on carriage return

    I have found that if I make the PHP check for a form element variable rather than a simple (!empty($Submit)) type check then it works???!!? Weird! Thanks for all your help!
  19. anders2002

    Cookie timeout

    Hi, Can anyone explain how to make a cookie last 1hr but to erase on browser close? Thanks, Anderz
  20. anders2002

    Form field blanks on carriage return

    Sorry my coding is terrible I know! There are two forms the first is ok, it is the second one that is causing problems: <font size=&quot;2&quot; face=&quot;Arial, Helvetica, sans-serif&quot;>Please enter a search string (min 3 chars)</font></strong> </p> <form method=&quot;POST&quot;> <input...

Part and Inventory Search

Back
Top