Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





PHP Based Email Address Obfuscator For Website Mailto: Tags


I found a PHP based email obfuscator for use in websites, where the
source HTML (PHP, actually) file doesn't contain the actual email
address in the Mailto tag, but generates it and that generated page
(containing a full and conventional Mailto: tag) is what is ultimately
presented to the user.

The intent is to thwart Spam bots and spiders, by NOT having the email
address in the original HTML Source, but ultimately presenting it to
the person browsing the site.

But here's my question.... Even though the program works exactly as
advertised, isn't this a case of flawed logic on the part of this
scripts author? PHP runs server-side, so won't the PHP be
interpreted, whether it's requested by a bot, a spider, or a legit
website visitor? (and thereby, presenting the bot with the full
Mailto: tag and email address anyway)? Or is there something basic
I'm missing here?




View Complete Forum Thread with Replies

Related Forum Messages:
Max. Size Of Email Address List With Mailto: ?
I'm experiencing problems with a large Bcc: email address list.  I can't use PHP mail() right now, and I'm not sure I'll be able to in the future, so I'm trying to make my code work with HTML mailto:.  I'm finding that I can generate an email message in MS Outlook IF my Bcc: list is about 90 emails long.  Anything longer than that, and the email will not generate, and I get no error message. 

I'm not sure if there is a max. number of email addresses, or a max. number of characters.  I can MANUALLY cut and paste a list of 300+ email addresses into the Bcc: field in the email message, but I need to generate this email message via code. My code looks something like this:

">Generate Email with HTML mailto:

$emailBCCList = 'name1@domain.com,name2@domain.com,name3@domain.com,etc.'

I'll need to send out a single email that has approx. 300 or more Bcc: email addresses as part of a large invitation (this is NOT spam; these individuals have asked to be invited).

View Replies !
Serving A Website Based On Source Internet Address ?
Based on the source internet address a different version of the website
should be presented/served to the user/browser.

I would like to keep the script as simple as possible and it should
replace the index.php.

The script could look something like this in pseudo code:

if SourceAddress = â¸.3.5.1' then
begin
ShowBlueWebsite; // load/show BlueIndex.htm
end else
if SourceAddress = ït.5.15.7' then
begin
ShowRedWebsite; // load/show RedIndex.htm
end;

Is this possible with php ?

View Replies !
Hiding Mailto Email
is there any way to hide your mailto email address from spam bot email harvesters I have a php form and want to try to keep from getting spam email. any other tips on hows to do it short of not using a contact form and putting an email address on line.

View Replies !
How To Extract The Contents Of Some Tags, Say Name, Address Etc.
I have a 3GB XML file thatI need to parse. since the file is too big to read all at once in to an array, I am reading it one line at a time. I need help on how to extract the contents of some tags, say name, address etc. Here is the code:

View Replies !
Email Address Is Invalid Address
we are trying to use it andwe give it a perfectly valid "From address" and it comes back saying  the email address is invalid  address. Any ideas?

View Replies !
Banning An IP Address From Seeing My Website.
Someone is abusing the comments system I have in place on my website. I have their IP address, but is there a way to prevent them from seeing my website altogether?

I was thinking that when someone visits my homepage (which I will turn into a PHP file), their IP address is cross-referenced with a database of banned IPs. If it is in there, then they are sent to a different website - like Google.

View Replies !
Member Based Website
I have a member based website, and when a user logs on it sets online = 1 in the database, and when they log off it sets it to = 0. When they close the window, they automatically log off. the session closes. How can I let the database know this? Is there a way I can have the online column automatically turn to 0 after 30 minutes of inactivity or something? Would I need to set up a cron job on the server (I pay for hosting, dont know if I can even do that).

View Replies !
Roll Your Own PHP Based Website?
I'm wanting to develop my own enterprise intranet web portal. I'm very new to PHP and I don't know it well yet, but does anyone have any suggestions on any docs or books that would be a good guide? I already know where the general PHP documentation is and the same goes for mysql. Any documentation or books with lots and lots of examples would be great. Code:

