On Wed, 10 Jan 2001, Kristofer Widholm wrote:
Basically, I'm wondering if there is a way to redirect print and echo
output from PHP to a variable instead of directly to a browser or
file stream. What I'm trying to do is create code that can generate
an HTML page to a variable that I can
Georg,
If you're running Apache/Unix, php_imlib would allow you to manipulate
png's with more than 256 colors.
http://mmcc.cx/php_imlib/
Matt
On Sat, 13 Jan 2001, Johan Holst Nielsen wrote:
GD library only support PNG 256 color your PNG have more colors!
With Best Regards
Johan
On Fri, 19 Jan 2001, Michael Zornek wrote:
ok so i set up a multidimensional array with the following code:
?PHP
// departments.inc
//
// This file defines the switches. All the forms, and return displays are
// based on this table (multidimential array). The first index is the
switch
On Fri, 19 Jan 2001, James McLaughlin wrote:
I get an error when doing this
class Something
{
var $something;
function Something($this-something)
{
More somethings
}
}
The error tells me that I need a ")" in the line the function call is
in. If I
On Wed, Mar 07, 2001 at 10:07:37AM -0700, Nathaniel Hekman wrote:
Here's another case that shows up often in html, but is illegal in xml, that
I would need to parse: meta tags, p tags, hr tags, and other
"singletons".
HEAD
META HTTP-EQUIV="Content-Type" CONTENT="text/html"
On Thu, Mar 22, 2001 at 10:37:41AM +0100, Daniel Svensson, Coretrek wrote:
Hi there!
I wonder if there is someone out there who can help me out with some
advices regarding authentification with PAM (Pluggable Authentication
Modules)
using PHP.
Try php_pam.
On Fri, Mar 30, 2001 at 04:32:40PM +0700, juang wrote:
HI all,
how to compile php without function phpinfo enalbe. so if user call
phpinfo() it would be false/error. i would like to build a free web
server with php but i don't like if the user know what are the tools
in my server 'couse
On Sun, Dec 16, 2001 at 11:48:38PM -0800, David Yee wrote:
Is it possible to have PHP act like a web browser, accept cookies and
post data (for login)? I'm not sure exactly where to start- I know
you can use fopen/file to retrieve url's but I'm not too sure about
the other steps. I would
On Mon, Dec 24, 2001 at 01:48:38PM -0800, Phillip B. Bruce wrote:
I want to take something like the following:
$row = 1;
$ column = 1;
if ( $pages = r$row$column)
What I want to see is r1c1 as a string so I'm actually
concatenating the strings together.
if
On Mon, Oct 22, 2001 at 02:57:44PM +1000, Brian White wrote:
Preface to these ramblings: Exception handling is planned for the next
version of the Zend engine. For details, see
http://www.zend.com/zend/future.php
The nasty thing then comes in that if any task fails, I have to stop. So I
On Wed, Oct 24, 2001 at 10:43:53AM +0100, L Melville wrote:
Is it possible to sort a class array using array multisort, I have two items
in each class that I wish to sort by, one is a text and the other is the
first item in an array within within each class. i.e.;-
$class[$index]-text;
On Thu, Oct 25, 2001 at 10:30:24PM +0200, Rudi Ahlers wrote:
I would like to setup a banned ad server, and I will need the images
to be displayed in standard html pages, where the users don't have
php access. Thus, they should be able to call up the image from a
normal html page, ie: img
On Sun, Nov 04, 2001 at 12:54:54AM -0700, [EMAIL PROTECTED] wrote:
Why does PHP give a parse error if you do:
echo array_keys($arr)[0];
It makes you assign the result of the function to a var first like this:
$arr = array_keys($arr);
echo $arr[0];
I just want to
On Fri, Nov 09, 2001 at 10:11:50AM -0800, Chris wrote:
Are there any refrences that would indicate the percent of sites (PHP
installs) using various versions of PHP (i.e., 60% PHP4, 30% PHP3,
etc.)?
See the top of http://php.net which refers to usage stats provided by
Netcraft and
On Mon, Nov 12, 2001 at 11:14:04AM +0530, Sharat Hegde wrote:
Hello,
I need to capture the contents of a Form into a text file format and
automatically allow the user to Save the file to his desktop.
Here is what I am intending to do:
* Capture the form contents and save to a temporary
On Mon, Nov 12, 2001 at 04:42:08PM -, Caspar Kennerdale wrote:
I am yrying to read free urls from a moreover.com to a director app which
will be a news reader without a browser
'm using php top extrat the headlines
each headline looks similar to this
On Fri, Nov 30, 2001 at 07:04:08PM -0500, Uchendu Nwachukwu wrote:
Is there any easy way to get the filesize of an image on a remote server?
Please tell me there is! TIA
It scares me that nobody has answered with filesize() yet.
Matt
--
PHP General Mailing List (http://www.php.net/)
To
On Sat, Dec 01, 2001 at 09:55:47AM +0200, faeton wrote:
Hello Matt,
filesize() works only on local filesystems.
If you want the size of a remote file, you'll have to download it; HTTP
doesn't provide a way to query a remote file's size. FTP does, if you have
FTP access.
Matt
--
PHP
On Sat, Dec 01, 2001 at 11:05:51PM +0200, faeton wrote:
Hello Matt,
Of course it does not, but as i've already said file() with strlen()
can be used. :)
MM If you want the size of a remote file, you'll have to download it; HTTP
MM doesn't provide a way to query a remote file's size.
On Fri, Aug 17, 2001 at 05:40:07PM +0200, Jan wrote:
Hi out there!
I have got a problem with PHP's standard way of reporting errors. The
br in the error messages are making the XML invalid (should be
br/). Is there an easy way to do this?
This was done in CVS a few months ago. It should
On Thu, May 17, 2001 at 01:27:52PM -0400, Matthew Luchak wrote:
any hints on dynamically naming arrays?
ie:
$stuff= explode (!, $contents);
//$stuff[3] is foo
$stuff[3]=explode(,$stuff[4]);
${$stuff[3]} = '...';
http://www.php.net/manual/en/language.variables.variable.php
Matt
On Wed, May 23, 2001 at 10:37:06AM +0930, Joseph Blythe wrote:
Hey all,
Just was wondering if anyone knew what was used to make the php manuals
in the windows help format (.chm), I really like them :-)
The manual is availabe in chm in several languages.
http://www.php.net/docs.php
Matt
On Sat, Jun 23, 2001 at 04:50:48PM -0700, Todd Cary wrote:
I have created a barcode as an image stream ($im). Now, I want to
output it in HTML to a particular row and column on a form. Do I have
to save it as a file so that I can use the routine img src=xx or is
there a way to directly
On Fri, Jun 29, 2001 at 03:54:13PM +, Pétur Björn Thorsteinsson wrote:
can anyone tell me how to configure a php script so that it can only be
accessed by other scripts and not directly by typing its url in the
webrowser?
Just move the script outside the web root. Browsers can't
On Thu, Feb 08, 2001 at 03:19:52PM -0800, rswfire wrote:
Whatever, James.
The hackers name is Jonathan Sharp. He is a
regular member of this mailing list. I do
believe that people here would like to know they
have a hacker on their hands, don't you think?
On Fri, Feb 09, 2001 at 05:37:04PM -0700, Michael Dearman wrote:
I think it would be helpful.
What do you folks think?
You'd think it would be a popular thing, but the one O'Reilly hosts
is more or less silent.
http://www.oreillynet.com/pub/a/php/php-xml-ml.html
Matt
--
PHP General
On Sat, Feb 10, 2001 at 07:37:32PM +0100, Steve Haemelinck wrote:
The page I want to parse is:
http://213.224.136.110:8080/test.xml
And this is my code:
?php
//Define Opening Tags of XML
$open_tags = array(
'STORY' = 'nasdaqamex-dot-com',
'STOCK_NAME' = 'issue-name',
'LAST_SALE'
On Sun, Feb 11, 2001 at 03:51:33PM -0800, rswfire wrote:
I am not a hacker. I do not try to hack and
don't know how people go about doing it. I'm a
programmer. To me, those two are very different.
A programmer is constructive. A programmer
likes to take a problem and turn it into a
On Sun, Feb 11, 2001 at 01:40:11AM -0700, Dan Harrington wrote:
(snip)
Its like the "palette" only holds 256 pixels or something, what's
the deal with that?
Anyone experienced this before? I've looked through the GD library
documentation
at boutell.com, i've looked through php.net, and
On Mon, Feb 12, 2001 at 09:13:09PM -, James, Yz wrote:
What if I wanted to "return" more than one variable from the function? And
how would I assign it a name? Like the actual variable, or is that just not
possible?
I've tried
return $var1,$var2;
You're on the right track.
return
On Wed, Feb 21, 2001 at 05:48:50PM -0500, Jaxon wrote:
Is there any way to take an image from the filesystem, say a .jpg or .png,
and display it in a different orientation? e.g. 20 degrees to the right?
Yes, php_imlib can do image rotations.
http://mmcc.cx/php_imlib/
On Thu, Apr 05, 2001 at 01:40:54PM -0700, Richard Kurth wrote:
Is there another way to write this I would like to make it smaller
also How would I write it so it is a function and I would be able to use all
the data throughout the whole program every time I try the rest of the
program does
On Sun, Apr 08, 2001 at 12:31:35AM -0500, Joseph Bannon wrote:
You can use fopen/fread to open the script remotely.
Just append the query string onto the url something like this:
www.example.com/example.php?var1=var
...and example.php will have $var1 with the value "var". That's
On Wed, Apr 11, 2001 at 03:55:38PM -0600, Ashley M. Kirchner wrote:
"Rodney J. Woodruff" wrote:
http://www.php.net/manual/en/function.msql-fetch-array.php
(snip)
I need that result into the following:
$items = array(0 = "Undefined", 1 = "Work", 2 = "Personal");
Here's a hint.
On Thu, Apr 12, 2001 at 10:34:26AM -0400, Chris Anderson wrote:
Someone who can host my domain (I own the domain already)
Can provide MySQL and PHP. Both up-to-date.
Can give around 60 meg of space (ballpark, less should be fine)
Also a way to set up subdomains without needing to go through
On Wed, Apr 18, 2001 at 02:37:00PM -, SED wrote:
Hi,
Recently I noticed e-mails on this list about Imlib2 and GD2 extensions
which I was not aware of. So I started to wander if there are more
extensions working with PHP which allows graphic process (the only one I
knew was GD). Is it?
On Tue, Apr 24, 2001 at 03:06:40PM +0200, Anders Clerwall wrote:
Hi,
Is there a tutorial of some sort on how I add function sets to PHP4?
I've searched the net for more info about this other than what the PHP4.x
manual says, and I saw some reference to freshmeat, but I couldn't find
that.
On Wed, Apr 25, 2001 at 03:34:18PM -0400, Charles wrote:
Hello,
Somebody know how to make IMLIB library compile into php ?
i tried --with, --enable, but doesn't work !
Check to see that it actually got added to the source properly with:
./configure --help|grep imlib
If it isn't there,
38 matches
Mail list logo