474,044 Members | 2,399 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

cannot get two scripts to work together - naming conflicts

4 New Member
This is probably a rather easy fix, but I know next to nothing about java. I am attempting to create a page that has two rows of buttons, and I wanted to have some sort of mouseover effect on them. Therefore, I found a program at free-buttons.org that will make one row of buttons at a time. It uses tables and javascript to make each horizontal set of buttons. When I only paste in one set of buttons, the operation works perfectly. However, the problem occurs when I add the second row of buttons into the page. I think that there must be a conflict in the two scripts, causing them both to fail. Here is what I have come up with so far:

-----------------------------------
Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <head>
  3. <title>Rendezvous Central</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. </head>
  6. <body bgcolor="#000000" text="#00FF00">
  7. &nbsp; <img src="Header%20Logos/cooltext40723557.jpg" width="690" height="89"><br>
  8.  
  9. <!-- Begin Free-Buttons.org -->
  10. <table align=left width=0 id="free-buttons.org:screxst0" cellpadding=0 cellspacing=0 border=0><tr>
  11. <td title='What is Rendezvous?'><a href="#" onmouseover='wbe("0o");' onmouseout='wbe("0n");' onmousedown='wbe("0c");'><img src="R07Nav1.wbimg/imgn0.gif" name=btn0 width=100 height=30 border=0 alt='What is Rendezvous?'></a></td>
  12. <td title='Your invitation to join us!'><a href="#" onmouseover='wbe("1o");' onmouseout='wbe("1n");' onmousedown='wbe("1c");'><img src="R07Nav1.wbimg/imgn1.gif" name=btn1 width=100 height=30 border=0 alt='Your invitation to join us!'></a></td>
  13. <td title='Registration Form to Print Out'><a href="#" onmouseover='wbe("2o");' onmouseout='wbe("2n");' onmousedown='wbe("2c");'><img src="R07Nav1.wbimg/imgn2.gif" name=btn2 width=100 height=30 border=0 alt='Registration Form to Print Out'></a></td>
  14. <td title='Sugar Lake Lodge & Alternates'><a href="#" onmouseover='wbe("3o");' onmouseout='wbe("3n");' onmousedown='wbe("3c");'><img src="R07Nav1.wbimg/imgn3.gif" name=btn3 width=100 height=30 border=0 alt='Sugar Lake Lodge & Alternates'></a></td>
  15. <td title='Bonnets on the Beach Info'><a href="#" onmouseover='wbe("4o");' onmouseout='wbe("4n");' onmousedown='wbe("4c");'><img src="R07Nav1.wbimg/imgn4.gif" name=btn4 width=100 height=30 border=0 alt='Bonnets on the Beach Info'></a></td>
  16. <td title='About Bridges Kinship'><a href="#" onmouseover='wbe("5o");' onmouseout='wbe("5n");' onmousedown='wbe("5c");'><img src="R07Nav1.wbimg/imgn5.gif" name=btn5 width=100 height=30 border=0 alt='About Bridges Kinship'></a></td>
  17. </tr></table>
  18.  
  19. <script type="text/javascript" language="JavaScript1.1">
  20.  
  21. function wbpr(im){var i=new Image();i.src='R07Nav1.wbimg/img'+im;return i;}
  22. function wbe(id){x=id.substring(0,id.length-1);document['btn'+x].src=eval('btn'+id+'.src');if(id.indexOf('e')!=-1)document['btn'+x+'e'].src=eval('btn'+id+'e.src');}
  23. btn0n=wbpr('n0.gif');btn0o=wbpr('o0.gif');btn0c=wbpr('c0.gif')
  24. btn1n=wbpr('n1.gif');btn1o=wbpr('o1.gif');btn1c=wbpr('c1.gif')
  25. btn2n=wbpr('n2.gif');btn2o=wbpr('o2.gif');btn2c=wbpr('c2.gif')
  26. btn3n=wbpr('n3.gif');btn3o=wbpr('o3.gif');btn3c=wbpr('c3.gif')
  27. btn4n=wbpr('n4.gif');btn4o=wbpr('o4.gif');btn4c=wbpr('c4.gif')
  28. btn5n=wbpr('n5.gif');btn5o=wbpr('o5.gif');btn5c=wbpr('c5.gif')
  29.  
  30. </script>
  31. <!-- End Free-Buttons.org -->
  32. <br><br>
  33. <!-- Begin Free-Buttons.org -->
  34. <table align=left width=0 id="free-buttons.org:screxst0" cellpadding=0 cellspacing=0 border=0><tr>
  35. <td title='Flying Monkeys Rally Info'><a href="#" onmouseover='wbe("0o");' onmouseout='wbe("0n");' onmousedown='wbe("0c");'><img src="R07Nav2.wbimg/imgn0.gif" name=btn0 width=100 height=30 border=0 alt='Flying Monkeys Rally Info'></a></td>
  36. <td title='Gymkhana/Speed Run Info'><a href="#" onmouseover='wbe("1o");' onmouseout='wbe("1n");' onmousedown='wbe("1c");'><img src="R07Nav2.wbimg/imgn1.gif" name=btn1 width=100 height=30 border=0 alt='Gymkhana/Speed Run Info'></a></td>
  37. <td title='Pick your Favorite Activity...'><a href="#" onmouseover='wbe("2o");' onmouseout='wbe("2n");' onmousedown='wbe("2c");'><img src="R07Nav2.wbimg/imgn2.gif" name=btn2 width=100 height=30 border=0 alt='Pick your Favorite Activity...'></a></td>
  38. <td><a href="#" onmouseover='wbe("3o");' onmouseout='wbe("3n");' onmousedown='wbe("3c");'><img src="R07Nav2.wbimg/imgn3.gif" name=btn3 width=100 height=30 border=0></a></td>
  39. <td title='How to become a Sponsor...'><a href="#" onmouseover='wbe("4o");' onmouseout='wbe("4n");' onmousedown='wbe("4c");'><img src="R07Nav2.wbimg/imgn4.gif" name=btn4 width=100 height=30 border=0 alt='How to become a Sponsor...'></a></td>
  40. <td title='Place an ad in our Program....'><a href="#" onmouseover='wbe("5o");' onmouseout='wbe("5n");' onmousedown='wbe("5c");'><img src="R07Nav2.wbimg/imgn5.gif" name=btn5 width=100 height=30 border=0 alt='Place an ad in our Program....'></a></td>
  41. </tr></table>
  42.  
  43. <script type="text/javascript" language="JavaScript1.1">
  44.  
  45. function wbpr(im){var i=new Image();i.src='R07Nav2.wbimg/img'+im;return i;}
  46. function wbe(id){x=id.substring(0,id.length-1);document['btn'+x].src=eval('btn'+id+'.src');if(id.indexOf('e')!=-1)document['btn'+x+'e'].src=eval('btn'+id+'e.src');}
  47. btn0n=wbpr('n0.gif');btn0o=wbpr('o0.gif');btn0c=wbpr('c0.gif')
  48. btn1n=wbpr('n1.gif');btn1o=wbpr('o1.gif');btn1c=wbpr('c1.gif')
  49. btn2n=wbpr('n2.gif');btn2o=wbpr('o2.gif');btn2c=wbpr('c2.gif')
  50. btn3n=wbpr('n3.gif');btn3o=wbpr('o3.gif');btn3c=wbpr('c3.gif')
  51. btn4n=wbpr('n4.gif');btn4o=wbpr('o4.gif');btn4c=wbpr('c4.gif')
  52. btn5n=wbpr('n5.gif');btn5o=wbpr('o5.gif');btn5c=wbpr('c5.gif')
  53.  
  54. </script>
  55. <!-- End Free-Buttons.org -->
  56. </body>
  57. </HTML>
