ttern="";
$i=0;
while(!feof($readfile))
{
$contents=fgets($readfile,4065);
if(eregi($pattern,$contents,$regs))
{ echo "$regs[$i]";
}
$i++;
}
Thanks
Dexter
Dexter
Hi PHP sters,
Looking for a function like Perls index function to get the first occurrence of a
string within another.
Thanks
Dexter
hi PHP 'sters,
How to read a web page and analyze but not display it using PHP.
Thanks
Dexter.
Using Perl , I usually say
$string=~s /,$//;
to chop off a particualr char on end.
How do you do this using PHP.
Thanks,
Dexter
uages. You actually have to tell PHP that the function is global.
I see functions , are there subroutine calls. I guess not. A function acts as a
sub when it returns no value . A sub that returns a value is a function.
Thanks
Dexter
the form , which value does the variable take on?
Thanks
Dexter
Hi PHP ers,
Cant unzip a file from a PHP script. It does nothing.
It works on the command line. Added paths to both the zip file and unzip program
nothing happens
exec("/usr/bin/unzip $IMAGE_TEMP_DIR/phpxXTN3T ");
Thanks
Dexter
7 matches
Mail list logo