Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-27-2007, 09:36 PM   PM User | #1
sudhakararaog
Regular Coder

 
Join Date: Sep 2007
Posts: 137
Thanks: 1
Thanked 0 Times in 0 Posts
sudhakararaog is an unknown quantity at this point
question about using asp in a php file

i am using asp in a php file with the following syntax =

<%
Response.Write( "<br> This is a text from asp tag")
%>

is this a correct way of writing asp. also as the file is manily php i
have used <?php and ?> where ever the code is related to php

please advice.

Also what i am trying to do is passing a variable from a asp page and
in the form action of the previous asp page i am calling a php file by
passing a variable name and value and retrieving the variable value
using asp. Is this a right way to do. I do not have a choice of using
php in the form page as the server where the page resides does not
support php.
sudhakararaog is offline   Reply With Quote
Old 11-28-2007, 10:41 AM   PM User | #2
NancyJ
Senior Coder

 
NancyJ's Avatar
 
Join Date: Feb 2005
Location: Bradford, UK
Posts: 3,162
Thanks: 19
Thanked 65 Times in 64 Posts
NancyJ will become famous soon enough
why can't you just use php in the php file?

AFAIK there is no way to mix and match asp and php in the same file.
__________________
http://www.hazelryan.co.uk
NancyJ is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:25 PM.


Advertisement
Log in to turn off these ads.