Search found 58 matches

by Hibba
Sat Jan 15, 2005 12:20 am
Forum: PHP - Code
Topic: Validate Email, not syntax
Replies: 5
Views: 488

Sorry, but that info does not make any sense to me.
by Hibba
Fri Jan 14, 2005 9:49 am
Forum: PHP - Code
Topic: Validate Email, not syntax
Replies: 5
Views: 488

anybody got a suggestion for this?
by Hibba
Thu Jan 13, 2005 9:56 pm
Forum: PHP - Code
Topic: Validate Email, not syntax
Replies: 5
Views: 488

Bah, that's what I figured. Ok, so I have no problem sending an email, and then take the emails that I get back and update from there. SO new question:

What is a good way to collect all the bounced back email addresses (in some type of delimited format, array, etc.)?

Thanks.
by Hibba
Thu Jan 13, 2005 9:01 pm
Forum: PHP - Code
Topic: Validate Email, not syntax
Replies: 5
Views: 488

Validate Email, not syntax

Alright, I need to check a list of emails to see if they are still valid. Is this possible? I have heard about MX records on a host, but it seems to just return True if the host is real. I want to check if 'user@host.com' is real or not.

Any suggestions?
by Hibba
Wed Jan 05, 2005 10:58 pm
Forum: PHP - Code
Topic: Valid email/website
Replies: 4
Views: 963

True, if you want the action to actually see if it is a valid working URL, then you would need something like this: <?php function is_url($url) {     $fp = @fopen($url,"r");     if ($fp) {         fclose($fp);         return true;     } else {         return false;     } } ?>
by Hibba
Wed Jan 05, 2005 10:01 pm
Forum: PHP - Code
Topic: variable problem...
Replies: 7
Views: 741

Why not make it all included? Just have everything in one php file, have the form submit to itself and pass the variable that way.

One less file and everything is together.
by Hibba
Wed Jan 05, 2005 9:57 pm
Forum: PHP - Code
Topic: Valid email/website
Replies: 4
Views: 963

What about this: <?php function is_url($url) {     if (!preg_match('#^http\\:\\/\\/[a-z0-9\-]+\.([a-z0-9\-]+\.)?[a-z]+#i', $url)) {         return false;     } else {         return true;     } } if (is_url("http://www.tsn.dk")) {     echo "Yes, that's an URL alright"; } else {  ...
by Hibba
Wed Jan 05, 2005 9:39 pm
Forum: Miscellaneous
Topic: Anyone good at Access?
Replies: 2
Views: 1294

OK, I have a form with a lookup field in it. The lookup field has values from a table with 2 fields (Name_ID and Name) The values for the lookup field are Name_ID. When I choose the value in the lookup field, I would like the Name that corresponds to the Name_ID to be displayed in the table. That's ...
by Hibba
Wed Jan 05, 2005 9:22 pm
Forum: Miscellaneous
Topic: Anyone good at Access?
Replies: 2
Views: 1294

Anyone good at Access?

Where can I go for some good help on Access. I am trying to do something fairly easy, but don't know of a good place to find info.

Thanks.
by Hibba
Sun Dec 26, 2004 3:36 pm
Forum: Javascript
Topic: php variables with Javascript
Replies: 2
Views: 714

OK, so right now I have this: <head><SCRIPT LANGUAGE="JAVASCRIPT"><!-- function check(thing) &#123; if (((document.thing.value / document.thing.value) != 1) && (document.thing.value != 0)) &#123; alert('Please enter only a number into this box \n (No commas or decimals)'); ...
by Hibba
Sun Dec 26, 2004 1:35 pm
Forum: Javascript
Topic: php variables with Javascript
Replies: 2
Views: 714

php variables with Javascript

Is there some kind of way I can have: onSubmit="return function('check every variable in the form')" And then in the head have something like: function function(contents) { if (((contents / contents) != 1) && (contents != 0)) { alert('Please enter only a number into this box \n (No...
by Hibba
Sun Dec 26, 2004 1:21 pm
Forum: PHP - Code
Topic: Form submits after Javascript validation (too early)
Replies: 15
Views: 1118

Gotcha, thanks!
by Hibba
Sun Dec 26, 2004 1:13 pm
Forum: PHP - Code
Topic: Form submits after Javascript validation (too early)
Replies: 15
Views: 1118

Right, I added that, but still the same thing, it submits the form. Where is this other forum you mentioned?
by Hibba
Sun Dec 26, 2004 1:08 pm
Forum: PHP - Code
Topic: Form submits after Javascript validation (too early)
Replies: 15
Views: 1118

And that would be what?
by Hibba
Sun Dec 26, 2004 12:59 pm
Forum: PHP - Code
Topic: Form submits after Javascript validation (too early)
Replies: 15
Views: 1118

ah, ok, you mean my PHP script. right, I didn't show all of the code, but those variables are fine. I have an extract($_POST) at the beginning...

So lets gets back to the problem at hand! Dern javascript!