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!

Search results for query: *

  • Users: tijerina
  • Order by date
  1. tijerina

    PHP and sendmail???

    Okay, I am trying something totally different. I was thinking, why don't I just put a generic mail script at the bottom of my php file and when the file is triggered (hence - when a user adds an appointment) it will then spawn the email. I did just that and I am not getting an email. Did I...
  2. tijerina

    PHP and sendmail???

    I am rushing and it is evident. Gang, I am so sorry for posting incomplete messages, I will be more careful... Here is the error.. Parse error: parse error, unexpected T_VARIABLE in /home/virtual/site1/fst/var/www/html/calendar/admin/calAdd.php on line 105 Thanks..
  3. tijerina

    PHP and sendmail???

    Thanks, I did go your route but I am getting this crazy error, I am not sure if my "if" statement is correct. Can you please check it for me.. Here is the code with the mail option in it, it is marked in red.. What I am trying to do here is say: If $record is populated, then send me an...
  4. tijerina

    PHP and sendmail???

    I have a sendmail script that I have used on another perl script that I created, so I figured I could just cut and paste it into my calendar script. Here is the sendmail script.. <script> if ($i==1) { ##NOTIFY THE INTERESTED PARTIES. $server=`uname -n`; chomp $server...
  5. tijerina

    PHP and sendmail???

    Correction on my end, the file that I need to incorporate my sendmail script is this one: -----add event script-------------- <html> <head> <title>Flat Calendar: Add</title> <?php if(ereg("[a-zA-Z0-9]",$event)) { ?> <META HTTP-EQUIV="refresh" content="1;URL=../calendar.php"> <LINK...
  6. tijerina

    PHP and sendmail???

    I know how to send mail via sendmail, but I am lost as to where within my calendar script where I can place my sendmail script.. I have an interactive calendar that my users can schedule an appointment if they need services. I would like to have my interactive calendar send me an email once...
  7. tijerina

    Too many columns in my final awk out script.

    I have this one report that has information that I need to extract and formalized into a more readable solution.. Here is the code: ----------Start of Code Snippet-------------------------- BEGIN { FS=";" frmt="|%-10.10s|%-8.8s|%-9.9s|%-10.10s|%-6.6s|%-10.10s" frmt = frmt...
  8. tijerina

    Did I meet a threashold?

    Thanks for the correction. You know, I read that snippet of code over and over again and did not pick it up.. I am lol with embarrassment now, but I must admit, that happens a ton with me... Thanks again!!!
  9. tijerina

    Did I meet a threashold?

    My site is www.lztworld.com/index.php the code in it is: <html> <head> <title>Company Incorporated -- We make "IT" simple!</title> </head> <body> <table width="100%" height="100%" bgcolor="#FFFFFF"><tr valign="top"> <td width="45%">&nbsp;</td> <td width="10%"> <table bgcolor="#ffffff"...
  10. tijerina

    I am trying to center my index.php webpage..

    Thank you clflava.. You get a star!!!
  11. tijerina

    I am trying to center my index.php webpage..

    Hello clflava, I used your code: <html> <head> <title>title here</title> </head> <body> <table width="100%" bgcolor="[COLOR=OF THE VERTICAL BAR]"><tr valign="top"> <td width="45%">&nbsp;</td> <td width="10%"> <table bgcolor="#ffffff"><tr> <td> page content here... </td> </tr></table> </td>...
  12. tijerina

    I am trying to center my index.php webpage..

    Jeesh, All I wanted was some help to get my little site working, not to change the entire internet or anything like that.. I am on a learning path and I am sure we all have our own way of learning.. Yeah, arrogant was harsh, not needed in this forum (if you can't think of a better way, then...
  13. tijerina

    I am trying to center my index.php webpage..

    Thanks for the suggestion.. I did run it through the code checker and I do not agree with some of the findings. Some of the errors it found were compliancy (standards)issues, not bad code to where it doesn't work. I just want to get it to work now (this is development, I will work on fixing...
  14. tijerina

    I am trying to center my index.php webpage..

    Point served vongrunt, I was a little apprehensive about posting the development site for this project, but here it is.. http://www.lztworld.com/index.php The goal is: Have the top bar flush with the top of the window. When you go to the site, you will see that the very top blue and yellow...
  15. tijerina

    I am trying to center my index.php webpage..

    Thanks but the centering isn't working too well..
  16. tijerina

    I am trying to center my index.php webpage..

    Hello all, Here is a snippit of my inded.php file.. -----start of snippit----------------------- I would like to center this entire webpage, I am not sure how to do it. <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Company Incorporated -...
  17. tijerina

    .htaccess/.htpasswd a file not a directory..

    Thanks anyway, I have the fix... Here it is!!! Place this code snipit: <?php $auth = 0; if (($_SERVER['PHP_AUTH_USER']) && ($_SERVER['PHP_AUTH_PW'])) $auth = 1; if ( $auth != 1 ) { header( "WWW-Authenticate: Basic realm=Authorization Required!" ); header( "HTTP/1.0 401...
  18. tijerina

    A php file and .htaccess/.htpasswd

    MJB3K and kenrbnsn I thank you both for your help, it WORKED!!! Stars for you both!!! Again, thanks a million!!
  19. tijerina

    A php file and .htaccess/.htpasswd

    Thanks for your help. It did not work, is there another process I need to complete so this works? When I click on the name in the calendar (which is a link to the "viewEvent.php" file, where the code is.) The results are this: The top of the web page shows this.. $auth = 0; if...
  20. tijerina

    .htaccess/.htpasswd a file not a directory..

    Thanks, This is what I have in my ./htaccess file to protect the "viewEvent.php" file.. I do have it in the dir that has the "viewEvent.php" file. Does anybody see anything wrong with what is inside of the .htaccess file? It isn't working. I have restarted my webserver everytime I made a...

Part and Inventory Search

Back
Top