|
JohnnyNin wrote:
Is there a way to fill out a web form by specifying values in the URL?
I was going to reply that you can only do it via ASP (or some other server side language) and you would have to do it as Todd and Jared said above.
However I found this library which lets you use JavaScript to access the QueryString which is totally awesome: Using Query Strings from JavaScript[^]
The actual JS library file
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
|
|
|
|
|
I used Interdev to debug my asp page, but I can only debug server-script,
break point at client script code didn't work (it said that:"The break point
will not current be hit.The current document is not loaded", I'm sure that
it is loaded).
I read MSDN Library ,but I still can't solve this problem.
I hope to kick this trouble away with your help.
Thank you very much for your interest.
|
|
|
|
|
What version of Windows/IE do you have? Microsoft has a script debugger but depending on your config it may or may not be enabled by default. Just remember that you won't be able to use server objects all that well when debugging client code.
Jeremy Falcon
Imputek
<nobr>"C# is the answer to a question nobody asked." - Chris Losinger
|
|
|
|
|
Hello!
My platform is Windows 2000 Server (IIS) and I'm attempting to make a small CGI-program using C++.
I'm able to receive arguments through argc/argv using url something like
www.mysite.com/somename.cgi?value
But if I'm trying to receive form data the url might look something like (if using GET-method) this: www.mysite.com/somename.cgi?variable=value
If the url contains a '='-sign my program doesn't receive any arguments. I've found tutorials on the web describing how to receive form data in PERL/Unix, but not for C/Windows.
So the CGI-newbie question is: How do I receive the data if the url has '='-sign? And if this is possible at all, is there any difference if the method is POST or GET?
I'm happy to read the ******* manual if you just point me where to start..
Thanks, Eero
P.S. I hope the only possible answer isn't "Use ISAPI"..
|
|
|
|
|
You need to access the HTTP environment variables and decode them.
Here's an example I like that'll get you started. It's called cgi-util and has wrapper functions in it to help you out.
Download
Jeremy Falcon
Imputek
<nobr>"C# is the answer to a question nobody asked." - Chris Losinger
|
|
|
|
|
Ok, that wasn't very complicated. I made my own wrapper and it works like a dream.
Thanks!
--------------
Eero Kuutschin
|
|
|
|
|
Hello.
Does anyone have a script for a good search function, that doesn't need a Database?
I've downloaded every single one I could find but they were no good.
I want someting that will search all files in the root directory for a keyword/s and then display in the results
the sentence in which the keywords were found, or similar. Like Google does.
Or, if that can't be done, is there a way to automatically update a database with the site's contents?
because I don't want to have to go and update a database everytime I make changes to my site.
Cheers.
|
|
|
|
|
NathanScott wrote:
Like Google does.
You can always buy search services from Google. They even have an appliance which you plug into your network and it provides search results.
Also you could write a simple script in ASP.NET which uses the FileSystemWatcher component to automatically update the database when a file changes.
Apart from that, not many search engines which do not use a database.
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
|
|
|
|
|
NathanScott wrote:
I want someting that will search all files in the root directory for a keyword/s and then display in the results
the sentence in which the keywords were found, or similar. Like Google does.
I think you might want to check into Microsoft Index Server. Chris wrote an article that shows how this works here[^].
HTH
Nick Parker
|
|
|
|
|
Does anyone know of a simple and free tool that will let me syncronise the files on my websites ftp server with my local drive (so if the file on the ftp server is newer, it downloads it to local, if the local file is newer it uploads it)
I've seen commercial and shareware offerings, but I just want something incredibly simple - it doesn't even need a gui
--
Help me! I'm turning into a grapefruit!
|
|
|
|
|
FrontPage will do that if you have it. If not, it would make a cool article. (I'm looking for an excuse anyway, and I haven’t' don't some sockets programming in a while. I'm missing it.)
Jeremy Falcon
Imputek
<nobr>"C# is the answer to a question nobody asked." - Chris Losinger
|
|
|
|
|
Ack! no! I'm not letting frontpage anywhere near my site. What's the point in carefully handcrafting the HTML if it's going to decide that its way is better
--
Help me! I'm turning into a grapefruit!
|
|
|
|
|
benjymous wrote:
Ack! no! I'm not letting frontpage anywhere near my site.
My thoughts exactly. I just figured I'd let you know. You could use something like a versioning system - like CVS. But, the more I think about it, the more I want to make an article to simplify the whole process.
Jeremy Falcon
Imputek
<nobr>"C# is the answer to a question nobody asked." - Chris Losinger
|
|
|
|
|
Is there not a free website publishing tool with Windows?
I seem to have seen an option to install something like that everytime I install Windows.
Thomas
modified 29-Aug-18 21:01pm.
|
|
|
|
|
I have a radio button list in my ASP.NET application and it has three Item,I overriden its SelectedIndexChanged event,but it seems nothing happend when I change the index.Any idea?
Mazy
"If I go crazy then will you still
Call me Superman
If I’m alive and well, will you be
There holding my hand
I’ll keep you by my side with
My superhuman might
Kryptonite"Kryptonite-3 Doors Down
|
|
|
|
|
Make sure that the radio button control is set for AutoPostBack, and then confirm that you are wiring the event in your server code.
<br />
<br />
.. Button id="btnGetEvent" runat="server" AutoPostPack="True" OnClick="btnGetEvent_Click"/><br />
<br />
<br />
private void InitializeComponent(){ <br />
this.btnGetEvent.Click += new System.EventHandler(this.btnGetEvent_Click);<br />
}<br />
protected void btnGetEvent_Click(object sender, System.EventArgs e) {<br />
}<br />
hope that helps
Soliant | email
"The whole of science is nothing more than a refinement of everyday thinking." -Albert E.
|
|
|
|
|
Dose Access DB support Stored Procedure as same as SQL SERVER?
|
|
|
|
|
You can save stored queries in Access, but it's nowhere near as robust as SQL Server.
Jeremy Falcon
Imputek
<nobr>"C# is the answer to a question nobody asked." - Chris Losinger
|
|
|
|
|
So if I use ASP and ADO, can I call them as same as in SQL Server, if not ,what is the different and how can i do with it?
Thanks
|
|
|
|
|
Yup...
Code Sample[^]
Jeremy Falcon
Imputek
<nobr>"C# is the answer to a question nobody asked." - Chris Losinger
|
|
|
|
|
Hi, Jeremy:
This method seems same as using SQL Server, You said it can use stored query in Access, can you give me a example how to use it. I am not familiar with Access.
|
|
|
|
|
I'd like to create a PREVIEW page to let users view thier entries before making the post to a database in ASP.
Just like the one's used in this forum.
Ramos05
|
|
|
|
|
you can use window.open to open a new window to show the information you entered
|
|
|
|
|
All of this will go on one page. First display the inputs in the way you will be formatting them. Then, write a form to submit the data. Loop through the request object (assuming ASP here) and write out all the form data in to hidden fields. Then add the submit button and close your form tag.
|
|
|
|
|