Re: [PHP] help plz

2006-01-16 Thread Richard Correia
Hey Suresh, I know ..we all have faced similar problem when we started our career in php perl mysql. Please visit the http://weberdev.com for ultimate article and code example for Php and Mysql. Try Wrox books for php5. Thanks Richard On 1/16/06, suresh kumar [EMAIL PROTECTED] wrote: hi,

Re: [PHP] help plz

2006-01-16 Thread Jay Paulson
I have this book and have been very impressed with it. However, if you are a beginner programmer I would say not to get it until you understand the basic programming concepts and have a working knowledge of PHP. :) On 1/16/06 1:14 AM, Ligaya Turmelle [EMAIL PROTECTED] wrote: I personally

RE: [PHP] help plz

2006-01-16 Thread Weber Sites LTD
://toolbar.weberdev.com -Original Message- From: suresh kumar [mailto:[EMAIL PROTECTED] Sent: Monday, January 16, 2006 8:31 AM To: php-general@lists.php.net Subject: [PHP] help plz hi, i am working as a web designer in PHP Mysql.i know the basics of PHP Mysql,i want 2 become PHP Expert,i am planning

Re: [PHP] help plz

2006-01-16 Thread Ligaya Turmelle
I am also assuming you actually do know the basics of MySQL and PHP and are looking for that next step - past the beginner stuff. Ligaya Turmelle wrote: I personally liked George Schlossnagle's book Advanced PHP Programming, published by Sams.

Re: [PHP] help plz [Books]

2006-01-16 Thread Travis Doherty
Ligaya Turmelle wrote: I personally liked George Schlossnagle's book Advanced PHP Programming, published by Sams. I am also assuming you actually do know the basics of MySQL and PHP and are looking for that next step - past the beginner stuff. I agree. I have seen this book alone take

[PHP] help plz

2006-01-15 Thread suresh kumar
hi, i am working as a web designer in PHP Mysql.i know the basics of PHP Mysql,i want 2 become PHP Expert,i am planning to buy one Book,but i dont know which book 2 buy.plz give me info . A.suresh Send instant messages to your online friends

Re: [PHP] help plz

2006-01-15 Thread Ligaya Turmelle
I personally liked George Schlossnagle's book Advanced PHP Programming, published by Sams. http://www.amazon.com/gp/product/0672325616/qid=1137394700/sr=2-1/ref=pd_bbs_b_2_1/104-0195316-0794320?s=booksv=glancen=283155 suresh kumar wrote: hi, i am working as a web designer in PHP Mysql.i

Re: [PHP] password-protecting with PHP, help plz

2004-09-21 Thread AceZero2790
Thanks for the input, but unfortunately I have no idea how to do that, though I do have a MySQL server for my site. I'm still trying to learn basic PHP, I haven't moved on to PHP and MySQL connections and stuff yet. -Andrew

RE: [PHP] password-protecting with PHP, help plz

2004-09-21 Thread Dan Joseph
Hi, Thanks for the input, but unfortunately I have no idea how to do that, though I do have a MySQL server for my site. I'm still trying to learn basic PHP, I haven't moved on to PHP and MySQL connections and stuff yet. If you're talking about authentication, there are two methods.

Re: [PHP] password-protecting with PHP, help plz

2004-09-21 Thread Chris Dowell
And after that - go and try to find out a little on your own - contrary to a common misconception, it's not the sole purpose of members of this list to write all your code for you. The old favourites RTFM and STFW would serve you well here - there are thousands of PHP tutorials that will tell

Re: [PHP] password-protecting with PHP, help plz

2004-09-20 Thread Burhan Khalid
[snip] And here is the action page, testing2.php. if ($_POST['user'] == 'Andrew') ($_POST['pass'] == 'pass') { echo Welcome, Andrew.; } And (shocker!) I got a blank page. So I turned out display errors and got this: Parse error: syntax error, unexpected T_BOOLEAN_AND in

Re: [PHP] password-protecting with PHP, help plz

2004-09-20 Thread John Nichel
Burhan Khalid wrote: [snip] And here is the action page, testing2.php. if ($_POST['user'] == 'Andrew') ($_POST['pass'] == 'pass') { echo Welcome, Andrew.; } And (shocker!) I got a blank page. So I turned out display errors and got this: Parse error: syntax error, unexpected T_BOOLEAN_AND in

[PHP] password-protecting with PHP, help plz

2004-09-19 Thread AceZero2790
Hello, I'm trying to password protect a page with PHP, using forms and $_POST data and all that stuff. However, I'm running into problems setting it so that if the POST is equal to a certain thing, it'll do this or that (using if...else commands) and also problems with just getting blank pages

