[PHP-WIN] Re: newbie question: using image function with php

2003-09-25 Thread Shadow
Did you install the gd extension? Shadow -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] newbie question: using image function with php

2003-09-25 Thread Exiang
Hi, i m using php version 4.3.2 i want to try on the image function. i tested with the documentation sample.. but it din work pls teach me how to do it??. thanx!!

php-windows Digest 26 Sep 2003 02:26:02 -0000 Issue 1928

2003-09-25 Thread php-windows-digest-help
php-windows Digest 26 Sep 2003 02:26:02 - Issue 1928 Topics (messages 21550 through 21568): PHP PDF Support... 21550 by: Brian M McGarvie 21551 by: Francesco Re: Last Critical Upgrade 21552 by: Svensson, B.A.T. (HKG) Time validation - urgent 21553 by: karthi

[PHP-WIN] problems with fopen

2003-09-25 Thread Rob Hermann
I running a php script on Linux box and I'm having problems with permissions ... I can upload a file to the same directory ... I just can't get php to open a file. here is my code .. $profilename="/home/jwd/html/HeadHunter/".$FIRSTNAME."_".$LASTNAME."_MemberP rofile.html"; $htmlfile=fope

RE: [PHP-WIN] Writing to a file

2003-09-25 Thread Gerardo Rojas
I can't write the entire file. The page has Design Time Controls. If I rewrite the entire page this controls get messed up. I only want to search for the CSS link in the html header and change it to the correct CSS link. Here is a snippet of the code --- // loop through the file

RE: [PHP-WIN] Writing to a file

2003-09-25 Thread Mike Brum
I guess this all depends on how you're writing to the file. Without code, I'm not sure what the specific problem is. One way to do this would be to read the file into an array and replace the line in that array. Then, write the newly constructed array to file. This way, at write time, the former d

[PHP-WIN] Any way to override use of TEMP folder for Windows function 'tmpfile()'.

2003-09-25 Thread Paul Menard
Hello all, I have a strange problem request. I manage an FTP only server. This server is a Windows 2003 Advanced server. On it I run IIS 5.0 and PHP 4.3.2 for Win32. I am also using Windows authentication. This is I think what is causing the issue. This and the Windows function ‘tmpfile()’. I h

[PHP-WIN] Writing to a file

2003-09-25 Thread Gerardo Rojas
I'm am able to open the file read and write to it. The problem is that I want to replace a line of text with another line. My function is actually writing my new line after the line I wanted to change. Can we do arithmetic on the $fd (file handle or file descriptor)? To tell PHP to write whe

Re: [PHP-WIN] Looping problem

2003-09-25 Thread Luis Moreira
I'm not sure I understand what you want. You mean you write out what you find between each two times your criteria is met ? Luis - Original Message - From: "Gerardo Rojas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 25, 2003 2:57 PM Subject: [PHP-WIN] Looping prob

RE: [PHP-WIN] Refresh php section

2003-09-25 Thread Ryan Vesely
try using php includes for each section, and have the refresh rate set on each individual source page. Ryan Vesely Sales Engineer Pinnacor 685 Market Street, Suite 500 San Francisco, CA 94105 tel 415

[PHP-WIN] Upgrading problems

2003-09-25 Thread Brad Harriger
I'm trying to upgrade from PHP 4.0x to 4.3.3. I get the following error when trying to run a script in my browser: The procedure entry point_persist_alloc could not be located in the dynamic link library php4ts.dll. I'm running Apache 1.3.x (CGI) on Win 2k. I've copied php.ini-dist and all d

RE: [PHP-WIN] Looping problem

2003-09-25 Thread Gerardo Rojas
Mike, thanks, I was passing in a variable, which somehow would get reset. this simple structure makes it plain to see! -Original Message- From: Mike Brum [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 9:12 AM To: Gerardo Rojas; 'Herhuth, Ron'; [EMAIL PROTECTED] Subject: R

RE: [PHP-WIN] Looping problem

2003-09-25 Thread Croskerry, Dan
Forget my previous response, I misread your post... -Original Message- From: Croskerry, Dan [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 10:22 AM To: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Looping problem Instead of testing whether or not it is the first time through t

RE: [PHP-WIN] Looping problem

2003-09-25 Thread Croskerry, Dan
Instead of testing whether or not it is the first time through the loop every time why not just enter the loop after the first read? -Original Message- From: Gerardo Rojas [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 10:04 AM To: Herhuth, Ron; [EMAIL PROTECTED] Subject: RE

RE: [PHP-WIN] Looping problem

2003-09-25 Thread Mike Brum
Here's something I'd do: $tmp = 1; for(loopconditions){ [do stuff]; if($tmp > 1){ iterations is not the first time through } else { this is the first iteration of the loop } $tmp++; } -M -Original Message- From: Gerardo Rojas [mailto:[EMAIL PROTECTED] Sent: Thursday, S

RE: [PHP-WIN] Looping problem

2003-09-25 Thread Gerardo Rojas
I don't want to break from the loop. I want to loop the entire file. The problem is: the first time i find a match = i do nothing, append to array. the second, third, fourth, and so on = I write the array, clear it and append to it. -Original Message- From: Herhuth, Ron [mailto:

[PHP-WIN] Looping problem

2003-09-25 Thread Gerardo Rojas
I'm looping through a file, parsing each line of text. I have a global array that i append each line to. When my criteria is met. I mark that line. This line will begin an array that I will later write out. After writing out the array I zap it and reuse it for the next time my criteria is m

[PHP-WIN] RE: [PHP] Re: PHP PDF Support...

2003-09-25 Thread Jay Blanchard
[snip] In the current issue of php|architect - an electronically distributed magazine, which you can find here http://www.phparch.com/ there is an article on printing with php. The magazine is not free, but is good value anyway. [/snip] and props to John Holmes who so frequently provides solutions

[PHP-WIN] Time validation - urgent

2003-09-25 Thread karthikeyan
hi guys, I need to validate time my time shd be of format 1230. (HHMM) from to 1259 Pls get me some idea JAI SAIRAM Thanks Karthikeyan.S

Re: [PHP-WIN] Re: Last Critical Upgrade

2003-09-25 Thread Svensson, B.A.T. (HKG)
And /you/ are thinking for us then? ;) Thanks for your good intention, but stay on track please, e.g. on topic, this is a php programming forum and virus warning announcements is even far remote of topic than discussing MySQL internals. //Anders - "I am a self learning machine" :) On W

[PHP-WIN] Re: PHP PDF Support...

2003-09-25 Thread Francesco
In the current issue of php|architect - an electronically distributed magazine, which you can find here http://www.phparch.com/ there is an article on printing with php. The magazine is not free, but is good value anyway. HTH Francesco "Brian M McGarvie" <[EMAIL PROTECTED]> ha scritto nel messagg

[PHP-WIN] PHP PDF Support...

2003-09-25 Thread Brian M McGarvie
I have successfuly been creating PDF files... however it is required that the files are printed Automatically - i.e. no need to hit print icon etc etc... Anyone know how to achieve this or atleast point me in the right direction? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe,

php-windows Digest 25 Sep 2003 08:46:11 -0000 Issue 1927

2003-09-25 Thread php-windows-digest-help
php-windows Digest 25 Sep 2003 08:46:11 - Issue 1927 Topics (messages 21546 through 21549): PHP Printing problems 21546 by: Madeleine D. MySQL Help 21547 by: Dean Hayes 21548 by: Bobo Wieland Refresh php section 21549 by: ascll Administrivia: To subscribe

[PHP-WIN] Refresh php section

2003-09-25 Thread ascll
= start Test.php = // Section-A // Section-B // Section-C // Section-D = end Test.php = Greetings, It that a way for me to reload Section-A's php codes every 1-second and Section-D's php codes every 5-second, that belongs to the SAME php file, say "test.php"? Thanks in adv

Re: [PHP-WIN] MySQL Help

2003-09-25 Thread Bobo Wieland
$num_items = amount user wants; $td2 = floor($num_items/2); $td1 = $num_items-$td2; print(""); for($i = 0; $i < $td1; $i++) { print(); } print(""); print(""); for($i = $td1; $i < $td2; $i++) { print(); } print(""); .bobo - Original Message - From: "Dean Hayes" <[EMAIL