|
|
Hi Akstgsb,
Dynamic websites are preferred because you can easily make changes in them.
|
|
|
|
|
Forgive me if this question has been asked 1000 times. I have designed a web interface. I am using AJAX with PHP. I am also including prototype.js.
What I want to do is display a pop up window that will ask the user for a file from the client computer. It will then upload the file to the server.
Thanks in advance.
|
|
|
|
|
|
My php application shows following Error message, I am New in PHP Please help.
fatal error call to undefined function mysql_connect()
|
|
|
|
|
Please do not post the same question in multiple forums.
Veni, vidi, abiit domum
|
|
|
|
|
You probably don't have the MySQL module or extension loaded in PHP. You need to run phpinfo() on your page to check if it's loaded.
[EDIT]
You really need to show the connect code, version of PHP and if your running in windows or Linux for more information.
sample code for connecting
$connect=mysql_connect("dbserver","dbuser","dbpassword") or die("Unable to Connect");
if your running on a linux server using SELinux, trying to connect to a remote server, then you need to use the SETBOOL command to give permission for http to use network connections
modified 13-Dec-13 18:50pm.
|
|
|
|
|
I feel that there is some problem in your connection of database. Check your database connection.
|
|
|
|
|
No - undefined function means you've never gotten through the .php code execution. It hasn't even tried to find the database.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Hello,
can anyone help me , i have to make my final year live project which is to develop a Web phone.
please explain me what actually i have to do ? from where should i start? and can make it using JavaScript and html5 ?
|
|
|
|
|
|
Hi All,
I am executing the .cmd in a html page with the below code.
<script language="JavaScript" type="text/javascript">
MyObject = new ActiveXObject("WScript.Shell")
function Runbat()
{
MyObject.Run("\"C:\\Users\\XXX\\Desktop\\XXX\\Scripts\\XX XX Groups\\X.cmd\"");
}
I have hosted this code in iis 7 for intranet. It works fine if i browse it on the same system.
But when i open the url in another system and click the button which runs the cmd file, it give error
"Message: The system cannot find the file specified."
Any suggestion will be appreciated.
Thanks.
|
|
|
|
|
So you think that if I browse to your web site I should be able to run x.cmd on YOUR machine, that is where the file lives.
You cannot magically run x.cmd om MY computer, you have to convince me to download x.cmd from your server and as I am not a total idiot that would never happen.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I want to execute the file on the server not on the client machine, but hen i click on the button from client machine it gives file not found error(i think it is looking for the file in the client machine, which is not my need. It should excute on the server. . And i have setup for intranet.
|
|
|
|
|
Vishalsb wrote: It should excute on the server
And then you write the code in javascript a CLIENT side scripting language - write the method in our c# code behind so it can execute on the server.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Public Function GetMaxSerialNumber(ByVal docType) As Int32
Dim db As Database = DatabaseFactory.CreateDatabase("igrwebConnectionString")
Dim sqlCommand As String = SP_UPDATE_DOCUMENTDETAILS
Dim dbCommand As DbCommand = db.GetStoredProcCommand(sqlCommand)
db.AddInParameter(dbCommand, "@operationType", DbType.String, "R")
db.AddInParameter(dbCommand, "@cType", DbType.Int64, docType)
Dim SrNo As Integer = db.ExecuteScalar(dbCommand)
Return SrNo + 1
End Function
The above code is giving an exception at db.ExecuteScalar(dbCommand)
Error is
ExecuteScalar requires the command to have a transaction when the connection assigned to the command is in a pending local transaction. The Transaction property of the command has not been initialized.
Please Help as i am new to enterprise library
|
|
|
|
|
As the exception says you need to instantiate a transaction in your code (which you aren't doing at this moment). That will fix your issue.
|
|
|
|
|
Hi all,
I want to show a video to the clients, the video is on youtube but youtube website is blocked in some countries.What should I do to make those people able to watch the video.Do I have to consider two different links one for youtube and one for another website?
Is there any code that can identify the video would n't be displayed for some certain users and automatically direct the user to another website?
Thanks
|
|
|
|
|
|
Usually this is handled at the client side with proxy servers.
Users throughout the world in countries with restricted internet access use proxy servers to get around the restriction because the data passes through an unblocked intermediate webserver.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Hi,
I would like to ask how can I use a $_SESSION["domain_name"] with window.location so this:
$('#btnBizHome').click(function() { window.location = 'passwordreset'; });
will look like this:
$('#btnBizHome').click(function() { window.location = $_SESSION["domain_name"] + 'passwordreset'; });
How can I do that?
Thanks,
Jassim
Technology News @ www.JassimRahma.com
|
|
|
|
|
Hereafter please post all your PHP questions in PHP forum[^](which is suitable one).
Thank you.
|
|
|
|
|
Your twelfth question in as many days. Don't you think a bit of learning would be of benefit?
Veni, vidi, abiit domum
|
|
|
|
|
Try this out
$('#btnBizHome').click(function() { window.location = <?php echo $_SESSION["domain_name"] ?> + 'passwordreset'; });
|
|
|
|
|
I am trying to have a share feature for the current page in my project but I am getting:
An error occurred. Please try again later.
can any one help please..
here is the page where you can try to share on facebook (using the Select an action) button:
http://www.xoompage.com/profile?id=347692ca-47a8-11e3-bea0-782bcb3e3838[^]
and here is the href for the facebook share:
https://www.facebook.com/dialog/feed?app_id=256274477853888&display=popup&caption=&link=&redirect_uri=
Technology News @ www.JassimRahma.com
|
|
|
|