[PHP] Re: [PHP-XML-DEV] Re: [PHP] PHP5: ext/dom - set namespace of node manually

2004-02-16 Thread Vivian Steller
Christian Stocker wrote: ... Vivian, it's not possible the set the namespace according to the W3C standard, except with createElementNS(). As Adam said, in PHP 4, there was the option set_namespace, which isn't ported to PHP5 (yet). Maybe we should port that function as well, to allow some

[PHP] Test, trying to send to NEWSGROUP

2004-02-16 Thread Jon Arne Jrgensen
-- best regards, Jon Arne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] optimizing tables

2004-02-16 Thread Diana Castillo
is there a way to optimize individual tables in a php script? -- Diana Castillo Global Reservas, S.L. C/Granvia 22 dcdo 4-dcha 28013 Madrid-Spain Tel : 00-34-913604039 ext 214 Fax : 00-34-915228673 email: [EMAIL PROTECTED] Web : http://www.hotelkey.com http://www.destinia.com -- PHP

RE: [PHP] optimizing tables

2004-02-16 Thread Daniel Perez Clavero
Hola Diana, $optimize_tabla_acl = OPTIMIZE TABLE '$tbl_acl'; mysql_query($optimize_tabla_acl,$conexion) or die(No he podido optimizar la tabla.); Salu2 -Original Message- From: Diana Castillo [mailto:[EMAIL PROTECTED] Sent: lunes, 16 de febrero de 2004 10:38 To: [EMAIL PROTECTED]

Re[2]: [PHP] isset() question

2004-02-16 Thread Richard Davey
Hello Jason, Sunday, February 15, 2004, 7:44:06 PM, you wrote: I feel the book you're learning from might not be the best out there! Especially as it uses the horrible if : else : endif notation, includes code on the same line as the PHP tags themselves JW What is horrible about that style?

[PHP] CDONTS Object

2004-02-16 Thread Juan Torres
Hello, I'm trying send emails from PHP with IIS (form Win32). With ASP, I used CDONTS component. How can I use CDONTS component from PHP? Thanks very much. Juan Torres. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general Digest 16 Feb 2004 10:59:52 -0000 Issue 2593

2004-02-16 Thread php-general-digest-help
php-general Digest 16 Feb 2004 10:59:52 - Issue 2593 Topics (messages 177752 through 177784): Re: Simple while loop skipping first row of array 177752 by: André Cerqueira Re: File Injection Bug 177753 by: André Cerqueira PHP and Word... 177754 by: Russell P Jones

Re: [PHP] ODBC with SQL Server

2004-02-16 Thread Juan Torres
Hi, Functions mssql_* and odbc_* don't allow write/read unicode fields. But ODBTP Extension allows it. The url is: http://odbtp.sourceforge.net/. Greetings, Juan Torres. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-XML-DEV] Re: [PHP] PHP5: ext/dom - set namespace of node manually

2004-02-16 Thread Rob Richards
Porting the setNamespace function to PHP5 would be nice. Another solution could be the possibility to append a namespace-node (is the domnamespacenode class currently used by any functions?) or the setAttribute checks wether some xmlns/xmlns: attribute is set and updates namespaceUri

Re: [PHP] CDONTS Object

2004-02-16 Thread Stuart
Juan Torres wrote: I'm trying send emails from PHP with IIS (form Win32). With ASP, I used CDONTS component. How can I use CDONTS component from PHP? RTFM! http://php.net/mail -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CDONTS Object

2004-02-16 Thread Richard Davey
Hello Juan, Monday, February 16, 2004, 11:03:09 AM, you wrote: JT I'm trying send emails from PHP with IIS (form Win32). The IIS part of the equation is irrelevant as the web server doesn't send the mail anyway. JT With ASP, I used CDONTS component. JT How can I use CDONTS component from PHP?

[PHP] Re: CDONTS Object

2004-02-16 Thread Manuel Lemos
Hello, On 02/16/2004 08:03 AM, Juan Torres wrote: I'm trying send emails from PHP with IIS (form Win32). With ASP, I used CDONTS component. How can I use CDONTS component from PHP? If you want to send messages with attachments or in HTML with embedded images, etc.., you may want to try this

[PHP] mail()

2004-02-16 Thread Juan Torres
Hi, I have a problem with mail() function. I'm using PHP with Windows 2000 Professional and Internet Information Server 5.0. My php code is: mail([EMAIL PROTECTED], Prueba Envio Email PHP, Linea 1\nLinea 2\nLinea 3); And my browser shows: Warning: mail(): SMTP server response: 550 5.7.1 Unable

[PHP] Re: [PHP-XML-DEV] Re: [PHP] PHP5: ext/dom - set namespace of node manually

2004-02-16 Thread Christian Stocker
On 2/16/04 12:07 PM, Rob Richards wrote: Porting the setNamespace function to PHP5 would be nice. Another solution could be the possibility to append a namespace-node (is the domnamespacenode class currently used by any functions?) or the setAttribute checks wether some xmlns/xmlns: attribute

Re: [PHP] mail()

2004-02-16 Thread Chris Hayes
At 12:26 16-2-04, you wrote: Hi, I have a problem with mail() function. I'm using PHP with Windows 2000 Professional and Internet Information Server 5.0. My php code is: mail([EMAIL PROTECTED], Prueba Envio Email PHP, Linea 1\nLinea 2\nLinea 3); And my browser shows: Warning: mail(): SMTP server

[PHP] Re: mail()

2004-02-16 Thread Manuel Lemos
Hello, On 02/16/2004 08:26 AM, Juan Torres wrote: I have a problem with mail() function. I'm using PHP with Windows 2000 Professional and Internet Information Server 5.0. My php code is: mail([EMAIL PROTECTED], Prueba Envio Email PHP, Linea 1\nLinea 2\nLinea 3); And my browser shows: Warning:

[PHP] Re: [PHP-XML-DEV] Re: [PHP] PHP5: ext/dom - set namespace of node manually

2004-02-16 Thread Rob Richards
From: Christian Stocker $node-setAttributeNS(http://www.w3.org/2000/xmlns/;, xmlns:b, http://www.somedomain.de/;); IMHO, that would be very confusing. I liked the idea by vivian with a third optional namespaceURI argument for the element object, so that at least you can use your own

[PHP] cpdf_import_jpeg() doesn't show input

2004-02-16 Thread janbro
Hi, I've got ClibPDF working soemhow, Only the cpdf_import_jpeg() function does not produce any output at all. There is no error message. I called the function like this: pdf = cpdf_open(0); cpdf_page_init($cpdf, 1, 0, 842, 594, 1.0); cpdf_import_jpeg($pdf,image.jpg,10,10,0,300,100,0,0,1);

[PHP] Problem with XSLT parser

2004-02-16 Thread Peter Billen
Hello group, I am having problems to transform xml document with xslt_process(). This is my code: ?php $xh = xslt_create(); $result = xslt_process($xh, 'file://test.xml', 'file://test.xsl'); if ($result) echo $result; xslt_free($xh); ? test.xml: ?xml version=1.0

[PHP] include a file

2004-02-16 Thread Angelo Zanetti
Hi, is it possible to include a file from when a select's onChange is called ie: select name=prospects onChange=include(editBottom.inc); if its possible what would be the best way to do this?? thanx Disclaimer This

RE: [PHP] isset() question

2004-02-16 Thread Ford, Mike [LSS]
On 15 February 2004 18:30, Richard Davey wrote: I feel the book you're learning from might not be the best out there! Especially as it uses the horrible if : else : endif notation, I'd have to disagree with you on that one -- personally I think that's a very elegant and useful syntax, and all

Re: [PHP] include a file

2004-02-16 Thread Marek Kilimajer
Angelo Zanetti wrote: Hi, is it possible to include a file from when a select's onChange is called ie: select name=prospects onChange=include(editBottom.inc); if its possible what would be the best way to do this?? thanx It is, but you have to reload the page and pass the filename as

RE: [PHP] include a file

2004-02-16 Thread Angelo Zanetti
thanx Im going to rather submit the same file and use validation to display the bottom in the same page ( part of the same page) -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Sent: Monday, February 16, 2004 4:07 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]

Re: Re[2]: [PHP] isset() question

2004-02-16 Thread Jason Wong
On Monday 16 February 2004 18:14, Richard Davey wrote: Consistency. With what? With whose idea of style/formatting? I doubt you will find consistency in the real between different programmers/organisations. If such consistency was there then PHP would've have only had to support a single

Re: [PHP] Re: Apache+modssl+php problem??? possible IE bug?

2004-02-16 Thread Scott Fletcher
I don't think it is a PHP issue because I don't have this problem with Mozilla browser. It more had to do with IE and worse, it is only a random occurance. Scott F. Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Saturday 14 February 2004 05:44, Scott Fletcher wrote:

[PHP] problems with spam

2004-02-16 Thread mayo
Has anybody else been getting spammed with penis and breast enlargeners to their listserv email? I use [EMAIL PROTECTED] solely for listservs and in the past week I've started getting 5-10 spams a day. Gil Midonnet -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Re: phps and iis

2004-02-16 Thread Scott Fletcher
Well, the instruction at macromedia website is not accurate. It is only for IIS 5 and below. IIS 6 used an increased security feature because of plaquing problem with security hole so, it use a complete lockdown on lot of things. You can safely follow the instruction at macromedia website for

Re: [PHP] problems with spam

2004-02-16 Thread Stuart
mayo wrote: Has anybody else been getting spammed with penis and breast enlargeners to their listserv email? Always. I use [EMAIL PROTECTED] solely for listservs and in the past week I've started getting 5-10 spams a day. What did you expect when you posted to a public mailing list? -- Stuart --

Re: [PHP] problems with spam

2004-02-16 Thread Marek Kilimajer
mayo wrote: Has anybody else been getting spammed with penis and breast enlargeners to their listserv email? I use [EMAIL PROTECTED] solely for listservs and in the past week I've started getting 5-10 spams a day. Gil Midonnet Set up a filter that will delete all emails not containing [PHP],

Re: [PHP] problems with spam

2004-02-16 Thread Stuart
Stuart wrote: mayo wrote: What did you expect when you posted to a public mailing list? Oh, and it's worth mentioning that you've made that address an easier target by including it in the body of the message. It means that email harvesters that miss the encoded ones in archives will probably get

[PHP] How to access $_GET while using mod_rewrite

2004-02-16 Thread Merlin
Hi there, I am using mod_rewrite which makes it impossible to use the $_GET function. However, it should be possible to do the same with a function. I figured out how to get the parameter string out of the url, now I am stuck in splitting those values into associated array elements. Here is

[PHP] PHP + Oracle and UK locale

2004-02-16 Thread Harry Sufehmi
(Redirected by Harry Sufehmi [EMAIL PROTECTED]) First sorry if this email was already received by you, I sent this originally on the weekend but didn't seem to be showing up in the list, so trying to repost again today. I've setup phpBB in my company using Oracle as its backend. Everyone's

RE: [PHP] How to access $_GET while using mod_rewrite

2004-02-16 Thread Ford, Mike [LSS]
On 16 February 2004 15:19, Merlin wrote: Hi there, I am using mod_rewrite which makes it impossible to use the $_GET function. However, it should be possible to do the same with a function. I figured out how to get the parameter string out of the url, now I am stuck in splitting

Re: [PHP] How to access $_GET while using mod_rewrite

2004-02-16 Thread Chris Hayes
I am using mod_rewrite which makes it impossible to use the $_GET function. that depends... if you would translate the fake url www.yoursite.org/par1/val1/parameter2/value2 to www.yoursite.org?page.php?par1=val1parameter2=value2 you are ready. Check the net for quite some examples. Here is

Re[4]: [PHP] isset() question

2004-02-16 Thread Richard Davey
Hello Jason, Monday, February 16, 2004, 2:21:01 PM, you wrote: Consistency. JW With what? With whose idea of style/formatting? If you hadn't chopped off the rest of my paragraph you'd have the answer. JW I doubt you will find consistency in the real between different JW

[PHP] PHP IDE

2004-02-16 Thread Alex Hogan
Hi All, I was just wondering what different IDEs everyone is using and why. I am asking to see if there are advantages in working in one over the other, other than personal preference of course. I currently work in DW MX 04. But I would like to know the pros and cons in the others being

RE: [PHP] problems with spam

2004-02-16 Thread mayo
I expected it. That's why I use a variety of email. However for over a year this address has been clean and then wham -- I get slammed. To me it's an indication that at least one of the listserv has been harvested. I'm trying to locate the listserv and contact the admin. Gil Midonnet

Re: [PHP] PHP IDE

2004-02-16 Thread Richard Davey
Hello Alex, Monday, February 16, 2004, 3:35:32 PM, you wrote: AH I was just wondering what different IDEs everyone is using and why. I am AH asking to see if there are advantages in working in one over the other, AH other than personal preference of course. Zend IDE 3.0.2 The biggest benefits

Re[2]: [PHP] problems with spam

2004-02-16 Thread Richard Davey
Hello mayo, Monday, February 16, 2004, 3:36:55 PM, you wrote: m I expected it. That's why I use a variety of email. However for over a year m this address has been clean and then wham -- I get slammed. To me it's an m indication that at least one of the listserv has been harvested. I'm trying m

RE: Re[2]: [PHP] problems with spam

2004-02-16 Thread mayo
well, Interestingly enough I found the listserv. It's not one of the PHP lists in case you're interested. As for my email being harvested because I wrote it out ([EMAIL PROTECTED]). Well I'll change it to something else. :-) Regarding deleteing and filtering. You bet like everyone else who

Re[4]: [PHP] problems with spam

2004-02-16 Thread Richard Davey
Hello mayo, Monday, February 16, 2004, 3:51:30 PM, you wrote: m As for my email being harvested because I wrote it out m ([EMAIL PROTECTED]). Well I'll change it to m something else. :-) There are other ways - spam bots can actually subscribe to the list and then just reap the email address of

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

2004-02-16 Thread Marten Lehmann
Hello, You will need to build php yourself, take a look at configure --help: $ ./configure --help | grep static --enable-static[=PKGS] build static libraries [default=yes] that's what I already did (--enable-static=db4), but after that a 'ldd php' still showed me references to libdb.so. I

Re: [PHP] Re: phps and iis

2004-02-16 Thread zerof
Another useful resource: http://www.php.net/manual/en/install.iis.php - zerof - Scott Fletcher [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] Well, the instruction at macromedia website is not accurate. It is only for -- PHP General Mailing List

[PHP] mySQL SQL Conversion

2004-02-16 Thread Logan McKinley
I am using MySQL (4.0.17) and am getting errors with the following SQL statement originally writen for MS products. SELECT survey_questions.Question_ID, First(survey_questions.Question_Text) AS FirstOfQuestion_Text, == this line returns errors i believe it is the AS Avg(survey_responses.Response)

Re: [PHP] mySQL SQL Conversion

2004-02-16 Thread Raditha Dissanayake
hi, this is a php message board. Logan McKinley wrote: I am using MySQL (4.0.17) and am getting errors with the following SQL statement originally writen for MS products. SELECT survey_questions.Question_ID, First(survey_questions.Question_Text) AS FirstOfQuestion_Text, == this line returns

[PHP] PHP/ MySQL Login Module

2004-02-16 Thread Pushpinder Singh
hello everyone. I am using PHP and MySQL on my website. Till now I was using a Login module with sessions, but the look and feel was not quite up to the mark. I have the functionality working just fine. I was wondering if I cold get my hands on a 'Login' module like www.zend.com (and other

Re: [PHP] PHP REDIRECT

2004-02-16 Thread Chris Shiflett
--- ajay [EMAIL PROTECTED] wrote: i'd like to redirect a person to another page but after a certain time interval has elapsed. this is because i have a generic error displaying page and i would like the person to go to this page, stay there for like 10 seconds and then be redirected to the

Re: [PHP] PHP/ MySQL Login Module

2004-02-16 Thread Raditha Dissanayake
hotscripts and freshmeat have plenty Pushpinder Singh wrote: hello everyone. I am using PHP and MySQL on my website. Till now I was using a Login module with sessions, but the look and feel was not quite up to the mark. I have the functionality working just fine. I was wondering if I

RE: [PHP] PHP REDIRECT

2004-02-16 Thread Chris Shiflett
--- Chris [EMAIL PROTECTED] wrote: You can't view the page and have PHP redirect it. You would need to use a meta refresh tag or JavaScript. I assume by meta refresh tag, you mean this: meta http-equiv=refresh content=10;URL=http://example.org/; What most people seem to not realize, is that

[PHP] Resource id #1

2004-02-16 Thread Mike Mapsnac
I print variable to the screen and get the result Resource id #1. Any ideas waht Resource id #1 is? Thanks _ Plan your next US getaway to one of the super destinations here. http://special.msn.com/local/hotdestinations.armx -- PHP

RE: [PHP] Resource id #1

2004-02-16 Thread Shaunak Kashyap
It's probably a database result set or a connection object or something similar. Shaunak -Original Message- From: Mike Mapsnac [mailto:[EMAIL PROTECTED] Sent: Monday, February 16, 2004 11:53 AM To: [EMAIL PROTECTED] Subject: [PHP] Resource id #1 I print variable to the screen and

Re: [PHP] PHP REDIRECT

2004-02-16 Thread Lowell Allen
--- Chris [EMAIL PROTECTED] wrote: You can't view the page and have PHP redirect it. You would need to use a meta refresh tag or JavaScript. I assume by meta refresh tag, you mean this: meta http-equiv=refresh content=10;URL=http://example.org/; What most people seem to not realize, is

RE: [PHP] PHP REDIRECT

2004-02-16 Thread Chris
Heh, I was on my way to bed and didn't think about that. (And my 'answer' was a bit abrupt as well) Ah well, booboo's happen. I've always been an advocater of doing things the *right way*, and in this case, the Refresh header would seem to be the right way. JUST SAY NO to meta http-equiv tags!

Re: [PHP] PHP REDIRECT

2004-02-16 Thread Stuart
Lowell Allen wrote: You must do authorization, then force a file download, and you want to also display a link to the file with the typical click the link below if the download does not start automatically. I couldn't figure out how to display a page (after authorization), then use the PHP header

[PHP] File input in form

2004-02-16 Thread marc serra
Hi, I'm designing a form with an file upload process. So I've wrote something like this: form ENCTYPE=multipart/form-data action=valid_form.php method=POST input type=file name=fichier/ input type=submit value=submit/ /form This work perfectly and now I got my file

RE: [PHP] File input in form

2004-02-16 Thread Shaunak Kashyap
Sounds like a scope problem. I suggest using $_FILES['fichier'] inside the function since $_FILES is a superglobal and is accessible everywhere. If you use this method, you won't need to pass anything to the function. Shaunak -Original Message- From: marc serra [mailto:[EMAIL

[PHP] Scope: global $GLOBALS[]

2004-02-16 Thread Paul Furman
I checked the manual but I still don't get it. http://us2.php.net/manual/en/language.variables.scope.php I'm setting a variable $pics with a form by post method. It's on a screen that is included, then it needs to be applied to another screen that will take it's place when it's all re-processed.

[PHP] Header+location+sessions

2004-02-16 Thread Natalia Sensini
I've been using header(Location: http://www.example.com/;); before writing this sentence i create a session and register a session var, but when i go to the redirected page the session var doesn't exist. Someone could help me?

Re: [PHP] PHP REDIRECT

2004-02-16 Thread Raditha Dissanayake
Hi Chris and Chris and et al. It's not often that i disagree with the other chris but one occaision where meta refresh turns out to be the only solution is when working with some payment gateways where instead of doing a simple old post to your return page they include it inside their own

Re: [PHP] Header+location+sessions

2004-02-16 Thread Jason Wong
On Tuesday 17 February 2004 01:57, Natalia Sensini wrote: I've been using header(Location: http://www.example.com/;); before writing this sentence i create a session and register a session var, but when i go to the redirected page the session var doesn't exist. session_write_close() before

RE: [PHP] PHP REDIRECT

2004-02-16 Thread Chris
I'm not quite following you here. I understand that no solution is always the correct one. Everything has exceptions... If the page you want to redirect from has PHP, just dont' use the meta http-equiv=..., set the header with PHP instead. As far as I can see that should always be possible.

[PHP] empty file's content?

2004-02-16 Thread Mike Mapsnac
How can I empty a file's content through php defined functions? Thanks _ Check out the great features of the new MSN 9 Dial-up, with the MSN Dial-up Accelerator. http://click.atdmt.com/AVE/go/onm00200361ave/direct/01/ -- PHP General

Re: [PHP] PHP REDIRECT

2004-02-16 Thread Raditha Dissanayake
Nopes, What happens is that the gateways include your page instead of posting to your page. For example if you visit a site that uses worldpay as a payment service provider you will see their banner on the thank you page after payment is made. In such cases the header functions will not work

Re: [PHP] empty file's content?

2004-02-16 Thread Raditha Dissanayake
Hi, not sure why you want to do that when removing is so much easier but here goes: open the file for writing and close it without writing anything to it. Mike Mapsnac wrote: How can I empty a file's content through php defined functions? Thanks -- Raditha Dissanayake.

RE: [PHP] PHP REDIRECT

2004-02-16 Thread Chris
Ahh, ok, I understand. Thanks Chris -Original Message- From: Raditha Dissanayake [mailto:[EMAIL PROTECTED] Sent: Monday, February 16, 2004 10:51 AM To: Chris; [EMAIL PROTECTED] Subject: Re: [PHP] PHP REDIRECT Nopes, What happens is that the gateways include your page instead of

Re: [PHP] PHP REDIRECT

2004-02-16 Thread Chris Shiflett
--- Raditha Dissanayake [EMAIL PROTECTED] wrote: It's not often that i disagree with the other chris but one occaision where meta refresh turns out to be the only solution is when working with some payment gateways where instead of doing a simple old post to your return page they include it

Re: [PHP] PHP REDIRECT

2004-02-16 Thread Chris Shiflett
--- Raditha Dissanayake [EMAIL PROTECTED] wrote: What happens is that the gateways include your page instead of posting to your page. For example if you visit a site that uses worldpay as a payment service provider you will see their banner on the thank you page after payment is made. In

Re: [PHP] PHP REDIRECT

2004-02-16 Thread Chris Shiflett
--- Lowell Allen [EMAIL PROTECTED] wrote: You must do authorization, then force a file download, and you want to also display a link to the file with the typical click the link below if the download does not start automatically. I couldn't figure out how to display a page (after

[PHP] Re: PHP/ MySQL Login Module

2004-02-16 Thread zerof
If you can use Dreamweaver, you must use one extension to make this. Is very simple. http://www.macromedia.com/cfusion/exchange/index.cfm - zerof - Pushpinder Singh [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] hello everyone. I am using PHP and MySQL on my website.

[PHP] zip problem

2004-02-16 Thread marc serra
Hi, I want to know if it's possible to extract a zip file in PHP. I've read php documentation on ZZIPlib but i don't find any solution to extract file. Can you please help me to solve it. Thx in advance, Marc

[PHP] * populate menu from directory *

2004-02-16 Thread Dustin Krysak
Hi there - I am a REAL new PHP coder (yeah I mostly use dreamweaver). I was wondering if anyone could point me in the right direction... What I want to do is have a generic template page for say a bunch of quicktime movies... it would have a movie embedded, and a drop down menu below to select

RE: [PHP] * populate menu from directory *

2004-02-16 Thread Shaunak Kashyap
Yes, it is possible. Use PHP's filesystem functions (http://us2.php.net/manual/en/ref.filesystem.php). Shaunak -Original Message- From: Dustin Krysak [mailto:[EMAIL PROTECTED] Sent: Monday, February 16, 2004 2:33 PM To: PHP Subject: [PHP] * populate menu from directory * Hi there

Re: [PHP] * populate menu from directory *

2004-02-16 Thread David T-G
Dustin -- You have started a new thread by taking an existing message and replying to it while merely changing the Subject: line. That is bad, because it breaks threading. When you reply to a message, your mail client generates a References: header that tells everyone to which posting(s) your

Re: [PHP] * populate menu from directory *

2004-02-16 Thread Matt Matijevich
snip I want to be able to simply FTP a new movie onto the server, and then have the menu update itself. possible? I would also be looking to do something similar with JPGS. /snip take a look at http://www.php.net/readdir http://www.php.net/opendir here is some code to help start you echo

[PHP] diskusage

2004-02-16 Thread Chakravarthy Cuddapah
In php I want to know space used (du) by user on a remote system. Can anyone pls tell me how this can be done. Thanks ! _ Check out the great features of the new MSN 9 Dial-up, with the MSN Dial-up Accelerator.

[PHP] Re: Scope: global $GLOBALS[]

2004-02-16 Thread Paul Furman
Help. After changing $pics on the setting screen, the picture screen will not recognize the new value. I'm just not clear where I need to set global (where it's being initially set or where it's being picked up later) especially where it bounces back forth several times. For now I have global

Re: [PHP] PHP REDIRECT

2004-02-16 Thread Lowell Allen
--- Lowell Allen [EMAIL PROTECTED] wrote: [snip] Am I overlooking a better solution? I'm not sure. To be clear, you're saying that the following two things do not behave the same for you: header('Refresh: ...'); meta http-equiv=Refresh ... Is this right? I suspect that you might

Re: [PHP] diskusage

2004-02-16 Thread John W. Holmes
Chakravarthy Cuddapah wrote: In php I want to know space used (du) by user on a remote system. Can anyone pls tell me how this can be done. Just call du through exec(). -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP

Re: [PHP] empty file's content?

2004-02-16 Thread Marek Kilimajer
Mike Mapsnac wrote: How can I empty a file's content through php defined functions? Thanks _ Check out the great features of the new MSN 9 Dial-up, with the MSN Dial-up Accelerator.

[PHP] Re: Scope: global $GLOBALS[]

2004-02-16 Thread Paul Furman
The template wipes it out on the second round through after changing in settings. Coming into the template the second time it prints out empty. If I don't use global, the template gives an error that the variable doesn't exist. OK, well what I'm calling the template is really the configuration

Re: [PHP] diskusage

2004-02-16 Thread David Otton
On Mon, 16 Feb 2004 15:17:52 -0500, you wrote: Chakravarthy Cuddapah wrote: In php I want to know space used (du) by user on a remote system. Can anyone pls tell me how this can be done. Just call du through exec(). He said remote system, which I read to mean on the client[?]. In that case,

[PHP] Re: Scope: global $GLOBALS[]

2004-02-16 Thread Paul Furman
None of them need global, just that initial config that calls them up with includes, that's where the variable is killed. I print the in out value for every page that's where it ends. I have no idea why. What would destroy the variable? All the other pages get it from that page just fine

[PHP] Are variables persistent?

2004-02-16 Thread Paul Furman
When I refresh a script using a form, it goes through resets all my custom Constants but presumably all my variables should still hold their values from the last run, right? THere are no functions involved. What would cause a variable or even a $POST[] value to be erased? -- PHP General

RE: [PHP] Are variables persistent?

2004-02-16 Thread Jay Blanchard
[snip] When I refresh a script using a form, it goes through resets all my custom Constants but presumably all my variables should still hold their values from the last run, right? THere are no functions involved. What would cause a variable or even a $POST[] value to be erased? [/snip]

[PHP] An HTML alternative to submit button to look like anchor??

2004-02-16 Thread Scott Fletcher
Hi! I'm wondering if there is such a thing as an alternative to the HTML submit button that would instead look like an anchor and yet act like a submit with POST action. Just wondering... Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Are variables persistent?

2004-02-16 Thread Paul Furman
Jay Blanchard wrote: What would cause a variable or even a $POST[] value to be erased? [/snip] Refreshing the script causes the variable arrays to be repopulated with empty or blank variables unless a session was used to hold the variables. Refreshing is essentially calling the script without

RE: [PHP] An HTML alternative to submit button to look like anchor??

2004-02-16 Thread Jay Blanchard
[snip] I'm wondering if there is such a thing as an alternative to the HTML submit button that would instead look like an anchor and yet act like a submit with POST action. Just wondering... [/snip] You can do it with an image. http://www.w3.org/TR/html4/interact/forms.html#h-17.4 Google

RE: [PHP] An HTML alternative to submit button to look like anchor??

2004-02-16 Thread Shaunak Kashyap
Yes, you can use elementary javascript to achieve that goal. Just make a link (anchor) as you normally would and make the value of its href attribute javascript:document.formName.submit() where formName is the name of the form you wish to submit. As with a lot of client-side scripting languages,

Re: [PHP] Are variables persistent?

2004-02-16 Thread Paul Furman
Paul Furman wrote: So... $_REQUEST is the only way to go without getting into sessions? OK I see, it either goes in the url or a cookie. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Are variables persistent?

2004-02-16 Thread Jay Blanchard
[snip] $_REQUEST is the only way to go without getting into sessions? [/snip] Nope, $_REQUEST (as its name implies) contains variables that are part of the request process. If you refresh the form the $_REQUEST array will essentially be empty for those vraibles that would be passed from form to

RE: [PHP] An HTML alternative to submit button to look like anchor??

2004-02-16 Thread Jay Blanchard
[snip] You can do it with an image. [/snip] Dang! I was thinking picture of an anchor. Monday afternoon brain freeze! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] An HTML alternative to submit button to look like anchor??

2004-02-16 Thread Scott Fletcher
Impressive :-) Thanks... Shaunak Kashyap [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yes, you can use elementary javascript to achieve that goal. Just make a link (anchor) as you normally would and make the value of its href attribute javascript:document.formName.submit()

Re: [PHP] An HTML alternative to submit button to look like anchor??

2004-02-16 Thread Scott Fletcher
Not a problem!! :-) I had a morning brain freeze until lunch. Thanks... Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] You can do it with an image. [/snip] Dang! I was thinking picture of an anchor. Monday afternoon brain freeze! -- PHP General Mailing List

