Thank you very much. This is what I ended up with if anyone needs it:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Is it possible to check if an url is a jpg image from php?
Thank you for your help.
Cheers,
Tommy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Anyone knows how to start a php script as a separate thread/process from
another php script?
example.php:
The reason why I want to do this is because separate_script.php has to be
fully executed even if the request for example.php is stopped in the middle
of "more logic".
I am using PHP
Hi,
Anyone knows how to start a php script as a separate thread/process from
another php script?
example.php:
The reason why I want to do this is because separate_script.php has to be
fully executed even if the request for example.php is stopped in the middle
of "more logic".
I am using PHP
help.
Thanks
Tommy Jensehaugen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If I can't use any of those, it's not possible? correct?
thank you for your help.
tommy
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Saturday 25 January 2003 06:15, Tommy Jensehaugen wrote:
>
>
Hi folks!
I have a page where I log in as an Apache user. How do I get the apache
username in php?
thanks
tommy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i don't know if this is the most efficient way, but it'll work:
$query = "SELECT username FROM users WHERE username =
> '{$_POST['strUserName']}'";
$query2 = "SELECT Ngfnummer FROM lid WHERE Ngfnummer =
'{$_POST['strNgfnummer']}'";
if ( mysql_num_rows( mysql_query( $query ) ) == 0 && mysql_num_r
function get_file_list($dirName=".") {
$list = array();
$handle = opendir($dirName);
while (false !== ($file = readdir($handle))) {
/* Omit the '.' and the '..' directories. */
if ((".."== $file) || ("."== $file)) continue;
array_push($list, $file);
}
closedir($handle);
return $list;
}
This works with your first question. Might work for all.
html:
javascript:
function validate()
{
form = document.name_of_form;
if( form.name.value == '' )
{
alert( "You forgot to write your name." );
document.forms[0].name.focus();
return false;
}
else
{
return true;
}
}
tommy
If you choose to use
header("Location: yellow.php");
it might be useful to add an exit; statement after it. I have experienced
that if I use more header(..) function calls in one page, it can skip the
first ones. Don't know why, but with the exit; statement your are sure:
if ($Color == "Yellow") {
11 matches
Mail list logo