Re: [PHP-DB] Require VB Usergroup
Thanks for your co-operation !!! But I need user group for VB 6.0 for client based programme and not for VB.NET. Regards, Rinku Joseph Crawford <[EMAIL PROTECTED]> wrote: you could try the Vermont .NET user group, there are several VB guru's there i think it's http://www.vtdotnet.org -- Joseph Crawford Jr. Codebowl Solutions [EMAIL PROTECTED] - Do you Yahoo!? The all-new My Yahoo! What will yours do?
[PHP-DB] Require VB Usergroup
Dear all, Can any of you suggest me any usergroup For VB just same as this usergroup ? I know this is very different question from this group, but I had tried a lot to search for that. So all of your's comments and views will be highly apreciated ... Regards, Rinku - Do you Yahoo!? The all-new My Yahoo! Get yours free!
Re: [PHP-DB] Validate value
Thank you, Very much !!! It worked fine. Regards, Rinku "Jensen, Kimberlee" <[EMAIL PROTECTED]> wrote: 1. You have to allow for a space in your pattern - you can do so by hitting the space bar or using \s. Here are some options $pattern="/^[a-zA-Z ]+$/"; if(preg_match($pattern,$_POST['name'])) { $pattern="/^[a-zA-Z\s]+$/"; if(preg_match($pattern,$_POST['name'])) { $pattern="/^[a-zA-Z]+[\s]?[a-zA-Z]*$/"; if(preg_match($pattern,$_POST['name'])) { 2. Do you want other characters besides numbers in the phone, such as 333-333-? Otherwise, this should do it: $pattern="/^[\d]{10}$/"; if(preg_match($pattern,$_POST['phone'])) { - Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses.
Re: [PHP-DB] Re: Validate Value
I have used this code. $pattern="/^\s+[a-zA-Z]+$/"; if(preg_match($pattern,$_POST['name'])) { Statements; } But here still system not supporting for space. Rinku Tim Van Wassenhove <[EMAIL PROTECTED]> wrote: In article <[EMAIL PROTECTED]>, Rinku wrote: >> That's correct behaviour. The alphabet doesn't know what a space is ;) >> Thus append the other allowed characters to your a-zA-Z interval. > Can you pls tell me how to add space in name ? If you reply under what is already written (and cut the irrelevant things out) , things stay clear for everybody. As i mentionned before, use your regular expressions manual. There you will find what \s and \w mean. -- Tim Van Wassenhove -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php - Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages!
Re: [PHP-DB] Re: Validate Value
Can you pls tell me how to add space in name ? Regards, Rinku Tim Van Wassenhove <[EMAIL PROTECTED]> wrote: In article <[EMAIL PROTECTED]>, Rinku wrote: > --0-775821546-1089528419=:27331 > Content-Type: text/plain; charset=us-ascii > > Pls guide on following. > 1) I want to validate name for a alphabetic value, But if I give space between 2 > words then its not supporting.. That's correct behaviour. The alphabet doesn't know what a space is ;) Thus append the other allowed characters to your a-zA-Z interval. > 2)I want to validate a phone no for 10 digits. But in this value if I enter "+" or > "-" in begining then even > the system will accept it. So can you pls suggest me what to do to solve the problem > ? In this case you only want to allow characters in the interval 0-9. I think \d is a shortcut for that. And to limit it to only 10 occurences, i believe you can use {0,10} so you end up with \d{0,10} if i'm not mistaken (consult a regular expressions manual to be sure) -- Tim Van Wassenhove -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php - Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages!
[PHP-DB] Validate Value
Pls guide on following. 1) I want to validate name for a alphabetic value, But if I give space between 2 words then its not supporting.. As example: Name = "PHP Guide" Then the system says name must be in alphabetic value. Pls find the codd No 1 for more Details : 2)I want to validate a phone no for 10 digits. But in this value if I enter "+" or "-" in begining then even the system will accept it. So can you pls suggest me what to do to solve the problem ? As Example : Phone = -984524561. Here "-" will be accepted by the system Pls find the codd no 2 for more details : COdd no 1 : function Name_validate() { if($_POST['name']!="") { $pattern="/^[a-zA-Z]+$/"; if(preg_match($pattern,$_POST['name'])) { Statements; } else { ?> alert("Name must be in Alphabetic Characters"); alert("Pls Enter Name"); alert("Phone No must be in Numeric Characters"); 10) { ?> alert("Phone No Can't be more than 10 digits"); alert("Pls Enter Phone No"); http://mail.yahoo.com
[PHP-DB] Validation Form require.
Dear All, Can any of you send me one of your validated form for "Numeric value checking" & "Alphabetic Value Checking" I have done it but still not succeed. Your answer wd be highly appriciated. Regards, Rinku __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[PHP-DB] How to take Backup ?
I want to take backup for Mysql database. Can any of you tell me how to take Backup and how to Restore it ? Rinku __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: [PHP-DB] Call to undefined function mysql_connect()
if ($text != "") You had used this. Pls use this so that you can access the value for the variable if($_POST['text']!="") I hope this will help you. Leandro de Oliveira <[EMAIL PROTECTED]> wrote: I don´t know how to see if mysq is enabled but i tested this, it is like i have no php file: form.php if ($text != "") echo "You wrote \"$text\" "; ?> [input] [input] echo $HTTP_USER_AGENT; ?> submit dont works, echo $HTTP_USER_AGENT too, but phpinfo() worked! what is going on? - Crie seu Yahoo! Mail, agora com 100MB de espaço, anti-spam e antivírus grátis! - Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages!
Re: [PHP-DB] How to define array variable while accessing it ???
Actually I want to know how to access the variable after defining it. Like : $query="delete from feedback where id=$delete[$i]"; $deleteresult=mysql_query($query) or die("Unable to delete"); But here I am not getting any value in "$delete[$i]"-(here $i is 0,1,2,3) So what to do to access it ? I cant access the value even by $_POST['$delete[$i]'] Can any of you suggest me the sollution ? Rinku --- Torsten Roehr <[EMAIL PROTECTED]> wrote: > "Matt M." <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > >type="checkbox" name=" printf("chk_arr[%d]",$i); ?>" value="" > > > > > > setup your checkbox something like this: > > > > value=" > > > > php will treat this as an array > > The closing php tag and quote of the value attribute > was missing: > > > > Regards, Torsten Roehr > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > __ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] How to define array variable while accessing it ???
While we want to access any variable value we can write Print $_POST['VariableName'] But it we want to access value for an array variable then what we should write ? Like for $chk_arr[$i] How to access this value in some particular function ? Pls read the code if you are not able to get my point . if(isset($_POST['action'])&&$_POST['action']=="Check Feedback") { $query="select * from feedback"; $result=mysql_query($query) or die("Could not execute Query"); $total=mysql_numrows($result); ?> > 0) { print $total; ?> Check it Comment Type Comment On Comment Name E-mail Phone " value="" > "; ?>
Re: [PHP-DB] Call to undefined function mysql_connect()
And If you need any documentation for Apache, PHP, Mysql and PhpMyAdmin Installation on WinXP or for WinNt then pls do write me I'll send it to you. Rinku --- "Larry E. Ullman" <[EMAIL PROTECTED]> wrote: > > But i received "Call to undefined function > mysql_connect() on line 5" > > > > Can anyone help me? > > Your PHP installation apparently does not support > MySQL. You can > confirm this by running a phpinfo() script. You may > need to > reinstall/recompile PHP. > > Larry > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > __ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Auto increament
Thank you. It worked. Rinku --- Jonathan Haddad <[EMAIL PROTECTED]> wrote: > I believe the data type needs to be int - unless > mysql interprets > auto_increment as a int automatically. > > Here's an example from mysql.com > > > CREATE TABLE animals ( > id MEDIUMINT NOT NULL AUTO_INCREMENT, > name CHAR(30) NOT NULL, > PRIMARY KEY (id) > ); > Enjoy. > > Jon > > On Jun 27, 2004, at 8:25 AM, Daniel Clark wrote: > > > Yes there is an auto increment field in mySQL and > most other databases. > > > >>> Can any of you guide me how to do auto > increament in a field? > >>> I think there is one datatype for auto > increament. > >>> But I dont know how to do it ? > >>> > >>> Rinku > > > > -- > > PHP Database Mailing List (http://www.php.net/) > > To unsubscribe, visit: > http://www.php.net/unsub.php > > > > > > > __ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] Auto increament
Can any of you guide me how to do auto increament in a field? I think there is one datatype for auto increament. But I dont know how to do it ? Rinku - Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers!
[PHP-DB] Validate Value
I am trying to check the variable for validation. I have written this code, but still I am not getting expected output. Can any of you suggest me what is missing in this ? Expected Output 1)If the variable is set and value is not alphabatic then system should say "Alphabatic value require" for the field named "txtname'. And cursor should focus on txtname. 2)If the variable is set and value is not Numeric then system should say "Numeric value require" for the field named "txtph_no'. And cursor should focus on txtname. function check_validata() { if($_POST['txtname']=='') { if (!is_alpha($_POST['txtname'])) { ?> alert("Input alphabatic value !!!"); online_form.txtname.focus(); alert("Input Name !!!"); online_form.txtname.focus(); alert("Input numeric value !!!"); online_form.txtph_no.focus(); alert("Input Phone No"); online_form.txtph_no.focus(); http://mail.yahoo.com
[PHP-DB] Javascript help require
I need Javascript help for this 1)I want to validate a variable called "name" If variable's value is not set then system should say "Value require". If its not alphabatic then system should say "Alphabatic value require". And curser's focus should come on textbox named "name". 2)I want to validate a variable called "Phone_no" If variable's value is not set then system should say "Value require". If its not numeric then system should say "Numeric value require". And curser's focus should come on textbox named "Phone_no". Pls answer if you can. I have tried but not 100% succeed. Regards Rinku __ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] Outlook Express
Hi , I know this is not PHP DB question, But if you answer for this then I wd be thankful to you. The question is "How to configure Outlook Express for yahoo ID ?" Regards, Rinku __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] require function detail with example
1)I need to check a variable weather it is numeric or character. Could any of you answer for the query ? 2)I want to set the focus of one particular textbox. So could you pls answer how to setfocus ? __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] SSL with MySQL 4.0
I dont know much abt SSL . But pls check the URL, I hope it wd be useful to you. http://support.microsoft.com/?kbid=314864 Edgar Hassler <[EMAIL PROTECTED]> wrote: Does PHP support SSL connections to MySQL? If no, does anyone have an idea how to make an SSL conncetion to MySQL using PHP? Thanks, Edgar Hassler -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php - Do you Yahoo!? Yahoo! Mail - You care about security. So do we.
Re: [PHP-DB] value error in PHP form
Thanks Zak, Its really amazing. It worked Properly. Thanks once again. Rinku Zachary Krakov <[EMAIL PROTECTED]> wrote: Hi Rinku, The statement syntax that I believe will work you is the following: If (($VARIABLE1 !== '') && ($VARIABLE2 !== '')) { print "Rinku"; } Let me know if this works. Hope this helps. Best, -Zak From: Rinku Date: Thu, 24 Jun 2004 03:07:12 -0700 (PDT) To: Zachary Krakov Cc: Subject: Re: [PHP-DB] value error in PHP form Hi Zak, Thanks for your suggestion. It really worked. Now pls answer for the query described below : I had written the code : if(isset($_POST['Variable1'])&&isset($_POST['Variable2'])) { Print "Rinku"; } Here, even if variables are not set then even I am getting Output as "Rinku". Could you pls answer for the query. Thanks, Rinku Zachary Krakov wrote: Hi Rinku, One problem I see is that the HTML tags appear to be off... Your HTML is improperly formatted, which could be causing rendering anomalies to occur, in addition to the register globals issue which I'll mention shortly. Please correct your HTML code to read: HTML_BODY_HERE Two, Like Kenny said, change the "register_globals = Off" directive in your PHP.ini file to " register_globals = On" so that variables are carried from your form values into your post-processing PHP print functions. Hope this helps, Best, -Zak On 6/20/04 4:34 AM, "Kenny" wrote: > This could be due to register globals on/off > > Use > print $_POST['action']; > print $_POST['Name']; > > Kenny > > -Original Message- > From: Rinku [mailto:[EMAIL PROTECTED] > Sent: 20 June 2004 12:23 > To: [EMAIL PROTECTED] > Subject: [PHP-DB] value error in PHP form > > Dear All, > > I have installed PHP on WinXp. I am using MySql as Backend on Apache > server. > Now the problem is.. > I am writing this code : > > > > > > > > > > [input] > [input] > > print $action; > print $Name; > ?> > > > > Here I should get output as LoginRinku > But I am getting nothing. > > Can any of you guide me on this? > > Regards, > Rinku > > > > > > > - > Do you Yahoo!? > New and Improved Yahoo! Mail - Send 10MB messages! -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php - Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php - Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses.
Re: [PHP-DB] value error in PHP form
Hi Zak, Thanks for your suggestion. It really worked. Now pls answer for the query described below : I had written the code : if(isset($_POST['Variable1'])&&isset($_POST['Variable2'])) { Print "Rinku"; } Here, even if variables are not set then even I am getting Output as "Rinku". Could you pls answer for the query. Thanks, Rinku Zachary Krakov <[EMAIL PROTECTED]> wrote: Hi Rinku, One problem I see is that the HTML tags appear to be off... Your HTML is improperly formatted, which could be causing rendering anomalies to occur, in addition to the register globals issue which I'll mention shortly. Please correct your HTML code to read: HTML_BODY_HERE Two, Like Kenny said, change the "register_globals = Off" directive in your PHP.ini file to " register_globals = On" so that variables are carried from your form values into your post-processing PHP print functions. Hope this helps, Best, -Zak On 6/20/04 4:34 AM, "Kenny" wrote: > This could be due to register globals on/off > > Use > print $_POST['action']; > print $_POST['Name']; > > Kenny > > -Original Message- > From: Rinku [mailto:[EMAIL PROTECTED] > Sent: 20 June 2004 12:23 > To: [EMAIL PROTECTED] > Subject: [PHP-DB] value error in PHP form > > Dear All, > > I have installed PHP on WinXp. I am using MySql as Backend on Apache > server. > Now the problem is.. > I am writing this code : > > > > > > > > > > [input] > [input] > > print $action; > print $Name; > ?> > > > > Here I should get output as LoginRinku > But I am getting nothing. > > Can any of you guide me on this? > > Regards, > Rinku > > > > > > > - > Do you Yahoo!? > New and Improved Yahoo! Mail - Send 10MB messages! -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php - Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage!
[PHP-DB] Value Error in execution
Dear all, Can you aswer for the Query as follow : if(isset(_POST['VARIABLE1']$$(_POST['VARIABLE2']) { print "testing"; STATEMENTS; } Here, even I havent set the value for the variables then even I am getting the output like "testing". Can any of you suggest me the sollution for the query ? Thanks, Rinku - Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage!
Re: [PHP-DB] value error in PHP form
Thank you very much Kim, Its really very much useful to me. I was trying to fing the sollution from a long time. At last you had answered me. Thanks Once Again. Regards, Rinku Kim Steinhaug <[EMAIL PROTECTED]> wrote: Or $_GET["action"]; $_GET["Name"]; Do yourself a HUGE favour and start using _GET and _POST right away on all queries. Also look into the well known problems with addslashes with globals on while your at it. On php.net there are good explernations and examples, look into the reslash() and deslash() example. One of theese days youll wake up and globals are off by default. (Well, isnt PHP5 off?) The problem is, your are used to program with globals on... If you have like 50 clients who wakes up with globals off you are inn for a bad day (or week... ) When I first started with PHP I loved the globals, but the last year they have really pissed me off mostly. The best thing you can do is be sure your software works with globals off, and then take it for a test drive with globals on. It may sound trivial and annoying to read, but this is one of the major "buggers" of programming PHP - so do it now, :) You wont regret it I promise you. -- -- Kim Steinhaug -- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don't. -- www.steinhaug.com - www.easywebshop.no - www.webkitpro.com -- "Kenny" wrote in message news:[EMAIL PROTECTED] > This could be due to register globals on/off > > Use > print $_POST['action']; > print $_POST['Name']; > > Kenny > > -Original Message- > From: Rinku [mailto:[EMAIL PROTECTED] > Sent: 20 June 2004 12:23 > To: [EMAIL PROTECTED] > Subject: [PHP-DB] value error in PHP form > > Dear All, > > I have installed PHP on WinXp. I am using MySql as Backend on Apache > server. > Now the problem is.. > I am writing this code : > > > > > > > > > > [input] > [input] > > print $action; > print $Name; > ?> > > > > Here I should get output as LoginRinku > But I am getting nothing. > > Can any of you guide me on this? > > Regards, > Rinku > > > > > > > - > Do you Yahoo!? > New and Improved Yahoo! Mail - Send 10MB messages! -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php - Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage!
Re: [PHP-DB] value error in PHP form
Actually I want to use the function like if($action="Login") { Statements; } But here I am not getting any value in $action even I click on it. When I was using Linux at that time I had not this kind of problem. Rinku Marvin Hechanova <[EMAIL PROTECTED]> wrote: You have to assign values to your name and action e.g. [input] " value=Rinku> [input] " type=submit value="Submit Query" value="Login"> but why would you want to print the results? On Sun, 20 Jun 2004 04:22:59 -0700 (PDT), Rinku wrote: > > Dear All, > > I have installed PHP on WinXp. I am using MySql as Backend on Apache server. > Now the problem is.. > I am writing this code : > > > > > > > > > [input] > [input] > > print $action; > print $Name; > ?> > > > > Here I should get output as LoginRinku > But I am getting nothing. > > Can any of you guide me on this? > > Regards, > Rinku > > > - > Do you Yahoo!? > New and Improved Yahoo! Mail - Send 10MB messages! - Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers!
[PHP-DB] value error in PHP form
Dear All, I have installed PHP on WinXp. I am using MySql as Backend on Apache server. Now the problem is.. I am writing this code : Here I should get output as LoginRinku But I am getting nothing. Can any of you guide me on this? Regards, Rinku - Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages!