Jump to content

11Tami

Members
  • Posts

    329
  • Joined

  • Last visited

    Never

Everything posted by 11Tami

  1. I found something and that does work for what I needed here. With all the 1000's of little tricks out there, you know that someone else might be able to help, and just one persons opinion doesn't always make it so.  Please let me post and let others respond on their own, they might have my answer. Give your opinion without ridiculing me, then let others give theirs. If no one can help me, I'll try something else. Please don't follow me around. Thanks.
  2. Regarding the php, this is one of the better ajax articles I read but it didn't say how to make something viewable in the source code. [url=http://www.oracle.com/technology/pub/articles/schalk-ajax.html]http://www.oracle.com/technology/pub/articles/schalk-ajax.html [/url] Instead of carrying the text or xml in the form of a javascript onload function or similar. Where you can only read it on the page and not in the source. How can I get it to the div source instead? Thanks a lot Alpine.
  3. Thank you very much alpine. Can you tell me at least how I would connect the http request to a script function on the server? And not just a web page? Thanks.
  4. Thank you very, very much for that! You don't know how glad I am to see you, I have looked through so many web pages or weeks without finding anything much about dividers and ajax. I hope you can please help me with some few more minor issues with this, then I'll be on my way, and send you some gifts for your help. Right now a page elsewhere is being inserted into the div. Lets see if I can explain what I need properly. Before you posted I don't know if I made myself very clear. I need to be able to manipulate just a divider with ajax. This is the opposite of what most people use ajax for but with a similar technique so I don't know why it shouldn't work. For instance, an external javascript function would be elsewhere. Ajax would go to the server to connect to just the javascript function. The external javascript with ajax access would manipulate the divider so that anything in the divider would be on a timer. Thats pretty much it really.  Thanks.
  5. [url=http://www.phpfreaks.com/forums/index.php/topic,115581.0.html][/url] For this Ajax link above, "A basic Start and working example" its fantastic for what it does. I need to know how to manipulate the div only, using javascript. The example puts text into the divs and a lot more. If javascript and ajax can put text into divs, how can I get it to concentrate on the div id only? Once I know that I can figure out I can figure out the rest of it thanks to the example. Do you use getElementByID somehow with the div id name? Anyone who writes ajax and manipulates text into divs etc. should know. No one in the javascript forums know, because they don't have to learn about it, because many of them don't seem to do ajax much. If anyone knows please tell me. Thanks.
  6. Thank you very much, it looks like my email php is missing something then. For instance. $formurl = "http://mywebsite.com/formpage.html" ;//The address of my page with the form and fields on it.<br /> $email = $_POST['email'] ;//The email address of the person filling out the form.<br /> if (!isset($_POST['email'])) { header( "Location: $formurl" ); exit ; } I don't understand what the above "if" command is supposed to do regarding the formurl and the email. But even as importantly, there seems to be something missing with the http_referrer. This is how it looks in my php email form. $http_referrer = getenv( "HTTP_REFERER" ); But there is no "if" statement for this saying if the form isn't being sent from my site there should be an error or an exit. Does someone have anything to go it that I can use? I already looked at the php manual with no luck. Please let me know, Tami.
  7. You have to understand some of us do look and look hard, but we don't understand any of it. That is our need for asking questions. Some of you pick this stuff up easier than the rest of us do. But thanks anyway for helping.
  8. Hi, I need to know why this is in my email form and what it does? Thank you very much. Tami. $http_referrer = getenv( "HTTP_REFERER" );
  9. I thought ajax was so you could refresh the whole page without all the usual that goes along with it. Didn't know it could refresh just part of a page. To refresh just part of a page with ajax, does the part getting refreshed have to be surrounded in javascript? In other words can the javascript and ajax refresh a portion elsewhere on the page? By calling it by divider id or something? Please let me know, and thanks for all the input Ober.
  10. I definitely need a partial page refresh, if anyone knows how please let me know. You can also private message me, thanks.
  11. Thanks Ober, working on it but need more time. In the meantime this would fix it completely. Does anyone have a partial-page rendering function that I can put my php include in? That would be the easiest fix. Just as long as it doesn't wrap it so the php can't be searched by search engines.
  12. Thank you. Yes I am done with the page refresh if possible, I'm not going to try to make that better anymore. I could use this other approach for many different things. So I better keep pursuing it at least until I find out what I need can't be done with ajax. Can someone tell me how to have php make a  XMLHttpRequest to some javascript elsewhere? Then I can access the javascript for a setTimeout, to avoid page refresh on the page the div is in. You don't have to give me all the code. I just need pieces here and there to head me in the correct direction. Please let me know, thank you very much.
  13. Thank you very much. I read through the tutorial, but its not telling me how to do this. Here are more details on what I need. I need to just refresh an divider not the whole page.
  14. I need to refresh without refreshing the whole page! Can anyone please give me the ajax code to do this, thank you very much.
  15. Thanks thorpe. I am trying to see if I can get around refreshing the page everytime I want the new php function to appear. For instance I am using rand(1,31). In order for the new random item to appear a page refresh needs to be done. I either need a way that just part of the page can be refreshed or I need a way that javascript can re-execute my php script. Or another way if someone has one. Or can something be put in this so the function only re-executes? echo "<img src='/$imagefile'>I need search engines to be able to search my php content, so I can't use iframes or enclose the php inside the javascript. Reason why page refresh isn't working is because it has to refresh the whole page which disrupts everything when I need to do it often. Same problem happens when server side include calls the page with the refresh in it. I only need something small in php refreshed, not the whole page. Some wizard out there please let me know, thanks.
  16. The page that send the user agent to the form must just mean the "web page" that sends the form fields. So the http referrer must just mean the opened "web page" that sends the form information.....correct?
  17. Hello what does http_refererrer mean in php forms? Please let me know, thank you very much. Tami
  18. Hello, doesn't php have any sort of refresh command to re-execute a php script? Thank you very much.
  19. Hello, I was wondering if I could put an id into a php script somehow so that I can call on it separately with javascript. Please let me know, thank you very much.
  20. nick89 you still there? What do you mean by start with the datetime with javascript?
  21. Thanks, I read up on those commands and I must be missing something. They sound like they stop the script after so many seconds is that correct? Is there any php command to keep the script going or re-executing after so many seconds? It sure seems like there would be.
  22. Hello, does anyone know how to add a javascript setTimout to this? So that this include will re execute after so much time...Or is there a php refresh command I can add to this code itself, not the page. Please let me know, thanks, Tami <?php include 'file.php'; ?>
  23. Anybody know how  to do this with javascript? I know how to make my page refresh using javascript but would only like the script itelf to change not the whole page so its less intrusive. Can I use javascript along with php in the php script?
  24. Hi I am having something change on the minute using the following php minute command. $getfile = date("i"); Thing is it only changes on page load not automatically. How to make it change automatically? Please let me know, thank you very much.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.