Jump to content

Bee

Members
  • Posts

    40
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Bee's Achievements

Member

Member (2/5)

0

Reputation

  1. Hi, Is it possible to use PHP to connect a java applet to a database? Thank you, B
  2. [!--quoteo(post=380198:date=Jun 5 2006, 08:53 AM:name=Orio)--][div class=\'quotetop\']QUOTE(Orio @ Jun 5 2006, 08:53 AM) [snapback]380198[/snapback][/div][div class=\'quotemain\'][!--quotec--] Can you show the counter script itself? I think the error is checking the cookie, not in setting it (because your setting is ok). Orio. [/quote] I could not send my code, I keep getting an error message when I try to send the code: "You are not authorized to view this page You might not have permission to view this directory or page using the credentials you supplied." But here is a link to the tutorial? My code is exactly the same except from the <br> statements that I removed. [a href=\"http://www.phpfreaks.com/tutorials/27/0.php\" target=\"_blank\"]http://www.phpfreaks.com/tutorials/27/0.php[/a] Thank you, Bee
  3. Hi, I took a tutorial to make a text file based counter. The counter counts fine; however, it doesn't seem to register the cookie because whenever I refresh the page, it adds one to the count. [img src=\"style_emoticons/[#EMO_DIR#]/excl.gif\" style=\"vertical-align:middle\" emoid=\":excl:\" border=\"0\" alt=\"excl.gif\" /] This is my cookie code: setcookie("user_ip", $REMOTE_ADDR, time()+360000); Any help will be very very much appreciated.
  4. [!--quoteo(post=376035:date=May 22 2006, 09:21 AM:name=AndyB)--][div class=\'quotetop\']QUOTE(AndyB @ May 22 2006, 09:21 AM) [snapback]376035[/snapback][/div][div class=\'quotemain\'][!--quotec--] [code]if (isset($_POST['Send'])) {     // retrieve all POSTed variables     foreach ($_POST as $key=>$val) {         $$key = trim(strip_tags($val)); // remove spaces at ends and strip html/php tags from input     }     ... the rest of your form processing ... [/code] [/quote] Thank you for that it worked well with it. I wonder why you used two $$ on key?
  5. Hi guys, can PHP connect to any other types of databases or just MYSQL? Thanks Bee
  6. [!--quoteo(post=376483:date=May 23 2006, 03:57 PM:name=neylitalo)--][div class=\'quotetop\']QUOTE(neylitalo @ May 23 2006, 03:57 PM) [snapback]376483[/snapback][/div][div class=\'quotemain\'][!--quotec--] I always suggest AVG as an anti-virus solution, and ZoneLabs' ZoneAlarm software as a firewall. [a href=\"http://free.grisoft.com\" target=\"_blank\"]http://free.grisoft.com[/a] for the free version of AVG Click [a href=\"http://www.zonelabs.com/store/content/company/products/znalm/freeDownload2.jsp?dc=12bms&ctry=US&lang=en&lid=staticcomp_za\" target=\"_blank\"]here[/a] to begin the process of getting the free version of ZoneAlarm. [/quote] That's worked well for me. Thanks:)
  7. [!--quoteo(post=376459:date=May 23 2006, 02:57 PM:name=ober)--][div class=\'quotetop\']QUOTE(ober @ May 23 2006, 02:57 PM) [snapback]376459[/snapback][/div][div class=\'quotemain\'][!--quotec--] WOw..... you're lazy. A google search turns them both up easily: [a href=\"http://www.free-av.com/\" target=\"_blank\"]http://www.free-av.com/[/a] [a href=\"http://www.grisoft.com/\" target=\"_blank\"]http://www.grisoft.com/[/a] [/quote] I know what you mean. The reason I want to ask other people is to get a recommendation. Which one do you recommend?
  8. [!--quoteo(post=376439:date=May 23 2006, 02:03 PM:name=jcombs_31)--][div class=\'quotetop\']QUOTE(jcombs_31 @ May 23 2006, 02:03 PM) [snapback]376439[/snapback][/div][div class=\'quotemain\'][!--quotec--] AVG and AntiVir are both free. [/quote] do you have a link for download?
  9. Hi guys, Do you know any good and free firewall and antivirus software that I can download and reliably use?
  10. [!--quoteo(post=375894:date=May 21 2006, 06:31 PM:name=AndyB)--][div class=\'quotetop\']QUOTE(AndyB @ May 21 2006, 06:31 PM) [snapback]375894[/snapback][/div][div class=\'quotemain\'][!--quotec--] Probably because all of the data POSTed from the form were not abstracted from the $_POST array. Your script assumes that register_globals is ON (the default in much earlier versions of php and/or found in outdated scripts). You'll need to retrieve each of the POSTed values using a syntax such as: [code]$name = $_POST['name'];[/code] That should work for you, although there are faster/better ways of doing it. [/quote] It would help very much if you can show me a faster better way of doing it actually. Thanks.
  11. [!--quoteo(post=375409:date=May 19 2006, 07:54 PM:name=Houdini)--][div class=\'quotetop\']QUOTE(Houdini @ May 19 2006, 07:54 PM) [snapback]375409[/snapback][/div][div class=\'quotemain\'][!--quotec--] This is commented out //$Send = $_GET['Send']; then unless you have register_globals ON then this wont work if ($Send) and it is a $_POST variable because of the method in your form so try changing if ($Send) to [code]if(isset($_POST['Send'])){[/code]and see what it does. [/quote] Thank you:) That's slightly worked. it created a new record in the table, but left all fields empty except from the auto_increment PK.
  12. Bee

    Address Icon

    [!--quoteo(post=375590:date=May 20 2006, 06:11 PM:name=SkullMaster)--][div class=\'quotetop\']QUOTE(SkullMaster @ May 20 2006, 06:11 PM) [snapback]375590[/snapback][/div][div class=\'quotemain\'][!--quotec--] the icon must be named favicon.ico or you could link to the icon file like... <LINK REL="SHORTCUT ICON" HREF="favicon.ico"> [/quote] that's worked:) thanks
  13. Bee

    Address Icon

    [!--quoteo(post=375239:date=May 19 2006, 09:54 AM:name=wildteen88)--][div class=\'quotetop\']QUOTE(wildteen88 @ May 19 2006, 09:54 AM) [snapback]375239[/snapback][/div][div class=\'quotemain\'][!--quotec--] Yes what you need to do is simply create/find a [b]favicon.ico[/b] file that you like and then upload that to your website root directory now when you go to any webpage you should see your favicon in the address bar. [/quote] It did not work for me. I think i am missing something. Does the icon file has to be named favicon? Does the only thing you do is uplaoding it your root directory or do you do something else to link it to the page? Cheers, B
  14. Bee

    Address Icon

    Hi, Does anyone know how to display those icons in address bars please? For example: if you type www.phpfreaks.com, you will see a small icon just before the address. Thank you, B
  15. Bee

    Curved table corners

    [!--quoteo(post=373493:date=May 13 2006, 07:09 AM:name=wildteen88)--][div class=\'quotetop\']QUOTE(wildteen88 @ May 13 2006, 07:09 AM) [snapback]373493[/snapback][/div][div class=\'quotemain\'][!--quotec--] You cant do it in PHP. But you can will CSS and some images, have [a href=\"http://kalsey.com/2003/07/rounded_corners_in_css/\" target=\"_blank\"]a look here on how to do so[/a]. [/quote] Very helpful tutorial. Thanks.
×
×
  • 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.