Re: [PHP] password-protecting with PHP, help plz

2004-09-19 Thread Curt Zirzow
* Thus wrote [EMAIL PROTECTED]: This page shows up ok, with the form generating just fine. The problem is when I get to the action page, testing2.php. Here is that: ?php if ($_POST['user']) == me { echo it's me!; } else { echo not me; ? You have a parse error, no ending }

Re: [PHP] password-protecting with PHP, help plz

2004-09-19 Thread Jason Wong
On Sunday 19 September 2004 21:47, [EMAIL PROTECTED] wrote: I'm trying to password protect a page with PHP, using forms and $_POST data and all that stuff. I strongly suggest you search out a few tutorials on this subject. google php authentication tutorial would be a good start. --

Re: [PHP] password-protecting with PHP, help plz

2004-09-19 Thread AceZero2790
I appreciate the help, but unfortunately it still doesn't work. I changed testing2.php, the action page to do this: ?php if ($_POST['user']) == me { echo Andrew; } else { echo not me; } ? I still get a blank page. What's more I turned on Display Errors and restarted the server, but

Re: [PHP] password-protecting with PHP, help plz

2004-09-19 Thread Janet Valade
[EMAIL PROTECTED] wrote: I appreciate the help, but unfortunately it still doesn't work. I changed testing2.php, the action page to do this: ?php if ($_POST['user']) == me { echo Andrew; } else { echo not me; } ? I still get a blank page. What's more I turned on Display Errors and

Re: [PHP] password-protecting with PHP, help plz

2004-09-19 Thread AceZero2790
You were right, my display_error function was turned off. I turned it on and get this: Parse error: syntax error, unexpected T_IS_EQUAL in c:\TSW\pages\testing2.php on line 3 So it isn't working. How do I get to let me make comparisons between the post data and something else? I figure if I

Re: [PHP] password-protecting with PHP, help plz

2004-09-19 Thread Janet Valade
[EMAIL PROTECTED] wrote: You were right, my display_error function was turned off. I turned it on and get this: Parse error: syntax error, unexpected T_IS_EQUAL in c:\TSW\pages\testing2.php on line 3 So it isn't working. How do I get to let me make comparisons between the post data and

Re: [PHP] password-protecting with PHP, help plz

2004-09-19 Thread John Taylor-Johnston
Try this. Add it to the very beginning. ?php if(!isset($PHP_AUTH_USER)){ header( WWW-Authenticate: Basic realm=\Are you allowed?\); header( HTTP/1.0 401 Unauthorized); echo Consult your teacher to have a valid login ID and password to access this page!\n; exit; }else{ if ( (

Re: [PHP] password-protecting with PHP, help plz

2004-09-19 Thread AceZero2790
Now moving on to using password protecting with more than one factor. I'm trying to figure out how to password protect with more than two factors: username and password. Here's the form: ?php echo _HTML_ form method=post action=http://www.thesonicworld.net/pages/testing2.php; Username: input

Re: [PHP] password-protecting with PHP, help plz

2004-09-19 Thread John Taylor-Johnston
Parse error: syntax error, unexpected T_BOOLEAN_AND in c:\TSW\pages\testing2.php on line 3 My code should do what you want? It uses authenticate? Any how :) I think you are missing acouple of brackets? if ( ($_POST['user'] == 'Andrew') ($_POST['pass'] == 'pass') ) { echo Welcome, Andrew.; }

[PHP] Help plz!

2001-05-03 Thread elias
Hello, It's a little off-topic, but this is driving me crazy! For some weird reason my IE5.5/View Source command is not working! not on any page! it's just not working! I click on it and nothing happens! Any suggestions? -elias -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Help plz!

2001-05-03 Thread elias
56 Till: [EMAIL PROTECTED] Ämne: [PHP] Help plz! Hello, It's a little off-topic, but this is driving me crazy! For some weird reason my IE5.5/View Source command is not working! not on any page! it's just not working! I click on it and nothing happens! Any suggestions? -elias -- PHP

Re: SV: [PHP] Help plz!

2001-05-03 Thread Tristan . Pretty
Whoa, take a deep breath and lets try again shall we. Elias, I have run into this prob before, but each time, it seemed to dissapear without reason. If you fancy joining a more.. liberal disscussion group, I recomend joining WDVL. It is a list for all things webby, and most computer related

Re: [PHP] Help plz!

2001-05-03 Thread Tristan . Pretty
Here you go mate... type in: view-source:http://www.anyurl.com and you'll see the source code. I did this in IE, but I presume it'll work in NN Good luck mate. Tris... === hmm take it easy! i ask whetever... and you reply if you can't and don't reply at all! PS.