Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. joeisbatman

    How do I retrieve a random row from a table?

    Easy answer: SELECT * FROM tbl_name WHERE your_conditions ORDER BY rand()
  2. joeisbatman

    Mysql Config/Spawn more processes

    I need to know what governs the creation of mysql processes, and how I can limit them. I've got a linux server running Mysql/Php to host a popular website... It averages about 150 requests per second. The hardware is a dual athlon MP with 1 gig of ram. Every so often say once every other day...
  3. joeisbatman

    session_id() returns "" [very impt!]

    One addition... My code looks like this: (someone please please please help. I'm dieing.) <?php session_start(); echo session_id(); ?> One comment that I should have mentioned in the origional post-- I've tested the webpage when the client has cookies both on and off. This fact should...
  4. joeisbatman

    session_id() returns &quot;&quot; [very impt!]

    What POSSIBLE SCENARIO makes the session_id() function return null???? I have a website where <i>SOMETIMES</i> when you visit the main page, your session_id() is blank. This causes a problem, for it means that session_start() is not maintaining the session for subsequent pages. The problem...
  5. joeisbatman

    sessions not holding SessID

    ...by default PHPSESSID, and if I look into my cookie I get. PHPSESSID -this area blank (usually session goes here) 1024 654684798 23458498 903242 * Does anyone know what could cause the session_start() to not hold the session ID? Another interesting feature is any calls to session_id()...
  6. joeisbatman

    session variable getting registered twice

    I am having a very similar problem and would like to hear how this one gets resolved, please if anyone can help that 'd be great!!! thanks Joe
  7. joeisbatman

    Yet another PHP beginner that can't use the header function

    I think everyone is diagnosing this wrong. This code works for me: ---------TOP OF PAGE HERE--------------------- <? session_start(); header(&quot;Location: http://www.yahoo.com&quot;); ?> ---------------------------------------------- Make sure you're not doing this: -----------TOP OF...
  8. joeisbatman

    HOW SESSION DATA WORKS

    Hi folks, When I'm looking at my server, I notice whenever someone starts a new session a tiny file gets created... This file has whatever session variables have been registered in it. MY QUESTION IS: Does session data get stored to ram? Will extensive use of session data gobble up ram, or...
  9. joeisbatman

    Asp on a Linux server?

    Well program secrets put things in very good persepective, but i have a helpful tip. I was in the same boat you were in a few weeks ago. If you are not familiar with SQL stuff, as was the situation for me and are going to mySQL/PHP (which I did), use this lil script called PHPMYADMIN. It...
  10. joeisbatman

    session nightmare

    Dude fellas, sorry ignore this post. I just jumped out of bed to discover that this post doesn't make coherent sense (too tired maybe?). Of course my variable wasn't going to change cuz I kept resetting it back to 5. Solving this simple example isn't near helping me with my larger problem...
  11. joeisbatman

    session nightmare

    The php manual has conflicting data on this issue, and I keep hearing different things from everyone. I have one variable that I need to be constantly updated. Using session variables how can I keep this variable updated? I find that a if I do- session_start(); $foo =5; session_register('foo)...
  12. joeisbatman

    Database planning

    Dave thanks for your post it was very informative! --joe
  13. joeisbatman

    database design-- no one responding :(

    I've made this post in a few of the databse forums to no avail, I'm hoping someone here can gimme their two cents: I'm making a website, and I'm fairly new to databases. My friend and I are butting heads on which is the best way to design my database. My database has members which are kept...
  14. joeisbatman

    database planning

    I'm making a website, and I'm fairly new to databases. My friend and I are butting heads on which is the best way to design my database. My database has members which are kept track in the database using a Unique ID#. Each &quot;member&quot; has a bunch of columns of data associated with it...
  15. joeisbatman

    Database planning

    I'm making a website, and I'm fairly new to databases. My friend and I are butting heads on which is the best way to design my database. My database has members which are kept track in the database using a Unique ID#. Each &quot;member&quot; has a bunch of columns of data associated with it...
  16. joeisbatman

    MySQL resources on Internet

    I'm still new to mySQL but, if you're working in PHP, this program called phpMYadmin is really great... Just search google for its website. I dont know of any other links. Hope this helps! --joe
  17. joeisbatman

    IIS + AIM browswer...

    Paul, Thanks for the response! (and thanks to like ALL of the responses you've given me on my previous posts, you're always a great help) However... the idea you had doesn't do the trick for me. Last night I did a lot more testing on it and I found that IIS cannot even &quot;find&quot; when...
  18. joeisbatman

    IIS + AIM browswer...

    ...my problem: I find that in AOL instant messager, some webpages do not work when an a querystring that is appended to the url has spaces in it. *Part of the website's function requires that sometimes the querystring has something like blah.hml?SN=j o e.* This part is beyond my control. I...
  19. joeisbatman

    IIS + AIM problem apache??

    ...my problem: I find that in AOL instant messager, some webpages do not work when an a querystring that is appended to the url has spaces in it. *Part of the website's function requires that sometimes the querystring has something like blah.hml?SN=j o e.* This part is beyond my control. I...

Part and Inventory Search

Back
Top