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...
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...
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...
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)...
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...
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...
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...
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...
I'm using:
$results = file_get_contents("email_notebook.pdf");
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 "??«Ú?¢=¶º£sMWwÏÚÞuØ°qÓæ-"...
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...
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?
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...
Thanks!
Why am I getting "Query was Empty" 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 "firstname" is exactly as in table, login #3...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.