473,788 Members | 2,784 Online
Bytes | Software Development & Data Engineering Community
+ 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 kadfsdkfsdkfbdf jkbdsfjb ?> 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 1261
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
29681
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 says: "The 'visibility' property takes the value 'collapse' for row, row group, column, and column group elements. This value causes the entire row or column to be removed from the display, and the space normally taken up by the row or column to...
8
2560
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 in global space, therefore it is not a global variable, yes? Even if it was global, how would it get from one function to another? In PHP variables are copied by value. Are they copied by reference in Javascript? <SCRIPT LANGUAGE="JavaScript">
1
1737
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 the Forms collection. In the code below, I've tried doing this on a Page instead of a regular control. However, it doesn't work. The LoadPostData is never fired, even on postback. Does anyone have any idea why? How could I make it work for...
6
2919
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 set up my pages for access directly via localhost (not using the WebMatrix server). My login page loads, and any validation controls on the page work fine, so I know it's recognizing the ASP.Net code there, however, when I try to log on, the...
7
1805
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 is returned blank. I have a JavaScript routine displaying a session countdown in the browser statusbar that continues counting without resetting as it normally would after a postback. An error icon is displayed in the browser statusbar after the...
2
2390
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 images, i.e., does it only makes one "GET / HTTP/1.1\r\n\r\n"? Because I'm doing some projects on a webclient (to measure some statistic times) and the total bytes get byte HttpWebResponse are lower than the total objects I get via socket way. ...
12
2273
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 errors show up in your error-list, you can disable this functionality by selecting the Tools->Options menu item in VS or Visual Web Developer. Select the TextEditor->Html->Validation tree option in the left-hand side of the
13
3562
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 some javascript code that calls window.open. I pass the resource url of page B to Page A's window.open call. Page B is then loaded and executed but none of the server-side code is rendered. If I view the source of the page, the code (and page...
9
2748
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 affecting this. But I'm stuck. My handler is in C# code and the code looks right. But absolutely nothing happens when I click the button. protected void Button1_Click(object sender, EventArgs e)
0
1681
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 my master.page My master page is called “FrontPageMaster.master”. I have only changed some html in the master page and not done anything with the master.cs When I’m in the bin folder and update the file:
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10370
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10113
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9969
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7519
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6750
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5402
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5538
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4074
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 we have to send another system

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.