|
Try http://quixplorer.sourceforge.net/ or just google for 'PHP File Manager' or whatever language you prefer
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for - in order to get to the job you need to pay for the clothes and the car, and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
|
|
|
|
|
I'm looking for an asp based script/app
TY for the post though....
|
|
|
|
|
The simple solution might be to allow directory listing for that folder, and possibly password protect the folder.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for - in order to get to the job you need to pay for the clothes and the car, and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
|
|
|
|
|
Hi,
I have a website, like:
/myfolder/
/
I put all my files in myfolder. I have no idea what is in the parent folder.
I create a global.asa in root folder, I put
session.timeout=45
in session start sub.
And this doesn't work for me.
I also put session.timeout at the begining of every asp file.
it doesn't work either.
I try to put the global.asa in "myfolder", it doesn't work either!!
I really have no idea what is wrong with it!
Please help me out of the question!!!
Thanks a lot in advance!!
Alan
Alan Shen
MCAD for .NET Version
^~^~^~^~^~^~^~^~^~^~^
Great idea is the beginging of success!
|
|
|
|
|
Hello!
I am developing a cutom module in DotNetNuke.
I have written the correct NameSpace and Assemblyname but I
just keep getting this error in Visual Studio.
Errormessage:
"An unhandled exception of type 'System.MemberAccessException' ocurred
in mscorib.dll
Additional information: Cannot Create an abstract class."
Exception:
System.TypeInitializationException
----Inner exception: System.MemberAccessException
----Message: "Cannot create an abstract class."
----Source: mscorlib
Code:
Imports System<br />
Imports System.Web.Caching<br />
Imports System.Reflection<br />
<br />
Namespace INVID.DNN.Modules.HelloWorld.Data<br />
<br />
Public MustInherit Class DataProvider<br />
<br />
#Region "Shared/Static Methods"<br />
' singleton reference to the instantiated object<br />
Private Shared objProvider As DataProvider = Nothing<br />
<br />
' constructor<br />
Shared Sub New()<br />
CreateProvider()<br />
End Sub<br />
<br />
' dynamically create provider<br />
' This sub gets called, It is calling the methods that will raise the exception<br />
Private Shared Sub CreateProvider()<br />
objProvider = CType(Framework.Reflection.CreateObject( _<br />
"data", _<br />
"INVID.DNN.Modules.HelloWorld.Data", _<br />
"INVID.DNN.Modules.HelloWorld"), DataProvider)<br />
End Sub<br />
<br />
' return the provider<br />
Public Shared Shadows Function Instance() As DataProvider<br />
Return objProvider<br />
End Function<br />
#End Region<br />
End Class<br />
End Namespace
Code that is called in (The Step were it goes wrong) Components\Shared\Reflection.vb:
' dynamically create an object from a TypeName using a CacheKey<br />
Public Shared Function CreateObject(ByVal TypeName As String, _<br />
ByVal CacheKey As String) As Object<br />
<br />
If CacheKey = "" Then<br />
CacheKey = TypeName<br />
End If<br />
<br />
' use the cache for performance<br />
Dim objType As Type = CType(DataCache.GetCache(CacheKey), Type)<br />
<br />
' is the type in the cache?<br />
If objType Is Nothing Then<br />
Try<br />
' use reflection to get the type of the class<br />
objType = Type.GetType(TypeName, True)<br />
' insert the type into the cache<br />
DataCache.SetCache(CacheKey, objType)<br />
Catch exc As Exception<br />
' could not load the type<br />
LogException(exc)<br />
End Try<br />
End If<br />
' dynamically create the object<br />
Return Activator.CreateInstance(objType) ' This line raises the error mentioned before<br />
End Function
Any help on this error will be much appreciated!
Best regards rob_pro@hotmail.com
|
|
|
|
|
Actually i somewhat tried to make the SqlDataProvider class (SqlDataprovider.vb) abstract (MushInherit) which i discovered later.
Of course i cannot create an abstract class of SqlDataProvider with Reflection. I guess i was tired when i was coding!
Thanks for answering very fast!
|
|
|
|
|
I am trying to test a text box for either numbers or a null entry. I have tried using [0-9]|[:blank:]|[:space:] but it will not work. Any help would be appreciated.
|
|
|
|
|
[0-9] will only match one single digit. You have to specify how many digits you allow. You can also use \d instead of [0-9]
\d{0,} - zero or more digits
\d{1,} - one or more digits
\d* - zero or more digits
\d+ - one or more digits
\d{0,5} - zero to five digits
If you allow zero digits, that will take care of an empty entry.
---
b { font-weight: normal; }
-- modified at 9:13 Sunday 8th January, 2006
|
|
|
|
|
not a regex,
but how bout this
private bool isValid(string str)
{
if(str == null || str == string.Empty) return false;
foreach(char ch in str)
{
if(!Char.IsNumber()) return false;
}
return true;
}
my2c
g00fy
|
|
|
|
|
Just a note: I've had some issues using \d on some regex interpreters. If you run into problems with it, use [0-1]* (or + , depending on your purposes).
Michael Flanakin
Web Log
|
|
|
|
|
if you are using regularexpressionvalidator control, this control doesn't check against your regex if it's empty. This behavior works ok for you, you would only need to add the validation of space to your reg expression.
daniero
|
|
|
|
|
I have an (old) web-project in classic ASP involving a file upload form. No problems, except when I try to update - all I've done is change a few dates to 2006, and am now getting "write permission denied" errors. Yes, IIS has "write" enabled on the folders, but looking in Windows Explorer "Properties" window it insists on showing it as "read only" - I untick it, but it just re-sets itself. The only other change since I created the oroginal app is the installation of ASP.NET on same server.... Any ideas, anyone?
On a related matter, I keep reading that (in ASP.NET anyway) when performing file uploads it is "very imprtant that the server form have ENCTYPE="Multipart/Form-Data" set. Really? Why? I've never found this to be so. I've uploaded Word docs, image files, PDF's - all sorts without bothering about this.... (in ASP.NET) Comments, anyone?
cheers - and a happy new year to all!
Phil
|
|
|
|
|
There doesn't exist anything as a read-only folder. What is shown in the properties of the folder is something that should represent the read-only state of the files in the folder, but that doesn't work very well either.
The problem is probably due to permissions. Check in the properties of the web site what user account is used for anonymous access, this is the account used for running asp code. Installing ASP.NET might have changed it to a different account. Then check the permissions for the folder, and make sure that the account used has write permission.
When uploading files, the form has to have the correct enctype, or it won't work. ASP.NET however sets the correct enctype on the form when you put an upload field in it.
---
b { font-weight: normal; }
|
|
|
|
|
can u get me the code for uploading files using asp?
|
|
|
|
|
Whom did you ask?
---
b { font-weight: normal; }
|
|
|
|
|
Dear All,
I would like to have a solution to this problem.
When accessing web page from local server (Windows 2000xp, Apache2 ,php5 and Mysql database)
it is giving "HTTP/1.1 403 Forbidden"
Web page will retrieve data from Mysql database using PHP.
What is the problem ? How to solve it.
Please help me giving solution.
rpkumar
|
|
|
|
|
Dear All,
I would like to have a solution to this problem.
|
|
|
|
|
hi all,
i have a table called poll.in my design page i am selecting usernumber (primarykey)from dropdownlist.when i am selecting usernumber i want to fetch the accessID from same table.
same usernumber having more then one accessid. i want to group this accessid depending on usernumber.(thts mean 2 grouping for same table)
usernumber is the first grouping
accessid is the second grouping
i have to display the count value only for accessid
pls help me out from this problem.
thanks in advance
rs_net
rs_net
|
|
|
|
|
hi, sorry for delay
Its basically sql Qn. so u should put it up in sql message board.
secondly how its related with Crystal reports.
Well, What i understood, You need query design tips.
its inbuilt in Crystal reports.
plz troubleshoot yourself.
or submit it clearly.
Any systematic work reflects its significance for a long time, Though I m not totally against "The Prototyping".So let's discuss in depth...
|
|
|
|
|
|
Perhaps you should explain what it's for?
I visited the page, and one could expect that the first thing on the page would be an explanation of what the progam does, but not so...
Well, I've been around for a while, so I can make a fairly good guess what the program does, but I don't think that everyone can. And I don't think that one should have to visit the page and read everything on it before getting a clue...
---
b { font-weight: normal; }
|
|
|
|
|
I totally agree with you, and I'm also getting a bit tired of people posting "endorsements" for their own stuff (i.e. the guy that kept posting about the free vb.net videos).
Brian Van Beek
Inside this room, all of my dreams become realities, and some of my realities become dreams. -Willy Wonka
Read my Blog, I know you want to... [^]
|
|
|
|
|
|
I have asp.net Web control MyWebControl and Component MyComponent.
MyWebControl references on MyComponent, it looks like
class MyWebControl : WebControl
{
MyComponent _component;
MyComponent component
{
get {return _component;}
set {_component = value;}
}
...
}
I want this reference to be saved in InitializeComponents section.
(i want the following code to be generated )
MyComponent = new MyComponent();
...MyWebControl1.component = MyComponent1; - !!!
By default "component" value of MyWebControl
saved in aspx page text.
I can use DesignerSerializer attribute and generate
code directly, but I suppose there must be the easiest way.
Alex Ilyin
|
|
|
|
|
Apologies for cross-posting this question from the Visual C++ forum -- I thought there might be someone here who would be able to help and I'm about at the end of my rope at the moment.
I am getting a crash inside InternetConnect and I can't for the life of me figure out why. It seems only to happen when I pass INTERNET_SERVICE_FTP -- I have a test program which does nothing but create a CInternetSession, then call GetHttpConnection, then call GetFtpConnection, passing valid IP addresses to both functions. GetHttpConnection returns successfully. GetFtpConnection crashes with an illegal memory access (and an overwritten stack) after the CFtpConnection constructor calls InternetConnect. Is there anything I can do to repair this short of reinstalling Windows? (The install is Windows 2000 sp 4.)
Thanks and again, apologies if you are rereading this question from VC++.
|
|
|
|