Nov 8, 2009

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

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Software > Internet & Network Clients/Servers

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

Flamez
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.

Comment/Reply (w/o sign-up)

Feelay
well tongue.gif

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 wink.gif

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

Comment/Reply (w/o sign-up)

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



Comment/Reply (w/o sign-up)

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

Comment/Reply (w/o sign-up)

Flamez
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?

Comment/Reply (w/o sign-up)

Feelay
try wamp. here is the link for download wink.gif

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 tongue.gif

Comment/Reply (w/o sign-up)

Flamez
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.

Comment/Reply (w/o sign-up)

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

Comment/Reply (w/o sign-up)

vujsa
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

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : Parse Php Display Php Generated Output Display Php Output


    Looking for parse, php, display, php, generated, output

See Also,

*SIMILAR VIDEOS*
Searching Video's for parse, php, display, php, generated, output
advertisement



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

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com