Goto Page: 1, 2
Actual Results
- mishka
- Forum: Programming / Scripting / Coding Forum
- Topic: Email PHP script
- Subject: Email PHP script
- Replies: 7
- Views: 267
- Subject: Email PHP script
Posted: December 16th, 2008, 9:00 am
http://dev.mysql.com/doc/refman/5.0/en/encryption-functions.html#function_password so yeah password() is not recommended ... moreover it would be less efficient (even redundant) causing unnecessary additional hit on mysql engine. so probably the best is: 1) generate pw on application layer; 2) store...
- mishka
- Forum: Programming / Scripting / Coding Forum
- Topic: subdomain (cname) to directory
- Subject: subdomain (cname) to directory
- Replies: 4
- Views: 355
- Subject: subdomain (cname) to directory
Posted: December 1st, 2008, 1:47 pm
In case this is the acceptable conceptual solution and your part is scripting while server party managed by someone else ... than U definitely need this VHOST be defined in Apache conf otherwise as U may understand it would be no more the 404 dummy redirection. Anyway, it's definitely possible, I pe...
- mishka
- Forum: Programming / Scripting / Coding Forum
- Topic: subdomain (cname) to directory
- Subject: subdomain (cname) to directory
- Replies: 4
- Views: 355
- Subject: subdomain (cname) to directory
Posted: December 1st, 2008, 1:03 pm
Hmm .... not sure if I've got to the point but may be using Apahce VHOST is what U looking for?
http://httpd.apache.org/docs/2.0/vhosts/
http://httpd.apache.org/docs/2.0/vhosts/
- mishka
- Forum: Programming / Scripting / Coding Forum
- Topic: include PHP script from MyQSL database
- Subject: include PHP script from MyQSL database
- Replies: 5
- Views: 400
Posted: December 1st, 2008, 12:51 pm
Oh man ... use include()...
Just the way of thinking to utilize DB engine to store scripts is unappropriated from conceptual POV ...
Just the way of thinking to utilize DB engine to store scripts is unappropriated from conceptual POV ...
- mishka
- Forum: Programming / Scripting / Coding Forum
- Topic: Quick PHP SQL Question
- Subject: Quick PHP SQL Question
- Replies: 2
- Views: 235
- Subject: Quick PHP SQL Question
Posted: December 1st, 2008, 8:34 am
I would urge U to acquire as fast as possible basics methods of debugging. 1. (I use it a lot) ... echo your query echo $deleteSQL = "DELETE FROM `client` WHERE `client_id` = '$ClientDeleteID' "; than cut & paste it in order to invoke this statement directly from mysql engine (console ...
- mishka
- Forum: Programming / Scripting / Coding Forum
- Topic: subtracting 1 date from another
- Subject: subtracting 1 date from another
- Replies: 13
- Views: 4481
- Subject: subtracting 1 date from another
Posted: September 3rd, 2008, 7:15 am
I'm using this a lot ... thought to be honest I'm not the author /** * Return number of day between 2 dates * @param string $date1 Date to compare * @param string $date2 Date to compare * @access public **/ function diff_date($date1, $date2){ $an = substr("$date1", 0, 4); $mois = substr(&q...
- mishka
- Forum: Programming / Scripting / Coding Forum
- Topic: Rounding up
- Subject: Rounding up
- Replies: 7
- Views: 285
- Subject: Rounding up
Posted: July 4th, 2008, 10:25 pm
why don't U just use modulo operator (%)
yeah old fashion way to accomplish this kind of task at times when I was "Young & Restless"
yeah old fashion way to accomplish this kind of task at times when I was "Young & Restless"
- mishka
- Forum: Programming / Scripting / Coding Forum
- Topic: Images not showing up in fire fox works well in IE
- Subject: Images not showing up in fire fox works well in IE
- Replies: 7
- Views: 558
Posted: June 30th, 2008, 1:07 pm
Check DTD defined on loaded page .... usually when page behavior (well html layout being more precise) differs between the browsers it usually may caused by DTD standard defined (or not defined) by the page ... eventually it affect the way browser is rendering elements within the page, alternately d...
- mishka
- Forum: Programming / Scripting / Coding Forum
- Topic: Transferring information between domain and SSL domain
- Subject: Transferring information between domain and SSL domain
- Replies: 1
- Views: 277
Posted: June 29th, 2008, 8:37 pm
I hope I understood your issue ... U need to transfer sensitive data between to hosts but U can not use secure channel. So, I'm not big expert in SSL stuff but in your case what I would probably do is to use additional customized layer of encryption ... means encrypting already encrypted data (like ...
- mishka
- Forum: Programming / Scripting / Coding Forum
- Topic: php &Database Performance "issue"
- Subject: php &Database Performance "issue"
- Replies: 3
- Views: 231
- Subject: php &Database Performance "issue"
Posted: June 29th, 2008, 8:18 pm
Hmm ... well intuitively I would say that flat file would be faster because in anyway you make your call to DB through PHP wrapper ... so by accessing it directly You spare this mediator layer. But it's not absolute and may depends and change up to circumstances and usage issues ... so the question ...
- mishka
- Forum: Programming / Scripting / Coding Forum
- Topic: A quick php session question
- Subject: A quick php session question
- Replies: 28
- Views: 652
- Subject: A quick php session question
Posted: June 29th, 2008, 7:45 pm
...I usually keep the form separate and I include the form into the page. This usually means that my pages are mostly PHP. Separating the layout from the programming. (This also allows me to edit 1 file to change everything else in other files... sort of a template mechanism). My complements Mr. B....
- mishka
- Forum: Programming / Scripting / Coding Forum
- Topic: A quick php session question
- Subject: A quick php session question
- Replies: 28
- Views: 652
- Subject: A quick php session question
Posted: June 27th, 2008, 10:13 pm
All Amy wants is to let a user submit the data and have the submitted data be viewed for review. You can either use SESSIONS or the HIDDEN form techniques... I usually use HIDDEN when there are only two pages... 1 with the form and the other for review. If there are more pages, it's probably better...
- mishka
- Forum: Programming / Scripting / Coding Forum
- Topic: A quick php session question
- Subject: A quick php session question
- Replies: 28
- Views: 652
- Subject: A quick php session question
Posted: June 27th, 2008, 8:52 pm
designingamy wrote:
I do appreciate Mishka and what she taught me as well.
~Amy
~Amy
Don"t mess with the gender ... it is a HIDDEN field
- mishka
- Forum: Programming / Scripting / Coding Forum
- Topic: A quick php session question
- Subject: A quick php session question
- Replies: 28
- Views: 652
- Subject: A quick php session question
Posted: June 26th, 2008, 11:05 am
Or since it says HIDDEN, it won't show up on the 2nd page? ~Amy Yes, it will not shown up but its value still submitted to the next page. Get some tutorial on HTML (hidden, readonly, disable ...) the are more ... I can recommend on following: http://www.annabella.net/helplinks.html particularly htt...
- mishka
- Forum: Programming / Scripting / Coding Forum
- Topic: A quick php session question
- Subject: A quick php session question
- Replies: 28
- Views: 652
- Subject: A quick php session question
Posted: June 26th, 2008, 10:59 am
That does seem like a whole lot of more work than just putting it into a SESSION, doesn't it? ~Amy It's irrelevant argument for the case .... it's scripting programming for content browsing ... not some real time programmed navigation controller, so I wouldn't worry about it and even it's more work...

