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 SkipVought 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. dreamaz

    Using PHP to authenticate a user against a Cisco ACS (TACACS) server

    Hi Guys, I have a team website which i want to add authentication against a TACACS+ server we have in production, can anyone point me in the right direction? I've been googling this but to no avail The web page is currently in PHP/MySQL with no authentication currently
  2. dreamaz

    HTML link to a file on intranet shared drive

    No change. Actually when i put my mouse over the link, the slashes are already converted in my status bar..
  3. dreamaz

    HTML link to a file on intranet shared drive

    Hello, I'm trying to create a link to a file on a shared drive, doesn't seem to do anything when i click on it. When i right-click the link and use copy shortcut then i paste it my address bar it works fine: <a href="\\SERVER\Group\Services\calllist.doc">2009 Who-to-call List</a> ANy help is...
  4. dreamaz

    PHP5 and $_SERVER['REMOTE_USER']

    Any other ways of getting this info? the web server is just a LAMP box on my desk which i use to serve the team
  5. dreamaz

    PHP5 and $_SERVER['REMOTE_USER']

    I have a page which allows editing from users, i'm trying to prepend the test with $_SERVER['REMOTE_USER'] to display the user's domain account (to better identify who put the update there) I get no results when i use that variable, when i try with REMOTE_ADDR i can see the IP address. Checked...
  6. dreamaz

    Retrieving only the last 400 chars from recordset

    You got me at the 'decrementing in one until you find a whitespace' Currently the code is <?php echo nl2br ($row_GetProject['Details']); ?> I'm guessing you suggest <?php echo substr($row_GetProject['Details'], -400); ?>
  7. dreamaz

    Retrieving only the last 400 chars from recordset

    Hello, I have a fulltext field of over 10K chars. I am building a summary page to retrieve all the fields. I would like only the last 400 (or less) chars of this particular field displayed. To make it a bit more complex, this field has multiple lines with spaces, some lines start with dates...
  8. dreamaz

    csh script running on IPSO platform

    Hi, We're running IPSO (modified unix) on a Nokia firewall. I've created a script in csh to output certain commands to a textfile. The script works fine when executed but when i crontab the script to run, all the data that was outputed to a text file appears all on one paragraph (table...
  9. dreamaz

    how to CAT a txt file within an html page

    Hello, I've put together an HTML page where i want to display the uptime of my solaris servers. I already have a script that dumps the uptime and awks the field i need into a .tmp file. I need to cat this file so it's displayed on the html page.. Any help is appreciated. Thanks,
  10. dreamaz

    R61 NGX changing DF bit from 1 to 0

    Hello, Our firewall is changing packets with the DF bit from 1 to 0 and this is causing issues with a few of our applications. There are threads that refer to Keep_DF_Flag being changed in dbedit but i've been informed this does not work in clustered environments (which we are running) does...
  11. dreamaz

    Take data from text field and append to a text file

    hello, Im pretty new at this, what i'm trying to do is add a form on my website with one textfield. I'd like users to enter in their email address then submit, this information should get added to a text file resident on the web server. This is an email registration page I can then mass mail...
  12. dreamaz

    mail script from web server, changing the reply header

    Worked.. thanks for the tip
  13. dreamaz

    mail script from web server, changing the reply header

    hello, I have a mail script on a hosted web server which clients can fill out and send to me, problem is that when i get the mail, it shows From: <my webserver account> instead of the sender's email address so when i reply im replying it to myself or have to cut and paste the clients' email...
  14. dreamaz

    Encrypting my .SH file to prevent ppl from CATing the contents

    How can i encrypt/compile this so that people cant CAT my .sh file? I see some other scripts on our system with a .sh.x and when i cat it its all encrypted Any ideas? Thanks
  15. dreamaz

    Unix .sh script stripping line feeds from grep

    Thanks, How can i encrypt/compile this so that people cant CAT my .sh file? I see some other scripts on our system with a .sh.x and when i cat it its all encrypted Any ideas? Thanks
  16. dreamaz

    Unix .sh script stripping line feeds from grep

    That worked! thanks lot..
  17. dreamaz

    Unix .sh script stripping line feeds from grep

    Hello, I have a .sh script that grep's a text file, when the result is returned, its all mixed in together in one line...
  18. dreamaz

    Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING

    Hi, can someone please tell me whats wrong with this, i keep getting the above error // Build the local command executed on this server. $cmd = $this->ssh_cmd . ' -n -F '.$config_file.' -i '.$sshkey.' '; $cmd .= $this->user . '@'.$this->host. ''.$command.'' > '/dev/null &'; Problem is...
  19. dreamaz

    Run commands on sun solaris box using PHP script and output to page

    Ohh i forgot, this should include an SSH <ip> command at the begining so it can ssh into a box here and also the pasword which i can include in the script, then from there it will do the command line GREP etc.. Thanks
  20. dreamaz

    Run commands on sun solaris box using PHP script and output to page

    Hello, I'd like to create a php page with a txtfield requesting user to enter in a number and using that variable, run a grep command on a sun solaris box against a logfile - and return the results back to the page. Im relatively knew to the sun side of things, but I am ok with PHP, any help...

Part and Inventory Search

Back
Top