Re: [PHP] checking users have the latest version of a file

2004-02-19 Thread Marek Kilimajer
[EMAIL PROTECTED] wrote: I dont understand what you are doing with the md5, and i assume YOU will know which file is the latest version. this is what i have to try and find out to prevent that. How could i check for date modified on an uploaded file ? Not possible. Uploaded files have

Re: [PHP] SWFShape HOW TO DRAW ELLIPSE????

2004-02-19 Thread Marco Schuler
Hi Am Mi, 2004-02-18 um 20.37 schrieb Rostislav Kerey: Hi all, How I can to draw ellipse with Ming functions? I have found how to draw circle but not ellipse :( Help me please!!! Not tested and just pseudo-code (from a mathematical view): for ($degree = 0; $degree = 360; $degree++) {

Re: [PHP] PDF - Coords

2004-02-19 Thread Jyry Kuukkanen
On Thu, 19 Feb 2004, Juan Torres wrote: ¡Hola! Excuse me, but my english is bad :(. My problem is: When I'm writting text in a PDF document, I want to know the current position, or next position of next text to insert. I want to know when I'm near the finish page. ¡Hola! There is no

[PHP] Make Php with ALL modules / options

2004-02-19 Thread Dave Carrera
Hi List, Is there a way to easily install Php with ALL additional modules / options available on FreeBSD 4.7 (not using ports) ? The mods I can think of at the moment are GD2+ ImageMagick MySql Zlib XSLT And any other ones that will make life easier I ask as I have searched and search but

Re: [PHP] PDF - Coords

2004-02-19 Thread Juan Torres
Thanks very much! You are very nice. If you want to practise your spanish, you can write me when you want. Muchos saludos desde España. Hasta pronto. Juan Torres. Jyry Kuukkanen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Thu, 19 Feb 2004, Juan Torres wrote: ¡Hola!

[PHP] Handle NTLM Logins with PHP

2004-02-19 Thread Korn.Christopher
Hi List! Is it possible to Handle logins via NTLM with PHP? I can't find anything about this at google :( Greetings, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Handle NTLM Logins with PHP

2004-02-19 Thread Stuart
[EMAIL PROTECTED] wrote: Is it possible to Handle logins via NTLM with PHP? Yes, but it would be quite involved and not really worth doing. I can't find anything about this at google :( Are you using Apache? If yes, a good starting point would be...

RE: [PHP] Nested Loops

2004-02-19 Thread Ford, Mike [LSS]
On 18 February 2004 22:13, Alex Hogan wrote: Sorry..., Line 17 is: print trtda href=\$id\$row2[$rtxt]/a/td/tr; I haven't a clue what this is relating to (bit *too* much snippage there!), but I think that statement is going to need some curly braces to have a chance of working as

RE: [PHP] Handle NTLM Logins with PHP

2004-02-19 Thread Korn.Christopher
[EMAIL PROTECTED] wrote: Is it possible to Handle logins via NTLM with PHP? Yes, but it would be quite involved and not really worth doing. I can't find anything about this at google :( Are you using Apache? If yes, a good starting point would be...

RE: [PHP] checking users have the latest version of a file

2004-02-19 Thread electroteque
I was considering my only last options is diff and filesize, but then i was thinking say the latest file is a size of 1mb, the copy of the users machine is 2mb but is still not in sync with the latest copy then . sorry to trouble you about this, i would have intergrated php with cvs viewer, but

Re: [PHP] Handle NTLM Logins with PHP

2004-02-19 Thread Stuart
[EMAIL PROTECTED] wrote: Mhm. Thanks i think i'll try this. But I doubt only this is enought for me. Is there a way of running a script after trying this login procedure? mod_ntlm will handle all the authentication for you transparently. By the time Apache gets to executing your script you are

[PHP] PHPSESSID and URL rewriting

2004-02-19 Thread Seba
Hi everyone, I have this situation: I use some regular expressions to rewrite the URL of a web site, in particular: http://www.mysite.com/lingua-ita/colore-rosso/pagina.html that becames http://www.mysite.com/pagina.php?lingua=itacolore=rosso. Is all ok until I use some session variables. It

[PHP] generate a image link with php

2004-02-19 Thread Dominique ANOKRE
how to generate a image link with php ? i use this but it returns errors : print(a href=image.htm); print(img src=image.jpg); print(/a); Thanks

Re: [PHP] generate a image link with php

2004-02-19 Thread Stuart
Dominique ANOKRE wrote: how to generate a image link with php ? i use this but it returns errors : print(a href=image.htm); print(img src=image.jpg); print(/a); Try... print('a href=image.htm'); print('img src=image.jpg'); print('/a'); And I'd suggest getting a beginners book from the

RE: [PHP] generate a image link with php

2004-02-19 Thread Nguyen Huu Hoa
I think it should the following: print Create image link\n; print(a href=\image.htm\); print(img src=\image.jpg\); print(/a); Nguyen, -Original Message- From: Dominique ANOKRE [mailto:[EMAIL PROTECTED] Sent: Thursday, February 19, 2004 6:21 PM To: Php List

Re: [PHP] generate a image link with php

2004-02-19 Thread Dominique ANOKRE
ok good now - solved !! thansk you - Original Message - From: Seba [EMAIL PROTECTED] To: Dominique ANOKRE [EMAIL PROTECTED] Sent: Thursday, February 19, 2004 11:23 AM Subject: Re: [PHP] generate a image link with php It is better: print(a href='image.htm'); print(img

[PHP] PHPSESSID and URL rewriting

2004-02-19 Thread Seba
Hi everyone, I have this situation: I use some regular expressions to rewrite the URL of a web site, in particular: http://www.mysite.com/lingua-ita/colore-rosso/pagina.html that becames http://www.mysite.com/pagina.php?lingua=itacolore=rosso. Is all ok until I use some session variables. It

php-general Digest 19 Feb 2004 12:16:25 -0000 Issue 2599

2004-02-19 Thread php-general-digest-help
php-general Digest 19 Feb 2004 12:16:25 - Issue 2599 Topics (messages 178194 through 178236): Re: checking users have the latest version of a file 178194 by: Chris W. Parker 178196 by: daniel.electroteque.org 178197 by: daniel.electroteque.org 178198 by:

[PHP] headers_list function

2004-02-19 Thread Juan Torres
Hi, how can I use 'header_list()' function. My manual says: Might be only in CVS. What is CVS? How do I install CVS? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] post variables

2004-02-19 Thread julian haffegee
Hi all, I solved this today. It seems odd. If you define an action it DOES NOT work, but if you skip that entirely the POST variables are sent! so form method='POST' works form method='POST' action ='something.php' doesn't work. Why would this be? thanks Jules - Original Message

Re: [PHP] headers_list function

2004-02-19 Thread Richard Davey
Hello Juan, Thursday, February 19, 2004, 1:13:56 PM, you wrote: JT how can I use 'header_list()' function. My manual says: Might be only in JT CVS. JT What is CVS? How do I install CVS? In a nutshell, if it's in CVS and you need it for a live site - ignore it. CVS is the repository where all

Re: [PHP] post variables

2004-02-19 Thread Duncan Hill
On Thursday 19 February 2004 13:32, julian haffegee wrote: Hi all, I solved this today. It seems odd. If you define an action it DOES NOT work, but if you skip that entirely the POST variables are sent! so form method='POST' works form method='POST' action ='something.php' doesn't

[PHP] Problem with Sessions

2004-02-19 Thread Sheni R. Meledath
Hello: Session is not working in PHP script file when executed through the browser IE 5.0 on Windows 2000 platform. In IE latest versions the script is working fine. Does anybody have any solution or report related to this. PHP version on the server is 4.3. Sheni R Meledath [EMAIL PROTECTED]

[PHP] Re: XSL-FO

2004-02-19 Thread memoimyself
Hello Juan, On 18 Feb 2004 at 13:51, Juan Torres wrote: Does PHP allow parser a XML with a XSL-FO and create a PDF? Your English is kind of difficult to understand, but I guess you want to know if you can perform XSL-FO transformations with PHP. If this is your question, the answer is 'no':

[PHP] Re: PHPSESSID and URL rewriting

2004-02-19 Thread memoimyself
Hello Seba, Check your php.ini file: you'll probably find that session.use_trans_sid is set to 1, which is actually a security hazard. If you set session.use_trans_sid to 0, session IDs will no longer be automatically sent as GET variables. Cheers, Erik On 19 Feb 2004 at 13:15, Seba

[PHP] Re: Mimetypes and image uploads

2004-02-19 Thread memoimyself
On 19 Feb 2004 at 15:53, [EMAIL PROTECTED] wrote: I just discovered something totally bizarre with file uploads and mime types, if i have the document open i am trying to upload say a word file application/octet-stream and if i close the document application/msword , why is this ? My guess:

Re: [PHP] PHP Header to stimulate a POST method or POST string????

2004-02-19 Thread Scott Fletcher
I still get this message with the class HTTP_Request (Pear). --snip-- Warning: fsockopen() [function.fsockopen]: php_hostconnect: connect failed in /home/website/emarket/www/zz_test_dir/Net/Socket.php on line 108 Warning: fsockopen() [function.fsockopen]: unable to connect to 216.109.118.68:80

Re: [PHP] PHP Header to stimulate a POST method or POST string????

2004-02-19 Thread Scott Fletcher
Yes, the script on the box can run and hit google. I did with telent and it connected successfully and type a make-up word 'get' follow by the enter key and got a response below... --snip-- htmlheadtitle400 Bad Request/titlestyle!--body {font-family: arial,sans-serif}div.nav {margin-top:

RE: [PHP] Nested Loops

2004-02-19 Thread Alex Hogan
Thanks for the help guys..., After some sleep and some food this is where it's gone; $query = select wn_pdate, wn_text, wn_id . from whatsnew . order by wn_pdate; $pdate = ; while($row = mssql_fetch_array($result)){ if ($pdate != $row[0]) { print trtd

[PHP] fsockopen failed with permission denied error...

2004-02-19 Thread Scott Fletcher
Hi Everyone! Sample code below... --snip-- $fp = fsockopen(www.cnn.com, 80, $errno, $errstr, 30); --snip-- I get the error message, permission denied along with 13. When I read the bugs.php.net and found out that I need to add the @ to it so I did this.. --snip-- $fp = @fsockopen(www.cnn.com,

Re: [PHP] fopen errors

2004-02-19 Thread John Nichel
Hunter, Jess wrote: Thanks for the reply, you are right, the file is going on a Linux box, but the source file is located on the client computer (windoze). You cannot open a remote file by using it's directory path on the remote system. The two ways to do this would be to a) (recommended) open

[PHP] How check if URL is running ok before try open it?

2004-02-19 Thread M
Hello, I decided to make a pre-URL caller into my script, so when user try link to another URL, instead show these annoying http errors (when URL off), I could direct him to more user friendly environment. I checked FOPEN($url-name,'R') command, but in some cases it will pop up fire-walls alerts

[PHP] PHP-INSTALL Compile Error

2004-02-19 Thread Jim Thompson
I'm getting this error when running a make on php 4.3.4 on AIX 5.2: ld: 0711-317 ERROR: Undefined symbol: .pow ld: 0711-317 ERROR: Undefined symbol: .ceil ld: 0711-317 ERROR: Undefined symbol: .floor ld: 0711-317 ERROR: Undefined symbol: .sin ld: 0711-317 ERROR: Undefined symbol: .cos ld:

[PHP] str_replace to replace /n with p not having desired effect.

2004-02-19 Thread Dave G
PHP Listers, I am trying to use str_replace to format text taken from a MySQL TEXT field and make it so that it is compatible with my CSS formatting. Essentially, I want to ensure that new lines are replaced with p tags with the appropriate CSS class designation. The code I have

Re: [PHP] str_replace to replace /n with p not having desired effect.

2004-02-19 Thread Adam Voigt
Single quotes don't work for the escape characters. Use double quotes around the str_replace where there is a \n. On Thu, 2004-02-19 at 10:52, Dave G wrote: PHP Listers, I am trying to use str_replace to format text taken from a MySQL TEXT field and make it so that it is compatible

Re: [PHP] str_replace to replace /n with p not having desired effect.

2004-02-19 Thread Richard Davey
Hello Dave, Thursday, February 19, 2004, 3:52:54 PM, you wrote: DG $charInfoCss = 'p class=content' . str_replace('\n', '/p\np class=content\n', $charInfo[introE]) . '/p'; Double-bag it: str_replace(\n, /p\np class=\content\\n, $charInfo[introE]) -- Best regards, Richard Davey

RE: [PHP] How check if URL is running ok before try open it?

2004-02-19 Thread Pablo Gosse
snipHello, I decided to make a pre-URL caller into my script, so when user try link to another URL, instead show these annoying http errors (when URL off), I could direct him to more user friendly environment. I checked FOPEN($url-name,'R') command, but in some cases it will pop up fire-walls

[PHP] Re: Problem with Sessions

2004-02-19 Thread Jas
Sheni R. Meledath wrote: Hello: Session is not working in PHP script file when executed through the browser IE 5.0 on Windows 2000 platform. In IE latest versions the script is working fine. Does anybody have any solution or report related to this. PHP version on the server is 4.3. Sheni R

RE: [PHP] str_replace to replace /n with p not having desiredeffect. [SOLVED]

2004-02-19 Thread Dave G
From: Adam Single quotes don't work for the escape characters. Use double quotes around the str_replace where there is a \n. and... From: Richard Double-bag it: str_replace(\n, /p\np class=\content\\n, $charInfo[introE]) It's always the simplest of mistakes that one overlooks. Thanks guys!

[PHP] Serious PHP5b4 speed issues

2004-02-19 Thread Andrew Lee Paul
Hello all I have recently installed PHP 5.0 Beta 4 on my development server and am very concerned with performance. I have read everywhere, that PHP5 offers increased performance. However, in my tests, the requests per second have decreased dramatically: PHP5: Requests per second:4.23

[PHP] XSLT in php v5 beta 4

2004-02-19 Thread Steve Dieke
I am guesing that I have installed something incorrectly. I am trying to use the function xslt_create(). I installed php v5 Beta 4 successfully. but when I try to use the function xslt_create() I get the following error: Fatal Error: Call to undefined function xslt_create() I have a test php

Re: [PHP] headers_list function

2004-02-19 Thread Chris Shiflett
--- Juan Torres [EMAIL PROTECTED] wrote: how can I use 'header_list()' function. My manual says: Might be only in CVS. What is CVS? How do I install CVS? This is another way of saying that this might not be in any release of PHP to date. CVS is the version control system used in development.

[PHP] Can't remove an element from an array

2004-02-19 Thread Brian Dunning
Hi, I have an array that holds the item_id's for a shopping cart. I am trying to remove the item specified by a GET like this: foreach ($_SESSION[cart_array] as $item) { if ($item==$_GET[item_id]) {unset($_SESSION[cart_array], $item); break;} } But it removes ALL items from the cart. And

Re: [PHP] Can't remove an element from an array

2004-02-19 Thread John Nichel
Brian Dunning wrote: Hi, I have an array that holds the item_id's for a shopping cart. I am trying to remove the item specified by a GET like this: foreach ($_SESSION[cart_array] as $item) { if ($item==$_GET[item_id]) {unset($_SESSION[cart_array], $item); break;} } But it removes ALL items

RE: [PHP] Can't remove an element from an array

2004-02-19 Thread Chris
You have two separate problems here: 1) unset($_SESSION[cart_array], $item) This unsets $_SESSION[cart_array] and also $item, it should be unset($_SESSION[cart_array][$item]) 2) The method of unsetting session variables depends on whether you have register_globals on, it's all here:

RE: [PHP] checking users have the latest version of a file

2004-02-19 Thread Chris W. Parker
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] on Wednesday, February 18, 2004 5:18 PM said: I dont understand what you are doing with the md5, and i assume YOU will know which file is the latest version. this is what i have to try and find out to prevent that. the md5 thing will just

Re: [PHP] Serious PHP5b4 speed issues

2004-02-19 Thread Raditha Dissanayake
Hi, I am a guy who doesn't believe in 'requests per second' and 'number of concurrent users' stats so please ignore the rest of this message if you wish: The problem here could be that while it's possible to improve the speed of execution it's not possible to do so for the full set of

[PHP] Unexpected ;

2004-02-19 Thread Paul Furman
I don't see what's wrong with this if statement: while ... and ... { if (($pic_num + 1) = $thumb_num { $tab = ((($pics * $page) - 1) + $pic_num); } Error unexpected ; on the last line there. I added some extra () to make sure I had everything together not two statements or something odd

Re: [PHP] Unexpected ;

2004-02-19 Thread Raditha Dissanayake
should be if (($pic_num + 1) = $thumb_num) { Paul, with PHP the Parsers error is usally above the line number that's actually reffered to. Paul Furman wrote: I don't see what's wrong with this if statement: while ... and ... { if (($pic_num + 1) = $thumb_num { $tab = ((($pics * $page) -

Re: [PHP] Re: PHPSESSID and URL rewriting

2004-02-19 Thread seba
Unfortunately I do can not oblige users which will use those pages to accept cookies . The pages are for an e-commerce web site. If I use the directive session.use_trans_sid = 0 is not possible to MANTAIN THE SAME phpsessid value among differents pages, isn t it? Cheers, Seba - Original

RE: [PHP] Unexpected ;

2004-02-19 Thread Alex Hogan
Did you close your loop? while ... and ... { if (($pic_num + 1) = $thumb_num { $tab = ((($pics * $page) - 1) + $pic_num); } } alex ** The contents of this e-mail and any files transmitted with it are confidential

RE: [PHP] Unexpected ;

2004-02-19 Thread Alex Hogan
You also forgot to close your if statement. while ... and ... { if (($pic_num + 1) = $thumb_num) { $tab = ((($pics * $page) - 1) + $pic_num); } alex -Original Message- From: Paul Furman [mailto:[EMAIL PROTECTED] Sent: Thursday, February 19, 2004 11:33 AM To: [EMAIL

Re: [PHP] Unexpected ;

2004-02-19 Thread Neil Freeman
You're missing a right bracket within the if statement. Paul Furman wrote: *** This Email Has Been Virus Swept *** I don't see what's wrong with this if statement: while ... and ... { if (($pic_num + 1) =

Re: [PHP] Unexpected ;

2004-02-19 Thread Michal Migurski
I don't see what's wrong with this if statement: while ... and ... { if (($pic_num + 1) = $thumb_num { $tab = ((($pics * $page) - 1) + $pic_num); } Looks like you need an editor that's syntax-aware. May I recommend: jEdit, BBedit, UltraEdit?

[PHP] Re: Recursive Select Box

2004-02-19 Thread Justin Patrin
PEAR DB is just a pckage which allows you to connect to any DB with the same interface, it will work with mysql. http://pear.php.net/package/DB If you don't want to use that, just switch the calls to mysql ones: function getSelect($link, $catParent = 0, $indent = '') { $sth =

[PHP] Re: fsockopen failed with permission denied error...

2004-02-19 Thread Justin Patrin
Scott Fletcher wrote: Hi Everyone! Sample code below... --snip-- $fp = fsockopen(www.cnn.com, 80, $errno, $errstr, 30); --snip-- I get the error message, permission denied along with 13. When I read the bugs.php.net and found out that I need to add the @ to it so I did this.. --snip-- $fp =

[PHP] variables

2004-02-19 Thread Dominique ANOKRE
hello, how can i put the character \ in a variable ? I've done the code below but errors occurs : $barre_oblique = \; Parse error: parse error, unexpected T_STRING Please help

[PHP] Re: Unexpected ;

2004-02-19 Thread Paul Furman
Thanks folks, it was the missing paren on the if statement. if (...{...} if (...){...} I'm using PSPad as an editor with syntax highlighting and it works pretty well but I don't always g. Paul Furman wrote: I don't see what's wrong with this if statement: while ... and ... { if (($pic_num +

Re: [PHP] variables

2004-02-19 Thread Adam Voigt
Escape it. $string = \\; Or, use single quotes: $string = '\'; On Thu, 2004-02-19 at 12:49, Dominique ANOKRE wrote: hello, how can i put the character \ in a variable ? I've done the code below but errors occurs : $barre_oblique = \; Parse error: parse error, unexpected

Re: [PHP] variables

2004-02-19 Thread Adam Voigt
Whoops, mistyped on my reply, you need to escape it with the single quotes to. On Thu, 2004-02-19 at 12:49, Dominique ANOKRE wrote: hello, how can i put the character \ in a variable ? I've done the code below but errors occurs : $barre_oblique = \; Parse error: parse error,

Re: [PHP] variables

2004-02-19 Thread Richard Davey
Hello Dominique, Thursday, February 19, 2004, 5:49:43 PM, you wrote: DA how can i put the character \ in a variable ? DA I've done the code below but errors occurs : DA $barre_oblique = \; DA Parse error: parse error, unexpected T_STRING DA Please help $barre_oblique = \\; -- Best

Re: [PHP] Unexpected ;

2004-02-19 Thread John Nichel
Paul Furman wrote: I don't see what's wrong with this if statement: while ... and ... { if (($pic_num + 1) = $thumb_num { ^ You're missing a closing parentheses... $tab = ((($pics * $page) - 1) + $pic_num); } Error unexpected ; on the last line

Re: [PHP] variables

2004-02-19 Thread Dominique ANOKRE
ok thanks pb solved thank you everybody - Original Message - From: Richard Davey [EMAIL PROTECTED] To: Dominique ANOKRE [EMAIL PROTECTED] Cc: Php List [EMAIL PROTECTED] Sent: Thursday, February 19, 2004 5:52 PM Subject: Re: [PHP] variables Hello Dominique, Thursday, February 19,

[PHP] Table's config

2004-02-19 Thread [Scripts]
Hello All, I am trying to do a install script. Here is my question: I want to do a $prefix This is what I have: $prefix = demo_; $table_name = '.$prefix.auth_users'; This is not working, am I missing something?? Thanks in advance, ~WILL~ -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Table's config

2004-02-19 Thread Richard Davey
Hello [Scripts], Thursday, February 19, 2004, 6:14:31 PM, you wrote: S This is what I have: S $prefix = demo_; S $table_name = '.$prefix.auth_users'; S This is not working, am I missing something?? Just syntax/quote issues, try: $table_name = $prefix . auth_users; So much simpler :) --

[PHP] Generating Sub Headings

2004-02-19 Thread Nicole
I have data that looks like this: (20, '1915', '192', '', '', '312', '525', '404', '', 'title') (21, '1915', '338', '', '', '736', '0', '929', '', 'title') (22, '1917', '193', '', '', '447', '0', '1275', '', 'title') (23, '1919', '129', '', '', '208', '636', '0', '', 'title') (24, '1919', '274',

RE: [PHP] Generating Sub Headings

2004-02-19 Thread Chris W. Parker
Nicole mailto:[EMAIL PROTECTED] on Thursday, February 19, 2004 10:28 AM said: I have data that looks like this: [snip] The second value is the year, I have have multiple files for the same year. What I want to do is output the values under Year sub headings. ok woh. that's way too much

Re: [PHP] Generating Sub Headings

2004-02-19 Thread Nicole
Sorry about all of the code. I do do what you say to do there. My year sub headings are changing correctly, it's the data that's printed under each heading that isn't correct. Nicole Chris W. Parker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Nicole mailto:[EMAIL PROTECTED]

Re: [PHP] Serious PHP5b4 speed issues

2004-02-19 Thread Andrew Lee Paul
Thank you for your comments. So that we have a page to compare between PHP4 and PHP5, I have taken the home page of php.net. I have a local copy – 'php.local' and re-ran the tests on the first page (ab running on 'php.local') ab http://php.loca/ -n1000 -c10 Again, the results are alarming -

Re: [PHP] Generating Sub Headings

2004-02-19 Thread Richard Davey
Hello Nicole, Thursday, February 19, 2004, 6:28:13 PM, you wrote: N And so on, always putting the right years and the right number of histories N below the year, but always listing the first history and nothing else. My N loop works if I don't have the while loop in there with the subheadings

Re: [PHP] Generating Sub Headings

2004-02-19 Thread Nicole
That's exactly it! I don't know why I didn't think about that. For anyone else reading this, I added $field = mysql_fetch_array($dbArray); above the line that reads $yeartitle = $years[year]; And now it works! Richard Davey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello

[PHP] PHP PDFs...

2004-02-19 Thread Russell P Jones
Is there any way to deal with PDFS using PHP and not installing PHPlib? I simply need to pull the first page of a PDF document and print it out using PHP. (Like a PDF preview of sorts)... Any ideas? Russ Jones -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Generating Sub Headings

2004-02-19 Thread Nicole
Can we take this one step further and make it so that if you're searching and you want to only see histories with the works parking in the title it only puts the year headings for the years that actually have a history that meets this criteria? -- PHP General Mailing List (http://www.php.net/)

[PHP] date

2004-02-19 Thread Madcat
hi there how do i make php give me yesterday's date? i tried date(Y-m-d)-1 but if today would be the 1st of july (2004-07-01), yesterday would be 00. july (2004-07-00) according to that calculator. is there any way to make this one get it right? without any if-structures if possible regards

RE: [PHP] date

2004-02-19 Thread Jay Blanchard
[snip] hi there how do i make php give me yesterday's date? i tried date(Y-m-d)-1 but if today would be the 1st of july (2004-07-01), yesterday would be 00. july (2004-07-00) according to that calculator. is there any way to make this one get it right? without any if-structures if possible

[PHP] Problem with Apache!

2004-02-19 Thread
Hello! My name is Artem! I want to tell you about my problem. Please, help me When I changed my "httpd.conf" file like in book by Julie C.Meloni, I try to open file phpinfo.php from directory "C:\Program Files\Apache Group\Apache2\htdocs". But when I open Internet Explorer and write

Re: [PHP] Problem with Apache!

2004-02-19 Thread BAO RuiXian
wrote: Hello! My name is Artem! I want to tell you about my problem. Please, help me When I changed my httpd.conf file like in book by Julie C.Meloni, I try to open file phpinfo.php from directory C:\Program Files\Apache Group\Apache2\htdocs. But when I open Internet Explorer

Re: [PHP] Problem with Apache!

2004-02-19 Thread BAO RuiXian
wrote: Please, tell me, do you check my httpd.conf file? Yes, I have checked your httpd.conf file. It is missing the following line: LoadModule php4_module YourRealPath/php4apache2.dll Please keep discussion on the list. Best Bao Maybe deal in it?? E-mail:

Re: [PHP] PHP PDFs...

2004-02-19 Thread Marek Kilimajer
Russell P Jones wrote: Is there any way to deal with PDFS using PHP and not installing PHPlib? I simply need to pull the first page of a PDF document and print it out using PHP. (Like a PDF preview of sorts)... Any ideas? Russ Jones Do you want to print the pdf on the server? PHPlib would not

[PHP] PHP Security Issue?

2004-02-19 Thread Ed Lazor
Hi Everyone, Oddball error randomly shows up when accessing pages on my web hosting provider. The error message is below. My account is obb4wine. PHP behaves as if I'm the account budguy when the script error occurs. A page refresh usually makes the error go away. The error happens

[PHP] heavy parsing of text, storing both versions

2004-02-19 Thread Justin French
Hi all, I'm building a CMS that does heavy parsing of a HTML shorthand plain text to XHTML strict, in a similar way to Textile http://www.textism.com/tools/textile/. The problem is this conversion might take place on 2-3 columns of text, and unlimited other fields (my CMS has user-defined

[PHP] Re: I don't understand you!

2004-02-19 Thread BAO RuiXian
wrote: Sorry, I'm from Ukraine and, maybe, my English too bad... But I don't understand your words Please keep the discussion on the list. It means that don't send your response only to me, but to the list you originally sent, i.e. [EMAIL PROTECTED] so that others will also

[PHP] Re: heavy parsing of text, storing both versions

2004-02-19 Thread Torsten Schabdach
Hi Justin, I'm building a CMS that does heavy parsing of a HTML shorthand plain text to XHTML strict, in a similar way to Textile http://www.textism.com/tools/textile/. The problem is this conversion might take place on 2-3 columns of text, and unlimited other fields (my CMS has user-defined

Re: [PHP] php as cgi with static libraries?

2004-02-19 Thread Marten Lehmann
that's what I already did (--enable-static=db4), but after that a 'ldd php' still showed me references to libdb.so. I don't want to build php with absolutely no dynamic libaries, only certain libaries shall be compiled in statically. Still no answer? Is noone experienced enough in the

Re: [PHP] Headers Again

2004-02-19 Thread PETCOL
Stuart, Unfortunately history tells me that php like ColdFusion will one day be bought out by the big corporates, or at least they'll have a considerable financial vested interest in it. At which time we hope way off in the future, we'll all have to start paying for support and maintenance

[PHP] Security Issue?

2004-02-19 Thread Ed Lazor
Hi Everyone, Oddball error randomly shows up when accessing pages on my web hosting provider. The error message is below. My account is obb4wine. PHP behaves as if I'm the account budguy when the script error occurs. A page refresh usually makes the error go away. The error happens

Re[2]: [PHP] date

2004-02-19 Thread Tom Rogers
Hi, Friday, February 20, 2004, 6:32:27 AM, you wrote: JB [snip] JB hi there JB how do i make php give me yesterday's date? JB i tried JB date(Y-m-d)-1 JB but if today would be the 1st of july (2004-07-01), yesterday would be JB 00. JB july (2004-07-00) according to that calculator. JB is

Re: [PHP] PHP PDFs...

2004-02-19 Thread Evan Nemerson
On Thursday 19 February 2004 11:42 am, Russell P Jones wrote: Is there any way to deal with PDFS using PHP and not installing PHPlib? I simply need to pull the first page of a PDF document and print it out using PHP. (Like a PDF preview of sorts)... Any ideas? I'm assuming you meant pdflib,

Re: [PHP] heavy parsing of text, storing both versions

2004-02-19 Thread John W. Holmes
Justin French wrote: Hi all, I'm building a CMS that does heavy parsing of a HTML shorthand plain text to XHTML strict, in a similar way to Textile http://www.textism.com/tools/textile/. 1. Parse the text on demand into HTML -- the parsing script is to heavy/slow for this. 2. Store both the

Re: [PHP] heavy parsing of text, storing both versions

2004-02-19 Thread joel boonstra
On Fri, Feb 20, 2004 at 10:35:11AM +1100, Justin French wrote: 1. Parse the text on demand into HTML -- the parsing script is to heavy/slow for this. 2. Store both the plain (shorthand HTML) text and parsed XHTML versions of each field -- the problem with this being that i'm storing double

Re: [PHP] Re: heavy parsing of text, storing both versions

2004-02-19 Thread Justin French
On Friday, February 20, 2004, at 10:58 AM, Torsten Schabdach wrote: Hi Justin, I'm building a CMS that does heavy parsing of a HTML shorthand plain text to XHTML strict, in a similar way to Textile http://www.textism.com/tools/textile/. The problem is this conversion might take place on 2-3

Re: [PHP] heavy parsing of text, storing both versions

2004-02-19 Thread John W. Holmes
joel boonstra wrote: On Fri, Feb 20, 2004 at 10:35:11AM +1100, Justin French wrote: 1. Parse the text on demand into HTML -- the parsing script is to heavy/slow for this. 2. Store both the plain (shorthand HTML) text and parsed XHTML versions of each field -- the problem with this being that

[PHP] Flash and Sessions

2004-02-19 Thread Jack Baty
I have a page with an embedded Flash movie that I'm having trouble with. The Flash movie loads and calls a different url on the same host, retrieving some XML and parsing it. The problem is that many people are reporting that they lose thier session when leaving the page with the Flash movie.

Re: [PHP] heavy parsing of text, storing both versions

2004-02-19 Thread joel boonstra
On Thu, Feb 19, 2004 at 09:15:35PM -0500, John W. Holmes wrote: 2. Store both the plain (shorthand HTML) text and parsed XHTML versions of each field -- the problem with this being that i'm storing double the data in the database... combine this with versioning of each 'page', and I'm going to

[PHP] PEAR DB 1.6.0 has been released

2004-02-19 Thread Daniel Convissor
[This has be cross-posted. Be careful when following up, please.] Greetings: Crack open the beer, PEAR DB 1.6.0 is here! (Hey, I'm a bit giddy with excitement that my intense work during the past seven weeks has come to fruition.) For those unfamiliar with PEAR DB, it's a package of PHP

[PHP] Advice Needed

2004-02-19 Thread daniel
Hi there, i have finally built a project space for work, its a collaborate space for storing important key documents (not public), what is the best way to store these, outside the web directory or would it be safe within a htaccess protected directory ? Being that to access that directory i would

[PHP] PROBLEM: Explorer trying to save my *.php files...

2004-02-19 Thread
Now, my problem is next: When I tryin' to view my phpinfo.php file, Internet Explorer is invite me to save it to disk Not To Open Why? I have 11 files in my PHP directory: LICENSE MSVCRT.DLL php4ts.dll php4isapi.dll php.exe php.ini php.ini-optimized php_calendar.dll

RE: [PHP] Re: PEAR DB 1.6.0 has been released

2004-02-19 Thread electroteque
unfortunately i tried mdb and it was totally unusable and badly documented, and to port pear db over to mdb was impossible, i find pear db ok, even adodb is cool, i had to build my own class specifically just for mysql with pretty good performance as no others could. -Original Message-

[PHP] PEAR::MAIL Problem

2004-02-19 Thread Stanley Chan
Dear Listmates, I am using PEAR::MAIL and my code includes the below; // Send Email Out $mailCfg = array( host = 127.0.0.1, port = 25, auth = false ); $mailRecipient = $hashValue[emailaddress]; $mailHeader = array(

[PHP] Re: XSLT in php v5 beta 4

2004-02-19 Thread Lucian Cozma
I think your problems comes from configuring php with domxml instead of xslt lib ( that requires sablotron). You can use domxml's xslt transformations. I actually recomend it. It's faster and in my opinion more flexible and reliable. (see http://www.php.net/manual/en/ref.domxml.php for more info )

  1   2   >