-------------------------------------

Any help that can be given would be greatly appreciated!
Jan 12 '07 #1
10 2852
acoder
16,027 Recognized Expert Moderator MVP
The conflict occurs because you have defined functions, ids, etc. with the same names.

There is also a problem that wbpr has a space when called the third time on each line.

In the second script:
Delete the functions wbpr and wbe
Choose different names for the ids when calling the functions, e.g.
Expand|Select|Wrap|Line Numbers
  1. btn0n=wbpr('n0.gif');btn0o=wbpr('o0.gif');btn0c=wbpr('c0.gif')
becomes
Expand|Select|Wrap|Line Numbers
  1. btn0n1=wbpr('n0.gif');btn0o1=wbpr('o0.gif');btn0c1=wbpr('c0.gif')
  2.  
If you need more help, let me know.
Jan 12 '07 #2
mint89
4 New Member
Hey thanks for the reply. I've taken a look at the parts of the scripts you mentioned, but I still cannot get them to work together. I tried removing the wbpr and wbe functions in the second script, as well as choosing different names for the ids. I also fixed the spacing errors. I end up with the following code for the second script:

Expand|Select|Wrap|Line Numbers
  1. <script type="text/javascript" language="JavaScript1.1">
  2.  
  3. btn0n1=wbpr('n0.gif');btn0o1=wbpr('o0.gif');btn0c1=wbpr('c0.gif')
  4. btn1n1=wbpr('n1.gif');btn1o1=wbpr('o1.gif');btn1c1=wbpr('c1.gif')
  5. btn2n1=wbpr('n2.gif');btn2o1=wbpr('o2.gif');btn2c1=wbpr('c2.gif')
  6. btn3n1=wbpr('n3.gif');btn3o1=wbpr('o3.gif');btn3c1=wbpr('c3.gif')
  7. btn4n1=wbpr('n4.gif');btn4o1=wbpr('o4.gif');btn4c1=wbpr('c4.gif')
  8. btn5n1=wbpr('n5.gif');btn5o1=wbpr('o5.gif');btn5c1=wbpr('c5.gif')
  9.  
  10. </script>
  11.  
Note: there is not a space in my code the third time the wbpr is called, the forum is formatting it as such for some reason.

However, the two scripts will still not work together. I looked over the code again, and did you notice that each script refers to a different folder when supplying the images for the buttons? The different folders seem to be specified in the wbpr function of each script:

first script:
Expand|Select|Wrap|Line Numbers
  1. function wbpr(im){var i=new Image();i.src='R07Nav1.wbimg/img'+im;return i;}
  2.  
second script:
Expand|Select|Wrap|Line Numbers
  1. function wbpr(im){var i=new Image();i.src='R07Nav2.wbimg/img'+im;return i;}
  2.  
I would think that I need to somehow tell the second line of buttons where to find their images? Although, at the same time, I cannot have any conflicts. Is there any further help you could give me on this issue?
Jan 13 '07 #3
acoder
16,027 Recognized Expert Moderator MVP
OK, I think, after looking at the code in more depth, you need to change the names of the buttons and keep the functions. Keep the first snippet of code from free-buttons as it is, you only need to change the second piece of code.

Change the function names instead of removing them, because you will need them but will probably alter them for your needs.
Expand|Select|Wrap|Line Numbers
  1. function wbpr2(im){var i=new Image();i.src='R07Nav2.wbimg/img'+im;return i;}
  2. function wbe2(id){x=id.substring(0,id.length-1);document['btn'+x].src=eval('btn'+id+'.src');if(id.indexOf('e')!=-1)document['btn'+x+'e'].src=eval('btn'+id+'e.src');}
  3.  
Now call the second set of buttons with wbpr2 and wbe2 instead.
Now lets look at wbe2
Expand|Select|Wrap|Line Numbers
  1. wbe2(id) {
  2.  x=id.substring(0,id.length-1);
  3.  document['btn'+x].src=eval('btn'+id+'.src');
  4.  if(id.indexOf('e')!=-1) document['btn'+x+'e'].src=eval('btn'+id+'e.src');
  5. }
It takes the first character ( a number between 0 and 5). Then it changes the image named btn0, btn1, etc. to btn0o, etc. Since you have added 1 to each of these we will need to change this and the names of the buttons. the last line keep as it is because I can't see a use of 'e' for the id.
So we have
Expand|Select|Wrap|Line Numbers
  1. wbe2(id) {
  2.  x=id.substring(0,id.length-1);
  3.  document['btn'+x + 1].src=eval('btn'+id+'1.src');
  4.  if(id.indexOf('e')!=-1) document['btn'+x+'e'].src=eval('btn'+id+'e.src');
  5. }
Now where you have btn0, btn1, etc. in the second snippet of code change to btn01, btn11, btn21, etc.

Finally, you have a title missing for the fourth button. That's just for completeness.

Phew! See if you can understand that.
Jan 13 '07 #4
iam_clint
1,208 Recognized Expert Top Contributor
i'm giving mint89 a gold metal for using code tags on his first post! way to read my sticky :) did you get everything figured out?
Jan 15 '07 #5
mint89
4 New Member
i'm giving mint89 a gold metal for using code tags on his first post! way to read my sticky :) did you get everything figured out?
haha thank you iam_clint :) As far as everything goes with this code, I have still not been able to solve the issue that prevents the buttons from functioning when both scripts are implemented. Here is the code, updated with the latest suggestions from the posts above:

Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <head>
  3. <title>Rendezvous Central</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. </head>
  6. <body bgcolor="#000000" text="#00FF00">
  7. &nbsp; <img src="Header%20Logos/cooltext40723557.jpg" width="690" height="89"><br>
  8.  
  9. <!-- Begin Free-Buttons.org -->
  10. <table align=left width=0 id="free-buttons.org:screxst0" cellpadding=0 cellspacing=0 border=0><tr>
  11. <td title='What is Rendezvous?'><a href="#" onmouseover='wbe("0o");' onmouseout='wbe("0n");' onmousedown='wbe("0c");'><img src="R07Nav1.wbimg/imgn0.gif" name=btn0 width=100 height=30 border=0 alt='What is Rendezvous?'></a></td>
  12. <td title='Your invitation to join us!'><a href="#" onmouseover='wbe("1o");' onmouseout='wbe("1n");' onmousedown='wbe("1c");'><img src="R07Nav1.wbimg/imgn1.gif" name=btn1 width=100 height=30 border=0 alt='Your invitation to join us!'></a></td>
  13. <td title='Registration Form to Print Out'><a href="#" onmouseover='wbe("2o");' onmouseout='wbe("2n");' onmousedown='wbe("2c");'><img src="R07Nav1.wbimg/imgn2.gif" name=btn2 width=100 height=30 border=0 alt='Registration Form to Print Out'></a></td>
  14. <td title='Sugar Lake Lodge & Alternates'><a href="#" onmouseover='wbe("3o");' onmouseout='wbe("3n");' onmousedown='wbe("3c");'><img src="R07Nav1.wbimg/imgn3.gif" name=btn3 width=100 height=30 border=0 alt='Sugar Lake Lodge & Alternates'></a></td>
  15. <td title='Bonnets on the Beach Info'><a href="#" onmouseover='wbe("4o");' onmouseout='wbe("4n");' onmousedown='wbe("4c");'><img src="R07Nav1.wbimg/imgn4.gif" name=btn4 width=100 height=30 border=0 alt='Bonnets on the Beach Info'></a></td>
  16. <td title='About Bridges Kinship'><a href="#" onmouseover='wbe("5o");' onmouseout='wbe("5n");' onmousedown='wbe("5c");'><img src="R07Nav1.wbimg/imgn5.gif" name=btn5 width=100 height=30 border=0 alt='About Bridges Kinship'></a></td>
  17. </tr></table>
  18.  
  19. <script type="text/javascript" language="JavaScript1.1">
  20.  
  21. function wbpr(im){var i=new Image();i.src='R07Nav1.wbimg/img'+im;return i;}
  22. function wbe(id){x=id.substring(0,id.length-1);document['btn'+x].src=eval('btn'+id+'.src');if(id.indexOf('e')!=-1)document['btn'+x+'e'].src=eval('btn'+id+'e.src');}
  23. btn0n=wbpr('n0.gif');btn0o=wbpr('o0.gif');btn0c=wbpr('c0.gif')
  24. btn1n=wbpr('n1.gif');btn1o=wbpr('o1.gif');btn1c=wbpr('c1.gif')
  25. btn2n=wbpr('n2.gif');btn2o=wbpr('o2.gif');btn2c=wbpr('c2.gif')
  26. btn3n=wbpr('n3.gif');btn3o=wbpr('o3.gif');btn3c=wbpr('c3.gif')
  27. btn4n=wbpr('n4.gif');btn4o=wbpr('o4.gif');btn4c=wbpr('c4.gif')
  28. btn5n=wbpr('n5.gif');btn5o=wbpr('o5.gif');btn5c=wbpr('c5.gif')
  29.  
  30. </script>
  31. <!-- End Free-Buttons.org -->
  32. <br><br>
  33. <!-- Begin Free-Buttons.org -->
  34. <table align=left width=0 id="free-buttons.org:screxst0" cellpadding=0 cellspacing=0 border=0><tr>
  35. <td title='Flying Monkeys Rally Info'><a href="#" onmouseover='wbe("0o");' onmouseout='wbe("0n");' onmousedown='wbe("0c");'><img src="R07Nav2.wbimg/imgn0.gif" name=btn0 width=100 height=30 border=0 alt='Flying Monkeys Rally Info'></a></td>
  36. <td title='Gymkhana/Speed Run Info'><a href="#" onmouseover='wbe("1o");' onmouseout='wbe("1n");' onmousedown='wbe("1c");'><img src="R07Nav2.wbimg/imgn1.gif" name=btn1 width=100 height=30 border=0 alt='Gymkhana/Speed Run Info'></a></td>
  37. <td title='Pick your Favorite Activity...'><a href="#" onmouseover='wbe("2o");' onmouseout='wbe("2n");' onmousedown='wbe("2c");'><img src="R07Nav2.wbimg/imgn2.gif" name=btn2 width=100 height=30 border=0 alt='Pick your Favorite Activity...'></a></td>
  38. <td title='temp'><a href="#" onmouseover='wbe("3o");' onmouseout='wbe("3n");' onmousedown='wbe("3c");'><img src="R07Nav2.wbimg/imgn3.gif" name=btn3 width=100 height=30 border=0 alt='temp...'></a></td>
  39. <td title='How to become a Sponsor...'><a href="#" onmouseover='wbe("4o");' onmouseout='wbe("4n");' onmousedown='wbe("4c");'><img src="R07Nav2.wbimg/imgn4.gif" name=btn4 width=100 height=30 border=0 alt='How to become a Sponsor...'></a></td>
  40. <td title='Place an ad in our Program....'><a href="#" onmouseover='wbe("5o");' onmouseout='wbe("5n");' onmousedown='wbe("5c");'><img src="R07Nav2.wbimg/imgn5.gif" name=btn5 width=100 height=30 border=0 alt='Place an ad in our Program....'></a></td>
  41. </tr></table>
  42.  
  43. <script type="text/javascript" language="JavaScript1.1">
  44.  
  45. function wbpr2(im){var i=new Image();i.src='R07Nav2.wbimg/img'+im;return i;}
  46. function wbe2(id){x=id.substring(0,id.length-1);document['btn'+x+1].src=eval('btn'+id+'1.src');if(id.indexOf('e')!=-1)document['btn'+x+'e'].src=eval('btn'+id+'e.src');}
  47. btn01n1=wbpr2('n0.gif');btn01o1=wbpr2('o0.gif');btn01c1=wbpr2('c0.gif')
  48. btn11n1=wbpr2('n1.gif');btn11o1=wbpr2('o1.gif');btn11c1=wbpr2('c1.gif')
  49. btn21n1=wbpr2('n2.gif');btn21o1=wbpr2('o2.gif');btn21c1=wbpr2('c2.gif')
  50. btn31n1=wbpr2('n3.gif');btn31o1=wbpr2('o3.gif');btn31c1=wbpr2('c3.gif')
  51. btn41n1=wbpr2('n4.gif');btn41o1=wbpr2('o4.gif');btn41c1=wbpr2('c4.gif')
  52. btn51n1=wbpr2('n5.gif');btn51o1=wbpr2('o5.gif');btn51c1=wbpr2('c5.gif')
  53.  
  54. </script>
  55. <!-- End Free-Buttons.org -->
  56. </body>
  57. </HTML>
  58.  
