Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 25-11-2008, 11:15 AM   #1 (permalink)
Right Off the Assembly Line
 
Sreekuttan's Avatar
 
Join Date: May 2007
Location: Kerala
Posts: 19
Post How to run php through javascript


hi,,

i want to execute php codes through javascript. is it possible?

thanks in advace..
__________________
____________________________________________

Share what you know....and learn what you don't.

Nobody is perfect.Thats why im changing my name to "NOBODY".
Sreekuttan is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 25-11-2008, 04:10 PM   #2 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: How to run php through javascript

Eh?

PHP scripts run on the server (Pre-serve). JS runs on the client(Post-serve). You can't do that. Just re-think your approach, whatever it is that you're trying to do, instead of ugly-thinking your way through.

But what you can do is, call an alternative .php page with some arguments via JS. You can not, in any way, run PHP code in-line within JS.
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I need help with javascript. Kalyan QnA (read only) 1 17-08-2007 07:07 PM
Javascript - Please help me!! prasanna7287 QnA (read only) 3 29-06-2007 06:24 PM
Javascript Help REY619 QnA (read only) 5 21-02-2007 09:31 PM
JavaScript help......... shehan9999 QnA (read only) 4 05-12-2004 06:34 PM
JAVASCRIPT how to ... abixalmon QnA (read only) 1 17-09-2004 12:52 AM

 
Latest Threads
- by gforz
- by soumya
- by Sujeet
- by icebags
- by Charan

Advertisement




All times are GMT +5.5. The time now is 03:00 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2