redarrow Posted July 1, 2006 Share Posted July 1, 2006 i am working on a large php project a clone.within this php script i got to let users have an live status for the links showing.for example a user can look at the live status of the most used links .if a link is pressed the link gets a added number example one to the database on the live status page the users can see the links that are getting pressed via the counter adding the links up.know all thats done via php the problam i got is if a user has not got javascript enabled then the users can not see the live status working.i dont know anythink about ajax but had a go but the problam i need to know is ajax just an exstention of javascript in other words if you have javascript disabled does it also disable ajax.if ajax is disabled what programming language can i use to have the live status to be live aways via server side programming. Quote Link to comment https://forums.phpfreaks.com/topic/13356-confused-about-php-and-javascript-and-ajax/ Share on other sites More sharing options...
cmgmyr Posted July 1, 2006 Share Posted July 1, 2006 To answer your first question...Yes if you disable javascript it will disable "Ajax" since ajax stands for Asynchronous JavaScript and XML ... if you take out the javascript...it kinda kills the rest. Remember that ajax is a mesh of technologies...not like php which is just one. For your second question...I really don't know what other programming language you can use, maybe coldfusion...but i don't really know a lot about that. Besided that my best guess would be that you are SOL.If I come up with anything else I'll let you know Quote Link to comment https://forums.phpfreaks.com/topic/13356-confused-about-php-and-javascript-and-ajax/#findComment-51544 Share on other sites More sharing options...
redarrow Posted July 1, 2006 Author Share Posted July 1, 2006 Thank you very much.i think its a problam for all when a user can disable javascript dam lolcheers. Quote Link to comment https://forums.phpfreaks.com/topic/13356-confused-about-php-and-javascript-and-ajax/#findComment-51546 Share on other sites More sharing options...
Drumminxx Posted July 1, 2006 Share Posted July 1, 2006 you also will need to take into consideration "Browser Support" IE being the most the most popular supports only javascript and vbscript and since most other browsers do not support vbscript you'll run into compatibility issues so that leaves javascript.ok now we are off topic ;) Quote Link to comment https://forums.phpfreaks.com/topic/13356-confused-about-php-and-javascript-and-ajax/#findComment-51549 Share on other sites More sharing options...
cmgmyr Posted July 1, 2006 Share Posted July 1, 2006 One thing that you can do (but won't really solve anything) is to see if the user has java script enabled...if they don't display an error message and give them instructions on how to change it.[code]<script type="text/javascript"><!--document.write("If this text is displayed, your browser supports scripting and has JavaScript enabled!")//--></script><noscript>JavaScript is NOT enabled!</noscript>[/code]Hope this helps,-Chris Quote Link to comment https://forums.phpfreaks.com/topic/13356-confused-about-php-and-javascript-and-ajax/#findComment-51551 Share on other sites More sharing options...
.josh Posted July 1, 2006 Share Posted July 1, 2006 you could have a flash object imbedded on your webpage as the interface. You can setup a "live feed" through actionscript. Quote Link to comment https://forums.phpfreaks.com/topic/13356-confused-about-php-and-javascript-and-ajax/#findComment-51552 Share on other sites More sharing options...
cmgmyr Posted July 1, 2006 Share Posted July 1, 2006 oh yeah...flash! duh! hahaa lot more bulky then javascript...but it would work Quote Link to comment https://forums.phpfreaks.com/topic/13356-confused-about-php-and-javascript-and-ajax/#findComment-51556 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.