It is very frustrating that these buttons will not work, even after this latest set of revisions to the code :( I really thought that we had it figured out when we changed the names so nothing overlapped in the two scripts. Is there anything else that looks like it may be the culprit in this situation?
Jan 18 '07 #6
acoder
16,027 Recognized Expert Moderator MVP
There are still a few changes to make, you misunderstood one or two suggested changes.

When I said change btn0 to btn01, etc. I meant in the following line:
[HTML]<td title='Flying Monkeys Rally Info'><a href="#" onmouseover='wb e2("0o");' onmouseout='wbe 2("0n");' onmousedown='wb e2("0c");'><im g src="R07Nav2.wb img/imgn0.gif" name=btn01 width=100 height=30 border=0 alt='Flying Monkeys Rally Info'></a></td>
[/HTML]
Notice I have changed wbe to wbe2, otherwise wbe2 (the new function) would never be called. Now change back btn01n1, btn01c1, etc. back to btn0n1, btn0c1, etc.

You can make the rest of the changes yourself for the rest of the lines.

Do you understand what is happening? If not or you still have problems, post again.
Jan 18 '07 #7
mint89
4 New Member
SUCCESS =D

It works! Thank you so much for all of the help. I really appreciate it...and I think that through working with your replies, I actually learned a few things about javascript :)
Jan 19 '07 #8
acoder
16,027 Recognized Expert Moderator MVP
SUCCESS =D

