[PHP] TTF Text not displaying correctly

2004-10-09 Thread Brent Clements
Does anybody know off the top of their head why truetype font text would look greyed out? This is my code: The text looks greyed out and it's a bit distorted. Thanks, Brent

[PHP] Re: http 411 error with cURL

2004-10-09 Thread Manuel Lemos
Hello, On 10/09/2004 07:49 PM, Nick Wilson wrote: Im getting an http 411 error when trying to post data with php's cURL functions. The spec says ***The message for this error code is "Length Required." The server refuses to accept the request without a defined Content- Length.*** Im confused on 2

[PHP]

2004-10-09 Thread php-list
Hello everyone, I'm hoping you guys can help me with this error. Here's what I'm getting: Notice: Undefined variable: children in L:\localhost\catalog\catalog_0.1.0\includes\classes\tree.class.php on line 58 This error occurs only when the class's method outputs $children as having a value of ze

Re: [PHP] http 411 error with cURL

2004-10-09 Thread Nick Wilson
* and then Nick Wilson declared > > * and then Marek Kilimajer declared > > CURLOPT_HTTPHEADER - An array of HTTP header fields to set. ahhh [EMAIL PROTECTED] it! that dont work and niether does this: curl_setopt($ch, CURLOPT_HTTPHEADERS, array("Content-Length: $postL")); im off to be

Re: [PHP] http 411 error with cURL

2004-10-09 Thread Nick Wilson
* and then Marek Kilimajer declared > CURLOPT_HTTPHEADER - An array of HTTP header fields to set. Marek, im sure you dont need to know this, but i think it's funny so maybe you will, i just went to bed, im now sitting here er.. without much on at the PC cos i just realized the same thing! - s

Re: [PHP] http 411 error with cURL

2004-10-09 Thread Marek Kilimajer
Nick Wilson wrote: * and then Marek Kilimajer declared Opps! CURLOPT_HTTPHEADER I go play with it now ;-) Sorry, I got it mixed :) But you figured it out. do you know if the lenght includes the args? like this strlen("val=$var&val2=$var2"); This one. Don't forget to urlencode where necessary -

Re: [PHP] http 411 error with cURL

2004-10-09 Thread Marek Kilimajer
Nick Wilson wrote: * and then Marek Kilimajer declared Nick Wilson wrote: * and then Marek Kilimajer declared Opps! CURLOPT_HTTPHEADER I go play with it now ;-) Sorry, I got it mixed :) But you figured it out. do you know if the lenght includes the args? like this strlen("val=$var&val2=$v

Re: [PHP] Question about error_reporting()

2004-10-09 Thread Jason Wong
On Saturday 02 October 2004 00:34, Greg Donald wrote: > > The manual is not clear on this point. > > > > Also, must I have a an existing error file for the errors to append to? > > No, the web server error log is where they shoudl appear. No, PHP errors DO NOT appear in the apache logs[1], they a

Re: [PHP] http 411 error with cURL

2004-10-09 Thread Nick Wilson
* and then Marek Kilimajer declared > Nick Wilson wrote: > >* and then Marek Kilimajer declared > > > >>>Opps! > >>> > >>>CURLOPT_HTTPHEADER > >>> > >>>I go play with it now ;-) > >>> > >> > >>Sorry, I got it mixed :) But you figured it out. > > > > > >do you know if the lenght includes the

Re: [PHP] http 411 error with cURL

2004-10-09 Thread Nick Wilson
* and then Marek Kilimajer declared > >Opps! > > > >CURLOPT_HTTPHEADER > > > >I go play with it now ;-) > > > > Sorry, I got it mixed :) But you figured it out. do you know if the lenght includes the args? like this strlen("val=$var&val2=$var2"); or strlen($var . $var2=; ? cheers marek

Re: [PHP] http 411 error with cURL

2004-10-09 Thread Marek Kilimajer
Nick Wilson wrote: * and then Nick Wilson declared * and then Marek Kilimajer declared * How to resolve this? header('Content-Length: ' . strlen($data_you_are_posting)); Ok, im with you Marek but how/where do i put it in my curl function? Not with CURL_POSTFIELDS for sure.. i've been lookin

Re: [PHP] http 411 error with cURL

2004-10-09 Thread Nick Wilson
* and then Nick Wilson declared > > * and then Marek Kilimajer declared > > >* How to resolve this? > > > > header('Content-Length: ' . strlen($data_you_are_posting)); > > Ok, im with you Marek but how/where do i put it in my curl function? > Not with CURL_POSTFIELDS for sure.. i've bee

Re: [PHP] http 411 error with cURL

2004-10-09 Thread Nick Wilson
* and then Marek Kilimajer declared > >* How to resolve this? > > header('Content-Length: ' . strlen($data_you_are_posting)); Ok, im with you Marek but how/where do i put it in my curl function? Not with CURL_POSTFIELDS for sure.. i've been looking through the options in the manual and dont

Re: [PHP] http 411 error with cURL

2004-10-09 Thread Marek Kilimajer
Nick Wilson wrote: hi all, Im getting an http 411 error when trying to post data with php's cURL functions. The spec says ***The message for this error code is "Length Required." The server refuses to accept the request without a defined Content- Length.*** Im confused on 2 points: * Is it the

[PHP] http 411 error with cURL

2004-10-09 Thread Nick Wilson
hi all, Im getting an http 411 error when trying to post data with php's cURL functions. The spec says ***The message for this error code is "Length Required." The server refuses to accept the request without a defined Content- Length.*** Im confused on 2 points: * Is it the server i am posti

Re: [PHP] Simply open an URL

2004-10-09 Thread Gareth Williams
header("Location: <>"); On 9 Oct 2004, at 20:21, Armands Pucs wrote: Hi everyone! Sorry for the probably stupid question. But I can`t find a way to make a php script to open an url in a browser! Like " location = "example.html"; " does. Armand from Latvia -- PHP General Mailing List (http://www.p

Re: [PHP] Securing Servers

2004-10-09 Thread Chris Shiflett
--- Stephen Craton <[EMAIL PROTECTED]> wrote: > I'm in the process of hooking up my own personal web server for > use by certain clients to view the progress on work I'm doing > for them. However, I'm on a shared network that is behind a > firewall and some computers on the network need to stay sec

[PHP] Simply open an URL

2004-10-09 Thread Armands Pucs
Hi everyone! Sorry for the probably stupid question. But I can`t find a way to make a php script to open an url in a browser! Like " location = "example.html"; " does. Armand from Latvia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] GD

2004-10-09 Thread Simas Toleikis
Gerben wrote: how can i find out in PHP which version of GD is installed. I tried checking for function-existence of imagecreatetruecolor and imagecopyresampled, but these functions exist in older GD versions, but aren't implemented. I want to know if I can use the functions imagecreatetruecolor(

[PHP] GD

2004-10-09 Thread Gerben
how can i find out in PHP which version of GD is installed. I tried checking for function-existence of imagecreatetruecolor and imagecopyresampled, but these functions exist in older GD versions, but aren't implemented. I want to know if I can use the functions imagecreatetruecolor() and imageco

[PHP] Re: extending built in classes?

2004-10-09 Thread M. Sokolewicz
Dc wrote: > Hi - > > I am trying to extend a built in class, but cannot seem to get my > subclass methods called. > > class movObj extends SWFMovie { > function init() { >echo("init"); > } > } > > $m = new movObj(); > $m->init(); > > Gives::: > Fatal error: Call to undefined met

[PHP] extending built in classes?

2004-10-09 Thread dc
Hi - I am trying to extend a built in class, but cannot seem to get my subclass methods called. class movObj extends SWFMovie { function init() { echo("init"); } } $m = new movObj(); $m->init(); Gives::: Fatal error: Call to undefin

Re: [PHP] Function declaration failing on return value

2004-10-09 Thread Jason Wong
On Tuesday 05 October 2004 06:20, Whil Hentzen wrote: > I cut this directly out of the online manual and put it into my PHP page. > If I've got a typo, then there's an error in the manual. > > I also cut the entire PHP page into my email. Nothing missing or hidden. > > I'm stumped. > > I retyped e

Re: [PHP] MYSQL_VERSION_ID?

2004-10-09 Thread Minuk Choi
I wouldn't be too surprised if that is the case. I tried my best to remove the rpm installations and as for the compilation options, I believe I specified them correctly, since I got them to install insto the directories I specified. The more important question to me is how PHP5 gets the value

Re: [PHP] Problem with a time comparison loop

2004-10-09 Thread Greg Donald
On Sat, 9 Oct 2004 14:51:01 +0100, Shaun <[EMAIL PROTECTED]> wrote: > I am trying to create an outlook style day view calendar. I loop through the > hours in the day (00:00 - 23:00) and compare it to a diary table for the > user. If the users 1st appointment isnt until 10:00 then the hours print ou

[PHP] Problem with a time comparison loop

2004-10-09 Thread Shaun
Hi, I am trying to create an outlook style day view calendar. I loop through the hours in the day (00:00 - 23:00) and compare it to a diary table for the user. If the users 1st appointment isnt until 10:00 then the hours print out until that appointment then continue looking for the next appoin

Re: [PHP] help me to get out of this mass mailing

