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

2004-02-20 Thread Torsten Schabdach
Hi, 2. [...] I'm going to be storing a LOT of data in the DB. Why not save both as files? Maybe you find a structure for this, i.e. http://example.org/articles/2004/02/19/text34_v3.html or something like this. You save the "editfiles" and cache the xhtml-output. > The other problem with the ab

[PHP] Re: date

2004-02-20 Thread Lucian Cozma
date('Y-m-d', time()- 60*60*24); You could also use mktime. Regards, Lucian "Madcat" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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), yest

Re: [PHP] Headers Again

2004-02-20 Thread Stuart
PETCOL wrote: 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. Not likely. Since PHP is open source if Zend decided to change the license I'm certain it would be forked

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

2004-02-20 Thread Lukas Smith
electroteque wrote: 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. Actually it

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

2004-02-20 Thread Marek Kilimajer
What installation instructions did you follow? Цыганенко Артём wrote: 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 ph

[PHP] problem handling files.

2004-02-20 Thread php
I have a bit problem with following script in php: $fichero = "/var/www/php/fichero/fichero1.txt"; if ($fp=fopen($fichero,"r")) { print ( "El fichero ha podido abrirse." ); fpassthru($fp); } else { print ("El fichero no ha podido abrirse."); } ?> fpassthru doesn't

Re: [PHP] Advice Needed

2004-02-20 Thread Richard Davey
Hello daniel, Friday, February 20, 2004, 6:10:28 AM, you wrote: deo> Hi there, i have finally built a project space for work, its a collaborate deo> space for storing important key documents (not public), what is the best deo> way to store these, outside the web directory or would it be safe with

[PHP] display a hiddenfield

2004-02-20 Thread Dominique ANOKRE
I use a simple form like this : print("\n"); print("\n"); $_POST["hiddenField"] = $image_avant; print("\n"); print("\n"); and when i click on the submit button, i want to display the value of my hiddenField (doing by the file image.php) : but nothing is displaying !! Please help !

RE: [PHP] display a hiddenfield

2004-02-20 Thread Michael Egan
No value has been given to the hidden field. e.g. print (); HTH. Cheers, Michael Egan > -Original Message- > From: Dominique ANOKRE [mailto:[EMAIL PROTECTED] > Sent: 20 February 2004 11:17 > To: Php List > Subject: [PHP] display a hiddenfield > > > I use a simple form like this : >

[PHP] Re: display a hiddenfield

2004-02-20 Thread Nadim Attari
echo ""; echo " "; echo " "; echo ""; --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] display a hiddenfield

2004-02-20 Thread Dominique ANOKRE
I 've given a value se the code : $_POST["hiddenField"] = $image_avant; where $image_avant is a variable which contains a value !! Cdt - Original Message - From: "Michael Egan" <[EMAIL PROTECTED]> To: "Dominique ANOKRE" <[EMAIL PROTECTED]>; "Php List" <[EMAIL PROTECTED]> Sent: Frida

Re[2]: [PHP] display a hiddenfield

2004-02-20 Thread Richard Davey
Hello Dominique, Friday, February 20, 2004, 11:29:21 AM, you wrote: DA> I 've given a value se the code : DA> $_POST["hiddenField"] = $image_avant; DA> where $image_avant is a variable which contains a value !! No, you've overwritten whatever might have been in the $_POST array with the image_

Re: [PHP] display a hiddenfield

2004-02-20 Thread Marek Kilimajer
Dominique ANOKRE wrote: I use a simple form like this : print("\n"); print("\n"); This will result in That is a hidden field without a value. This will get to the browser. $_POST["hiddenField"] = $image_avant; This will assign a value to $_POST["hiddenField"], which means just that, nothing mo

Re: [PHP] Re: date

