|
If you are talking about having the server forward a post request, you may be able to do something like this. My VBScript is kinda rusty, so expect a bug or two:
<br />
<%<br />
Dim postData<br />
Dim xmlhttp <br />
<br />
'sample form-POST data<br />
postData = "data=100"<br />
<br />
'setup form post object<br />
'we use the XML HTTP object<br />
Set xmlhttp = server.CreateObject("MSXML2.ServerXMLHTTP")<br />
<br />
'replace with the server you would like to post to<br />
'make sure "POST" is capitalized<br />
xmlhttp.Open "POST","http://my.target.server/target.asp",false<br />
<br />
'set header with Content-Type rule for a typical form post<br />
xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"<br />
<br />
'send data in key=value pairs<br />
xmlhttp.send(dataToSend)<br />
<br />
'write out return response from POST<br />
Response.Write xmlhttp.responseXml.xml<br />
<br />
'destroy the http object<br />
Set xmlhttp = nothing<br />
%><br />
If you are talking about just taking the browser post point to a differant location, if it's the same server, just use:
<br />
Server.Transfer ("newlocation.asp", true)<br />
-------------------------
Spiffdog Design
It's ok.. he's no ordinary dog...
|
|
|
|
|
Does anyone have experience, good or bad, with phpBB.
I have a client who wants for me to look into this product to see if it is suitable for his web site.
If you could relay your experiences with it I would be interested in hearing about them.
Thank you.
|
|
|
|
|
JimmyRopes wrote: Does anyone have experience, good or bad, with phpBB.
I have kind of a pretty nice experience with it because once uploaded it for some client using MySQL and implemented many forums and tested it. It was kind of a reliable thing for me.
AliAmjad(MCP)
|
|
|
|
|
Thank you for your reply Ali. Glad to hear you had a good experience with it.
|
|
|
|
|
http://acsource.net/acforum/viewforum.php?f=1&sid=770d21a72edd773153898ec359d84e0e
I like it but I like some others better. phpBB, a little simple
http://www.driveaccord.net/forums/index.php?s=94f76578d5359d487102da5889d7eacd
vBulletin, pretty. This may be my new favorite.
http://www.honda-tech.com/zerosearch?cmd=activethreads
zeroforum, not as pretty, the best for me for all around use. Might fall back to second.
This is from a user stand point.
|
|
|
|
|
Thank you for the links. I'll look into them.
|
|
|
|
|
Yeah. phpBB is nice one.. but you have to careful in choosing the anti-spam plug-ins... because a lot of spambot knows so well about phpbb. one of my friends run the forum by using phpBB once.. he was not able to flight the spam then he shut down the site finally.
everything has good points and weak points.. so, if you wanna know about the bad point, you may google it. phpbb sucks[^]
|
|
|
|
|
Thank you for the information Michael. I will pass it along to my client.
|
|
|
|
|
Hello, this seemed easy at first but now I think it's more complicated then my knowledge. I am trying to send a form to an email message. I do not want to use CDONTS because i need to include an attachment and I am not able to upload attahcments to my server. Basically there is a form that has some fields prefilled from a database and then I want to send those fields (including the TO, Cc and Bcc) to an outlook email message using mailto. It is a SQL server and I am using FrontPage 2003. here is some javascript I found but does not fill in after the TO (eve though I did test the Cc). Any ideas? Thanks
<code><a href="" onclick="javascript:this.href='mailto:' + document.emailForm.emailAddress.value +
'?SUBJECT=' + document.emailForm.[''].value + '\n\n';">Email This</a></code>
|
|
|
|
|
How to find out the installed version of MS Power Point from registry? I am going to build an app in which i have to check out the installed version of the MS power point onthe client machine. How can I do this?
Regards, Qaiser Nadeem
|
|
|
|
|
Look in HKEY_CURRENT_USER/Software/Microsoft/Office and you will see keys something like 10.0, 11.0, etc., along with possibly some others, depending on the Office bundled products you have installed like MS Project, etc.
Enumerate the keys and find the version of office that is installed.
Note - this is not 100% foolproof because there can be more than one Office release installed on the machine.
In that case you don't know which version the user will be using at the time they are using you're application, but it will work most of the time and you can program for the least common denominator or give them an option if there are more than one version of Office installed.
|
|
|
|
|
Hey Friends
I have a setup.exe file which can be downloaded from n number of sites.
Now when i run the setup.exe , i need to take different installation procedure depending on from where it was downloaded.
So is it possible to depict a way by which the setup.exe can know from where it was downloaded?
eg
if setup.exe was downloaded from www.abc.com
setup.exe needs to display a message hello abc.com
i can display a message but do not know from where it was downloaded.
programs accept command line parameters , may be something like this
or may be something on similar lines?
Regards
|
|
|
|
|
It sounds like you're looking for some type of branded (or co-branded) installer. One option would be to create a different installer for each branding. You would use the same installer project and either include different graphics or other resources based on a parameter read by the installer compiler.
|
|
|
|
|
yeah but the program is going to be deployed on many sites & hence looking for automation
|
|
|
|
|
vikrant kpr wrote: yeah but the program is going to be deployed on many sites & hence looking for automation
Using the process I described in my other reply, you could automate this as part of your build process.
|
|
|
|
|
Once the file is downloaded, it's just a file. There is nothing that tells where the file came from.
If you want any information about where the file came from, you have to include it in the file itself.
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
Can any body tell me where exactly i can use silverlight ?
is there is anything new about it ? or is it microsoft version of Macro media Flash ?
'I have not failed. I've just
found 10,000 ways that won't work.'
-Thomas Edison
|
|
|
|
|
Microsoft Silverlight (code-named Windows Presentation Foundation/Everywhere or WPF/E) is a proprietary runtime for browser-based Rich Internet Applications, providing a subset of the animation, vector graphics, and video playback capabilities of Windows Presentation Foundation. The runtime is available for Microsoft Windows and Mac OS X, with Linux support under development via the third-party Moonlight runtime.
Silverlight aims to compete with Adobe Flash and the presentation components of Ajax. It also competes with Sun Microsystems' JavaFX, which was launched a few days after Silverlight
umesh
|
|
|
|
|
Think flash without actionscript, but .net instead... Meaning it can work with existing business logic, etc
Really, very cool and I am trying to find a viable business case to use it somewhere
|
|
|
|
|
Please let us know in case if you find any
'I have not failed. I've just
found 10,000 ways that won't work.'
-Thomas Edison
|
|
|
|
|
I am trying to create a seach engine website such as yahoo.com or google.com , what kind of web applications do i have to be familiar with? what type of database? server application etc. etc. i am very positive about my project if i am successful puting a group togther. pls i need some guidance what types of web applications I must be familiar with to make it a decent search engine. - what kind of professional or people be able to accomplish this or myself, thank you
|
|
|
|
|
Hello! Brace yourself to build a crawler from scratch. you feed the crawler with parameters [search parameters]and it does the rest.For you to dothis you will need to program in Perl, Python and know lots of PHP and MySQL. The core of the search is the crawler; make a good one! All the best.
---------------------------
Both optimists and pessimists are important in technology. The optimist invented the aeroplane; the pessimist invented the parachute.
Regards,
Hesbon Ongira
Nairobi, Kenya.
|
|
|
|
|
I am sorry to say that if you are asking this question you do not have the requisite skills to make a search engine website.
|
|
|
|
|
I have a web site based that I redirect subdomins to user files with this code:
Dim sUrl As String
sUrl = Page.Request.Url.ToString()
If InStr(sUrl, "chris") Then
Response.Redirect("1/chris/0/default.html")
ElseIf InStr(sUrl, "traci") Then
Response.Redirect("1/traci/0/default.html")
End If
If somone types in chris.mydomain.com it get redirected to an html page.
I would like to change this over to looking up in a database to get the "username" and the redirect string. But I worry it will take more time then parsing a file.
This file contains about 100 people with redirect statements in them.
Any suggestions?
Thanks
Chris
www.pluginforsuccess.com
|
|
|
|
|
Hi Guys,
Is it possible to call the exe file from ASP.Net page in the same server where the asp.net pages are located?
How can it be done?
Thanks
hifiger2004
|
|
|
|