Re: [PHP] Self Submitting Form

2004-02-20 Thread Tom Rogers
Hi, Saturday, February 21, 2004, 8:00:43 AM, you wrote: SM> My apologies if this post is somewhat OT. I am having some trouble SM> figuring something out, and I am hoping you can help. SM> I have a PHP web form on which a user can enter a number of different SM> things SM> into both text and te

RE: [PHP] Self Submitting Form

2004-02-20 Thread Sam Masiello
Hi Toby! Thank you for your suggestion, but unfortunately you are using GET in your test2.html file. I specifically stated in my initial email that due to the fact that I am using textareas in my original form (your test1.html) that I did not want to use GET for it might run the risk of ove

[PHP] Slight cleaning of code needed in str_replace command.

2004-02-20 Thread Dave G
PHP listers, I recently got some help here to fix a str_replace() command. The string works, and the output from the browser looks right. However, I would like to further tweak the code so that the HTML source is also a little cleaner than it is now. The code in question is this: $c

Re: [PHP] HELP PLEASE!

2004-02-20 Thread Nitin Mehta
look at the html code, this is no problem related to php, but the HTML. Hope that helps Nitin - Original Message - From: "3mip1s4la/Nath/Pisanty" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, February 21, 2004 7:24 AM Subject: [PHP] HELP PLEASE! > this is my first post, s

[PHP] Re: HTML email problem: IMAP

2004-02-20 Thread Manuel Lemos
Hello, On 02/21/2004 01:39 AM, Ryan A wrote: I downloaded a class from php classes called "clssendmail", the class was working on a different server but now I get this error when I try to use it: "Call to undefined function: imap_8bit() in." The class is basically to send an email in 2

Re: [PHP] Error

2004-02-20 Thread Nitin Mehta
May be the cause is, that you've specified some include file with include('somefile'); but the file doesn't exist in /usr/share/php dir, which is the default path for include (.inc) files to be saved. Hope that helps Nitin - Original Message - From: "John Nichel" <[EMAIL PROTECTED]> To:

Re: [PHP] Error

2004-02-20 Thread John Nichel
Please don't reply directly to me (or other members of the list) unless asked to do so. When you reply off-list, the messages do not get archived, and will not be searchable to those who may encounter the same problem. Also, please don't post HTML formatted / multi-part messages. Plain text

[PHP] HTML email problem: IMAP

2004-02-20 Thread Ryan A
Hi, I downloaded a class from php classes called "clssendmail", the class was working on a different server but now I get this error when I try to use it: "Call to undefined function: imap_8bit() in." The class is basically to send an email in 2 parts, plain text and HTML...if the pers

RE: [PHP] Upload and database

2004-02-20 Thread electroteque
Make it easier on yourself just store the filename dude -Original Message- From: Will [mailto:[EMAIL PROTECTED] Sent: Saturday, February 21, 2004 12:13 PM To: PHP General Subject: [PHP] Upload and database Hello all, I tried to search the archives and PHP.NET and did not find anything or

Re: [PHP] Error

2004-02-20 Thread John Nichel
Tim Trimble wrote: I'm stuck. I'm running a default copy of Redhat 7.2. with PHP - 4.0.6-7 and Mysql - 3.23.41-1 running on Apache - 1.3020-16. When I try to load a php page I get this error. Warning: Failed opening '/var/www/html/phpadmin/index.php' for inclusion (include_path='.:/php/i

[PHP] Error

2004-02-20 Thread Tim Trimble
I'm stuck. I'm running a default copy of Redhat 7.2. with PHP - 4.0.6-7 and Mysql - 3.23.41-1 running on Apache - 1.3020-16. When I try to load a php page I get this error. Warning: Failed opening '/var/www/html/phpadmin/index.php' for inclusion (include_path='.:/php/include :/usr/sha

[PHP] HELP PLEASE!

2004-02-20 Thread 3mip1s4la/Nath/Pisanty
this is my first post, so please bear with me. I'm developing a Mayan Oracle based on PHP and MySQL. the program and database work perfectly, and do all I want them to. however, the thing has a graphical interface that I built using Macromedia Fireworks and Dreamweaver, with some images chaning al

[PHP] Upload and database

2004-02-20 Thread Will
Hello all, I tried to search the archives and PHP.NET and did not find anything or I missed it Anyway here is my question: I want to upload 2 files to the database. Perferribly the whole image into the data base (blob). I cannot figure it out. When I check the database it is empty!! :( Thanks

Re: [PHP] Self Submitting Form

2004-02-20 Thread Toby Irmer
Hi Sam, I am not sure I know what you want to do... I tried to recreate your problem: test.html window.open("test2.html", "test"); test2.html document.write(''

[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

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

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] [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

[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

[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

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] 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 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

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] 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] 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

[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

[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:

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

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] 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] 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

[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] 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

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 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

[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] 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] 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] 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

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 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] 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 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

[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 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

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] 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-

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] 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] 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

[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

[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] 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] Re: PEAR DB 1.6.0 has been released

2004-02-20 Thread Justin Patrin
I think you're confusing the issue. PEAR DB does support many databases, but it only loads the code for the ones that you are currently using. So if you're using one database it is effectively a one database API. Jakes wrote: What is performance like using this class? I've gone through the clas

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

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

[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 !

[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

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

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] 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: 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] 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: [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] 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] 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[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

[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

[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

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] 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

[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

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 ->

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 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

[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

[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] 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] 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

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.

[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] 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

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] 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: [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()... ?

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

[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] 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

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

[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

[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

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] 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] 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] & 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-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] 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

  1   2   >