Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread Jason Wong
On Thursday 14 November 2002 10:43, Martin Towell wrote: (B (B> Unfortunately I didn't catch the start of this thread, bur no matter (B> In IE, all you need to do to bring up a window with an address bar is the (B> select the window you want to know the address of and press CTRL-N - there 

Re: [PHP] How to edit and ecternal .html file through a form

2002-11-13 Thread Jason Wong
On Thursday 14 November 2002 14:51, [EMAIL PROTECTED] wrote: > Hi there everyone. > If you have a spare moment please could > you help me with the following. > > I'm trying to do the following: > === > Have the contents of a an external (on same > server).htm

[PHP] How to edit and ecternal .html file through a form

2002-11-13 Thread mwenriqu
Hi there everyone. If you have a spare moment please could you help me with the following. I'm trying to do the following: === Have the contents of a an external (on same server).html file load in a form so that the user can edit its contents and save the f

[PHP] session randomly loses objects

2002-11-13 Thread Josh Bauguss
I've read about this before in spots. (like the bug report system) I've got a fairly high traffic server. (30-50K uniques per day) For the most part, everything works ok. We get plenty of orders (between 70-90 a day). However, I also get complaints from people who say they keep losing their c

Re: [PHP] Trivial newbie regex question

2002-11-13 Thread Charles Wiltgen
Hello, Many thanks for the responses! It's working great now... -- Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Help with project

2002-11-13 Thread Brendon G
*slaps head* *screams* feel better now *gets back to work* Cheers Brendon -Original Message- From: Karl James [mailto:karl.james@;verizon.net] Sent: Thursday, November 14, 2002 3:41 AM To: [EMAIL PROTECTED] Subject: [PHP] Help with project Hello people Im doing the fantasy footbal

Re: [PHP] redirect without using header

2002-11-13 Thread Chris Shiflett
pig pig wrote: The problem I am expriencing now is intermittent. Sometime the CGI error will appear and sometime it works fine. Could it be the latency in the network that is causing the problem? Just before the call to header() there is a db query. Someone else might have suggested this, bu

Re: [PHP] Trivial newbie regex question

2002-11-13 Thread Jonathan Sharp
good catch, i guess i love php so much i just expect it to know what i want it to do! -js John W. Holmes wrote: > substr(basename($url), 0, strrpos($url,'.')-1); > > note the '.' > > :) > > ---John Holmes... > > >>-Original Message- >>From: Jonathan Sharp [mailto:js-lists@;sharpmed

RE: [PHP] Trivial newbie regex question

2002-11-13 Thread John W. Holmes
substr(basename($url), 0, strrpos($url,'.')-1); note the '.' :) ---John Holmes... > -Original Message- > From: Jonathan Sharp [mailto:js-lists@;sharpmedia.net] > Sent: Wednesday, November 13, 2002 10:50 PM > To: [EMAIL PROTECTED] > Cc: 'Charles Wiltgen'; 'List ? PHP General' > Subject:

Re: [PHP] Trivial newbie regex question

2002-11-13 Thread Jonathan Sharp
but my way is so pretty! i mean, who cares if it doesn't work 'exactly' as you want, we're going for the ballpark solution right??? fine... substr(basename($url), 0, strrpos($url)-1); (note the strRpos) -js John W. Holmes wrote: > He wants just "index" though, instead of "index.html" > > You

Re: [PHP] Trivial newbie regex question

2002-11-13 Thread Justin French
Maybe also check out http://www.php.net/parse_url and http://www.php.net/pathinfo Justin French on 14/11/02 1:33 PM, Jonathan Sharp ([EMAIL PROTECTED]) wrote: > try basename('http://www.domain.com/stuff/index.html'); > > -js > > > Charles Wiltgen wrote: >> Hello, >> >> I just want to get t

RE: [PHP] Trivial newbie regex question

2002-11-13 Thread John W. Holmes
He wants just "index" though, instead of "index.html" You can do it a variety of ways. You can use basename() like Jonathan said, and just strip off the last 5 characters using substr(). Or you can use either of the following two regular expressions. preg_match('~/([^/]*)\.html$~', $source, $des

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread Joseph Szobody
Justin, I have no intenetion of implementing such work-arounds. I simply wanted to know if a popup can determine the Referer. With PHP, that answer is no. The continuing discussion has been helpful to clarify what one 'can' and 'cannot' do, not that I'm actually going to use all these methods!

Re: [PHP] Qmail / PHP question

2002-11-13 Thread Jonathan Sharp
If I remember correctly (it's been a while) the contents gets passed through STDIN to in this case wget, it'd be better to call the script as: |/usr/bin/php -q /path/to/script.php or put: #!/usr/bin/php at the top of your script and call as: |/path/to/script.php and use: (i forget the exact path,

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread @ Edwin
Hello, "Justin French" <[EMAIL PROTECTED]> wrote: > It still seems to me that there must be a fundamental problem with the > application design if such great lengths / work-arounds / patch jobs need to > be applied. > > But that's probably another discussion altogether :) Well, I agree. Besides

Re: [PHP] Trivial newbie regex question

2002-11-13 Thread Jonathan Sharp
try basename('http://www.domain.com/stuff/index.html'); -js Charles Wiltgen wrote: > Hello, > > I just want to get the "index" part of "http://www.domain.com/stuff/ > index.html". > > I'm trying to figure out this regex stuff, but it hasn't yet clicked. > Here's my best guess: > > ereg('?

[PHP] Trivial newbie regex question

2002-11-13 Thread Charles Wiltgen
Hello, I just want to get the "index" part of "http://www.domain.com/stuff/ index.html". I'm trying to figure out this regex stuff, but it hasn't yet clicked. Here's my best guess: ereg('?/(*)\.html$', $source, $dest); To me -- and please be gentle -- this means, "Starting with the forward

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread Justin French
It still seems to me that there must be a fundamental problem with the application design if such great lengths / work-arounds / patch jobs need to be applied. But that's probably another discussion altogether :) Justin on 14/11/02 12:20 PM, @ Edwin ([EMAIL PROTECTED]) wrote: > "Joseph Szobod

Re: [PHP] Help with project

2002-11-13 Thread Justin French
This is the 4th and last time I'm going to write this, because you don't seem to be listening. There is an EXCELLENT working example / tutorial / article on member/session management by Kevin Yank on sitepoint.com: www.webmasterBase.com/article/319 It covers: - creating a registration script an

Re: [PHP] Web page doesn't display until script is done?

2002-11-13 Thread Charles Wiltgen
Rasmus, > try flush() Thanks! -- Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread Joseph Szobody
> ...press CTRL-N - there (B> you go, a new window, pointing to the same page, with the addess bar showing (B> exactly where the page is. I use this method quite often :) (B (BFurthermore, disabling right-click does NOT disable the Context Menu key (you know, (Bthe one in between the Windows

RE: [PHP] redirect without using header

2002-11-13 Thread pig pig
The problem I am expriencing now is intermittent. Sometime the CGI error will appear and sometime it works fine. Could it be the latency in the network that is causing the problem? Just before the call to header() there is a db query. Any suggestion would be appreciated. I have been trying for

RE: [PHP] can a popup window get the page referer?

2002-11-13 Thread Martin Towell
> (B>Message-ID: <[EMAIL PROTECTED]> (B>References: <[EMAIL PROTECTED]> (B> (B>"Joseph Szobody" <[EMAIL PROTECTED]> wrote: (B>>Actually, it still won't work under Windows. (B>> Even on a pop-up window, you can right click, (B>> view properties, copy the page address, open (B>> a new browse

[PHP] Help with project

2002-11-13 Thread Karl James
Hello people Im doing the fantasy football project I have created a form for my owners to register there username and passwords So that it gets added to the dbase. My question is what should be my next part? Make a login page if so I would need help with that and wonder if there is anyone Out th

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread @ Edwin
(B (B"bahwi" <[EMAIL PROTECTED]> wrote: (B (B> Because you can only do that with JavaScript, and that still assures (B> nothing. You can always just download the source of an HTML page with no (B> problems. In UNIX with libwww installed you just type GET (B> http://www.microsoft.com/ and it

[PHP] manual notes

2002-11-13 Thread James Cox
The manual notes should be live again. i dry rsynced phpweb on www so it contains all the latest updates. we are just now finalizing the manual builds so the whole thing can get switched on properly. - - james -- James Cox :: [EMAIL PROTECTED] :: http://james.blogs.at/ Was I helpful? http://

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread bahwi
Because you can only do that with JavaScript, and that still assures (Bnothing. You can always just download the source of an HTML page with no (Bproblems. In UNIX with libwww installed you just type GET (Bhttp://www.microsoft.com/ and it downloads the html and puts it on the (Bscreen. (B (B-

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread @ Edwin
(BMessage-ID: <[EMAIL PROTECTED]> (BReferences: <[EMAIL PROTECTED]> (B (B"Joseph Szobody" <[EMAIL PROTECTED]> wrote: (B>Actually, it still won't work under Windows. (B> Even on a pop-up window, you can right click, (B> view properties, copy the page address, open (B> a new browser window,

[PHP] Re: how to delete files?

2002-11-13 Thread Jeff Bluemel
unlink did not work, but exec('rm -f *.php'); worked... thanks guys <[EMAIL PROTECTED]> wrote in message news:20021114015426.61527.qmail@;pb1.pair.com... > Yes unlink('*.php'); should work... > > If god doesn't want that, just use exec('rm -f *.php'); > > Regards > > -- > > M.CHAILLAN Nicolas > [

[PHP] Re: how to delete files?

2002-11-13 Thread nicos
Yes unlink('*.php'); should work... If god doesn't want that, just use exec('rm -f *.php'); Regards -- M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. "Jeff Bluemel" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > when this php scr

Re: [PHP] how to delete files?

2002-11-13 Thread Marco Tabini
If your PHP allows it and you're on Linux, exec ('rm -Rf /folder/*.php'); You also need the right permissions, of course. Marco -- php|architect - The magazine for PHP Professionals The monthly worldwide magazine dedicated to PHP programmers Come visit us at http://www.phparch.co

[PHP] how to delete files?

2002-11-13 Thread Jeff Bluemel
when this php script starts I want it to remove *.php how can I do this? will unlink accept a wild card? Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] posible bug, require and symlinks

2002-11-13 Thread Pupeno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I think I've found a posible bug, or at least, an unexpected behaviour. I'm requesting a page, the file that is called is index.php, but this file is a symlink from somewhere else. When I require a file from index.php, if there's no .. on the path (a

Re: [PHP] BUG with session trans sid ?

2002-11-13 Thread Ernest E Vogelsinger
At 00:58 14.11.2002, Victor Soroka said: [snip] >I have tried to disable cookies and got strange behavior of PHP 4.0.6. > >So, I use php4.0.6 in default redhat installation. My code: > >ini_set('session.use_cookies', FALSE); >ini_set('session.use_trans_sid',

[PHP] Qmail / PHP question

2002-11-13 Thread Mike D
Hello, I am using qmail and am attempting to have an email trigger a php script and process the contents of the email upon receipt. I have created the .qmail-address file which contains the following: |/usr/bin/wget -q http://www.domain.com/script.php The part I a stuck on is how to pass the c

Re: [PHP] BUG with session trans sid ?

2002-11-13 Thread Michael Sims
On Thu, 14 Nov 2002 01:58:49 +0200, you wrote: >So, I use php4.0.6 in default redhat installation. My code: > >ini_set('session.use_cookies', FALSE); >ini_set('session.use_trans_sid', TRUE); [snip] >TRANS SID feature doesnt working, but constant SID set >correctly (PHPSESSID=...). If I write SID i

Re: [PHP] UPDATE MySQL

2002-11-13 Thread Vernon Webb
I made some modifications to the code and I do not get ant error messages, but the database is still not updated. Here's the code: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] BUG with session trans sid ?

2002-11-13 Thread Justin French
Did you compile with --enable_trans_sid??? Check by reading Justin on 14/11/02 9:58 AM, Victor Soroka ([EMAIL PROTECTED]) wrote: > I have tried to disable cookies and got strange behavior of PHP 4.0.6. > > So, I use php4.0.6 in default redhat installation. My code: > > ini_set('session.use_

Re: [PHP] UPDATE MySQL

2002-11-13 Thread Justin French
on 14/11/02 8:20 AM, vernon ([EMAIL PROTECTED]) wrote: > Can anyone tell me what's wrong with theis code. I don't get any errors but > the databse is never updated: > > $hostname_connPENPALS = "localhost"; > $database_connPENPALS = "phpenpals"; > $username_connPENPALS = "username"; > $password_c

[PHP] BUG with session trans sid ?

2002-11-13 Thread Victor Soroka
I have tried to disable cookies and got strange behavior of PHP 4.0.6. So, I use php4.0.6 in default redhat installation. My code: ini_set('session.use_cookies', FALSE); ini_set('session.use_trans_sid', TRUE); ini_set('session.save_handler', 'user'); Then I set my own session handlers and start

Re: [PHP] PHP extensions

2002-11-13 Thread Justin French
Email extension? Aren't you talking about Manuel Lemos' mimemail class? It's just an include file that you have in your directory structure. Justin on 13/11/02 11:24 PM, Mako Shark ([EMAIL PROTECTED]) wrote: > Is there a list of PHP extensions out there somewhere, > and what the function of ea

Re: [PHP] UPDATE MySQL

2002-11-13 Thread Vernon Webb
Here's the thing. I'm trying to update a record when a user logs in. I have a login script that I am trying to have automatically update a record upon login. I figure the easiest way to do it is have the page submitted to another page which updated the record's last access date and then redircts

Re: [PHP] Including without a file

2002-11-13 Thread Charles Wiltgen
Khalid El-Kary wrote... > you may use chown, chgrp, chmod :^) Not if the hosting provider knows what they're doing. -- Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] number format

2002-11-13 Thread Stephen
I always thought it did it automatically... Have you tried it just normally yet? - Original Message - From: "Michael P. Carel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 13, 2002 5:10 PM Subject: [PHP] number format > Hi to all; > > Is there any php function t

Re: [PHP] number format

2002-11-13 Thread Rasmus Lerdorf
number_format() (just add a _ to your subject) On Thu, 14 Nov 2002, Michael P. Carel wrote: > Hi to all; > > Is there any php function that will automatically format the calculated > decimal values in its hundred's,thousand's .places (such as > $423,345,234.50). just like the format() functi

RE: [PHP] number format

2002-11-13 Thread Martin Towell
you've got it in the subject line http://www.php.net/manual/en/function.number-format.php -Original Message- From: Michael P. Carel [mailto:mikecarel@;teamglac.com] Sent: Thursday, November 14, 2002 9:11 AM To: [EMAIL PROTECTED] Subject: [PHP] number format Hi to all; Is there any php f

[PHP] number format

2002-11-13 Thread Michael P. Carel
Hi to all; Is there any php function that will automatically format the calculated decimal values in its hundred's,thousand's .places (such as $423,345,234.50). just like the format() function in MySQL. If not, how could i do it? Thanks in advance Regards, mike -- PHP General Mailing Li

Re: [PHP] Re: Open Source Presentation Tool

2002-11-13 Thread BigDog
Did all this really have to be sent to the list? On Wed, 2002-11-13 at 22:28, Rasmus Lerdorf wrote: > > If you don't care that I (or anybody else) can evaluate the > > presentations generated by your tool why did you bother to follow up my > > message in the thread when I exposed my evaluation of

RE: [PHP] runing com

2002-11-13 Thread Michael Hazelden
I've been having some fun with COM myself recently ... so I can suggest a couple of things ... Firstly - that error would suggest to me that Word is not installed on your machine. Remember - in order to interface with an app - it has to be there. If it is ... try looking it up in the registry to c

Re: [PHP] Mail Question

2002-11-13 Thread Jason Wong
On Thursday 14 November 2002 05:48, Mike D wrote: > Yes we are using qmail. So all I have to do is create the .qmail-info > file and have that point to a php script? Yes, man dot-qmail for the details. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrat

[PHP] runing com

2002-11-13 Thread kai
hi guy's I have a problem running com+ code and would appreciate any help. What I like to do is have the mediaplayer run a wave file triggert from php via com. but I can not run any example code from the help without errors. this code is from a the help and should work but doesn't on my mashine:

Re: [PHP] Including without a file

2002-11-13 Thread Khalid El-Kary
hi, you may use chown, chgrp, chmod _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] How to cache PHP on Apache

2002-11-13 Thread Luanna Silva
Hello! I´m having major problems while trying to cache php scripts on Apache. Could you help me, please? I really dont know what to do anymore. I have a client, a reverse proxy and a Apache Web Server. The proxy is caching the static, but not the dynamic stuff.

Re: [PHP] Web page doesn't display until script is done?

2002-11-13 Thread Rasmus Lerdorf
try flush() On Wed, 13 Nov 2002, Charles Wiltgen wrote: > Hello, > > I have some script that does some stuff, sends some stuff to the broswer > with eval(), and then does some time-consuming (two seconds?) cleanup. My > web page doesn't seem to appear until that cleanup is done. Is there any >

[PHP] Web page doesn't display until script is done?

2002-11-13 Thread Charles Wiltgen
Hello, I have some script that does some stuff, sends some stuff to the broswer with eval(), and then does some time-consuming (two seconds?) cleanup. My web page doesn't seem to appear until that cleanup is done. Is there any way to say "I'm done! Render away!" before a PHP script completes? -

Re: [PHP] Including without a file

2002-11-13 Thread Charles Wiltgen
Khalid El-Kary wrote... > if no one suggested a better way, i suggest that you write your data to a file > stream and then include it, but this will be time consuming (as i think) so > you should check a better way I am writing to a file as well, but it's taking a long time since I have to delete

Re: [PHP] Is there any way to resize an image?

2002-11-13 Thread Rasmus Lerdorf
http://php.net/imagecopyresampled http://php.net/imagecopyresized On Wed, 13 Nov 2002, John Meyer wrote: > Basically, my question for PHP. Anything in the libraries that can do that? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

Re: [PHP] Re: Open Source Presentation Tool

2002-11-13 Thread Rasmus Lerdorf
> Ok, I'll keep an eye in http://conf.php.net/ . Is there an extimation of > when new presentations generated with the new version will be available > there? Nope -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Is there any way to resize an image?

2002-11-13 Thread John Meyer
Basically, my question for PHP. Anything in the libraries that can do that? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Open Source Presentation Tool

2002-11-13 Thread Manuel Lemos
Hello, On 11/13/2002 08:28 PM, Rasmus Lerdorf wrote: If you don't care that I (or anybody else) can evaluate the presentations generated by your tool why did you bother to follow up my message in the thread when I exposed my evaluation of presentation tools comparing your tool with Prestimel?

Re: [PHP] UPDATE MySQL

2002-11-13 Thread Marco Tabini
I can see two things that are not correct in the statement: First, the date you're setting is in UNIX format--but MySQL wont' like that. You need to use FROM_UNIXTIME. Second, the username is a string (I guess), but it's not within quotation marks. $myquery = "UPDATE penpals SET lastaccess=FROM_

Re: [PHP] Re: Open Source Presentation Tool

2002-11-13 Thread Rasmus Lerdorf
> If you don't care that I (or anybody else) can evaluate the > presentations generated by your tool why did you bother to follow up my > message in the thread when I exposed my evaluation of presentation tools > comparing your tool with Prestimel? Because you compared the wrong damn tool. And I

Re: [PHP] Re: Open Source Presentation Tool

2002-11-13 Thread Manuel Lemos
Hello, On 11/13/2002 08:16 PM, Rasmus Lerdorf wrote: I only asked for an example of a generated presentation. I am not interested in the code until I see an example because trying the code by myself will make me spend a lot of time guessing how everything works. If you do not have an example onli

[PHP] UPDATE MySQL

2002-11-13 Thread vernon
Can anyone tell me what's wrong with theis code. I don't get any errors but the databse is never updated: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] New commercial software needs beta testers

2002-11-13 Thread Rasmus Lerdorf
You spammed 6 different lists with the same message. What in the world does it have to do with PHP Installation issues, for example? It's spam, and your domain has been blocked. -Rasmus On Wed, 13 Nov 2002, Jeremy Wilson wrote: > Hey it isn't spam. This is php specific > > -Original Messag

Re: [PHP] Re: Open Source Presentation Tool

2002-11-13 Thread Rasmus Lerdorf
> I only asked for an example of a generated presentation. I am not > interested in the code until I see an example because trying the code by > myself will make me spend a lot of time guessing how everything works. > If you do not have an example online to show, we can't evaluate it. I couldn't c

Re: [PHP] New commercial software needs beta testers

2002-11-13 Thread Rasmus Lerdorf
Argh! That's the second commercial spam message to hit multiple php lists in a couple of days. This company has been blocked from further posting as well now. -Rasmus On Wed, 13 Nov 2002, Jeremy Wilson wrote: > Intravative Software Corporation will be releasing a new commercial > software > ap

Re: [PHP] Re: Open Source Presentation Tool

2002-11-13 Thread Manuel Lemos
Hello, On 11/13/2002 07:54 PM, Rasmus Lerdorf wrote: It is odd that you say that your current presentation tool is there for one year and that Sterling Hughues just use that, but the last presentation of of Sterling Hughes that is from July 2002 uses the version that you say that is old. You seem

[PHP] New commercial software needs beta testers

2002-11-13 Thread Jeremy Wilson
Intravative Software Corporation will be releasing a new commercial software application in January 2003 called iIPN. The software enables paypal sellers to sell and automatically deliver digital and non-digital products from their web site. The software is currently the most robust out of any othe

Re: [PHP] Including without a file

2002-11-13 Thread Khalid El-Kary
hi, if no one suggested a better way, i suggest that you write your data to a file stream and then include it, but this will be time consuming (as i think) so you should check a better way khalid _ MSN 8 with e-mail virus protect

[PHP] Including without a file

2002-11-13 Thread Charles Wiltgen
Hello, I was looking for a way to include() from a variable. I can't just use eval(), since what's in the variable is a mixed PHP/XHTML. Well, it turns out that there's an answer in the user notes, which haven't worked on php.net for a few days. Basically, you eval("?>" . $stuff); -- Charles W

Re: [PHP] PHP Auth with Apache

2002-11-13 Thread Ewout de Boer
in httpd.conf AllowOverride AuthConfig More info at http://httpd.apache.org/docs/mod/core.html#allowoverride regards, Ewout - Original Message - From: "Alexander Bemme" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 13, 2002 12:02 PM Subject: [PHP] PHP

Re: [PHP] Re: Open Source Presentation Tool

2002-11-13 Thread Rasmus Lerdorf
> It is odd that you say that your current presentation tool is there for > one year and that Sterling Hughues just use that, but the last > presentation of of Sterling Hughes that is from July 2002 uses the > version that you say that is old. You seem be contradicting yourself. Would you please s

Re: [PHP] Re: Open Source Presentation Tool

2002-11-13 Thread Manuel Lemos
Hello, On 11/13/2002 07:40 PM, Rasmus Lerdorf wrote: You are simply not looking at the right presentation. You are looking at the pres1 version of Sterling's presentation. The pres2 version, the one he actually presented, has sliding bullets everywhere. Not sure it is online anywhere right now

Re: [PHP] Mail Question

2002-11-13 Thread Mike D
Yes we are using qmail. So all I have to do is create the .qmail-info file and have that point to a php script? - MD On Wednesday, November 13, 2002, at 12:35 PM, Jason Wong wrote: On Thursday 14 November 2002 04:12, Mike D wrote: Does anyone know of a way to achieve the following on linux/

Re: [PHP] Re: Open Source Presentation Tool

2002-11-13 Thread Rasmus Lerdorf
You are simply not looking at the right presentation. You are looking at the pres1 version of Sterling's presentation. The pres2 version, the one he actually presented, has sliding bullets everywhere. Not sure it is online anywhere right now as we are moving servers around but that is what the q

Re: [PHP] Re: Open Source Presentation Tool

2002-11-13 Thread Manuel Lemos
On 11/13/2002 06:33 PM, Rasmus Lerdorf wrote: Nope, it does bullet-by-bullet rendering. It will either slide in each bullet or just instantly pop each one up on each key press. I have tried lots of presentations generated with your tool and I could not see that working. Maybe it is not a featur

[PHP] _POST incorrect output...

2002-11-13 Thread Brad Apps
Hey Again, I am doing the output from a _POST array and it seems to replace all spaces and '.'s in the file names with '_'. so a file name brads doc.htm outputs as brads_doc_htm. Any suggestions, PLEASE. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

[PHP] phpMyAdmin Help

2002-11-13 Thread Pushpinder Sngh Garcha
Hi All, I am running PHP and MySQL on Jaguar Mac OS. I have setup the phpMyAdmin to run on the local host, and I also have my MySQL Database up and ready. On the main control panel of phpMyAdmin I am able to see the databases that I have created using the sheel prompt. But when I try to access

Re: [PHP] Mail Question

2002-11-13 Thread Jason Wong
On Thursday 14 November 2002 04:12, Mike D wrote: > Does anyone know of a way to achieve the following on > linux/apache/qmail/php server > > > I want to have an email address that when people send a message to, > > a php script is triggered and the data of the email is extracted and > inserted i

Re: [PHP] Re: Open Source Presentation Tool

2002-11-13 Thread Rasmus Lerdorf
> > Nope, it does bullet-by-bullet rendering. It will either slide in each > > bullet or just instantly pop each one up on each key press. > > I have tried lots of presentations generated with your tool and I could > not see that working. Maybe it is not a feature that it is intuitive to use. You

Re: [PHP] NEVERMIND: mysql/php large integer query oddity

2002-11-13 Thread Marco Tabini
Nah, if you're like me you need to set try_working_less_than_18_hours_a_day=On in the [LifeGoals] section :-) Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmers Come visit us at http://www.phparch.com!

Re: [PHP] PHP include dir

2002-11-13 Thread Wayne McCloud
thanks very much >>> [EMAIL PROTECTED] 11/13/02 18:12 PM >>> yeah, include_path ="path" this allows you to put scripts in other places out side the web document tree. For example: lets say you have configuration files that contain all your database passwords...you can put the document in a direc

[PHP] NEVERMIND: mysql/php large integer query oddity

2002-11-13 Thread Steve Edberg
Boy do I REALLY need some coffee...one query was on the production database, the other was on the development copy. I suppose I should set the programmer_first_check_database_parameter_you_idiot setting in php.ini... Sorry for consuming unnecessary list space. -steve I have a query oddit

[PHP] Re: Help needed with attachments

2002-11-13 Thread Manuel Lemos
Hello, On 11/13/2002 02:35 PM, Pushpinder Sngh Garcha wrote: I am using MIME to send mail (http://www.phpclasses.org/mimemessage) I need to be able to send attachments that are present on the local machine. Is there a way to send attachements without uploading then to the server ?? The file ne

[PHP] Re: mail() -> How to change the sender

2002-11-13 Thread Manuel Lemos
Hello, On 11/13/2002 03:46 PM, Duncan wrote: all my scripts on my server, which use the mail() function, get the sender: [EMAIL PROTECTED] where domain is the localdomain of the server and nobody is the user under which apache is running. So, now i recently saw an error in the logs, that some s

Re: [PHP] PHP include dir

2002-11-13 Thread Mike D
Good Skills - That precisely answered my question. Thanks! - MD On Wednesday, November 13, 2002, at 05:07 AM, BigDog wrote: yeah, include_path ="path" this allows you to put scripts in other places out side the web document tree. For example: lets say you have configuration files that conta

Re: [PHP] Re: Open Source Presentation Tool

2002-11-13 Thread Manuel Lemos
Hello, On 11/13/2002 05:10 PM, Rasmus Lerdorf wrote: > At PHP-CON most of the presenters were using a presentation tool > built in PHP. It would convert html to PDF and several other cool > functions. Is anyone familiar with this and where I can find it? If > not, does anyone one know of a conver

[PHP] Mail Question

2002-11-13 Thread Mike D
Does anyone know of a way to achieve the following on linux/apache/qmail/php server > I want to have an email address that when people send a message to, a php script is triggered and the data of the email is extracted and inserted into a DB for use in a ticketing system. I know how to do all

Re: [PHP] javascript and php again

2002-11-13 Thread Chris Boget
> so there is no way to use javascript and php together? No, not really. Not in the way you are hoping. > If not, can php do some of the cool things that javascript does? The main > thing I am looking for is a somthing like this: > http://www.dynamicdrive.com/dynamicindex1/popit.htm but I w

Re: [PHP] PHP include dir

2002-11-13 Thread BigDog
yeah, include_path ="path" this allows you to put scripts in other places out side the web document tree. For example: lets say you have configuration files that contain all your database passwords...you can put the document in a directory like /usr/local/php/config_scripts and add that director

[PHP] mysql/php large integer query oddity

2002-11-13 Thread Steve Edberg
I have a query oddity that looks like an integer overflow, but it shouldn't be. Excerpt from my program: #DEBUG echo "\n$Query\n"; #DEBUG $hResult = _do_query(__LINE__, $Query); # _do_query() simply executes mysql_query, and does nice error formatting if necessary $First =

Re: [PHP] PHP Installation on Redhat 8 - General Questions

2002-11-13 Thread BigDog
What you need to do is go into your apache_1.3.26/src/modules/php4 directory and and clean out the libphp files. 1. Stop apache. 2. Remove lib files from apache_1.3.26/src/modules/php4 3. Do a make clean in apaches top dir. 4. Do a make clean in php top dir. 5. Remove config.cache in php dir. 6.

RE: [PHP] javascript and php again

2002-11-13 Thread Edward Peloke
so there is no way to use javascript and php together? If not, can php do some of the cool things that javascript does? The main thing I am looking for is a somthing like this: http://www.dynamicdrive.com/dynamicindex1/popit.htm but I want the options built from the db by mysql. Thanks, Eddie

[PHP] PHP include dir

2002-11-13 Thread Mike D
How do I find the PHP include dir? I looked in the .ini file but it appears that the include dir directive is commented out, here it is: ; UNIX: "/path1:/path2" ;include_path = ".:/php/includes" Do I need to uncomment this? Thanks Mike Mike Dunlop Webmaster - AWN, Inc. [E] [EMAIL PROTECTED]

Re: [PHP] Register_globals = off version of Manuel Lemos's form class?

2002-11-13 Thread Jason Wong
On Thursday 14 November 2002 03:41, Marek Kilimajer wrote: > Even if the method is post, you can have get variables, if the form has > action="script.php?get_var=value" Yes but I don't (need to) define my forms like that so I don't really care :-) -- Jason Wong -> Gremlins Associates -> www.grem

Re: [PHP] javascript and php again

2002-11-13 Thread Marek Kilimajer
php doesn't understand javascript, php executes on the server and javascript on the client side. Edward Peloke wrote: I have some javascript that by itself, runs fine in a php file but, when I enclose it in php... if (!variable) { ?> ---insert java here } ?> Then is does not work...is ther

[PHP] imap_fetchstructure error getting type,subtype,parts ??

2002-11-13 Thread jorgel
Hi, I'm using php 4.2.3 with courier-imap, when I run the function imap_fetchstructure the return for 'type' and 'subtype' variables are always text/plain even when the content type says multipart/mixed, text/html, etc... The same happends with the 'parts' array, empty all the time. I tried dife

Re: [PHP] Register_globals = off version of Manuel Lemos's form class?

2002-11-13 Thread Marek Kilimajer
Even if the method is post, you can have get variables, if the form has action="script.php?get_var=value" Jason Wong wrote: On Wednesday 13 November 2002 23:57, Leif K-Brooks wrote: I am planning to use Manuel Lemos's form class for a web site I am working on. However, I need to have registe

Re: [PHP] Magic Quotes performance hit?

2002-11-13 Thread Jason Wong
On Thursday 14 November 2002 03:06, Paul Kaiser wrote: > Greetings, > > Is there a performance penalty for having > > magic_quotes_runtime > > turned on all the time? According to the notes in php.ini, magic_quotes_gpc is now disabled by default because of performance reasons. So I suppose the sa

  1   2   >