Indeed. Using ImageMagick's 'identify' command, the first layer is 30x24
on a 32x32 canvas.
radioactive-bread-eek.gif[0] GIF 30x24 32x32+2+6 8-bit PseudoClass 256c
2.11kb
radioactive-bread-eek.gif[1] GIF 32x27 32x32+0+4 8-bit PseudoClass 256c
2.11kb
If getimagesize() works on the canvas, the
Anyone, anyone? Bueller? :P
I'm sure someone has experience with GDB? I'm not looking for a newbie
primer, I'm just curious if anyone has had experience with the problem
below and knew how to correct it..
Thanks :)
Jason Young wrote:
Hi all,
I'm trying to follow
these so I can better help the PECL
developer this is needed for.
Thanks for any insight or suggestions you can give!
-Jason Young
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm not much for running PHP on Windows, but I thought that many of the
performance issues had been worked out...
However, I'm trying to run a PHP through CLI and having a terrible
experience with speed. This is running Windows Server 2008 (with a
Quad-Core Intel, 4 GB of RAM).
My problem in
rtransparent on portions that are definitely transparent in
Photoshop, etc.
Any help would be much appreciated!
Thank you
-Jason Young
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is anyone able to assist with this? I need to have 6 point fonts looking
like they should, instead of all scrunched up.
Paid consultation okay, if that's what's stopping an answer.
What needs to be changed in the bundled GD source to make these fonts
look decent?
Thank you.
J
be displayed, had this been standard system fonts in a browser or other
application.
If anyone has had experience with rendering text, I would really
appreciate some hints on how to tweak GD to make things look proper.
Thanks
Jason Young wrote:
Currently, I'm running PHP 5.0.4 (only bec
Currently, I'm running PHP 5.0.4 (only because it's the only one I can
get to work on my FC4 x64 install!), but for some reason, using pixel
sizes under 8, or using bold fonts, makes the text look horrible.
My old host (1&1 in case anyone else has them..) had this working well,
but I have no ide
Just a quick reiteration of something I found that probably most people
already know.. but since I went through the painstaking trouble of
removing the PHP and Apache RPMs and building them from scratch (I hate
building sources), I wanted to make sure this is out there.
If you're having problem
After upgrading to RedHat 8.0 and effectively breaking some python
caller-id script that I have no clue how to fix.. I'm curious of whether
or not PHP would be able to get caller-id data from a modem.. I imagine
it could, and probably won't be too difficult to overcome... but I am
posing that q
Did you tell php.ini to load this extension, and then restart your
webserver? (I am taking it that you're using IIS or PWS? -- Someone else
will have to field the question on whether or not GD/PHP works with
this.. I would imagine so, but I am not sure enough to put any money on
it :) )
Myrage
You'll need the full PHP package (the 5 MB zip file, not the 400k
quickie) .. it'll be in the extensions/ directory of there.. php_gd.dll..
Myrage wrote:
i am using windows and I cannot seem to find the necessary libs and dlls
"Jason Young" wrote in message
[EMAIL PRO
I did this just today --
http://www.php.net/manual/en/function.imagecreate.php
Its real short and sweet. If you're running on Linux, I'm sure you'll be
able to get it to work just fine - on Windows, make sure you have the gd
extention, and that it will be loaded with php.ini.
Hope this helps!
This is a common upgrader's 'register_globals' confusion problem ;-)
Basically what it means is that arbitrary values are not parsed in a
GET-type request, like your action=new.
You must explicitly ask for them..
*I* personally use this (I'm sure others will follow up with their code)
at the top
If you're trying to get a LITERAL ?> Use > for your > symbol so that
you have
?>
I also noticed you didn't have a
Does this help?
John W. Holmes wrote:
>subject's allready my question ! I want to echo something like :
"
action = \",?php echo $PHP_SELF ?> \" >" so that the action becomes
ec
I've got a CallerID program that I've found on Freshmeat.net (elcid, for
those keeping track)...
I've edited the reporting functions so that instead of throwing it up on
the console like it normally does, it instead calls lynx with the -dump
parameter to the PHP page, and that in turn puts the
!
Thanks to all, apologies for the brain-death.
-Jason
Ernest E Vogelsinger wrote:
At 20:40 06.11.2002, Jason Young spoke out and said:
[snip]
register_globals is definately off..
Maybe its a PHP miracle, as Ernest suggested.. maybe Rasmus or someone
else o
ly working becuase you have register_globals = ON in your php.ini
and those variable names are being set by default. Your posted code is
actually doing nothing. What I can't figure is why you're not getting any
errors. :-\
-Kevin
- Original Message -
From: "Jason Young" &
Hmm..
So then can anyone tell me why its working so far? ;)
I am trying out every single function in this page in hopes to catch
something, but so far I don't see any breakage - I can see there are a
few ways to skin this cat.. the original code I posted DOES work.. I
still may be blind to an
I (think I) have come up with an interesting little solution for pages
that have/can potentially have a lot of get vars, and I just wanted to
throw it by everyone to see if I know what I'm talking about...
Instead of having a whole bunch of ...
"if (isset($_GET['var']))
$var = $_GET['var']"
..
Does it have direct access to this filesystem?
Or maybe FTP access? I've seen a lot of talk about automatic FTP
transfers on the list, maybe you can filter the topics and grab
something from there?
Just a few cents to throw in :)
-Jason
Greg Macek wrote:
This topic may have been covered before
Apologies if I'm being too simplistic here, but make sure that your
first page's form elements have something similar to:
And of course.. that your POST data is being grabbed accordingly by the
first page to be able to set those variables.
Maybe this helped?
-Jason
John W wrote:
I am havin
I was going to post a similar response to this.. but I do recall that
Hotmail uses a form where you select the filename and pop it over to a
listbox.. then when you submit, it throws all the files into the email..
one page, one form, any number of files (up to 1 or 2 megs, however
hotmail's lim
I'm not sure of the backwards compatibility, but if you're running PHP
4.2.x (I think? Maybe it came in earlier) .. use the $_FILES global
variable, in place of $HTTP_POST_FILES. The array is exactly the same:
$_FILES[name_of_file][attributes]
Hopefully this helps?
-Jason
Cyrille Andres wrote
Well how exactly are you using this DB?
Are you using a 'blob' type format to actually write the flash binary to
the database, or are you using it to keep track of where it is in the
filesystem?
-J
Yonatan Ben-Nes wrote:
Hi all!
Does anyone know where can i find some information about display
his? It'd be a lot easier and it does work on pop3 servers.
> ~Paul
>
> On Wednesday 16 October 2002 05:02 pm, Jason Young wrote:
>
>>I'm in the process of writing a very very simple web-based email client,
>>just for my personal use, so I can perm-delete all the spa
Yeah, this has been worked out already - turns out I was looping on the
file elements themselves (size, name, tmp_name, etc) isntead of the
actual number of files.
Thanks for your reply tho! :)
-J
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
Scratch this.. as some of you probably have already picked up on.. I
failed to terminate my 'top' line ..
Sorry for that 0:)
-J
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm in the process of writing a very very simple web-based email client,
just for my personal use, so I can perm-delete all the spam that comes
in through the day on my home account before i get home.
On the very first connect, its great.. connects, does a 'uidl' which
lists all the mail ID's
Make sure all of your code is executing properly.
I had this problem for a little bit, actually.
Edit your php settings to give you errors on the output, or just check
your server logs.. there's gotta be something there.
Just one problem and my whole PHP page failed to print anything within
t
BEAUTIFUL!
This was the problem... it wasn't that there was a limit of 5 maximum
uploads, it was just that my 'while' statement was only counting as many
fields as the first sub-array for $_FILES.. which is 5.
Tom, thanks a bunch!
-Jason
Tom Rogers wrote:
> Hi,
>
> Wednesday, October 16, 20
Without going into the process of how I came to do this, I just wanted
to throw out there that even if you only have 1 file input, it still
seems to loop 5 times...
Is this something with my code...
--
$current = 0;
while (list($key) = each($_FILES['picname'])) {
echo $current;
$current
Just wanted to let everyone know:
PHP version is 4.2.1
Apache is 1.3.24
Running WindowsXP Pro
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm going to approach this question in a different way, in case some
people were put off by the complexity of it yesterday.
For all those who don't know my question from yesterday, I have a form
where I can upload up to 9 files at a time. Unfortunately, only the
first 5 of those files are bein
amount of files that can be uploaded at
> once. Could you post the html code for the form?
> Note: The post_max_size should be larger than the upload_max_filesize &
> the memory limit has to be larger than the post_max_size.
> So you should have something like:
> upload_max_filesize
files at a time??
-Jason
Paul Nicholson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Can you post the values of the post_max_size, upload_max_filesize,
> & memory limit ini settings?
> ~Paul
>
> On Tuesday 15 October 2002 03:21 pm, Jason Young wrot
Can't anyone help me with this? :-/
Read below...
I wrote:
> Hey yet again...
>
> I've got a 3x3 grid of type 'file' input elements, for a nifty total of
> 9 upload spaces..
>
> After specifying a file in all 9, and attempting upload, I only got 5..
> I noticed the total filesize was 2 megs, so
Hey yet again...
I've got a 3x3 grid of type 'file' input elements, for a nifty total of
9 upload spaces..
After specifying a file in all 9, and attempting upload, I only got 5..
I noticed the total filesize was 2 megs, so I changed the php.ini to 8..
yet I still got that problem. So I check
My suggestion would be to checck for isset($_SESSION["temp"]) and if
($_SESSION["temp"] > "0") with quotes .. PHP is very forgiving with data
types, and I've found its much easier to keep track of what exactly is
going on if I reference everything in a string format.
-Jason
Sam Masiello wrote
liver Witt wrote:
> Jason Young schrieb:
>
>
>>Without knowing how your chat works as far as entering the chat, you DO
>>have to put some sort of name with the person, right? Perhaps you could
>>just update a temp table with their chat name..
>>
>>Or if yo
cookie data or something..
Is this not what you wanted to do? (I guess I should have asked you to
elaborate :) )
Just throwing suggestions out there
-Jason
Oliver Witt wrote:
> Jason Young schrieb:
>
>
>>What's the chat built in? Is this web-page-based, telnet-based?
>>I
Hmm.. I have a page where I can upload up to 9 files at once -- and it
works quite well..
However, these are just standard JPG pictures, and wouldn't get anywhere
near 3M -- maybe its the way that PHP scripts time out after 30 seconds??
--Jason
Sascha Braun wrote:
> Hi freaks,
>
> my image l
What's the chat built in? Is this web-page-based, telnet-based?
Is this your code (i.e. you have access to the source and can modify it
on-the-fly)?
Oliver Witt wrote:
> Hi all,
> Here's my problem:
> I created a web site with a chat. People have to log in to get on the
> site, but not to get
You're doubling up on your mysql_query's .. the first one runs, and I
don't know the ins and outs of PHP, but the second mysql_query causes
the resource to not be available... had a similar problem recently.
Take the mysql_query out of the $cartquery assignment.
-Jason
Mike At Spy wrote:
> An
How are you handling the transfer of files between its temporary area
and where it's going to be stored?
If you're copying instead of moving, I would imagine the file in the
temp directory would still be present.
-Jason
Donahue Ben wrote:
> I am uploading a gif file using
> is_upload_file($f
Hey guys and gals...
I'm not sure if this is Apache, PHP, or a browser issue.. but..
.phps files get cut off while trying to access them in a browser..
anyone ever have a problem with this?
I can't exactly calculate where in any particular file its doing this,
but refreshing the page causes i
Try $hid++;
This automatically increments by one, its just much easier to deal with
than +1 .. besides, it wouldn't work on my Win32 platform, either.
--Jason
Uma Shankari T. wrote:
> Hello ,
>
>border="0">
>
> While clicking this link the $hid value get incremented and fetch the value
I noticed that by default, my display_errors was actually OFF, and the
only way to see my errors was through Apache's error.log file
I don't know if that's already been checked, but... figured I'd try to help.
-Jason
Gamin wrote:
> Yes,
>
> On both my development machine and implmetation ma
> Thanks for the help, and making me take a second to look further at it!
>
> Bryan
>
>
> On Mon, 30 Sep 2002, Jason Young wrote:
>
> |In my pages, I just format the date from the SQL query:
> |
> |"SELECT DATE_FORMAT(last_modified, '%m/%d/%Y %h:%i:%
In my pages, I just format the date from the SQL query:
"SELECT DATE_FORMAT(last_modified, '%m/%d/%Y %h:%i:%s %p') AS
last_modified (...)"
Look up the DATE_FORMAT on mysql.com to get a list of the arguments.
Hope this helps!
-Jason
Bryan Koschmann - Gkt wrote:
> Hello,
>
> I have a table wit
Jeez.. pardon me.. $_GLOBALS .. I don't know where I got SERVER from..
*sleeps before posting from now on*
-J
Jason Young wrote:
> Correction.. isn't it $_SERVER and not $SERVER
>
> Jason Young wrote:
>
>> Daren,
>>
>> This post from Robert expla
Correction.. isn't it $_SERVER and not $SERVER
Jason Young wrote:
> Daren,
>
> This post from Robert explains why you're having trouble :)
>
> I forgot the PHP version on my machine doesn't have the register_globals
> problem.
>
> THAT should work.
&g
Daren,
This post from Robert explains why you're having trouble :)
I forgot the PHP version on my machine doesn't have the register_globals
problem.
THAT should work.
-Jason
>
> I'm think you're all forgetting about register_globals being off by
> default these days... The following may hel
I read about $argc and $argv, but when I call the
> script passing two arguments, both $argc and $argv are
> blank. Is this a php.ini setting I need to change or
> somethign?
>
> --- Jason Young <[EMAIL PROTECTED]> wrote:
>
>>Sorry to butt in :)
>>
>>
Sorry to butt in :)
Arguments to web scripts are done in the format:
page.php?arg1=data1&arg2=data2
So you would use that full string as the lynx path.
Hope this helps :)
-Jason
Daren Cotter wrote:
> Thanks for the info Chris, it works!
>
> How do I pass arguments to the script? I'm assuming
This seems to be a browser problem, as I often get similar errors when
trying to access sites with port numbers.
That looks like an IE error.. and I know I have the same problem with
Mozilla.
Anil Garg wrote:
> hi
> in my httpd.conf i have added a virtual host as:
>
>
> # General setup for
if this is the only way to do it..
Thanks.
-Jason
Marek Kilimajer wrote:
> Turn off notice logging in your php.ini, just keep warnings and errors.
>
> Jason Young wrote:
>
>> I have some code that a user can set a description about an item to be
>> posted, and the
aded in Unknown on line 0
Is there something I can do to combat this? It's quite annoying to see
up to 9 of these lines everytime I submit something from my page.
I don't want to turn off all error reporting or anything like that,
either... I'd like to see something that'
58 matches
Mail list logo