|
I am running PHP script.
I am displaying contents using HTML.
I have date field. After user enters date , report is displayed.
I call the same script for submit action.
When report is displayed , value from date field is lost.
I want to retain this value next time when report is displayed . How to retain the previous field value, when
page is refreshed?
|
|
|
|
|
Well, first you switch to ASP.NET...
--
-Blake (com/bcdev/blake)
|
|
|
|
|
Is it not possible to remember values of any fields like edit control from previous page , on the next page using php and html?
|
|
|
|
|
Remember this is a stateless environment. You need to provide the mechanism by query strings, hidden fields, or other methods. ASP.NET uses viewstate which is in essence a hidden field.
|
|
|
|
|
I am running PHP script.
I am displaying contents using HTML.
I want to display file path. Problem is it does not display '\' in path .
e.g c:\temp1\test.c
It displays it as c:temp1temp.c
I am reading the path from MYSQL database.
how can I disply '\' in the file path.
|
|
|
|
|
Do you need to escape the backslash with another backslash?
c:\\temp1\\test.c ?
|
|
|
|
|
I did not get your question.
'/' in text is not getting displayed
e.g. text to be displayed.
c:\temp\tree\install
It gets displayed as follows
c:temptreeinstall
|
|
|
|
|
What does your code for displaying the data look like? Please try to narrow your problem down to a small piece of code to make it easier for us to find your problem.
- Mike
|
|
|
|
|
Hi, im running IIS and someimtes apache on my home machine and would like to know how to convert the localhost word in the url to something that someone from another computer can access.
if the url I use to access the page is
localhost:8080/Home.html
and my IP adress is 152.103.2.19
then i test the url as
http://152.103.2.19:8080/Home.html but it says page not found... am I doing something wrong?
|
|
|
|
|
If you have iis and apache on same machine then first of all stop apache service then start IIS server(start-setting-control panel-administrative tools-internet services manager) click on default web site. start service.
Now browse to url(eg:- "http://160.2.80.6/test.htm")
Since you have html page you need to check its extension as it may be .htm or .html
You can also use computer name rather than using IP address.
Cheers
Amit Chowdhury
|
|
|
|
|
You might have the web server listening specifically on 127.0.0.1 or a name-based host "localhost", or a firewall might be blocking port 8080.
Are you actually connecting, but getting a 404, or is the browser unable to connect at all?
- Mike
|
|
|
|
|
For your information: if we use IE as web browser and if there is a port number specified after the server name or server IP, the URL must have the http:// prefix, if not IE cannot search the page.
|
|
|
|
|
Hello my friends,
After a discussion at this thread http://www.codeproject.com/script/comments/forums.asp?forumid=1640&app=50&fr=51#xx623641xx[^] that I had with a fellow CPian I started thinking that using DIVs and CSS for making the layout of web pages might be an intersting approach.
I would like to see how different people use the DIV and SPAN tags. I have read the MSDN documentation but I would like to see how these tags are used in terms of building layouts. For example, when do you use a DIV and when do you use a SPAN tag and why?
Do you see any advantages or disadvantages for these tags in terms of comparing them?
Thank you.
theJazzyBrain
Wise is he who asks good questions, not he who gives good answers
|
|
|
|
|
By default, div is for "blocks" of elements, which is useful for layout purposes, and span is for chunks of inline elements, such as a sentence or a word. Of course, CSS allows you to override the defaults and make a span work like a div and vice-versa
- Mike
|
|
|
|
|
Yeah, functionally, a span is exactly the same as a div, except that a span has the its css display attribute set to 'inline' by default, and a div has its display attribute set to 'block' by default. That's pretty much it.
NATHAN RIDLEY
Web Application Developer
generalgherkin@yahoo.com
|
|
|
|
|
How to replicate web content for multiple domain name.
(www.ukphoneshop.co.uk and www.allmobiles4u.co.uk)
Amit Chowdhury
|
|
|
|
|
Simple....
Just get as many 'domain names' as u want. Point them to a same webspace (with those dns options). And then process the requests (inside the webpage) with respect to the 'site-referer' to show that there are 'different' websites.
Does this satisfy ur request?
I was born intelligent Education ruined me!.
|
|
|
|
|
hi..can anyone tell me how to use tomcat server with JSP?
tks...
Have a Super Blessed Day!
-------------------------
For God has not given us a spirit of fear, but of power and of love and of a sound mind.
2 Timothy 1:7
"For God so loved the world that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life."
John 3:16
"Therefore you also be ready, for the Son of Man is coming at an hour you do not expet."
Luke 12:40
|
|
|
|
|
can someone tell me how to access database thru JSP please?
tks...
Have a Super Blessed Day!
-------------------------
For God has not given us a spirit of fear, but of power and of love and of a sound mind.
2 Timothy 1:7
"For God so loved the world that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life."
John 3:16
"Therefore you also be ready, for the Son of Man is coming at an hour you do not expet."
Luke 12:40
|
|
|
|
|
I have a skinned site. The skinning works fine except on <DIV> an <SPAN> tags. The <DIV><SPAN> tags do not seem to be affected by the style? Any ideas why?
.ButR
{
background-image: url(/CSS/Skins/Default/BuR.gif);
width: 10px;
height: 23px;
background-color: transparent;
}
<div id="Item1"><Span class='ButR'>Item one</Span></div>
|
|
|
|
|
Does anyone know of any php lib/function which will check posted data? I hate doing the whole addslashes(), check length, regex, and so on...
I'm drinking triples, seeing double and acting single
|
|
|
|
|
hi...
i need some information about what is JSP?
does it have a future?
is it made by microsoft or sun?
is it easy to pick up?
will it be usefull in future?
is it gonna be replaced by any new lang such as asp.net?
how fast can i learn it?
can u gimme some good tutorials to learn it?
tks a lot
Have a Super Blessed Day!
-------------------------
For God has not given us a spirit of fear, but of power and of love and of a sound mind.
2 Timothy 1:7
"For God so loved the world that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life."
John 3:16
"Therefore you also be ready, for the Son of Man is coming at an hour you do not expet."
Luke 12:40
|
|
|
|
|
JSP = Java Server Pages. It's developed by Sun. See the FAQ and check out this short tutorial
|
|
|
|
|
I am on a similar "password catcher" project, and need functionality similar RoboForm etc.
Basically, I'll need to catch the user/password fields at the moment the user clicks on "OK". This will be done from a standalone program, written either in C# or C++/WTL.
Any ideas on the catching part ?
|
|
|
|
|
I would like to be able to insert values into an html form on startup from a second file which contains the actual data. How would I go about doing this?
Thanks
|
|
|
|