|
Hello,
I have buy one dedicated server and have book one domain name and Managed DNS for that domain. I have tried lot to set up the name server to my IP of the Dedicated Server if anybody has any idea to do so. please help me.
Thanks in advance.
Best Regards,
Chetan Patel
|
|
|
|
|
Get the IP of the server.
point the domain name at that IP.
If you cannot visit the site by typing the ip in the address bar of your browser, tell the web host in case they need to do anything else.
Wait 72 hours for the dns details to propagate the internet.
|
|
|
|
|
Hi Guys,
I have just copied the source code below from other sites. This codes will download a textfile from ftp server with network credentials. There's no problem in this code, just want to have a some kind of "Save Dialog Box". Because right now it is hard coded "C:\Sample.txt".
How would I prompt the Save Dialog box, so that the target directory is dynamic?
Codes below:
Try
Const ftpURI = "ftp://309..."
Dim filename As String = ftpURI & "Sample.txt"
Dim client As New WebClient
client.Credentials = New NetworkCredential("anonymous", "password")
My.Computer.FileSystem.WriteAllBytes("C:\Sample.txt", _
client.DownloadData(filename), True)
MsgBox("File downloaded!")
Catch ex As Exception
MsgBox(ex.ToString)
End Try
hifiger2004
|
|
|
|
|
I know this is not "Web Development" question, but since it involves JavaScript I thought this would be the best place to post this.
I am trying to create a, Windows Vista gadget of Most Recently Used files for a specific application using the shortcut files in the Recent Files folder. Using Javascript I am able to read the files and launch the program with those files. But I also would like to be able to extract the target property (the path and name of the file it is linked to) and the modified date.
I have not found any way to do this via scripting languages and was wondering if anybody had any suggestions.
|
|
|
|
|
I am not sure if you can use only javascript to accomplish what you want. If you restrict your self to only IE, then you can use some Activex to do it. See here for example[^]
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Thanks,
I seem to be able to get the modified date, that way. However, I still cannot find away to get the target of a shortcut
|
|
|
|
|
shortcut are .lnk files. you can access shortcut files using IShellLink but I am not sure if this can be done from Javascript. see here[^]
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
I have done project using javascript and asp.net, however in most of the area i have used cookies in javascript..
My issues is, in some customers browser cookies is disabled ... i want that to be enable i.e when i run my webpage it should ask "Plz enable cookies" and when clicking "ok" button cookies should be enabled.
Plz help....
Ramkumar(senior pgmr)
|
|
|
|
|
Firstly, its NOT urgent.
Try writing a cookie and see if you get an error, and from that you should be able to deduce if its because cookies are disabled and display the message.
getramonweb wrote: when clicking "ok" button cookies should be enabled
Won't happen, you cannot do it from your code, hence your original problem.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
How is he a "Senior Programmer" or "senior pgmr" as he puts it?
hmmm pie
|
|
|
|
|
I am working on a from that contains these fields( email,subject and message) when i click the submit button i get this error, how can i solve it?
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Program Files\EasyPHP 2.0b1\www\mailform.php on line 10
Thank you for using our mail form
|
|
|
|
|
I suspect the answer is in the error message
Ahmad Hamid wrote: Failed to connect to mailserver at "localhost" port 25
sort of says it all.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
|
|
Ive written a function which works in Firefox but not in IE, in fact there are several things about this page that dont work in IE but this is the main one!!
I have a list view within a CMS that is displaying a list of pages within a web site. Part of the list is a status indicator (A graphic) which is either green, orange or red dependent on the current status of the page. Ive written an onclick Ajax function that alters the image and updates the DB stored status of the page. This is accomplished everytime the image is clicked - The icon is altered based on its current state, the function is called which creates an Ajax object, passes the current state and the id of the page to a PHP script which updates the mysql database. NOTHING IS RETURNED FROM THE PHP SCRIPT.
The code for this is as follows:
//PHP function call
showStatus($myRow['id'], $myRow['status'], $userID);
PHP function definition
function showStatus($id, $status, $editor)
{
if ($status == "1")
print "";
if ($status == "5")
print "";
if ($status == "9")
print "";
}
function getStatus(id, editor)
{
createObject();
if (XMLHttpRequestObject)
{
var url = "/cms/functions/ajax/getStatus.php?id=" +id;
XMLHttpRequestObject.open("GET", url, true);
XMLHttpRequestObject.onreadystatechange = function()
{
if (XMLHttpRequestObject.readyState == 4 && XMLHttpRequestObject.status == 200)
{
var result = XMLHttpRequestObject.responseText;
changeStatus(id, result, editor);
}
}
XMLHttpRequestObject.send(null);
}
}
function changeStatus(id, currentStatus, editor)
{
createObject();
if (XMLHttpRequestObject)
{
var icon = document.getElementById("statusIcon"+id);
var url = "/cms/functions/ajax/statusUpdater.php?id=" +id+"&editor=" +editor+ "&curState=" +currentStatus;
XMLHttpRequestObject.open("GET", url, true);
XMLHttpRequestObject.onreadystatechange = function()
{
if (XMLHttpRequestObject.readyState == 4 && XMLHttpRequestObject.status == 200)
{
var result = XMLHttpRequestObject.responseText;
if (currentStatus == 1)
{
icon.src = "images/system/paused.gif";
}
if (currentStatus == 5)
{
icon.src = "images/system/stopped.gif";
}
if (currentStatus == 9)
{
icon.src = "images/system/active.gif";
}
}
}
XMLHttpRequestObject.send(null);
}
}
AND FINALLY
// The php mysql update
include "../../_sql/config.php";
include "../../_sql/connect.php";
$table = "structure";
$id = $_GET['id'];
$curState = $_GET['curState'];
$editor = $_GET['editor'];
if ($curState == "1")
$nextState = "5";
if ($curState == "5")
$nextState = "9";
if ($curState == "9")
$nextState = "1";
$sql = "UPDATE $table SET status = '$nextState', dateEdited = CURRENT_TIMESTAMP, editedBy = '$editor' WHERE id ='$id'";
$doit = mysql_query($sql);
I have a feeling this is because nothing is being returned by the AJAX function because Firefox javascript console is telling me that no element is found however I dont know how to correct this.
Any ideas? Sorry about the length of this post
|
|
|
|
|
I suggest using JQuery[^] as it's functionality is compatible in all(most) browsers as far as I know.
Then you may want to use the Ajax Post Method[^] as I find it easier.
hmmm pie
|
|
|
|
|
I have a regular expression to strip out all the html tags except tag the regular expression is:
<\S[^><]*[^p\s]>
The problem with the expression is it strips out all the tag except but needs a space if there is any attributes inside.
It works fine for <p attributes="asdf" >
but doesnot work for
<p attributes="asfd">
What may be the problem.
Further i need to add tag as well so that the regular expression strips out all the html tag but not and
Thanks in advance
modified on Tuesday, March 17, 2009 8:06 AM
|
|
|
|
|
Hi Friends,
IIS 5.1 SMTP virtual Server doesn't show in inetmgr I am using win XP. Admin login "IIS 5.1 SMTP virtual Server" showed but doesn't shown in user login what i do..
plz help me..
|
|
|
|
|
Member 4482742 wrote: showed but doesn't shown
what is your question? it shows or it does not show?
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Hi Friends,
How to come in google's first page in my website.. anybody known help me...
|
|
|
|
|
Do you want to be the first item in the result list?
Two options:
Option One: Easy but expensive - give Google money so that you will be inserted as an advertiser
Option Two: Difficult and expensive - build a website everbody knows and love
Was this your question?
Regards
Sebastian
|
|
|
|
|
Hi thanks for your information, but my office no need to spend money for this one but improment google page rate what i do.. this is my milestone..
|
|
|
|
|
|
Hi,
Thanks for your valiable information and links.. I will try...
|
|
|
|
|
Is it possible to create a flash control that would allow you to drag and drop files and folders from the computer into the browser for purposes of uploading the files and folders (structure intact) to a server?
I just need to know if we can capture the data/events on the client and how we would do that.
Thanks for any input!
Jason
|
|
|
|