Search found 16 matches

by Zythan
Wed Jul 12, 2006 5:11 am
Forum: PHP - Code
Topic: simple validation ???
Replies: 5
Views: 1096

Hello,

In Javascript try this

http://www.javascript-coder.com/html-fo ... tion.phtml

HTH

Zythan
by Zythan
Mon Jul 10, 2006 10:08 am
Forum: PHP - Code
Topic: Video portal/cms!!?
Replies: 10
Views: 1188

by Zythan
Thu Jul 06, 2006 6:53 am
Forum: PHP - Code
Topic: auto php upload
Replies: 2
Views: 382

Hello,

Can you tell me what is the physical relationship between the two servers. ie are they in the same config ? same domain ? same subdomain ? etc.

TIA

Zythan
by Zythan
Wed Jun 21, 2006 5:44 pm
Forum: PHP - Code
Topic: Capitolize a string.
Replies: 5
Views: 542

Hello,

With strtoupper($str), somthing like:

Code: Select all

<?php
$str = "Mary Had A Little Lamb and She LOVED It So";
$str = strtoupper($str);
echo $str; // Prints MARY HAD A LITTLE LAMB AND SHE LOVED IT SO
?>
Zythan
by Zythan
Wed Jun 21, 2006 5:37 pm
Forum: PHP - Code
Topic: Email Address format???Edit: form validation...
Replies: 14
Views: 1600

Hello, The documentation might simply contain the statement " It returns a simple true/false boolean based on checking an email against the RFC. " with a simple example, like if (validateEmailFormat(email_text) { echo "A valid email was found."; } else { echo "An invalid ema...
by Zythan
Tue Jun 20, 2006 2:27 am
Forum: PHP - Code
Topic: Email Address format???Edit: form validation...
Replies: 14
Views: 1600

Hello, Thanks for your explaination, this clears up a few points that may not be evident for a general user . My goal as you put it, is to know in what situation the function may or may not work as someone might expect, and as you point out there may be a requirement for a second step of validation....
by Zythan
Mon Jun 19, 2006 6:50 pm
Forum: PHP - Code
Topic: Email Address format???Edit: form validation...
Replies: 14
Views: 1600

Hello,

I have continued to test this function, but it would appear not to be working correctly, has anyone else experienced that the function will not identify correctly certain email addresses.

TIA

Zythan
by Zythan
Sun Jun 18, 2006 5:37 pm
Forum: PHP - Code
Topic: Email Address format???Edit: form validation...
Replies: 14
Views: 1600

Re: Email Address format???

Hello,

Would any of these be considered as valid email addresses ?

jean.dupont@free.236.com.1
jean.dupont@free.236.com1
fred.bloggs@orange_co.uk
fred_bloggs@orange_co.32

TIA

Zythan
by Zythan
Sat Jun 17, 2006 7:13 pm
Forum: PHP - Code
Topic: Email Address format???Edit: form validation...
Replies: 14
Views: 1600

Re: Email Address format???

Hello, No problem: RFC Compliant email validation function . You will have to forgive but I have put if (validateEmailFormat($_POST[email])) { echo "A valid email was found."; } else { echo "An invalid email was found."; } in my code, is this how the call to the function should b...
by Zythan
Sun Apr 30, 2006 4:49 pm
Forum: PHP - Code
Topic: mysqli for php4.3.11???
Replies: 6
Views: 646

Re: mysqli for php4.3.11???

Hello,

Here is the link I think you would like:

http://dev.mysql.com/downloads/connector/php/

HTH

Zythan
by Zythan
Wed Apr 26, 2006 4:40 am
Forum: PHP - Code
Topic: When use single quote and when double quote
Replies: 3
Views: 781

Re: When use single quote and when double quote

Hello,

Take a look here, I think that everything is explained very well.

http://www.netcode.net/tutorials/php_my ... quotes.php

HTH

Zythan
by Zythan
Thu Apr 20, 2006 6:27 am
Forum: PHP - Code
Topic: Questoin related to Php Form
Replies: 8
Views: 657

Re: Questoin related to Php Form

Hello,

Your form data should be 'updated' if you pass the default value.

Code: Select all

<p>Name:<font color=red>*</font><br>
<input name="Name" type="text" id="Name" size="50" value="<? echo $Name; ?>">
</p>
HTH

Zythan
by Zythan
Thu Apr 20, 2006 6:23 am
Forum: PHP - Code
Topic: Question with undefined PHP function
Replies: 2
Views: 265

Re: Question with undefined PHP function

Hello,

May I ask you what you are checking, is it the item from a dropdown list or is the user selecting a radio button ?

TIA

Zythan
by Zythan
Thu Apr 20, 2006 4:29 am
Forum: PHP - Code
Topic: ignoring commas in individual fields when parsing CSV file
Replies: 3
Views: 489

Hello, I use the following: <?php $row = 1; $handle = fopen("your.xls", "r"); while (($data = fgetcsv($handle, 1000, "\t")) !== FALSE) { $num = count($data); if($row > 1) { for ($c=0; $c < $num; $c++) { $dataline[$c] = $data[$c]; } echo "<tr valign=top> <td align=l...
by Zythan
Thu Apr 20, 2006 4:23 am
Forum: PHP - Code
Topic: Questoin related to Php Form
Replies: 8
Views: 657

Re: Questoin related to Php Form

Hello lhua059,

Take a look here and tell me if this is what you are trying to do.

http://zfutura.free.fr/fillform/inscriptfive.php

Regards.

Zythan