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 gkittelson 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. jwoods7

    time function RegExps

    Wow, I've started to research RegExps for data verification...not a small topic. Anyway, my sample script isn't working and I don't know why, can anyone help? For this one, I'm looking to test whether a string is a time (ie; 11:45 am) Why does this alert "false"? function...
  2. jwoods7

    Display Session Cookie Quantity??

    Not that I know of. Even on that script, it's too simple to be doing anything with the session id. (i'm assuming your asking if I'm setting the session_id() to a value) <? session_start(); echo "<br>ID: $".session_id(); ?> On the example page, that's all I have...and it will randomly show...
  3. jwoods7

    Display Session Cookie Quantity??

    Also, SOMETIMES it remembers the id, keep reloading to eventually watch it change. It seems to do it more the longer it sits...
  4. jwoods7

    Display Session Cookie Quantity??

    Still getting random session losses... In response to the post by DRJ478 above: I have had session session_id() printing the session id as I go along. It's routinely using a new session_id...that must be the problem...however, I'm not sure why. Check out this page too...
  5. jwoods7

    Display Session Cookie Quantity??

    Ah, thanks. I'll wait to see if this works...and keep you updated. Hopefully that was causing the issue!
  6. jwoods7

    Display Session Cookie Quantity??

    deleted session_register() and session_start()... everything failed. Wouldn't remember ANY session variables without them... put them back...whew.
  7. jwoods7

    Display Session Cookie Quantity??

    Interesting. So I only need session_register("login"); session_register("password"); on the pages or in the functions that call/write/use those variables? I should delete them from the always included config.php page? OR I should delete all session_register() calls altogether? (not needed)...
  8. jwoods7

    Format Text Area using mail( )

    It sounds like something is happening to the new line characters... In text boxes, a new line is \r\n Ensure that nothing is changing the message before it's submitted. For example, try $message = str_replace("\r\n","NEW LINE",$message); then print that on the screen. If those marks...
  9. jwoods7

    Display Session Cookie Quantity??

    I guess I should have explained a bit more. I only added the session_start() after this problem arised and I read about it on the internet. Some people mentioned to have that before every session register. It works without it, and works with it...random problem still occurs, but that appears...
  10. jwoods7

    Display Session Cookie Quantity??

    PHP Info: http://www.atlanticusdesigns.com/phpinfo.php I'll include a sample script, but it's more complicated than this so I'm not sure there will be problems with the code. Obviously my login script is not done EXACTLY this way, essentially thats what is happening though. There are about a...
  11. jwoods7

    Display Session Cookie Quantity??

    I'm having some random issues with my session variables. Let me explain: I write session variables to the users browser to keep track of who they are for that session (log in/out). Over the last week, my clients have been complaining that it is randomly 'logging them out' although, the logout...
  12. jwoods7

    file_get_contents() returns garble!

    I'm using: $results = file_get_contents(&quot;email_notebook.pdf&quot;); echo $results; in an attempt to return just the text portion of the pdf file and save it to a variable. I've looked around but can't find an easy function, and this only returns &quot;??«Ú?¢=¶º£sMWwÏÚÞuØ°qÓæ-&quot...
  13. jwoods7

    Search for Text within page

    Hmm...good question. My goal is to try to create a script that searches a page for a particular word or term. I will return various info about that term, such as number of times it appears on the page, location between <title></title> tags... I'm trying to create a mini page reporter that...
  14. jwoods7

    Popularity Script - Can't find one!

    I'm looking for a basic php script to check link popularity of a url. I'm not looking for anything fancy, except created with php. I found one but it was $25 and I'm thinking there is something out there to work with that is free. Has anybody seen one?
  15. jwoods7

    Search for Text within page

    PHP Version 4.1.2 Allow Url Fopen: local value=1, master value=1 Safe Mode: On, On
  16. jwoods7

    Search for Text within page

    I know that it is in safe mode, not sure about url open though. Any way to check?
  17. jwoods7

    Search for Text within page

    I believe it's version 4.2 or close to it. The server is hosted by another company, it was recently upgraded.
  18. jwoods7

    Search for Text within page

    I'm researching a SIMPLE function (hopefully) that all it does is search for a string ($string) within a web url ($page). I would like it to return the entire line that term is in, or something to that effect. I'm more interested at this point with being able to find a term within a page...
  19. jwoods7

    &quot;Supplied argument is not a valid MySQL result resource&quot;

    oh geez I'm retarded. Should be &quot;checking the inline specs on the girders&quot; like Tommy Boy. (quote from movie Tommy Boy) Thanks for the help!
  20. jwoods7

    &quot;Supplied argument is not a valid MySQL result resource&quot;

    Thanks! Why am I getting &quot;Query was Empty&quot; as a result from this function? The values are set in the database, I can verify that...I'm trying to get a firstname of a member CALLED FROM: getMemberInfo('3','firstname') {verified &quot;firstname&quot; is exactly as in table, login #3...

Part and Inventory Search

Back
Top