It works! Thank you so much for all of the help. I really appreciate it...and I think that through working with your replies, I actually learned a few things about javascript :)
That's the way I like it. I could have easily just tested myself (though it would have taken some time) and given you a full solution in one post, but it's better to teach someone how to fish rather than give them the fish (or something to that effect!)
Jan 19 '07 #9
thanksguys
1 New Member
Thanks acoder! This solved my problem as well. I just wish this post scored higher in Google's results for:

java function naming conflicts

Thanks again.
Feb 7 '08 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

15
2369
by: Bob | last post by:
I've tried everything; and I can't seem to get past this VERY (seemingly) simply problem. I want to work with an array variable within a function(s). I can't get it to work; if I: 1) global $arr=array(); (syntax err) 2) global $arr; in "main", the var isn't global 3) global $arr; in function, the array is cleared each time
3
5055
by: boxboy | last post by:
I am hoping someone from Microsoft could shed some insight into this question. Why did microsoft decide to use a verb based naming convtion for events rather such as Close and Click for rather than prepending them with On as in OnClose and OnClick? The way it is now, I encounter a lot of naming conflicts/ambiguity when trying to follow Microsoft's reccommened approach in naming my own events.
8
5499
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- Hello, I have a very simple problem but cannot seem to figure it out. I have a very simple php script that sends a test email to myself. When I debug it in PHP designer, it works with no problems, I get the test email. If
14
12957
by: Steve Jorgensen | last post by:
Recently, I tried and did a poor job explaining an idea I've had for handling a particular case of implementation inheritance that would be easy and obvious in a fully OOP language, but is not at all obvious in VBA which lacks inheritance. I'm trying the explanation again now. I often find cases where a limited form of inheritance would eliminate duplication my code that seems impossible to eliminate otherwise. I'm getting very...
10
1676
by: Allan Ebdrup | last post by:
We have a developer who has defined our vraiable naming conventions, He has defined that variables should benamed the same as the class they are an instance of, for example: Syste.Xml.XmlDocument XmlDocument; I find this a very bad idea as you might get confused about what XmlDocument is, a variabel or a class. Do any of you have some good arguments for or against such a naming convention? Would it be possible to actually make...
7
1343
by: Rene | last post by:
I am still waiting for my copy of VS 2005 that I ordered about 2 weeks ago. When I finally get VS 2005, I will want to continue to run my projects using 2003 and at the same time I want to make a copy of my currently projects and upgrade them to VS 2005 and .Net 2 to make sure everything works correctly and start taking advantages of the new features. Also, I am not sure I am ready to make the jump to 2005 cold turkey. Is anybody...
114
7953
by: Jonathan Wood | last post by:
I was just wondering what naming convention most of you use for class variables. Underscore, "m_" prefix, camel case, capitalized, etc? Has one style emerged as the most popular? Thanks for any comments. --
4
5964
by: three-eight-hotel | last post by:
I'm somewhat of a newbie to PHP coding, but have developed a site using the technology, and have been pleasantly surprised by the capabilities offered. I am more comfortable in the ASP world, however and am really struggling with managing sessions in PHP, based on my experiences with managing sessions in ASP. 99.9% of the feedback I have seen when dealing with the errors has referred to having whitespace before the <?php or after the...
9
7063
by: BillCo | last post by:
I'm coming from a MS Access background and so I'm very used to and comfortable with the hungarian (Leszynski et al) naming conventions. However, I'm getting started into my first SQL Server Database and really want to use the appropriate up to date standard naming convention (ISO compliant). I think I have the general idea from raking though countless conflicting sites and posts, but I'm a bit stuck on what to do regarding pk / fk naming
0
10546
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10337
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
12140
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
12023
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
11141
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
10310
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6652
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
5416
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3971
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.