User Profile
Collapse
-
No. It still stands unresolved.... -
-
Add/Subtract Date/Time
Hi,
I have a Database (MSSQL) with some tables having multiple Time columns (which I imported from some Access DB).
The DateTime format in the MSSQL isformat. I populate my web forms using these columns (start time etc.) My problem is I cannot seem to add subtract time. I only need time part and I can use TimeFormat() function but I cannot seem to add time.Code:1899-12-30 02:30:00.0
Can coldfusion deal with... -
DATETIME - Time only needed
Hi,
I'd like to know how to delete Date part of the DATETIME in SQL Server. I currently have 12/30/1899 12:30:00 AM sort of values in the DB and would like have or use only the Time part.
Thanks
AJ -
Works like a charm. :)
Why was I missing this?
Thanks a lot Ronald.
Best,
AJ...Leave a comment:
-
I just tried your way on the second form which has appName...
Please note that the appName is not being passed at all in FF.
Code:Array ( [appName] => [username] => fdghdhd [pass] => dgdgh [update] => Submit )
Whereas in IE, the output was -
...Code:Array ( [appName] => testing_gendb [username]Leave a comment:
-
Ronald, wow. you take a lot of effort. I am really amazed. :)
I can very well get the output of methodUI to the next page where using methodUI value I will create a form depending on the value of methodUI. I can very well get to the part where methodUI is being passed successfully and the appropriate form is being generated on the next level. But for
I have a dropdown list from...Code:methodUI=="1"
Leave a comment:
-
Thanks for the response ronverdonk
DB details are correct.
This form is displayed on the basis of a value (methodUI) from a previous form which either sends a "1" or a "2". It is basically a dropdown list where user selects on of the two choices. Based on that, on the next page, respective form is showed.
This is working fine in IE but not in FF.
...Code:<form method="post"
Leave a comment:
-
...Code:<?php if ($_POST['methodUI'] == "1") { $link = mysql_connect('DB details); if (!$link) { die('Could not connect: ' . mysql_error()); } mysql_select_db('app_pw_container'); $query="SELECT pkey_app_name FROM main_up"; $result=mysql_query($query); echo '<form method="post" action="update.php" name="form2">';Leave a comment:
-
I have a similar issue...when using IE 6 variable is displayed but it sends a "" when using Firefox. Both under Windows 2000/XP
Any solutions to this problem would be highly appreciated.
Thanks
AJ...Leave a comment:
-
amanjsingh replied to Show an advisory "Going to External Link" while the user is going out of my domainin PHPOh, that means change all the files anyways. I hoped there was an easy solution. thanks a lot for your help. No issues with the syntax, with so many languages it has become a pain anyways to learn that....Leave a comment:
-
I have had this problem too but I could not find any solution. I always had asked this question that if a script is trying to output a file or directory what user would that be? So, that I can give that user permissions etc to do this.
Somehow my script has started working fine and I feel that if you set the particular directory settings to all permissions then it gets better.
Also, please note that I had to put the...Leave a comment:
-
I do not like captchas anyways but there can be a good way to have a dynamically moving (animated) background generated on the fly with some random text in front.
But as Gurus here already said (and I agree) there are better ways other than captchas. Captchas just irritate people.Leave a comment:
-
Yes, I am sorry. After a long and tedious inspection I figured out that the original file had variables set before the classes. I think that is a problem.Leave a comment:
-
amanjsingh started a topic Show an advisory "Going to External Link" while the user is going out of my domainin PHPShow an advisory "Going to External Link" while the user is going out of my domain
Hi,
I have my website and want to perform this functionality most likely using PHP. Please note that the website is huge and manual editing of pages is not possible.
Is there a quick solution tom implement an advisory or an intermediate message like "You are not leaving www.xxxxx. domain and going to external website" when a user clicks on any "external" link on my website?
Thanks,... -
I do not have reporting on. I use var_dump(). No the spellings are ok too. This happens only to a few files. Rest of the includes are working well....Leave a comment:
-
Include_once( ) strange error
I have multiple applications on my website. So, there is a master config file and then there are multiple local config files for individual apps. There is a strange problem though,
In 3 applications I am doing include_once of the master_config.p hp. If I run the local config file which has master_config.p hp, I can see the variable dumps I have to import. But when I use the local config.php in my application (say index.php), the variable... -
Well, I came to know that base class constructor does not automatically pass to the derived class. So I put my username and password in a class in some different file. Included this file in the dat.php and in the constructor of the class DB{} I used this =
Any suggestions if this secure?Code:class DB extends DB_p { function DB { parent::DB_p(); } }
Thanks
AJLeave a comment:
-
PHP Class Trouble
I am new to OOPS esp in PHP and I am stuck here -
I have a file called dat.php which has a class defined in it. This class has usual functions for database connectivity and error reporting if not connected etc. I use this file anywhere in my application I want to connect to my database.
The constructor is
...Code:function DB { $this->host = 'XXXXXXXX'; $this->user = 'XXXXXXXX'; -
So is it possible to block the IP address or visit anonymously?...Leave a comment:
No activity results to display
Show More
Leave a comment: