Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Pro PHP
|
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 1st, 2006, 09:07 AM
Registered User
 
Join Date: Dec 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to anandramv Send a message via Yahoo to anandramv
Default Help for retrieving info from javascript to PHP

hello fnds,
             I have a problem in getting the data from the javascript...
The sample of the code i show will say u the problem than me explaining it...

Javascipt sample part....

var langs=document.getElementById("language").value;
url=url+"?lang="+escape(langs);
request.open("GET",url,true);
request.send(null);
this is the part that sends the request from javascript

PHP code that gets the value:

$langs = $_REQUEST['langs'];
echo $langs;

the actual problem is that dont obtain the value that i GET from the javascript.

Can u say me the alternative methods?

waiting for your answers and queries!!
with regards,
Anandram.V
[email protected]
 
Old December 19th, 2006, 06:56 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 479
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran
Default

hi,
Replace the php code with this
$langs = $_REQUEST['lang'];
echo $langs;

surendran
(Anything is Possible)
http://ssuren.spaces.msn.com
 
Old December 19th, 2006, 07:25 AM
Registered User
 
Join Date: Dec 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to anandramv Send a message via Yahoo to anandramv
Default

thankyou very much i got the error cleared.....

can u explain me the ways of forum development?

thanku in advance.
anandram.v
[email protected]

waiting for your answers and queries!!
with regards,
Anandram.V
[email protected]
 
Old December 20th, 2006, 12:06 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 479
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran
Default

Hi,
Do you want to develop your own forum? I suggest you to go with free forum,
http://forum.snitz.com/
www.phpbb.com
http://www.google.lk/search?hl=en&q=forum+code&meta=

But if you want to write own forum it will take time you to finish, what you can do download one of these and make changes according your requirement.

surendran
(Anything is Possible)
http://ssuren.spaces.msn.com
 
Old December 20th, 2006, 06:32 AM
Authorized User
 
Join Date: Oct 2006
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default

helo surendan,

how to install that furom in my localhost?

________________________________________
.::If you quit you loss, If you survive you win::.

.::JHANNY::.

 
Old December 21st, 2006, 11:51 PM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 479
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran
Default

jhanny,
download and check, they have a install guide. you follow that.

surendran
(Anything is Possible)
http://ssuren.spaces.msn.com
 
Old December 22nd, 2006, 06:11 AM
Authorized User
 
Join Date: Oct 2006
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yea surrendan i made already and i read all about the guidelines but it seems that i cant get all the instruction to follow...
 but anyway it needs me time to understand...

_________________________________________
.::If you quit you loss, If you survive you win::.

.:;JHANNY::.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Retrieving Data Grid Cell Value Using Javascript dotnetsathya ASP.NET 1.0 and 1.1 Basics 0 October 23rd, 2008 02:00 AM
Problem retrieving info from a detail node LeoMathew XSLT 6 February 13th, 2008 08:54 AM
Retrieving clob oracle with php roxusername PHP Databases 0 October 30th, 2006 02:02 PM
missing info on xml and javascript ciwluke Javascript 0 August 30th, 2006 03:11 PM
Need info about PHP bmains Beginning PHP 3 September 23rd, 2004 07:17 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.