473,466 Members | 1,408 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

php.exe does not php a page

14 New Member
i mean , i have a page page.php and i have <?php kadfsdkfsdkfbdfjkbdsfjb ?> inside , when i go http://localhost/.../page.php i get its source and i see <?php
"the code" ?> ,weird man, i mean i have done a lot of other php pages and all show only the html script in source man; if u are interested here is the code :

Expand|Select|Wrap|Line Numbers
  1. <?php       //// i see the tags !!!!!!!!!!!!!!!!!!!!!!!!!!!!! in source man
  2. ?>
  3. <form method="post" action="procesare.php" name="formular1">
  4. <input type=text name="text">
  5. <br>
  6. <input type="checkbox" name="bifat">
  7. <br>
  8. <select name="selectie">
  9. <?php 
  10.  
  11. for ($i=0;$i<=99;$i++){ //
  12. if (($i % 2) == 0 ){
  13.         echo "<option >" . $i . "</option>";
  14.         }
  15. }
  16. echo "<BR><BR>asdasdfsaf";
  17. ?>
  18. </select>
  19. <input type="submit" value="Trimite">
  20. </form>
  21.  
  22.  
  23.  
just try it on yout local machine and tell me what happens ok ?
Dec 12 '07 #1
3 1251
code green
1,726 Recognized Expert Top Contributor
i have a page page.php when i go http://localhost/.../page.php i get its source and i see <?php
"the code" ?>
You will see the php as source if the file is a html file.
Are you sure it is page.php you are looking at?
Dec 12 '07 #2
cozsmin
14 New Member
yes i am shure (i`m not that dumb) , actually it does not reproduce on other computers only on one :)
so it it the software not the code

10x anyway man
Dec 12 '07 #3
aktar
105 New Member
Hi cozsmin

It sounds like its a problem with your web server setting not php.
Just to make sure its not a php problem, why dont you run that script through php in cli mode?

I had lots of problems like that. The best thing to do is to install php from the installer to save you a lot of hassel
Dec 15 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Jukka K. Korpela | last post by:
I have noticed that the meaning of visibility: collapse has been discussed on different forums, but with no consensus on what it really means. Besides, implementations differ. The specification...
8
by: lawrence | last post by:
I'm learning Javascript. I downloaded a script for study. Please tell me how the variable "loop" can have scope in the first function when it is altered in the second function? It is not defined...
1
by: Sam | last post by:
According to "Developing Microsoft ASP.NET Server Controls and Components", a control can get the LoadPostData event by using RegisterRequiresPostBack, even if its UniqueID does not match that of...
6
by: Brian Miller | last post by:
I've been constructing an ASP.Net application using the 1.1 framework, and have been using Web Matrix for development purposes. Now that my application is near completion, I wanted to see if I can...
7
by: morrisdn13 | last post by:
I have encountered a very strange problem that makes it look like the page is not recreated in entirety after a postback when I turn on smartnavigation. If I click on a server control, the page...
2
by: Nuno Magalhaes | last post by:
In pages that there is no content length, how does HttpWebResponse knows where the page ends? And what kind of objects/methods does it retrieve? Does it only retrieve the initial page without any...
12
by: Nalaka | last post by:
Hi, I suddenly started getting a lot of errors from html validation (some CSS) so I followed the following instructions to disable it. If you'd rather not have these types of HTML validation...
13
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains...
9
by: Jonathan Wood | last post by:
Does anyone know of any reason a button on a master page would have no effect? I have a complex HTML page that I'm converting to ASP.NET, and acknowledge I could have something odd that is...
0
by: KingKong07 | last post by:
Hi! I have a problem with publishing my solution. I use “Use fixed naming and single page assemblies” to publish. So I just can update one and one file, this works fine, but today I had to update...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.