|
Hi all.
I'm having a problem: I want to be able to display small texts to help the user of my web page to fill out a form. Acronym seemed to be exactly what I needed (or ToolTip in asp.net, looks like it works the same way), only it turns out that when I open the page in Netscape 7.1 the text is cut of after the 30 (or so) first letters, followed by "...". How can I force Netscape to display the whole text?
Thanks
/EnkelIk
|
|
|
|
|
If have 2 domains on totally sperate servers and I have a client request that I pass cookies from one server to the next. I've told him I don't think it's technically possible and in fact would cause insecurities. (I believe there was a bug in IE 4 or 5 which web sites could extract cookie info from other wbsites and possibly pull passwords from cookies).
He insists it's been done before (even though i'm the programmer) and that his competition is doing it.
His situtation goes like this:
Visitor comes to his site (his site generate a GUID and store it in cookie) but then they get redirected to another site, and that site needs the ability to now read the cookies just generated by the previous visit to the other site.
Anyone have any ideas???
Thanks
The word of the day is legs, let's go back to my house and spread the word
|
|
|
|
|
You might want to look that the P3P Compact Privacy Policy,
If I recall correctly you need to add a header like:
Response.AddHeader("P3P","CP=\"NOI DSP COR NID ADMa OPTa OUR NOR\"");
This prevents IE6 from displaying the little red privacy icon on the status bar.
|
|
|
|
|
also... on the redirect u can put an encrypted GET variable with the cookie info that the new server stores
"there is no spoon" biz stuff about me
|
|
|
|
|
I thought of using POST or GET, but if the server in question reads from cookies only, FORM data won't work
The word of the day is legs, let's go back to my house and spread the word
|
|
|
|
|
|
PHP or Perl
The word of the day is legs, let's go back to my house and spread the word
|
|
|
|
|
Hello there, I want to develop website like www.vistaprint.com, and there is one functionality in site which is changing the content, font color & sizes, alignment of text and images on designed card. I am in search of some plugin, which I can buy and insert into website. The eidtor should be able to enable site visitor to design online visiting card, upload images and can make changes real time in content of card like chnaging the placment of logo and text.
Please visit following link for reference
"http://www.vistaprint.com/vp/ns/text_ls.asp?gp=1%2F23%2F2004+1%3A24%3A10+PM&cid=583493,14604,1&pf_id=088"
Thanks
|
|
|
|
|
Have a look at the product DevEdit (www.devedit.com). Works very nicely.
onwards and upwards...
|
|
|
|
|
This issue has proven to be more than a bit complex
and certainly more difficult than imagined in fact.
How can one invoke BOTH the "View HTML Source" as
well as the "File Save As" functions at the same time
programatically from a Web Tool Bar Button under
these assumptions:
1) The full URL name is unknown and is not displayed
2) The desired HTML Source may be inside a child frame
This requirement has arisen from the need to extract
and save the full HTML from a given page or at the very
least the text displayed on a structured HTML page which
contains rows of part numbers, quantities, prices, and
descriptions, for example.
|
|
|
|
|
Hello,
Im using Microsoft.XMLHTTP to gather info from another site. However, this site is sometimes off line. When thats the case my script just continues to load until i get a server timeout. How do i define a time periode the script can run in, and if it hasent found the URL just jumps further down in the script and sets a variable named OpenURL = "False"
Thank you.
|
|
|
|
|
Hey everybody,
I am running sendmail on Solaris 8 and I would like to have a web front end for that server for my users. This way my users can check there email on the web from were ever. Is this easy to develop and if not is there any free software out there that can do this for me??
Thanks!
|
|
|
|
|
|
When you post variables to a server via a FORM you normally do...
<FORM method="POST" action="index.php">
</FORM>
Once that form is submitted either directly through someone clicking on a submit button or indirectly via a function call to submit() when using PHP or ASP why does the URL always change to reflect the script that just got called?
Perl doesn't appear to require you to do this. It let's you POST and no page refreshing seems required. Does it work this way? Is it becuz PHP/ASP send HTTP headers with every request and in Perl it's up to you to compose your own headers?
What I really want to know is (prolly wrong site to ask) how can I submit form data to a server but not have the page redirect, like i've seen Perl/CGI scripts do?
The technique i've used so far was to just redirect back to caller script as quick as possible, but it's still noticeable and I don't desire to have it be noticeable.
If I use Perl to process the form data and store it in a database, does the page still need to be redirected?
Thanks
The word of the day is legs, let's go back to my house and spread the word
|
|
|
|
|
well u can add the processing logic at the top of the form and only execute it when a certain hidden form field is set (one that u add for this purpose) ... u are always going to get a refresh when u redirect to another url (which is what a form submit does) but i have many web apps that do this and u dont see anything change
"there is no spoon" biz stuff about me
|
|
|
|
|
I'm not quite sure what you mean -- I use both Perl and PHP in my webapps, and they really boil down to similar methods of operation.
- Mike
|
|
|
|
|
You can always add a target to your tag to have the page "post" to a hidden IFRAME.
example:
....
....
....
onwards and upwards...
|
|
|
|
|
When ever I have an apostrophe in a SQL statement, then there is always and error. Sometimes I have to add something like brendan's to a field. I am using an Access database. So a simple statement would look like...
SELECT User_UserFriend FROM tblUser where User_UserFriend = 'brendan's'
|
|
|
|
|
Replace the Single Apostrophe (') with two apostrophes ('').
SELECT User_UserFriend FROM tblUser where User_UserFriend = 'brendan''s'
|
|
|
|
|
The string brendan's is going to come in from a textfield. I can't tell the user to add to apostrophes everytime. Is there no other way of bypassing this?
|
|
|
|
|
Assuming the user input from textbox is stored in the string-variable "userinput":
in ASP (VBScript) do this:
SQL = "SELECT User_UserFriend FROM tblUser where User_UserFriend = '" & Replace(userinput,"'","''") & "'"
in ASP.NET(C#) do this:
SQL = "SELECT User_UserFriend FROM tblUser where User_UserFriend = '" + userinput.Replace("'","''") + "'"
|
|
|
|
|
Thank you.
Would you mind looking at my other SQL problem that I have posted on the site.
|
|
|
|
|
Use a parameter.
Assuming we're using VB[Script] and ADO:
Dim cmd As New ADODB.Command
cmd.CommandText = "SELECT User_UserFriend FROM tblUser WHERE User_UserFriend = ?"
cmd.Parameters.Add cmd.CreateParameter("FriendName", adVarChar, 40)
' Set cmd.ActiveConnection before doing this
cmd.Execute ADO then does any escaping necessary, or passes the parameter directly to the underlying provider.
|
|
|
|
|
I want to check if the user name and password exists in the database. Table name is tblUser. User name is brendanvogt, and password is for example codeProject. I have a problem in that I can type codeproject in capital letters, and it will still accept the password. I can write a mixture of capitol letter and small letters, and it still accepts the password. I tried using the LIKE keyword, and it still does not work. Here is my SQL statement. I am using an Access database.;)
SELECT User_Username FROM tblUser WHERE User_Username = 'brendanvogt' AND User_Password LIKE('codeProject')
|
|
|
|
|
Try this one:
SELECT User_Username FROM tblUser WHERE User_Username = 'brendanvogt' AND strcomp(User_Password,'codeProject',0) = 0
|
|
|
|