Hello,
When I installed php-4.3.2 I realised that phpinfo() from mod_php said :
Client API version => 3.23.56
And from CLI, he said : Client API version => 4.0.x
(this one is the mysql-client version installed)
And Browse link from PhpMyAdmin didn't worked, apache died, from the
apache error log:
On Thursday, July 25, 2002, at 01:02 PM, JJ Harrison wrote:
> Is it possible to make the browser wait say, 5 seconds before
> redirection by
> outputting headers? I know you can do it with meta tags but not how by
> outputting headers
http://www.php.net/manual/en/function.sleep.php
R.
--
P
On jeudi, mai 23, 2002, at 01:27 , Nick Wilson wrote:
>> I get a parse error on line 114 can anyone see the problem?
>>
>> Sorry if it is something obvious :}
>> for ($i=0; $i <$num_results; $i++)
>>
>> 110. {
>> 111. $row = mysql_fetch_array($result);
>> 112. echo '';
>
> Have you tried escaping
Le lundi 8 avril 2002, à 04:15 PM, Hiroshi Ayukawa a écrit :
> Does anyone know how to check a directory exiasts?
RTFM !!
try this :
if (file_exists($dir) && is_dir($dir)) {
echo $dir.' is a directory !';
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Le lundi 8 avril 2002, à 03:45 PM, Erik Price a écrit :
>> When you download the file It loses the file association. It's for a
>> company
>> I do work for that uses a lot of .ai and .psd files.
>
Hi !
Have you tried with :
$filesize = filesize($your_file);
header("Content-type: ".$your_mime
Le lundi 8 avril 2002, à 04:00 PM, Wo Chang a écrit :
> What is the best way to do redirect after a
> php file did some processing?
Function header() ???
R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ian Wayne wrote:
>
[...]
>
> /*retrieve filename from url*/
> $current=$REQUEST_URI;
> $url=parse_url($current);
> $fileq=$url[query];
> $file=$fileq.".mov";
>
> /*force download*/
> header("Content-type:application/octet-stream\n");
> header("Content-disposition:attachment; filename=\"$file\"\
Vlad Kulchitski wrote:
>
> Hi,
>
> Can any1 send a small script of how to valiade a username using eregi().
>
> I want username to consist only a-zA-Z1-0, "_", and "-"
>
> I can't get it to work correctly
$pattern = "[a-zA-Z0-9_\-]+";
this is meaning :
One word containing a-z or A-Z or 0-9 or
Kris Vose wrote:
>
> How would you write a regular expression that defines a phone number: ex.
>(123)123-1234.
>
> In other words how would you check to see if there were three numerics surrounded by
>(), then
> three numerics with a "-", then four numerics.
with posix regular expression, fo
9 matches
Mail list logo