'So What's A $#!%% Regular Expression, Anyway?!'
http://www.devshed.com/Server_Side/Administration/RegExp/
HTH,
bojan gajic
Dhaval Desai wrote:
> Hi!
>
> Can somebody enlighten me with regular expressions...
> like [^\-*] something like that. To me it appears as
Try with:
$HTTP_SERVER_VARS['SERVER_PROTOCOL']
$HTTP_SERVER_VARS['REQUEST_METHOD']
$HTTP_SERVER_VARS['REQUEST_URI']
HTH,
bojan
Javier Gil wrote:
> I want to obtain the first line of the header of the HTTP Request
> (the request line). Is there a function to obtain this line.
> Thanks
>
> --
I have to detect wheater some number can be divided with 100.
About 4M times per day.
So, what is quicker:
1. if($num==fun($num/100)), where fun is round/ceil/floor, or
2. if($num%100), or
3. something else...
$num is int, of course
TIA
bojan
--
PHP General Mailing List (http://www.php.net/)
T
URL as an argument.
HTH,
Bojan Gajic
WreckRman2 wrote:
> When doing this does the $file_name have to be in the current directory or
> can it be a URL?
>
> - Original Message -
> From: Bojan Gajic <[EMAIL PROTECTED]>
> To: Natasha <[EMAIL PROTECTED]>
> Cc: &
header("Content-Disposition: attachment; filename=$file_name");
header("Content-Type: application/octet-stream"); //or any other MIME type
echo "Content";
HTH,
Bojan Gajic
Natasha wrote:
> Hi,
>
> I'm making a small thing, that sends down
5 matches
Mail list logo