View Replies !
IP Address Redirect Based On Country
I'm looking for a solution to redirect a user based on his/her IP. I have servers in Asia and servers in the US. A few of my pages are on a US based server which is the primary or root domain name if you will. However when these pages are accessed from China for example, I would like to serve them pages from my China server (my subdomain). by having the page detect their IP and knowing whether it is based out of China or the US. Is this possible?

View Replies !
How To Get Full Address Of The Website Dynamically?
how to get full address of the website dynamically?
like www.yahoo.com/op/guy/123/
using server var($_SERVER).

i just want path till current working dir from www.yahoo.com/op/guy/123/ page.php i don't need it.

View Replies !
Need Email Address From Submitted Html Email Form
I have an html email that contains a form with questions for the user to fill out. Without asking the user to re-input there email address into the form, is there a way for me to grab the email address its coming from when the user submits the form to the php processing program. I need a way to match the questions to the user when they submit the form.

View Replies !
Email Array Checking Validity Of Email Address
I had the following working but since I changed the email variable to an array it doesn't work. email[] This is part of an edit form where emails in the mailing lists can get updated however, before they get updated i need to check that each of the email addresses are valid.But the code doesn't work for the array. Code:

View Replies !
Hiding The Receipeint Email Address While Sending Email
i am sending an email using php. i dont want the receipeints to see the to address. the problem is i am sending to a mailing list email address. so how can i hide the to address and the from address if possible?

View Replies !
Block Email Address / Domain From Using Email Form
I keep getting the same person spamming people on my website through my email form.

The email address is they keep using is sadlowski_lidia@o2.pl but this sometimes changes to a different name but still from the o2.pl domain

How can I block anyone using my email from the domain name o2.pl

View Replies !
Creating An Article Based Website
i need to create an article based website, what words should i search for in yahoo to find a good strategy? or can someone just give me hints how to create it?

the site should do the following->
1-only administrator can add articles
2-public can only search
3-and of course the search should be optimized and fast.

View Replies !
Disadvantages And Advantages Of Database Based Website
I have created a website mostly dependent on MySQL database. What are the disadvantages? Will MySQL be able to serve about 100 to 500 users concurrently? I guess that is my main concern. Will a website based on database be slower or faster than a more traditional webesite where it is maily based on individual files?

View Replies !
CSV File-based Address Book Code Snippet?
Since I'm a PHP newbie and the only address book apps I found
through Google require MySQL or PostgreSQL, I figured I'd ask if
someone has come code handy.

I'd just like to keep a list of addresses in a CSV file (ie. columns
last name, first name, e-mail, office #, etc.) so as to ease backing
up, and read/update this list from a PHP script.

I guess it's pretty much just a loop to read + parse, and a form to
update, but if someone has the code handy, I'm interested :-)

View Replies !
PHP Page That Displays Html Based On The Address Enterd
I would like to have a PHP page that displays html based on the address enterd. For example:

index.php?example=a would show a page with <body>Example1234</body> whereas index.php?example=b would show a page with <body>Example5678</body>.

I've done this before, but I can't remember the code I used.

View Replies !
Email Headers - Reply To Email Address
I am creating a contact form that will send the user's comments to my email address. The form works (I receive the email), but it uses a reply to email address that appears to be from the server and not the respondent. I've set up the header in the mail() tag to reply-to the address entered, but it's not working. Here's the code:

View Replies !
Email An Email Address Will Update Database
It will be most usefull for news or blogs (for right now) but so you can email an email and have it update your database, exp:

Update@yourdomain.com

You email this with "news" in the subject and it will instert a new record into the database with the new news.

Grant you have to tell it what email address to accept this function from, for protectin against the database.

and also granted that why not use a CMS if your online but i just was wondering if i could do it and so i wrote this code, seeing if anyone was interested.

