473,597 Members | 2,413 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sendmail.php with CSS?

4 New Member
I've designed two websites this past year using basic HTML in which i've employed an email signup form that has worked using sendmail.php

Now, i'm designing my first site with CSS. It's going pretty well, and i thought i could employ that email signup the same way, but when i do, it doesn't work. The validator tells me that: Error Line 61 column 418: there is no attribute "onClick".

So, i know i can't use that old code, i'm used to using. I've been digging around online and I'm reading stuff about .js but i don't want to tackle a whole new thing if i don't have to.

As always, i'm on a deadline and need the easiest reliable fix.

the site is: http://www.omyminimag. com and the code is on the 'connect' link at the top.

(*btw I'm looking to hook-up with someone who is really good at css and php that i can subcontract to for small things like this--if anyone is interested, please let me know.)
Nov 8 '06 #1
9 1821
drhowarddrfine
7,435 Recognized Expert Expert
Two things. First, your doctype is incorrect. It should be this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">

New pages should always use strict, though.

Second thing is xhtml is case sensitive. So you should be doing 'onclick' in lower case, not 'onClick'.
Nov 8 '06 #2
melrox
4 New Member
I appreciate your response. However, I am in Transistional mode. And, just making code lowercase isn't going to make it work--there's more to it, right?
Nov 8 '06 #3
drhowarddrfine
7,435 Recognized Expert Expert
just making code lowercase isn't going to make it work--there's more to it, right?
Or you could print the code out, place it in a brown paper bag, wave it over your head and scream like a chicken.
Nov 8 '06 #4
melrox
4 New Member
well, this forum is a waste of time apparently.
Nov 9 '06 #5
drhowarddrfine
7,435 Recognized Expert Expert
You are wasting our time by not doing as instructed. I told you Xhtml requires lower case but you declare that won't fix it without trying. So, go away.
Nov 9 '06 #6
AricC
1,892 Recognized Expert Top Contributor
melrox,

Change the doctype and the onclick then let us know, saying this is a waste of time won't get your problem fixed. People are here to help but if your going to blow off our suggestions/fixes then why did you ask for help in the first place?
Nov 9 '06 #7
melrox
4 New Member
I already stated that the doctype was already in Transistional mode. When I read that about lowercase, I changed the whole string of text into lowercase and it still didn't work. Then, i went back and wrote that about it ... 'there must be more to it, right?"

I come back and there's a smart ass remark about a paperbag--so i figure, it was a waste of time.

I just went back and changed only the onClick to lowercase and it cleared it up. Thank you. It seems odd that the onclick has to be lowercase but "MM_openBrWindo w" gets to be uppercase. It threw me off in light of what the validation error was telling me.

When someone is frustrated enough to seek out a forum that may not be the time or place for sarcasm from complete strangers.
Nov 9 '06 #8
AricC
1,892 Recognized Expert Top Contributor
The reason "MM_openBrWindo w" works is this is a user defined function where as onclick is not. You have to admit the paperbag comment is somewhat funny.
Nov 9 '06 #9
drhowarddrfine
7,435 Recognized Expert Expert
You didn't say you had tried it. You said:
just making code lowercase isn't going to make it work
I told you to change onClick to lower case but you didn't do it. Then, when you did, it worked as I said it would.

I said your doctype is incorrect. You said you were already using 'transitional' but THE DOCTYPE IS INCORRECT. Check the differences.

You may be frustrated but I was frustrated trying to help you when you appear to be ignoring my help.
Nov 10 '06 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

2
17174
by: Babaloo | last post by:
Hello, I am having a problem with PHP 4.2.2 and RH 8. PHP is working fine except email. I have a test script to send mail, I have sendmail_path = '/usr/lib/sendmail -t -i' set in php.ini, sendmail can send mail from the command line but if I use the script I get the following error on the http log file:
4
4009
by: jim | last post by:
Hello, I am having a problem w/SendMail reporting: " No recipient addresses found in header". Funny thing is though, I properly recieve the email message. Thanks for your help. -jim
2
6350
by: mike | last post by:
I've spent a couple of days on this and I'm to the "bang-my-head 'gainst the monitor and babble in tongues" mode. First - SuSE Pro 9.3, Linux 2.6.11.4-21.7, Apache 2.0.53, PHP 4.3.10 I have sendmail running on the local server - mail from unix (1) mail and mutt work locally on the server. This is, specifically, sending mail to a localhost user or another user off on the net somewhere works fine.
1
1314
by: Gaz | last post by:
Hey. I looked at the Sendmail help and did not find a property where i can get an "ok" signal when the email is finally sent. I need something like that to show a "Processing, please stand by" screen when the server is sending an email, and when the email is out, another screen appears with an "Email sent" message. Do you know an alternative to the "ok" from the sendmail to do this?
3
2465
by: swangdb | last post by:
I have a Sun Server running Solaris 10 and Sendmail 8.13.7. I have Majordomo and Listproc installed on this server and they work. I have several production majordomo and listproc mailing lists installed on this server and they work. I am trying to get Mailman to work on this server and so far, no luck. I installed the software (Mailman 2.1.8 and Python 2.4.3), reconfigured mm_cfg.py, started the software, added the cron entries,...
4
5837
by: Nilesh | last post by:
I have a server in which sendmail gives problem. How do i change php.ini so that i can use exim for mail() System is FC-6.
0
2464
by: s2rinivasan | last post by:
I am srinivasan I sent a last message hoe to trouble shoot httpd passwd acces problum. In that I didn't menson that OS=RedHat LINUX EL4-2.6.9-5. This question also in the same version. In sendmail configuraton I did configure very carefully in /sendmail.mc and redirect it to /sendmail.cf by m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf and alternate the current version to /usr/sbin/sendmail.sendmail but when restart the
11
1968
by: Taras_96 | last post by:
Hi all, The PHP manual states that: "The Windows implementation of mail() differs in many ways from the Unix implementation. First, it doesn't use a local binary for composing messages but only operates on direct sockets which means a MTA is needed listening on a network socket (which can either on the localhost or a remote machine). " Does this mean that the sendmail binary is NOT needed on windows?
3
3383
by: digitaldiva | last post by:
Hi I am new here and once upon a time I worked with Perl, now I am trying again and need some help: I wrote a Perl script a few years ago that opened an order entry TXT file and sent each customer with an email address a confirmation email in html or txt. Simple enough and very effective. Now I am editing this script to send a general email blast on a new computer... I have ActivePerl 5.10.0 Build 1003 installed. I downloaded...
2
2404
jhoborg
by: jhoborg | last post by:
Hello all, So I'm having trouble using sendmail in a CGI script as the topic title says. Here's what I'm trying to accomplish: User fills out a form, submits it, my CGI script receives this data, emails it to me, then displays a "thank you" html page to the user. Here's a look at the code that calls sendmail: unless (open (MESSAGE,"| /usr/sbin/sendmail -t")){ die "Can't open sendmail: $!";
0
7959
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8379
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
6677
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5842
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5421
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3876
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3917
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2393
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1492
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.