Jump to content

End User

  • Content Count

  • Joined

  • Last visited

Everything posted by End User

  1. When you say, "not working", what specifically isn't working? Are the 'topic' and 'post' variables being received but not acted on? Are you seeing any error messages?Also, I'm not sure but the two quotes at the end of this bit might be an issue:$_SESSION['user_id']."");
  2. End User

    Login PHP Script

    No offense, but he gave you pretty much everything you asked for. If you're unwilling to even click the link and have a look, well, that's not really his fault, is it? It's my opinion that part of programming (a LARGE part) is being able to help yourself and learn things as needed. If you're unwilling to do that then you have a long, painful road ahead as a programmer. I came here from a forum where a lot of people asked for code examples on a daily basis. Oftentimes we (the moderators) would give them blobs of code as a starting point, but some of them would turn around and basically demand t
  3. Add another function that calls the popUP() function with a list of URLs. Change this: <BODY onLoad="java script:popUp('http://www.google.com')"> To something like this: <BODY onLoad="java script:popLaunch()"> The popLaunch() function would contain a list of URLs which would call the popUp() function: function popLaunch(){popUp('http://www.google.com')"popUp('http://www.w3schools.com')"}
  4. I'm curious...do you mind if I ask what sort of sanitize() function you're using?
  5. Niche,You may find this a good route to go:http://www.terryburton.co.uk/barcodewriter/Barcode Writer in Pure PostScript (BWPP)I've used this a few times and it's always done the trick. I actually used to work in the barcode industry quite a few years ago and BWPP is better than a lot of the software we shipped with the printers we made.
  6. End User

    Nice PHP trick

    Maybe people here have seen this trick before, maybe not. I found it to be very useful in a variety of situations, so I thought I'd post it here. Normally when you use include() or require(), the results of the code or HTML from the included file is spit out right where the include() is done. But by using PHP's object buffer you can include the file and save the contents to a variable for use later. You can take the variable and fiddle with it all you want (do a search and replace on the contents, do transforms on it, or just save it to use later on in the page). You could also use this to avo
  7. Hello everyone. I'm a PHP/mySQL programmer, and also familiar with Javascript, CSS, etc. I'm self-employed and own/operate a variety of sites. I've been visiting W3Schools for years and years (great site!) but just recently joined the forum here. I was a perl coder for several years until I stumbled across PHP. I liked PHP, stopped coding in perl on the spot and never looked back. :)I believe someone else I know has just joined here as well, a friend by the name of "Wirehopper".
  • Create New...