View Replies !
Questions/Recommendations On Content/Membership Based Website
I've searched groups.google.com already to see if I can determine if
using PHP/MySQL (if needed) for a web site I wish to develop. As the
subject indicated, it will be a content based site with videos - NO,
it's not a porn site though.

I thought that I'd list the key requirements/specifications for my web
site below and was wondering if some of you'd be so kind as to provide
your thoughts on each and comment on them with respect to how PHP can
accomplish them or how adept PHP is at accomplishing them?

(FYI, I'm an Oracle developer and haven't had too much "real"
programming/coding practice since I finished school, but I can still,
given enough time to familiarize myself, C/C++/Java and some OOP. But
I really haven't had any experience in setting up a website/webserver
at all.)

-- Strong authentication required since it will be membership based.
Someone had suggested that I use a third party billing company, such
as iBill, PayCom, CCBill and etc, to simplify the billing process and
I'm looking into it. I know it's sounding more and more like an adult
site, but it's not. However, if PHP/MySQL offers a better billing
method/member info DB maintenance capability and membership
authentication, please inform me.

-- The instructional videos probably will not be
updated/switched/added too often. The same goes for the accompanying
pictures for the lessons. The pics though will need to have an
accompanying explanation.

-- There will be about 30 videos in all, all about 45 seconds to a
minute in length.

-- I wish to be able to create a member page which they will be
greeted with once they log in, muck like "My eBay" over at eBay.com
with the following showing, among other things:
A) Each member will have a lesson plan according to their expertise
or level of completed lessons and I wish to be able for members to
maintain a record of which lessons they've completed in each of the
plans and which lessons they still need to complete displayed in some
chart form.

B) I wish to, though it may sound impossible or wishful thinking, be
able to prevent straight copying or lifting of my pages, including the
videos and the pictures. I know I can disable "right click", but
besides that is there anyway I can prevent it from happening? I have
worked very hard and spent long hours in developing the content for
this website and I'd hate for any copycat websites to just lift my
pages somehow and use it as their own on their own website.

-- If the site membership grows, I'd imagine that there'd be many
simultaneous access to the membership content, including the videos.

View Replies !
Add A Private Messaging System To A Membership Based Website.
I'd like to add a private messaging system to a membership based website. Before I start re-inventing a bycicle perhaps someone can point me into a direction of a class or script that is available somewhere? This is not a Joomla, Mambo, PHP Nuke or similar modular site -- so add-on modules probably won't work.

View Replies !
Simple Way Of Implementing Bbcode Into A Php-based Website/database Design?
Can anyone recommend a simple way of implementing bbcode into a php-based website/database design? I'd like the user to be able to enter the data using bbcode's options (simple click and format options without having to know anything about code... like this site has) and have this display in pages when the results are pulled out of the database and displayed in HTML format.