2004-10-09 Thread Greg Donald
On Sat, 9 Oct 2004 16:41:28 +0530, suneel <[EMAIL PROTECTED]> wrote: > I'm implementing mass mailing program...as there are hundred's of users that receive > mails...as a result i'm getting this error... > > Fatal error: Maximum execution time of 30 seconds exceeded in > d:\phpsites\ac\asc\acend

Re: [PHP] PHP and FORM

2004-10-09 Thread Greg Donald
On Sat, 9 Oct 2004 08:41:38 -0400, php mysql <[EMAIL PROTECTED]> wrote: > I'm writing form using PHP and HTML. The form is submited only if user > clicks on submit button. However, it's not possible to submit form > when I press "enter". Is it possible to submit form pressing on > enter? If so how

[PHP] PHP and FORM

2004-10-09 Thread php mysql
I'm writing form using PHP and HTML. The form is submited only if user clicks on submit button. However, it's not possible to submit form when I press "enter". Is it possible to submit form pressing on enter? If so how? TH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] help me to get out of this mass mailing

2004-10-09 Thread Matt M.
> I'm implementing mass mailing program...as there are hundred's of users that receive > mails...as a result i'm getting this error... > > Fatal error: Maximum execution time of 30 seconds exceeded in > d:\phpsites\ac\asc\acendo on line 42 take a look at http://us4.php.net/manual/en/ref.info.

Re: [PHP] Grab an array from a cookie without throwing errors?

2004-10-09 Thread Chris Dowell
Of course, you're running unserialize() twice. What about if (empty($_COOKIE['bookmarks']) || !($bookmarks = unserialize($_COOKIE['bookmarks']))) { $bookmarks = array(); } Does the same with only one call to a potentially weighty function. Cheers Chris John Nichel wrote: Brian Dunning wrote: I

[PHP] help me to get out of this mass mailing

2004-10-09 Thread suneel
Hi guys I'm implementing mass mailing program...as there are hundred's of users that receive mails...as a result i'm getting this error... Fatal error: Maximum execution time of 30 seconds exceeded in d:\phpsites\ac\asc\acendo on line 42 Help meee! regards, ss

Re: [PHP] Securing Servers

2004-10-09 Thread John Nichel
Curt Zirzow wrote: * Thus wrote M Saleh EG: but plz Radhita, don't bring your biased opinions about MS vs Opensource or Linux vs Windows over here. It's so subjective and plus gets an off-topic topic more off ! I can install BSD apache/php/mysql w/firewall and totally locked down in 15 minutes and

Re: [PHP] Callback functions inside classes - how to?

2004-10-09 Thread Chris Dowell
From the manual: http://uk.php.net/manual/en/language.pseudo-types.php#language.types.callback If you want to change things in the callback, the function (or method) should accept its parameters by reference. e.g. class A { function name(&$a, $b, $c) { $a = $b . $c; return; } function p

Re: [PHP] Grab an array from a cookie without throwing errors?

2004-10-09 Thread Chris Dowell
Of course, you're running unserialize() twice. What about if (empty($_COOKIE['bookmarks']) || !($bookmarks = unserialize($_COOKIE['bookmarks']))) { $bookmarks = array(); } Does the same with only one call to a potentially weighty function. Cheers Chris John Nichel wrote: Brian Dunning wrote: I

Re: [PHP] Sessions not destroyed

2004-10-09 Thread Chris Dowell
As Marek has stated a number of times, the session options in php.ini are meant to be set to reasonable values for the usage pattern for your server, in order that you can achieve a balance between a /tmp or /var/tmp of several zillion kilobytes, and a constant 100% cpu usage as the gc routine runs

Re: [PHP] RE: **[SPAM]** RE: [PHP] Newsgroups Space

2004-10-09 Thread Chris Dowell
Matthew Sims wrote: Nice idea, but you want to be "future-proof", don't you? Once alt.binaries.vr.animals.lobster starts filling up with 5 hour Virtual Reality ROMs you're looking at needing a lot more than that. I'd go with about 6 YB if I were you, and that's only because there aren't any SI pref

Re: [PHP] Dose this tool exist

2004-10-09 Thread Martin Rozmus
Am Sa, den 09.10.2004 schrieb Dave Carrera um 8:46: > Hi List, > > Is there a GUI tool that can help make relationships between MySQL tables ? > Look at: http://www.fabforce.net/dbdesigner4/ -- Martin Rozmus <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Re: Dose this tool exist

2004-10-09 Thread M. Sokolewicz
Dave Carrera wrote: Hi List, Is there a GUI tool that can help make relationships between MySQL tables ? I saw a tool somewhere that you dragged the relevant table into a kind of workspace and selected what rows you wanted and it made the necessary sql for select. I also saw somewhere a tool that m