Is it possible? 'Ajax' and wamp.
Posted by: monkeytail (---.groni1.gr.home.nl)
Date: November 24, 2007 01:48PM

Hello,

I am doing a tutorial on jQuery and 'uploaded' the files to my localhost (WAMP); it doesn't give the desired result. It looks like it won't fetch any data - generated from the php file.
I wondered; is it possible at all to test 'ajax-things' on my localhost with WAMP?

Thanx

Options: ReplyQuote
Re: Is it possible? 'Ajax' and wamp.
Posted by: roms (Moderator)
Date: November 24, 2007 02:02PM

Hi,
Ajax can work without any problem on WampServer.

I see three possible reasons for your problem :

1 - you use short open tags in your php script (<?). Then activate short_open_tags in your php conf, or replace these tags by standard php tags (<?php)

2 - you don't call you PHP pages through your web server. Make sure your browser calls a [localhost].....
page

3 - you need to change some parameters in your scripts???

Romain

Options: ReplyQuote
Re: Is it possible? 'Ajax' and wamp.
Posted by: monkeytail (---.groni1.gr.home.nl)
Date: November 24, 2007 05:06PM

Romain, thanx for your quick reply,

I checked my php tags; they are standard php tags.

The tutorial I mentioned:
[docs.jquery.com]

The code-snippets I copied and pasted are below the part: " Rate me: using Ajax"

My newbie level on (jQuery and js) 'doesn't allow' me to know which parameters I have to adjust - when that's the problem - to make it work.

Tnx

Options: ReplyQuote


Sorry, only registered users may post in this forum.