Search found 15 matches
- Tue May 08, 2007 3:53 pm
- Forum: PHP - Code
- Topic: Php Encryption Algorithms -- Help Needed!!!
- Replies: 7
- Views: 1092
- Mon May 07, 2007 7:30 pm
- Forum: PHP - Code
- Topic: Php Encryption Algorithms -- Help Needed!!!
- Replies: 7
- Views: 1092
Php Encryption Algorithms -- Help Needed!!!
Hi all, In my application, I'm trying to encrypt a certain string and send it back to the user by email. Currently i'm using SHA(1). I tried SHA and MD5 also. The problem with these is they give a really long (40 characters) encrypted string. The users are freaking out seeing such a big string. To m...
- Wed Jan 31, 2007 12:19 pm
- Forum: PHP - Code
- Topic: JS Function in PHP && GET THE RETURNED VALUE in PHP
- Replies: 10
- Views: 462
- Wed Jan 31, 2007 11:26 am
- Forum: PHP - Code
- Topic: JS Function in PHP && GET THE RETURNED VALUE in PHP
- Replies: 10
- Views: 462
JS Function in PHP && GET THE RETURNED VALUE in PHP
Hi, I have been struggling from a long time to accomplish dependable select boxes in my php page. I have a select box say s1, which, on change should effect a few other select boxes say s2, s3, s4 to change options (ofcourse based on the value of s1). What i did is - i wrote a JS function to get the...
- Wed Jan 10, 2007 5:17 pm
- Forum: PHP - Code
- Topic: PHP - Querying and Displaying data from MYSql
- Replies: 4
- Views: 407
- Solved
Hi Volka, Thanks for the response. Actually, i figured it out myself. I removed the 'mysql_real_escape_string' and it worked....everything worked... and now the page is ready. One question though. I have used this 'mysql_real_escape_string' in another page and it worked fine. The only difference tho...
- Wed Jan 10, 2007 2:43 pm
- Forum: PHP - Code
- Topic: PHP - Querying and Displaying data from MYSql
- Replies: 4
- Views: 407
PHP - Querying and Displaying data from MYSql
Hi, I should design a form that gets data from mysql dB, based on the user selection on the form, and display it on the same page. I facing a werd problem. All my values are becoming nulls once i hit the 'Query' button. So i commented all my code to get to the exact problem. Now, all i have is this:...
- Thu Jan 04, 2007 5:55 pm
- Forum: PHP - Code
- Topic: DATE -TIME Question
- Replies: 15
- Views: 1564
DONE......It's working...i guess the way i was inserting nulls was wrong. i played around with the quotes for some time and i got it. Thanks you guys for all the help. This si the first time i'm coding php and you guyz have been great. As they say the reward for good work is more work....So I'll bug...
- Thu Jan 04, 2007 5:00 pm
- Forum: PHP - Code
- Topic: DATE -TIME Question
- Replies: 15
- Views: 1564
Thanks Volka. That was fantastic. It looks so organized. I like it and will definitely implement it. But, my problem is not with data insert, but with inserting null values (and that too, null values for datetime and integer datatypes). Your code below checks for data entry and forces the user to en...
- Thu Jan 04, 2007 4:17 pm
- Forum: PHP - Code
- Topic: DATE -TIME Question
- Replies: 15
- Views: 1564
- Thu Jan 04, 2007 2:44 pm
- Forum: PHP - Code
- Topic: DATE -TIME Question
- Replies: 15
- Views: 1564
Sorry feyd but i did not understand what you implied. I should not put quotes where? In the sql statement or in the $_POST statement? Or should i put quotes??? Sorry but i'm confused. As for mysql_real_escape_string(), i'm implementing it on all the variables. and can i say: mysql_real_escape_string...
- Thu Jan 04, 2007 1:48 pm
- Forum: PHP - Code
- Topic: DATE -TIME Question
- Replies: 15
- Views: 1564
I have implemented both the suggestions above by Feyd and Everah. Changes - i used this to fetch the variables.... $target_ga_date=$_POST['targetgadate']; $actual_ga_date=$_POST['actualgadate']; Then i set them to null and initiated them with user values when the form is posted.... $target_ga_date =...
- Wed Jan 03, 2007 6:53 pm
- Forum: PHP - Code
- Topic: DATE -TIME Question
- Replies: 15
- Views: 1564
Hi Feyd, I tried removing the quotes in the sql statement and also removed them while getting the values into the variables. Like: $target_ga_date=$_POST[targetgadate]; $actual_ga_date=$_POST[actualgadate]; instead of $target_ga_date=$_POST['targetgadate']; $actual_ga_date=$_POST['actualgadate']; Bu...
- Wed Jan 03, 2007 6:39 pm
- Forum: PHP - Code
- Topic: DATE -TIME Question
- Replies: 15
- Views: 1564
- Wed Jan 03, 2007 6:20 pm
- Forum: PHP - Code
- Topic: DATE -TIME Question
- Replies: 15
- Views: 1564
DATE -TIME Question
feyd | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] Hi, I hav...
- Thu Dec 28, 2006 4:45 pm
- Forum: PHP - Code
- Topic: DATE function - Space problem
- Replies: 2
- Views: 310
DATE function - Space problem
feyd | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] Hi, I nee...