On Tuesday 12 February 2002 06:19, CrossWalkCentral wrote:
> I am working on a form that I have in php and am looking for some advise
> on form validation or specifically email address validation so i can
> insure that some one has put in a properly formatted email address
Well. something like
You could include a hidden variable in each form with a value unique to
each form
- i.e.
in the php script:
if ($form_id == 1) {
-- Process form 1 --
}
elseif ($form_id == 2) {
-- Process form 3 --
}
elseif ($form_id == 3) {
-- Process form 3 --
}
else {
-- $form_id is not set so show the f
hi
is it posibile to have in a php script multiple forms and only one
submit button? if yes, how you "recover" the submited data?
ex:
bla bbla
bgf
gjhdf
tnx
--
Marius Ursache (3563 || 3494)
\|/ \|/
"@'/ ,. \`@"
correct!
On Tue, 12 Feb 2002, Beau Lebens wrote:
> you might find the library at http://www.dentedreality.com.au/jsvalidation/
> useful, but you should also perform similar checks server-side using PHP
> since if you are that worried about malicious use of your site, people can
> easily circumve
you might find the library at http://www.dentedreality.com.au/jsvalidation/
useful, but you should also perform similar checks server-side using PHP
since if you are that worried about malicious use of your site, people can
easily circumvent javascript validation
// -Original Message-
//
put some javascript validation form. if the value of the form cntains
.jpg, etc. don't allow the user to go further.
On Mon, 11 Feb 2002, CrossWalkCentral wrote:
> How can I help protect people form modifying a form that submits data to php file
>that stores the data in a database
>
> for exam
How can I help protect people form modifying a form that submits data to php file that
stores the data in a database
for example I have a text box that ask for a first name and I am getting a lot of
garbage back like if they modified my form and submitted a image instead.
I know that their is
have a look at the online annotated php manual under the regular expression
functions, there are *stacks* of examples of using regexps to validate email
patterns
beau
// -Original Message-
// From: CrossWalkCentral [mailto:[EMAIL PROTECTED]]
// Sent: Tuesday, 12 February 2002 12:20 PM
//
I am working on a form that I have in php and am looking for some advise on form
validation or specifically email address validation so i can insure that some one has
put in a properly formatted email address
Calm down dudes,
I just did a quick search and found this on hotscripts
http://www.hotscripts.com/Detailed/13628.html
It converts MS Word docs on the fly in linux and turns them into html or pdf
or text or whatever. You'll need wv http://wvware.sourceforge.net
Don't know how well it works but
If your not really a text MySQL guy I would highly recomend PHPMyAdmin. Its
a set of PHP scripts you can upload into its own directory and run
immediately. It will allow you to download (through the web interface) the
entire database, and then move it to the new site (using the same tool.)
I've
Hello all,
I am a relatively new php/mysql developer, I would like to take an entire
mysql and copy it or strip it from the server where it resides. Anyone know
how to do this? Recently a previous developer had made a cgi shopping cart
that I would like to take the product table from and make p
Hi again, thanks for those who sent me info on my earlier problem.
Another bit of help needed here.
I have table that contains alot of fields. Now one of the fields in the databse
contains information that I need to be changed when output on a page.
Example:
In the table the field purchase h
This is what I use, I think I got it off the online documentation. I use it
to track users and it checks for proxys.
if ($HTTP_SERVER_VARS["HTTP_X_FORWARDED_FOR"] != "")
{$IP = $HTTP_SERVER_VARS["HTTP_X_FORWARDED_FOR"];
$proxy = $HTTP_SERVER_VARS["REMOTE_ADDR"];
$host = @gethostbyaddr($HTTP_SERV
Someone please help me of how I could get the client IP using PHP, when i
use $remote_addr it gives me the server IP, Kindly help how I could get the
IP of clients who are connected to my server or website.
$ip = gethostbyname($REMOTE_HOST);
the you got the IP of the remote user.
Jeroen Timmers
There was a discussion on the list a few weeks ago about reliable web hosts
offering PHP and MySQL support. I did not need the info then but it has
become relevant now. I'd appreciate if people could re-post
recommendations, if someone has a compiled list, even better.
Thanks,
-Lisi
--
PHP
> When I use phpMyAdmin to view data, where values are NULL it displays the
> word 'NULL'. Does this mean that the word 'NULL' is actually stored in the
> table, or is it defined by some other character? Is this any different
from
> an empty value?
>
> I am using it to check to see whether a value
Hi
When I use phpMyAdmin to view data, where values are NULL it displays the
word 'NULL'. Does this mean that the word 'NULL' is actually stored in the
table, or is it defined by some other character? Is this any different from
an empty value?
I am using it to check to see whether a value has be
Just try
<[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi list, hope someone can help me here.
>
> I have content management system I have designed. I am still learning php
so help here would be appreciated.
>
> The user logs into the system, and we c
G'day all,
The answer was nice and simple - assign an alias to the select statement -
thanks all for the quick responses.
Cheers, kim
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tuesday 05 February 2002 02:45, William Fong wrote:
> I'm looking for some recommendations on PHP + SQL 'cook books'. I've had
> some for other apps, like PERL, and have found them very useful for
> learning techniques. I already have a number of PHP and SQL books, but
> they usually don't he
Hi Kim,
> I want to get the first 64 characters from a database row result and display
> only those 64 characters using PHP. The snipped code is here - I've deleted
> all the error trapping and comments:
>
> $result = @mysql_query("select ID, Writer, left(text,64) from Reports where
> writer like
Hi list, hope someone can help me here.
I have content management system I have designed. I am still learning php so help here
would be appreciated.
The user logs into the system, and we carry there user name over the pages using a
link to each page with the value of their name carried over as
Hi there
I'm just scraping the surface of MySQL and PHP and there's something I can't
work out.
I want to get the first 64 characters from a database row result and display
only those 64 characters using PHP. The snipped code is here - I've deleted
all the error trapping and comments:
$result
I am trying to load the sybase modules. Under both IIS 5.0 and Apache1.3 I
get the following error:
'can't load...could not find 'libct.dll'
This isn't an .ini issue as the file isn't anywhere to be found. Do I have
to download this dll from somewhere?
php seems to be working fine otherwise -
25 matches
Mail list logo