944,035 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 1460
  • PHP RSS
Sep 11th, 2007
0

Javascript Variables in PHP

Expand Post »
plz anybody help me
i want to use javascripts variables in php but i can't able to do that
so sugess me some thing to do that
regards

mahendra
Last edited by stymiee; Sep 11th, 2007 at 11:10 am. Reason: email removed
Similar Threads
Reputation Points: 10
Solved Threads: 1
Newbie Poster
wavalker is offline Offline
11 posts
since Apr 2007
Sep 11th, 2007
0

Re: Javascript Variables in PHP

Since JavaScript runs in the browser the only way it can talk to PHP is through Ajax.
Moderator
Reputation Points: 161
Solved Threads: 38
He's No Good To Me Dead
stymiee is offline Offline
1,422 posts
since May 2006
Sep 11th, 2007
0

Re: Javascript Variables in PHP

There are 2 ways you can explore:

1) You can set cookie values in Javascript and get the cookie values in PHP.

2) Call the php file with GET parameters set by Javascript.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
kaykays is offline Offline
15 posts
since Sep 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Search engine to search urls in one country
Next Thread in PHP Forum Timeline: Need Help Please!





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC