|
Round here, a lot of us will be using ASP or ASP.NET, which can do everything you described And view source always shows the HTML sent to the client, not the PHP/ASP/Whatever on the server.
--
Ian Darling
|
|
|
|
|
But why use PHP when you have ASP.NET?
Give one good reason other than slightly cheaper web hosting...
In ASP.NET you can use VB, C#, J# or a combination of all these making it more easy to set up a development team.
Not to mention the top class resource place (MSDN online) where you can find anything you want with examples etc...
Personally, I find the .net platform very developer friendly.
|---------------|
| theJazzyBrain |
|---------------|
|
|
|
|
|
Many people swear by PHP and MySQL - they work great together and are simple to learn and implement. If the tool does the job efficiently, it belongs in your bag of tricks. Many webhosting services don't support it, though, so don't limit yourself to just this pair; learn some ASP/ASP.Net and SQLServer as well.
"The Lion shall lie down with the Lamb; but the Lamb will not get much sleep..." Lazarus Long
|
|
|
|
|
DX,
I have to agree with the previous posters, ASP.NET has an extended and easy to use method, You call out the System.Namespace.Class and then you build upon that and you get a really cool app that works well. I have written PHP for practice and made that work also, however, Many hosting companys use 2000 Server with IIS 5.0, and now they seem to be leaning towards 2003 Server with IIS 6.0 which allows integration with Visual Studio.NET. I don't want to bag on PHP but it seems that the going thing is VS.NET, all of the things you described are possible with ASP.NET running atop the .NET Framework.
Regards
Tony
|
|
|
|
|
There is also the versioning problem. If you code using one version of PHP and deploy to a server that has another version you're in trouble. ASP.NET doesn't have this problem.
|
|
|
|
|
XML support is almost non-existant in PHP. It is listed as experimental. XML isn't an experiment any longer it is a powerful and useful tool the ASP.NET and the .NET Framework take full advantage of.
|
|
|
|
|
Not only full advantage, but you can treat XML files almost the same way you treat databases... this is very helpfull in some cases and opens new capabilities for developers...
|---------------|
| theJazzyBrain |
|---------------|
|
|
|
|
|
Many said about PHP here, so I'll say something about MySQL. Guys, I can't imagine a database that has NO support for stored procedures (which is MySQL). All it gives you is tables and that's all. Phhhhh.
Yes, PHP is very powerful scripting language, but has a lack of OOP support. Well yes, you can create kinda "classes" in PHP, but is this ALL you need in OOP? Where is inheritance? Where is protected/private/public members? This is not OOP. Maybe they added it in latest version (5 I guess), I dunno, the last one I worked with was PHP4
Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer
|
|
|
|
|
I need to redist soap 3.0 in a wise install script(.wse
file).
What are all the dlls that I need to pack in the wise
script?
What keys need I modify in the regedit?
|
|
|
|
|
If you're using Wise for Windows Installer (if you have it - use it - MSI's are much better), the redist includes a merge module. If not, you'd best check the Wise Solutions web site. They might have a downloadable object you can insert into your setup. If not, you'll have to make your own.
PS: Newer setup IDE's have built-in support for finding pre-canned objects and merge modules. If you have a newer version, try looking under the Tools menu (usually) or consult the documentation for more information.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|
|
I need to create more than one text box with the same name(this call array),with the code;
for i = 1 to CInt(request.Form("quantity"))
count = count + 1
serial_field = "serial"&count
end loop
then, when I need to check whether user already fill in this text box, I can not access that text box name.Text box name suppose to be serial1, serial2 and so on.I am using this code;
for (a=o;a<=30;a++){
if (document.Reg.element.serial[a].value == "") {
err = true;
msgstring = "Fill in serial number";
}
}
I can access the value only if I directly use the name like;
if (document.Reg.element.serial1.value == "") {
err = true;
msgstring = "Fill in serial number";
}
Any suggestion what I should do to solve this problem. I am sorry my explanation is quite massy.
Thanks
|
|
|
|
|
serial_field = "serial"&count gives all the fields different names - serial1, serial2 etc...
Just use serial_field = "serial";
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
Ya, that true according to logic but the problem bow, the object(text box) has been created first than we need to check when user click on save button.
How we can refer to the object name?
|
|
|
|
|
I'm not a javascript expert, but you should be able to use
document.all.serial[0].value
document.all.serial[1].value
etc... Hope this helps,
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
Ya, it suppose can work but I don't know why it can't
Anyway Thanks for your help.
|
|
|
|
|
What about after creating serial1, serial2, etc, using
function foo(bar) {<br />
eval('serial'+bar+'.value = ...');<br />
}
HTH
Paul
Tiny problem with said member has been corrected. Chris Maunder
modified 18-Jul-18 11:59am.
|
|
|
|
|
This would work if the fields all have the same name (serial in this example). But here the fields include an increasing number so he needs to use:
<br />
for(var i = x; i < y; i++) {<br />
document.formName["serial" + i];<br />
}<br />
where x is the number of the first field and y is the number of the last.
|
|
|
|
|
Yeah I know, hence my first reply
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
Try this:
(Note: Change the 6 in the first "for loop" with your total number of textboxes.)
function fnCheck()
{
var strTextBoxName;
for(var i=1;i<6;i++)
{
strTextBoxName = "serial" + i;
for(var j=0;j<document.f1.elements.length;j++)
{
if(document.f1.elements[j].name==strTextBoxName)
{
if(document.f1.elements[j].value=="")
{
alert("in for : " + strTextBoxName);
//Fill in your error message here
}
}
}
}
}
Written on a gravestone:
Here lies a father of 29. He could have had more but he didn't have the time!
|
|
|
|
|
Ya, that great, I get all the idea and it work.
Thanks guys.
|
|
|
|
|
Hello,
In an ASP script is there a function which when called will instruct the server to compress the page's output using gzip or some other method? I don't want to enable compression for everyone of my scripts.
Thanks,
Aaron Stubbendieck
modified 12-Jul-20 21:01pm.
|
|
|
|
|
i need help creating a html calendar for entire company to view. i just don't know where to begin. it will be posted on intranet.
|
|
|
|
|
M,
You can do something like this:
This is the top of the template | Some Number Here | Some Number Here | Some Number Here | Some Number Here | Some Number Here | Some Number Here | Some Number Here | Some Number Here | Some Number Here | Some Number Here | Some Number Here | Some Number Here | Some Number Here | Some Number Here | Some Number Here | Some Number Here | Some Number Here | Some Number Here | Some Number Here | Some Number Here | Some Number Here | Some Number Here | Some Number Here | Some Number Here | Some Number Here | Some Number Here | Some Number Here | Some Number Here |
You can add some ASP Scripting for date validation and such.
You can also add some CSS to format the text, table cells, and borders.
check here for CSS stuff> Cascading Style Sheets
If you are using the Visual Studio.NET suite, you can drag and drop the calendar control into the workspace and everything is done for you.
There is also one here on CP --> Calendar Control Article
HTH
Tony
|
|
|
|
|
Massy Sumlin wrote:
i just don't know where to begin
I'd begin at the 1st January
#include <beer.h>
|
|
|
|
|
Why didn't I think of that !! D'OH !!!!!!!!!
Tony
|
|
|
|