Loading...


bookmark - Parse PHP And Display PHP Generated Output How do you display your php output?

Parse PHP And Display PHP Generated Output - How do you display your php output?

 
 Discussion by Flamez with 8 Replies.
 Last Update: August 11, 2008, 7:18 am
 
bookmark - Parse PHP And Display PHP Generated Output How do you display your php output?  
Quickly Post to Parse PHP And Display PHP Generated Output How do you display your php output? w/o signup Share Info about Parse PHP And Display PHP Generated Output How do you display your php output? using Facebook, Twitter etc. email your friend about Parse PHP And Display PHP Generated Output How do you display your php output? Print
Reply / Comment New Discussion / Topic Share / Bookmark E-Mail a Friend Print

I will start writing my php files soon and would want to know how to see my output file(what it looks like). I have installed apache and when i put in the address for it, it just shows me my coding. How can i display what i have actually done without having to use my hosting service. I want to test it first?
A little confused on that.









   Sun Aug 10, 2008    Reply         

well :D

did you make sure the php file is a php file?

first rename the file, then open it in notepad, then save as, and name is whatever you want.. but make sure it ends with .php.. something like this:

My_File.php

then try. also make sure you didn't forget the

<?php tag in the beginning

and the

?> tag in the end :mellow:

one of those may be the problem. if Not, Ill try to figure out something else :o








   Sun Aug 10, 2008    Reply         

Done that. With my other php files the codes display and with this little php file i made earlier result in "server not found"?

   Sun Aug 10, 2008    Reply         


server not found means that something is wrong with the server. make sure you write the right adress. also .

   Sun Aug 10, 2008    Reply         

It works with another php file that i got off a friend (who makes php scrips etc)but that just shows me the whole script not the actual thing.
Is there any other way of which i can perform the task?
Another server or something?

   Sun Aug 10, 2008    Reply         

try wamp. here is the link for download :mellow:

Wamp 2 Download

Edit: Warning! You must delete apache and all other servers before installing!!

PS. I think this is the wrong place for this thread :D

   Sun Aug 10, 2008    Reply         


Thanks mate it seems to work.
I recommend people to use wamp if apache does not work for them, as it's easy to use as well.

   Sun Aug 10, 2008    Reply         

XAMPP is another good one-click installer that supplies Apache, Mysql, Php and Perl as a single integrated package.

   Sun Aug 10, 2008    Reply         

You didn't specify if you installaed the PHP engine with Apache in your original post. If you don't, then your PHP scripts won't work. This is the reason people use package such as WAMP (Windows Apache MySQL and PHP).

It is basically what you had before but with all of the required software packaged together.

Anyway, I'm glad to hear that you have a working solution.

vujsa

   Mon Aug 11, 2008    Reply         

Quickly Post to Parse PHP And Display PHP Generated Output How do you display your php output? w/o signup Share Info about Parse PHP And Display PHP Generated Output How do you display your php output? using Facebook, Twitter etc. email your friend about Parse PHP And Display PHP Generated Output How do you display your php output? Print
Reply / Comment New Discussion / Topic Share / Bookmark E-Mail a Friend Print

Similar Topics:

In Php How To Not Display Mysql Co...

In PHP, if the mysql database server cannot be connected, for example database server is handed or turned off, an error message will be displayed: Warning: mysql_connect(): Unknown MySQL Server Host "mysql.example.com" ... My question is how to not display ...more

   04-Apr-2005    Reply         

Using Regular Expressions To Parse ...

I have a hierarchy of functions represented as something like:- @BeforeText(@AfterText(@ReadURL('http://www.quotationspage.com/quote/1.html')@,'<dt>',True)@,'</dt>',True)@ Each of the functions follow the format @FunctionName(<ParamStr ...more

   24-Mar-2008    Reply         

How To Display A Members user List...

Alright, some of you might want to display your User's or Members on your site. Notes: 1.This is to fit in with Feelay's register and Log-in scripts you can find in the tutorial section. 2.I made this to show the members of my site who is a member and what their ID i ...more

   26-Jul-2008    Reply         

Greatly Reduce Firefox's Memory Usage    Greatly Reduce Firefox's Memory Usage (5) (38) Wamp Server Problems [solved]   Wamp Server Problems  [solved]