rver from/to the rest of the world without using curl. Or are you
(healthy) paranoied about oasis?
--
Daniel Tryba
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n of the response the php returns, but how do I reference
> the result of a php page to get a strlen from it??
You didn't dig far enough, since there is an example of exactly what you
want on:
http://www.php.net/manual/en/function.ob-get-length.php
Isn't the online reference need? :)
), depending if you just need the
source from that cgi or need to mangle it a little?
Using PHP build-ins will most likely be faster or at least nicer for
your resources.
IMHO (never used it) curl is only needed when you need to something
fancy like post/put requests.
--
Daniel Tryba
-
On Sat, Jun 15, 2002 at 06:02:58PM +0200, Daniel Tryba wrote:
> This works for me:
Hmmm, one while(!feof()) to many not that it really matters :)
--
Daniel Tryba
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
7;t
> viewable.
Are you using the binary safe fread/fwrite()? Didn't forget to fclose()
the output file?
This works for me:
--
Daniel Tryba
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Jun 14, 2002 at 08:58:29AM +0100, Webmaster do Aborla.net wrote:
> I would like to know how can I compress the output of PHP through Zlib.
You mean like:
http://www.php.net/manual/en/function.ob-gzhandler.php
--
Daniel Tryba
--
PHP General Mailing List (http://www.php.net/)
>
> (Actually, to get the number, I could just do "$cp-0" or "$cp*1" - gotta
> love variants)
>From your example I got the impression you are only interested in
multiplier
--
Daniel Tryba
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(preg_match("/^\s*(\+|-)?(\d+)/",$str,$match))
{
return intval($match[1].$match[2],10);
}
else
{
return false;
}
}
$format="012L20W2P";
$int=skipf($format);
$int is 12 in this example.
--
Daniel Tryba
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tly to the
browser (echo/print...), IMHO you shouldn't do that at all but let
retrieve() return a string/array/whatever. But that's up to you :)
--
Daniel Tryba
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
what you yourself could do is keep track of eg. the IP adress of the
user and check if it doesn't change... if it does then maybe someone is
trying something fishy.
--
Daniel Tryba
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-E59VB-7SX99 or similar)?
Does md5() fit you needs?
http://www.php.net/manual/en/function.md5.php
--
Daniel Tryba
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
}
}
}
$quant=array(1,2,3,5,10,15,20,25,50,100,300,500,600,1);
$Quantity1=10;
$Price1=1;
$Quantity2=500;
$Price2=40;
$ppu=array();
for($i=0;$i
8<-
Output:
|1|2|3|5|10|15|20|25|50|100|300|500|600|10000
|0|0|0|0|0.1|0.1|0.1|0.1|0.1|0.1|0.1|0.08|0.08|0.08
--
Daniel Tryba
PGP pub
abla blabla yada";
eregi("(.*)",$string,$result);
echo "Before:\"$string\", after \"$result[1]\"";
?>
--
Daniel Tryba
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
On Wed, Apr 18, 2001 at 09:22:32AM -0500, Plutarck wrote:
> Hm...can't say I've seen many subjects about this, but you might want to
> look around for information on WAP/WML.
>
> Maybe someone else would know more though, because I have no experiance with
> non-PC browsers.
For Palm/PocketPC/bla
On Mon, Feb 05, 2001 at 03:05:24PM -0500, Conover, Ryan wrote:
> I have been trying the following example from the PHP developer's cookbook
> and it keeps giving me the following error.
>
> Parse error: parse error in c:\Inetpub\wwwroot/temp.php on line 5
> $excel_handle = new COM("excel.applica
or the php file.
https is usually port 443
if ($SERVER_PORT!=443)
header("Location: https://server/$PHP_SELF");
--
Daniel Tryba
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To c
16 matches
Mail list logo