Re: [PHP] Are variables persistent?

2004-02-16 Thread Paul Furman
Jay Blanchard wrote: [snip] $_REQUEST is the only way to go without getting into sessions? [/snip] Nope, $_REQUEST (as its name implies) contains variables that are part of the request process. If you refresh the form the $_REQUEST array will essentially be empty for those vraibles that would

[PHP] crack extension and gecos info

2004-02-16 Thread Seth Hollyman
One of the really handy things that the cracklib library does is evaluate whether a password is based on a user's gecos information. The php crack extension (--with-crack) allows me to test password strength, but it doesn't allow me to specify the users name/gecos information. Instead, it uses

Re: [PHP] An HTML alternative to submit button to look like anchor??

2004-02-16 Thread Marek Kilimajer
Scott Fletcher wrote: Hi! I'm wondering if there is such a thing as an alternative to the HTML submit button that would instead look like an anchor and yet act like a submit with POST action. Just wondering... Scott F. Instead of javascript and image magic, I would style the button to look

Re: [PHP] An HTML alternative to submit button to look like anchor??

2004-02-16 Thread Marek Kilimajer
Scott Fletcher wrote: Hi! I'm wondering if there is such a thing as an alternative to the HTML submit button that would instead look like an anchor and yet act like a submit with POST action. Just wondering... Scott F. Instead of javascript and image magic, I would style the button to look

Re: [PHP] Are variables persistent?

2004-02-16 Thread Paul Furman
Paul Furman wrote: OK I'm confused. I want to set a variable with a form. How do I do that? I guess I need to put it in the url? I did a mail form that worked by putting stuff in the $POST and when it refreshed to the same mail page, I grabbed the stuff back out of that (at least that's what I

Re: [PHP] Are variables persistent?

2004-02-16 Thread Matt Matijevich
snip I'm guessing this is not a sensible approach. Every place I construct a url, I'd have to remember to add this. /snip Have you looked into sessions and/or cookies? I think you want to use $_POST not $POST -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Opening a popup window?

2004-02-16 Thread Shaun
Hi, I have a form on a page. If certain options are selected on that page I need a popup window with a select option on there to appear. How can I make this happen with PHP, or do I need to use some JavaScript? Thanks for your help -- PHP General Mailing List (http://www.php.net/) To

  1   2   >