2004-02-20 Thread Richard Davey
>> how do i make php give me yesterday's date? >> >> i tried >> >> date("Y-m-d")-1 LC> date('Y-m-d', time()- 60*60*24); LC> You could also use mktime. Someone has already advised you look at strtotime, but just incase you haven't here is one way you can use it: $yesterdays_timestamp = strtotime(

[PHP] [OT slightly] PHP and Ewebeditpro CMS

2004-02-20 Thread David Robley
If anyone has experience with using a PHP interface to EwebeditPro content management system, I' ppreciate a little help. In particular, a sample script for handling contnet upload would be a godsend. ewebeditpro provide samples for ASP which isn't a great deal of help. -- David Robley Quod su

[PHP] returning image from CGI.

2004-02-20 Thread Nicklas Kittelmann
Hi! I have a PHP-file which outputs an image when called from a web page. No problem there. However, when I change it to a CGI-file (for use by a webserver), and I insert a line #/usr/bin/php -q before the http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general Digest 20 Feb 2004 12:27:31 -0000 Issue 2601

2004-02-20 Thread php-general-digest-help
php-general Digest 20 Feb 2004 12:27:31 - Issue 2601 Topics (messages 178304 through 178335): Security Issue? 178304 by: Ed Lazor Re: date 178305 by: Tom Rogers 178321 by: Lucian Cozma 178333 by: Richard Davey Re: PHP & PDFs... 178306 by: Evan Nemers

[PHP] & sign not posted to next page

2004-02-20 Thread Piet from South Africa
i have the following problem. when i href like this and the name contains a & sign, it does not post it to the next page. if the name is bed&breakfast it stops at bed. Can anyone tell me how to do this. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

[PHP] Delayed mail()... ?

2004-02-20 Thread Tristan . Pretty
I've been asked to add a small amount of functionality to a site I've built (It's a techer at home web site) Basically, prospective teachers/students, can sign up for more info etc. Currently, that info is captured, and the site admin people are E-mailed... all good so far.. What they've as

[PHP] Re: & sign not posted to next page

2004-02-20 Thread Ben Ramsey
Use the urlencode() function. http://www.php.net/manual/en/function.urlencode.php Piet From South Africa wrote: i have the following problem. when i href like this and the name contains a & sign, it does not post it to the next page. if the name is bed&breakfast it stops at bed. Can anyone

Re: [PHP] & sign not posted to next page

2004-02-20 Thread Richard Davey
Hello Piet, Friday, February 20, 2004, 1:18:11 PM, you wrote: PfSA> when i href like this PfSA> PfSA> and the name contains a & sign, it does not post it to the next page. PfSA> if the name is bed&breakfast it stops at bed. urlencode() -- Best regards, Richard Davey http://www.phpcommunity

[PHP][MySQL] FAKE DUPLICATE ROW

2004-02-20 Thread Alessandro Vitale
I have this table on my MYSQL 4.0.16 : CREATE TABLE `pls_in_row` ( `row_id` int(11) NOT NULL auto_increment, `pls_id` int(11) default NULL, `code` int(20) default NULL, `description` varchar(255) default NULL, `valid_from` date default NULL, PRIMARY KEY (`row_id`), UNIQUE KEY `pls_r

[PHP] Re: & sign not posted to next page

2004-02-20 Thread Ben Ramsey
Use the urlencode() function. http://www.php.net/manual/en/function.urlencode.php Piet From South Africa wrote: i have the following problem. when i href like this and the name contains a & sign, it does not post it to the next page. if the name is bed&breakfast it stops at bed. Can anyone

[PHP] Re: & sign not posted to next page

2004-02-20 Thread Ben Ramsey
Use the urlencode() function. http://www.php.net/manual/en/function.urlencode.php Piet From South Africa wrote: i have the following problem. when i href like this and the name contains a & sign, it does not post it to the next page. if the name is bed&breakfast it stops at bed. Can anyone

Re: [PHP] & sign not posted to next page

2004-02-20 Thread BAO RuiXian
Piet from South Africa wrote: >i have the following problem. > >when i href like this > > > >and the name contains a & sign, it does not post it to the next page. > >if the name is bed&breakfast it stops at bed. > > Because '&' is a special character in URL, you need to escape it by urlencode

Re: [PHP] Delayed mail()... ?

2004-02-20 Thread Richard Davey
Hello Tristan, Friday, February 20, 2004, 1:12:01 PM, you wrote: TPrsc> What they've asked for, is that when they reply to the enquiry, they are TPrsc> reminded to chase up the enqiry a few days later... TPrsc> Now I could give them a message on screen, if they happen to be in the TPrsc> admin ar

[PHP] Re: Delayed mail()... ?

2004-02-20 Thread Ben Ramsey
Probably the best way to do this is the use cron to schedule a script to run at a specified time. The way I'd do it is to create a PHP script that compares the current date with the date they registered (you'd save that date to the database, of course). If the current date is greater than 3 da

Re: [PHP][MySQL] FAKE DUPLICATE ROW

2004-02-20 Thread Richard Davey
Hello Alessandro, Friday, February 20, 2004, 1:31:02 PM, you wrote: AV> `code` int(20) default NULL, AV> so that seems that mysql has created a completely wrong key for this row! AV> my question is: is there a limit for the integer part of the index, or a bug AV> any suggestion would be very m

Re: [PHP] Re: Delayed mail()... ?

2004-02-20 Thread Tristan . Pretty
Right, I'm off to php.net, to learn all about cron jobs... i've never heard ofit ;-) (I'll come out from under my rock now) Cheers everyone Ben Ramsey <[EMAIL PROTECTED]> 20/02/2004 13:36 To [EMAIL PROTECTED], Tristan Pretty <[EMAIL PROTECTED]> cc Subject [PHP] Re: Delayed mail()... ?

[PHP] Thanks guys it works great

2004-02-20 Thread Piet from South Africa
"Piet From South Africa" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > i have the following problem. > > when i href like this > > > > and the name contains a & sign, it does not post it to the next page. > > if the name is bed&breakfast it stops at bed. > > Can anyone tell me ho

Re: Re[2]: [PHP] display a hiddenfield

2004-02-20 Thread Dominique ANOKRE
Ok problem solved thank you everybody - Original Message - From: "Richard Davey" <[EMAIL PROTECTED]> To: "Dominique ANOKRE" <[EMAIL PROTECTED]> Cc: "Php List" <[EMAIL PROTECTED]> Sent: Friday, February 20, 2004 11:35 AM Subject: Re[2]: [PHP] display a hiddenfield > Hello Dominique, >

[PHP] Re: XSLT in php v5 beta 4

2004-02-20 Thread Steve Dieke
Lucian, thank you very much for the insight you provided. I am still a littke confused. It looked to me like in php 4.x you needed the SablotronT library. But from what I can see with v5 beta4 you don't need it. At least the docs do not state it from what I saw. Maybe I am wrong. I just wante

Re: [PHP] Re: Delayed mail()... ?

2004-02-20 Thread Ben Ramsey
You'll be hard pressed to learn about cron at php.net. Still, there may be something on it there. Instead, since cron isn't a PHP function, do a google search on "cron" or "cron tutorial" to find out how to use it. Tristan Pretty wrote: Right, I'm off to php.net, to learn all about cron jobs.

Re: [PHP] Delayed mail()... ?

2004-02-20 Thread Matt Matijevich
What they've asked for, is that when they reply to the enquiry, they are reminded to chase up the enqiry a few days later... Now I could give them a message on screen, if they happen to be in the admin area, but what i'd like to do , is simply mail the admin users, after say, 3 days. regardless

Re: [PHP] Re: Delayed mail()... ?

2004-02-20 Thread Seba
The solution to use cron is good, in this way you can run the script manually to if you want, you have to: 1)Insert data into a databse or a text file, create a php page with the comparison of the dates (from the databe or the txt file) and the mail() command. 2) create a shell script that does a

[PHP] R: [PHP][MySQL] FAKE DUPLICATE ROW

2004-02-20 Thread Alessandro Vitale
you are an angel, thanks for your great suggestion. cheers alessandro -Messaggio originale- Da: Richard Davey [mailto:[EMAIL PROTECTED] Inviato: venerdi 20 febbraio 2004 14.40 A: [EMAIL PROTECTED] Oggetto: Re: [PHP][MySQL] FAKE DUPLICATE ROW Hello Alessandro, Friday, February 20, 2004

[PHP] Re: PHPSESSID and URL rewriting

2004-02-20 Thread memoimyself
On 19 Feb 2004 at 17:15, seba wrote: > 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

[PHP] Re: problem handling files.

2004-02-20 Thread memoimyself
What are the contents of your file? You do realize, I hope, that whatever is in the file is going to be output to the browser, so any HTML tags in the file will be processed before anything is displayed in the browser. Have a look at the resulting page's source code. On 20 Feb 2004 at 10:15,

[PHP] PHP class for XSL transformations?

2004-02-20 Thread memoimyself
Hello all, I'm looking for an alternative to PHP's XSLT extension. Does anyone know of a good PHP class capable of performing XSL transformations? Thanks for your time, Erik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Delayed mail()... ?

2004-02-20 Thread John W. Holmes
From: "Ben Ramsey" <[EMAIL PROTECTED]> > Finally, your system must be Linux (or other unix-type system) for this > to work correctly. If it's Windows, you can use the task scheduler, but > I don't think it'll execute the PHP script. Sure it will. Just put the program to run as something like t

Re: [PHP] Delayed mail()... ?

2004-02-20 Thread John W. Holmes
From: <[EMAIL PROTECTED]> > Basically, prospective teachers/students, can sign up for more info etc. > Currently, that info is captured, and the site admin people are > E-mailed... > all good so far.. > > What they've asked for, is that when they reply to the enquiry, they are > reminded to chase

Re: [PHP] Re: Delayed mail()... ?

2004-02-20 Thread Jason Wong
On Friday 20 February 2004 21:35, [EMAIL PROTECTED] wrote: > I'm off to php.net, to learn all about cron jobs... > i've never heard ofit ;-) > (I'll come out from under my rock now) You'll probably find that using 'at' is more appropriate than using cron. -- Jason Wong -> Gremlins Associates ->

[PHP] Re: XSLT in php v5 beta 4

2004-02-20 Thread Lucian Cozma
Here's my config: './configure' '--prefix=/usr' '--with-config-file-path=/etc' '--disable-debug' '--enable-pic' '--enable-shared' '--enable-inline-optimization' '--with-apxs=/usr/sbin/apxs' '--with-exec-dir=/usr/bin' '--with-regex=system' '--with-gettext' '--with-gd' '--with-jpeg-dir=/usr' '--with

[PHP] Re: PHP class for XSL transformations?

2004-02-20 Thread Juan Torres
Hi, you try with XMLDOM Functions. You look this function: DomXsltStylesheet->process -- Applies the XSLT-Transformation on a DomDocument Object Good luck! Juan Torres. <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello all, > > I'm looking for an alternative to PHP's XSLT exte

Re: [PHP] Headers Again

2004-02-20 Thread Chris Shiflett
--- PETCOL <[EMAIL PROTECTED]> wrote: > 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. There's nothing to buy. Welcome to open source. Chris = Chris Shiflet

[PHP] Database insert/update from Browser Refresh or Back/Forward Button

2004-02-20 Thread Scott Fletcher
Hi! Went Google surfing on Browser Refresh & Back/Forward Button and it turned out that PHP can do the dirty work. Problem is no sample script, all I see are comments about suggesting on using the $_SESSION or the database to check the $_POST stuffs and do something about it. So does anyone

[PHP] undelivery mails

2004-02-20 Thread Juan Cortabitarte
I need to send a newsletter and I need to know all mail addresses of the undelivery mails to update the database. Any suggestion? Do I need to parse the maillog? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] Re: Delayed mail()... ?

2004-02-20 Thread Richard Davey
Hello Jason, Friday, February 20, 2004, 3:02:49 PM, you wrote: JW> On Friday 20 February 2004 21:35, JW> [EMAIL PROTECTED] wrote: >> I'm off to php.net, to learn all about cron jobs... >> i've never heard ofit ;-) >> (I'll come out from under my rock now) JW> You'll probably find that using 'at

Re: [PHP] undelivery mails

2004-02-20 Thread John W. Holmes
From: "Juan Cortabitarte" <[EMAIL PROTECTED]> > I need to send a newsletter and I need to know all mail addresses of the > undelivery mails to update the database. > Any suggestion? Do I need to parse the maillog? If you're using the basic mail() function in PHP, you're not going to get any data

RE: [PHP] Database insert/update from Browser Refresh or Back/Forward Button

2004-02-20 Thread Chris W. Parker
Scott Fletcher on Friday, February 20, 2004 8:41 AM said: > Went Google surfing on Browser Refresh & Back/Forward Button and > it turned out that PHP can do the dirty work. Problem is no sample > script, all I see are comments about suggesting on using the > $_S

Re: [PHP] Re: Delayed mail()... ?

2004-02-20 Thread John Nichel
[EMAIL PROTECTED] wrote: Right, I'm off to php.net, to learn all about cron jobs... i've never heard ofit ;-) (I'll come out from under my rock now) Cheers everyone I don't think you'll find too much info in php.net about cron ;) http://www.phpfreaks.com/tutorials/28/0.php Check out google t

Re: [PHP] Re: Delayed mail()... ?

2004-02-20 Thread John Nichel
John W. Holmes wrote: Not a big deal to do on Windows vs. Linux. :) ---John Holmes... Uh-oh, now you've done it. Hey everyone, see that open can of worms on the floor? John opened it. *L* -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.

Re: Re[2]: [PHP] Re: Delayed mail()... ?

2004-02-20 Thread Jason Wong
On Saturday 21 February 2004 00:56, Richard Davey wrote: > I thought the AT scheduler was a Windows NT level service only? Surely > it's only more appropriate if he's on a Windows server? Or did MS nick > it from the Unix world? (and if so, why is it better than cron?) man atd (not man utd!)

Re: [PHP] Database insert/update from Browser Refresh or Back/Forward Button

2004-02-20 Thread Scott Fletcher
>Why is "Browser Refresh & Back/Forward Button" capitalized? Is that the name of a >band or something??? Well, forgot to enclose the double quote. Old Habit with capitalization on commonly used term... >Are you trying to process a form a something and you want to prevent the >browser from process

Re[2]: [PHP] Database insert/update from Browser Refresh or Back/Forward Button

2004-02-20 Thread Richard Davey
Hello Scott, Friday, February 20, 2004, 5:34:12 PM, you wrote: >>The second page never becomes a part of the browsers history so the user >>can click the back/refresh buttons all they want and the form will not >>be processed more than you want it to be. Actually that's not totally >>true because

Re: [PHP] undelivery mails

2004-02-20 Thread Ryan A
On 2/20/2004 5:48:21 PM, Juan Cortabitarte ([EMAIL PROTECTED]) wrote: > I need to send a newsletter and I need to know all mail addresses of the > undelivery mails to update the database. > Any suggestion? Do I need to parse the maillog? > > -- Hey, If you are sending out html mails you can lear

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

2004-02-20 Thread Scott Fletcher
Hi Justin! Still have the same problem. But that's okay, I decided not to use the fsockopen() recently. Because some people seem to have this problem too. So, I'm pondering of doing a different way of using PHP. FletchSOD "Justin Patrin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PRO

[PHP] resize an image with php

2004-02-20 Thread Dominique ANOKRE
I want to resize an image before display it in the window. Is there a php fonction which do it ? Thanks !

Re: [PHP] resize an image with php

2004-02-20 Thread Adam Voigt
You could use the image manipulation functions of PHP, or you could just specify a height and/or width with HTML (in the img tag). On Fri, 2004-02-20 at 12:53, Dominique ANOKRE wrote: > I want to resize an image before display it in the window. > Is there a php fonction which do it ? > > Thanks

RE: [PHP] resize an image with php

2004-02-20 Thread craig
> I want to resize an image before display it in the window. > Is there a php fonction which do it ? > > Thanks ! > this will actually resize the photo, hope it helps, Craig /*** ** Function: resizeImageJPG Parameters: $f

[PHP] PHP don't work with Apache :-(

2004-02-20 Thread Цыганенко Артём
Please, listen my problem. (All my steps I made by the book Julie C.Meloni "PHP 4 fast&easy web development") Sorry, for my bad English... :-) At first, I installed MySQL. It's works properly. I know it, because I examined it by the book. Next, I installed Apache. I know it too

[PHP] PICTURE (((PHP don't work with Apache))) PICTURE

2004-02-20 Thread Цыганенко Артём
This is the window, that I see, when trying to see my phpinfo.php file through the Internet Explorer. E-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] sending reply, the continuing

2004-02-20 Thread Lucas Gonze
I have a situation where I want to send a cached result back then recalculate the cache. This is necessary because it takes a long time to generate a page. Is there a way for me to return what the browser needs, then terminate the connection without stopping my script? Thanks in advance. - L

Re: [PHP] sending reply, the continuing

2004-02-20 Thread Lucas Gonze
s/the continuing/then continuing/ "The continuing" sounds like a Steven King title. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] sending reply, the continuing

2004-02-20 Thread Pablo Gosse
Lucas Gonze wrote: > I have a situation where I want to send a cached result back then > recalculate the cache. This is necessary because it takes a long time > to generate a page. Is there a way for me to return what the browser > needs, then terminate the connection without stopping my script?

RE: [PHP] PICTURE (((PHP don't work with Apache))) PICTURE

2004-02-20 Thread Chris W. Parker
[EMAIL PROTECTED] on Friday, February 20, 2004 10:21 AM said: > This is the window, that I see, when trying to see my phpinfo.php > file through the Internet Explorer. > E-mail: [EMAIL PROTECTED] hmm.. i didn't see a picture but that's g

Re: [PHP] PHP don't work with Apache :-(

2004-02-20 Thread John Nichel
Цыганенко Артём wrote: Problem is in installation of PHP. When I installed it, I copied files msvcrl.dll and php4ts.dll in the C:\Windows\System directory. After this, I began to change my httpd.conf file. In book was written: Add lines: ScriptAlias /php/ "C:/php4/" AddType application/x-

Fwd: [PHP] sending reply, the continuing

2004-02-20 Thread Lucas Gonze
On Friday, Feb 20, 2004, at 13:52 America/New_York, Pablo Gosse wrote: If by terminate the connection you mean stop sending back information to the browser, then perhaps you should look into output control functions: http://ca3.php.net/manual/en/ref.outcontrol.php Well, the best match there is o

Re: [PHP] sending reply, the continuing

2004-02-20 Thread John W. Holmes
From: "Lucas Gonze" <[EMAIL PROTECTED]> > On Friday, Feb 20, 2004, at 13:52 America/New_York, Pablo Gosse wrote: > > If by terminate the connection you mean stop sending back information > > to > > the browser, then perhaps you should look into output control > > functions: > > > > http://ca3.ph

[PHP] Re: sending reply, the continuing

2004-02-20 Thread pete M
Does this mean the end of the script termination does NOT need to be sent back to the browser ? This smacks of something I needed recentyle with sending reports The way I got around it was to Create a flatfile database table with the job entries in it Create a crontab that executed and cheked

Re: [PHP] sending reply, the continuing

2004-02-20 Thread Lucas Gonze
On Friday, Feb 20, 2004, at 14:30 America/New_York, John W. Holmes wrote: Maybe register_shutdown_function()? Hm, so the way this works is that my shutdown function is called after the connection is terminated, and I do the work there... I'm going to implement this and see how well it works. N

Re: [PHP] resize an image with php

2004-02-20 Thread Dominique ANOKRE
ok thanks problem solved !! - Original Message - From: "Adam Voigt" <[EMAIL PROTECTED]> To: "Dominique ANOKRE" <[EMAIL PROTECTED]> Cc: "Php List" <[EMAIL PROTECTED]> Sent: Friday, February 20, 2004 6:04 PM Subject: Re: [PHP] resize an image with php > You could use the image manipu

RE: [PHP] sending reply, the continuing

2004-02-20 Thread Chris W. Parker
how about having your php script execute another php script via the command line? wouldn't this allow the web page to close it's connection while the command line continued to do it's thing unaware of what was going on with the web server? chris. -- PHP General Mailing List (http://www.php.ne

Re: [PHP] sending reply, the continuing

2004-02-20 Thread Lucas Gonze
On Friday, Feb 20, 2004, at 14:57 America/New_York, Chris W. Parker wrote: how about having your php script execute another php script via the command line? wouldn't this allow the web page to close it's connection while the command line continued to do it's thing unaware of what was going on wit

Re: [PHP] sending reply, the continuing

2004-02-20 Thread John W. Holmes
From: "Lucas Gonze" <[EMAIL PROTECTED]> > Nice bit of PHP obscurantia, John. That's what I'm known for! :) ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP or MSIE Problem?

2004-02-20 Thread Beau Hartshorne
All, When I submit a form from MSIE, under certain circumstances some of the fields don't make it into the $_POST array. I am building a CMS that accepts images and text entered into an HTML form. If I submit a form from MSIE, and if the text contains special characters (like T [TM] for example),

Re: [PHP] PHP or MSIE Problem?

2004-02-20 Thread Matt Matijevich
Can anyone tell me if this is a common problem? Is this a purely MSIE bug, or could PHP be a factor? I would guess it is a MSIE problem. You could check the raw post data coming into php too see if it is a php bug. I think $GLOBALS['HTTP_RAW_POST_DATA'] has the post data -- PHP General Mailin

[PHP] confirmation

2004-02-20 Thread Ed Lazor
Is there a way to enable a confirmation message or change it so that I get copies of messages I send to the list? Thanks, Ed

RE: [PHP] confirmation

2004-02-20 Thread Jay Blanchard
[snip] Is there a way to enable a confirmation message or change it so that I get copies of messages I send to the list? [/snip] cc yourself? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP or MSIE Problem?

2004-02-20 Thread John Nichel
Beau Hartshorne wrote: All, When I submit a form from MSIE, under certain circumstances some of the fields don't make it into the $_POST array. I am building a CMS that accepts images and text entered into an HTML form. If I submit a form from MSIE, and if the text contains special characters (lik

Re: [PHP] confirmation

2004-02-20 Thread John Nichel
Ed Lazor wrote: Is there a way to enable a confirmation message or change it so that I get copies of messages I send to the list? Thanks, Ed Um, did you get the message that you just sent? -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net

[PHP] Self Submitting Form

2004-02-20 Thread Sam Masiello
My apologies if this post is somewhat OT. I am having some trouble figuring something out, and I am hoping you can help. I have a PHP web form on which a user can enter a number of different things into both text and textarea fields. At the bottom of the form is a preview button which opens ano

Re: [PHP] Database insert/update from Browser Refresh or Back/Forward Button

2004-02-20 Thread Scott Fletcher
> >If that's the case I have a solution for you. The way I get around this > >is to have two separate pages that display and process the form. The > >first page displays the form and the second page processes it. When the > >second page is done processing the form it will redirect the user to > >wh

Re: [PHP] PHP or MSIE Problem?

2004-02-20 Thread John Nichel
Beau Hartshorne wrote: as you (6.0.2800.1106) (different product ID though), and can't reproduce the problem on any of my Linux webservers, or the one Win2k machine I have running PHP/Apache. I also hit your URL with IE, and The problem only occurs in the second form. Did you try that one to

RE: [PHP] confirmation

2004-02-20 Thread Ed Lazor
I did that time... must have been a problem on my email server. Thanks for helping me verify that it's working now. -Ed -Original Message- > Is there a way to enable a confirmation message or change it so that I > get copies of messages I send to the list? > > Thanks, > > Ed Um, di

Re: [PHP] confirmation [Qurb #909251]

2004-02-20 Thread John Nichel
Ed Lazor wrote: This is an automated message. I apologize for the inconvenience, but I need your help in fighting spam. I'm using a program called Qurb which automatically maintains a list of approved senders for me. Messages from approved senders go directly to my Inbox. Messages from addresses t

[PHP] help needed to install php on my xp home edition pc

2004-02-20 Thread danny cobbinah
i have installed apache 2 and mysql 3 on my pc (running xp home) i have installed php 4.3.4 but have hit a snag. the php doesnt seem to gel with apache at all. any help please? how do i configure apache and php to mix? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:

[PHP] Security Question

2004-02-20 Thread Ed Lazor
PHP include statements default to the current directory. If the path to my PHP files is /home/osmosis/public_html, why would users visiting my site occasionally get an error that the include file wasn't found in /home/budguy/public_html? It's like PHP is somehow confused and running my script wit

RE: [PHP] confirmation [Qurb #909251]

2004-02-20 Thread Ed Lazor
Hrm. I just turned this on today. The problem has been occurring all week. I run 47 websites so I get a lot of spam. Qurb has you confirm you're a real person once by replying to the message and all's good from that point forward. The PHP mailing list is already added to the approved list of a

RE: [PHP] PHP or MSIE Problem?

2004-02-20 Thread Pablo Gosse
Beau Hartshorne wrote: >>as you (6.0.2800.1106) (different product ID though), and can't >>reproduce the problem on any of my Linux webservers, or the one Win2k >>machine I have running PHP/Apache. I also hit your URL with IE, and > > > The problem only occurs in the second form. Did you tr

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

2004-02-20 Thread BAO RuiXian
Цыганенко Артём wrote: 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 p

RE: [PHP] Security Question

2004-02-20 Thread Chris W. Parker
Ed Lazor on Friday, February 20, 2004 2:29 PM said: > It's like PHP is somehow confused and running my script with the > account settings (and permissions, possibly) for another user on my > host provider's server. If that's true, wouldn't this quality as a > securi

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

2004-02-20 Thread BAO RuiXian
First off, two routine notes for you: 1. Don't only send message to me; 2. Don't send html format message; Then, see below... Цыганенко Артём wrote: Yes, I moved php.ini file to C:\windows directory... E-mail: [EMAIL PROTECTED] - Original Message - From: "BA

RE: [PHP] Security Question

2004-02-20 Thread Ed Lazor
You're not being rude. I contacted them immediately about the script errors and described what seemed to be a security hole. The tech I spoke with didn't know what I was talking about, so I asked them to notify the owner of the problem and that I'd research it more and let them know of anything I

[PHP] [Q] About "Method Not Allowed" error message

2004-02-20 Thread Michael T. Peterson
When I click the submit button (after completing a [member registration] form), I get the following error message: Method Not Allowed The requested method POST is not allowed for the URL /northwest_steelheader/members/register_new_member.html. This used to work but, during the course of m

[PHP] PHP Servlet Crashes

2004-02-20 Thread Andrew
The phpsrvlt.jar crashes the JVM due to an access violation somewhere in reflect.c. I've been trying to track down what could be the problem but have been unsuccessful so far. I just built libphp4.so from the latest sources on a Redhat 9 machine --with-servlet option. An unexpected exception has

Re: [PHP] [Q] About "Method Not Allowed" error message

2004-02-20 Thread Shane Nelson
I don't think you can send a POST to a .html page. Maybe your page (register_new_member.html) should be .php instead? Either that or you might have to change your : > When I click the submit button (after completing a [member registration] > form), I get the following error message: > > Me

Re: [PHP] PHP or MSIE Problem?

2004-02-20 Thread Richard Davey
Hello Beau, Friday, February 20, 2004, 9:30:30 PM, you wrote: BH> When I submit a form from MSIE, under certain circumstances some of the BH> fields don't make it into the $_POST array. I am building a CMS that BH> Can anyone tell me if this is a common problem? Is this a purely MSIE BH> bug, or

RE: [PHP] Advice Needed

2004-02-20 Thread electroteque
Done, outside the webby is the goer, then i dont have to worry this the hassle of getting a simple allowovedrride rule in the fukn conf file, which has seem to be a simple process i could do but then a complicated process with all the politics :\ The server is dedicated work serve their own server

[PHP] CMS and images, how?

2004-02-20 Thread Toby Irmer
Hi there, I am presently coding a little CMS. I want to give users the possibility to add images to articles as easily and flexibly as possible. Does anyone have a recommendation on how to do it? So far, you can upload an image which then is checked for its dimensions. If necessary, the user is r

  1   2   >