View Replies !
PHP Obfuscator?
Does anyone know of a good, reliable PHP obfuscator, preferably one that
doesn't cost an arm and a leg? I tried Mike's gzen encoder, however I had
problems with included files. (e.g. I have a file vars.inc.php that includes
sql_connect.inc.php, in which a connection to mysql is made, and then in the
top-level files I do mysql_query($query, $MySQL_Link) [$MySQL_Link is the
connection made in sql_connect.inc.php], and I get an error about 'invalid
link resource' after using the gzen obfuscator...) Code:

View Replies !
PHP Obfuscator Vs Encrypting
I am writing PHP code that I don't want to be edited by the person I give to.  I want to know which is best, encrpyting the code or obfuscatoring it.  I would also like to know the bright side to both options, and the down side.  Let us assume neither require any extra PHP libraries to be on the server they run from.

View Replies !
Recipient Email Address In Email
I am using php to sent out email using command mail() and i put all the recipeints in BCC. So when recipient receive the email, he/she can click on the link in the email content to link back to the system. So now any idea how to get the recipient email when the recipient click the link.

View Replies !
Protect From Copy, Not Encrypt Or Obfuscator
on some projects i obfuscate part of the code, but i would also like to know if there is any trick to make difficoult to copy the all staff to a new server... somehing like checking the ip server

i don't know, ofcourse i don't expect that this thing could be safe from
copy, but just make hard to find a way.

View Replies !
Send Email - Page Where You Enter An Email Address And Click Send.
I am interested in creating an "email -this" type ability for a website. I am sure most people have seen an "email -this story" type link that is standard on most news web sites. You click such a link and then it takes you to a page where you enter an email address and click send. The link for the story and the title are not editable. Does anyone know where I can find example code of how to do this with php, and any explanation of how this works.

View Replies !
Email From Address
I want to send email through PHP mail function. i am passing headers for from address.
But it sends email address as Sender in yahoo. I want to print Name also as sender : Jeff.
PHP Code:

View Replies !
Getting Address From Email
How do you get the text between two characters, such as < and >? For example, you have the From: line in an email "Their Name <name@somewhere.com>", how would you get just the address part from it? I guess the preg thing is used here, but I don't understand it at all.

View Replies !
More Email Address
help me out I need my application form to be sent to 2 email addresses:

eric@dragonethosting.com and pitbullmean@gmail.com

Heres the code I know it looks wrong because I was doing some trial and error stuff but heres to coding section that needs to be fixed.

$eric = 'mail@globalassaultgroup.com'
$patrik = 'eric@dragonethosting.com'

$mailto = "$patrik
" . , "$eric
" . ;

View Replies !
Email Address
I want to check wether the two email addresses match or not, if they both don't match.i want to show a message box saying verify email address, it does'nt match. is it possible with a javascript for the second email address text boxes lost focus event.

View Replies !
Web Based Email
I really need a web based email script. Something like hotmail is what I'm aiming for. Users have to be able to sign up on the web, and login to their account, exactly like with hotmail.

View Replies !
Validating Email Address
ok, I have developed a PHP script which sends a user there password, kinda a forgot password type thing. Just one thing i really cant work out. I need to validate the email address to ensure it is URL rather than just anyold email address, ie. it must contain mydomain.com at the end of it.

so essentially all i need to do is grab the text from the email address field, trim the contents before that '@' and store this into a variable.

then an if loop, if the variable = 'mydomain.com' then execute the script, else diaply an error message

How would I go about doing this?

View Replies !
Email Address Verification
I am writing a great mailing list program that I will distribute for free that comes with email addresses, tracks what was sent to who, how many times, handles campaigns, etc. What I want to do is before a message is sent, the email address is pulled out of mySQL, verified that it is real by looking for the address on the internet, sending the message, and then recording stats in the mySQL DB. I have everything done except for the verification (real).

View Replies !
Verifying An Email Address
I'd like to check (for security purposes) that an email address entered in a text input is valid (ie it contains at least one. which must be after the @ and contains no semi-colons). How can I do this in PHP? I figured it can be done with Regular Expressions but they're not very well-documented in my PHP book.

View Replies !
Email Address Length
Does anyone know if there is a maximum allowable character length for email addresses? If so what is it?

View Replies !
Obtaining Email Address.
I have been a victim of a website ( coded using php ) managing to obtain my
email address just by visiting the website. I know get loads of rubbish via
that email account.

How have they managed to do this?

The reason i ask is so i can stop it. Oh and also being into php a bit i
would also like to try it out :) just for fun.

View Replies !
Verify Email Address
I am creating a registration form. There have a email field. After successfully complete a mail with activation link will send to the email. After clicking the activation link then he can login. So how can I do this?

View Replies !
Email From Address And Attachments?
mail($EmailTo, $Subject, $Body, $mail_header, "From: <$from>");

im trying to set the from address in an email, but when i do it with the above it doesnt work!  Instead it stops the header being set to HTML and shows that code.  Can any one tell me where im going wrong? Also how can i send attatchments with an email?

View Replies !
Sender's Email Address
I have a site on GoDaddy and have made a contact form using php/html. It's working great, however the customer's email address shows up in the body and the "from address" is some automatic address generated in the process. How can I have the customer's email address be the from address when receiving their request? Here is the code from the 2 pages involved. Code:

View Replies !
Strip The @ And The . From An Email Address
It is necessary that I strip the @ and the . from an email address before I pass it to FileMaker to search a field. I'm able to strip the @ out with

$request = ($_POST['request']);
$strippedemail = ereg_replace("@","", $request);

Since I'm such a noob, I really don't know how to replace more than one thing in a string at once. So, I try to get around my stupidity by trying to ereg_replace my already ereg_replaced string:

$stripped2 = ereg_replace(".","", $strippedemail);

I get nothing when I echo $stripped2 Any thoughts? If you want to help me put both of those into one ereg_replace, that would be great. or, if you want to help me find the . and take it out with another ereg_replace, I'm down with that too. have no idea why I can't find the "." and replace it with "".

View Replies !
Validate Email Address
I can't seem to figure out why this isn't working, I'm using the eclipse plugin to develop, error message in eclipse says ')' expected in function declaration, right on the 2nd print statement...

PHP Code: ....

View Replies !
Email Address Lenfth
Is there an offical maximum length for an email address? How long do you let your users make them?

View Replies !
Split An Email Address With PHP
I would like to split an email address with PHP, for example.

mail@anemailaddress.com
james@anemailaddress.com
chris@anemailaddress.com

With the PHP I want to get a list:
mail
james
chris

I would like to get rid of the email extention.

<?

echo "$namebefore@";

?>

View Replies !
Email Sending From Address
I am using a script to send an email to me whenever someone registered in my custom make PHP script site. The problem is I need this script to send the mail where from address should be the actual users address (i.e. if email@example.com register a new account I need this system to send the following mail that should look like coming from email@example.com

$FromName = $Email;
$ToEmail = $listmail;
$Message = "
Please subscribe me

User Name : " . $UserName . "
Mailing : " . $Mailing . "
Name : " . $CustomerName . "
Email : " . $Email . "

View Replies !
Email Address Validation
How can I vaLidate Emils address entered by Users using PHP in the server? I have dOne sOmething. But Iwant a gOod efficient and highest standard versiOn Of cOde to dO this.

View Replies !
Keep Email Address From Being Harvested.
I have contact info including email address in MySQL. If I use php to
extract them into online directory, can a spambot harvest the address? or
does the spambot read the raw php code?

I previously used javascript to hide my email addresses but more and more
people are disabling javascripting for security reasons. I need to find a
way to keep my email address from being harvested.

View Replies !
Default Email Address
I am sending mails using mail() from php which is working fine. Now when I look at the email in my inbox, from address that I mentioned is not coming, up instead it is showing as myservername. Ex: I used:

$mail_header = "From: donotreply@mymail.com";

But when I looked at the inbox, from address is showing as mymail@hostmonster.com. do I need to change the config file in the server or can I do anything in my source files.

View Replies !
Email Links Hidden Inside Tags?
just wondering if an email with an embedded link as such would be hidden from email spam bots. PHP Code:

echo $email = "<a href="mailto:email@com.au">email@com.au</a>";

I'ts not clear to me if being inside php tags makes them hidden or not. As I know that in plain html they can be easily targeted with the 'mailto:' reference.

View Replies !
Email To Based On Subject
I have a contact script that works but now I'm trying to figure out how to get it to email a specific address based on the subject chosen. This is what I have so far but it is not working as wanted Code:

View Replies !
Valid Email Address Checking
Hey there. I need to check if a given email address is formatted correctly. I picked up this line somewhere

ereg("^[_a-z0-9-]+(.[_a-z0-9-]+)*@[a-z0-9-]+(.[a-z0-9-]+)*$", $email)

and it works, mostly. The big problem is that it allows addresses without a suffix. For instance, it allows "jaeger@hotmail", without the ".com". (This isn't my address.) I tried other invalid forms, and it caught them. I figured someone would already have a ereg string which works, so I won't bother trying to figure it out.

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved