|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
apache and forcetype problem
hello,
I am using the article URL and it works. I mean the related database arrays are loaded and printed on to the screen... BUT... The force type tells it is an php file it is accessing. And in fact it is accessing a html file containing a small piece of php code (just to display the data from the database) the problem is... It doesn't display my html related images anymore. The file doesn't seem to find them. Nor does it load the extern css script anymore. It only does this if I type: URL but as soon as I type URL everything is shown. Exept offcourse my database related stuff because no arrays were given in the url. Can You please help me. I am running apache 1.3.20 and php 4.2.2 on a win98 system the images and the stylesheets are in a subdirectory of the root. URL URL My php is working as a apache module. Thanks. Nick |
|
#2
|
|||
|
|||
|
Quote:
wrong, a php file is a php file. lets not confuse the issue if your images arnt working, try using the full url. remeber if you have your file like this URL and your image dir is located at URL then when you select an image, it should look like this <img src="images/imgname.gif"> or <img src="/images/imgname.gif"> |
|
#3
|
|||
|
|||
|
I know all this
Yes I know a Html is different from a php file.
And yes I know how to display images with the img tag And I am using both all the time on one and the same page. Partial html and partial php. NO PROBLEMS. NEVER. BUT As soon as I use the Apache forcetype method => PROBLEM!! The databaseresult is perfectly shown. But all the html refs to images and styles do NOT work. if I use: URL NO PROBLEM => everything is perfect but If I use the force type method: URL I get those erros. What can I do? |
|
#4
|
|||
|
|||
|
Please, do you know solution of this problem??
![]() |
|
#5
|
|||
|
|||
|
I'm sorry that I can't answer your question. I do have a problem though that maybe you can help me with? Im pretty new to all this heeh
![]() I did this tutorial and just changed it from soccer to hockey. Now when I input a players name with in the url it doesn't pull it up because it adds %20 in the url and it searches the database for this. example hockey is the php file bears is the team name kuan chi is the player name. Code:
When I type this URL chi it comes up with Player kuan%20chi doesn't exist in the database. I went and added a player name "kuan%20chi" and tried it again and voila a record popped up but wouldn't want to have to add %20 in there. So now when I type it URL chi comes up with this because I added kuan%20chi as player name exactly. results. Statistics For kuan%20chi Player ID: 12 Salary: $35,000.00 Age: 29 Team: bears Position: Forward Please let me know if I make sense ![]() Thanks again. |
|
#6
|
|||
|
|||
|
Sorry if this is a stupid question, but, where is the entire code?
![]() |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Server Configuration > apache and forcetype problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|