integrating php and aspx in MX 2004
Hi
I was wondering if there was any way to integrate php code within a .aspx page or the other way round (asp code in a .php page) in Dreamweaver MX 2004...
any ideas?
thanks
Hi
I was wondering if there was any way to integrate php code within a .aspx page or the other way round (asp code in a .php page) in Dreamweaver MX 2004...
any ideas?
thanks
Greg K posted this at 21:40 — 13th October 2005.
He has: 2,145 posts
Joined: Nov 2003
Even without dreamweaver, I do not think this is directly possible other than having one language do a system call to a separate PHP script and grab its results, but not directly proccessed as part of the same file.
-Greg
subu posted this at 21:57 — 13th October 2005.
They have: 10 posts
Joined: Aug 2005
i see...so supposing i store the asp code (that i want to call in all my php pages) in a seperate file, what system call code should i include in the php pages to call this aspx file ?
Busy posted this at 08:32 — 14th October 2005.
He has: 6,151 posts
Joined: May 2001
They run on different processes, it's like trying to run your car on petrol and diesel at the same time. (ok bad example)
In PHP you can use ASP tags but wont run as ASP (as far as I know)
Renegade posted this at 11:45 — 14th October 2005.
He has: 3,022 posts
Joined: Oct 2002
Why not just use one language?
subu posted this at 21:00 — 14th October 2005.
They have: 10 posts
Joined: Aug 2005
i took over from someone who was using asp while i am familiar with php, so thats why the problem...well..thanks for all help...i'll try to work around it...
JeevesBond posted this at 21:55 — 14th October 2005.
He has: 3,956 posts
Joined: Jun 2002
It's probably a very bad idea to try using both at the same time anyway! Imagine what a crows nest of code you're going to create, and what happends when you need to directly amend something the other person's done?
It seems to me, honestly speaking, that you have only two options:
Which one you choose much depends upon how complex the project is.
a Padded Cell our articles site!
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.