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...
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..
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...
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...
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...
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...
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...
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!!!
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%"> </td>
<td width="10%">
<table bgcolor="#ffffff"...
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...
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...
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...
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 -...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.