Re: [PHP] Re: Algorithm....

2004-02-16 Thread Bob Eldred
Clearly, I'm going to have to get on the PHP short bus. I was never any good at bitmasking. In the meantime, I've got it working. Not elegant, mind you, but working nonetheless. Thanks. Bob - Original Message - From: "Manuel Vázquez Acosta" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

[PHP] Re: Algorithm....

2004-02-16 Thread Manuel Vázquez Acosta
I suggest a bit's mask technique; since max(i)=96, you can represent a day by 96/8 = 12 bytes = 3 (32-bits integers). TimeFrameA is an integer representing the first 32 15-minutes chunks(0-31), TimeFrameB represents 32-63, and TimeFrameC 64-95. If a bit is 1 the you that 15-minutes chunk is marke

Re: [PHP] Headers Again

2004-02-16 Thread Jason Wong
On Tuesday 17 February 2004 09:57, PETCOL wrote: > I have authenticated a user, after that I want to take them to another > page: > > Header("Location: welcome.php"); > > But I get the following error? > > error > Cannot modify header information - headers already sent > --

RE: [PHP] Algorithm....

2004-02-16 Thread Martin Towell
Hiya, Work out the start array position, keep incrementing by 1 until you find a "yes" >From this you'll know the allowable end times. HTH Martin > -Original Message- > From: Bob Eldred [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 17 February 2004 4:04 PM > To: [EMAIL PROTECTED] > Subject:

[PHP] Algorithm....

2004-02-16 Thread Bob Eldred
I'm working on a calendaring script right now, and am stuck on a programmatic way to figure something out. Basically, the work day is broken down into 15-minute intervals, where the value of a given interval can be figured as $hour=floor($i/4) and the minutes can be figured as $minutes=($i%4)*15.

[PHP] Re: Are variables persistent?

2004-02-16 Thread André Cerqueira
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Furman wrote: 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. wrong What would cau

[PHP] PowerPoint to html converter, server-side

2004-02-16 Thread Andrew Warner
I'm looking for a PowerPoint to html/slides converter that can work server-side and on Linux. Does such a thing exist? Most of the converters I've come across are desktop apps. Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problems with authentication (I think)

2004-02-16 Thread Leif Gregory
Hello Leif, Monday, February 16, 2004, 7:13:30 PM, you wrote: LG>PHPTest http://www.resynthesize.com/code/phptest_info.php Just a followup. I found out that the PHPTest showing just a blank page was a mistype in my config.inc.php file. It now shows me the login screen, but when I login it doe

[PHP] Problems with authentication (I think)

2004-02-16 Thread Leif Gregory
Hello all, What I have: Windows webserver running PHP 4.34 and MySQL 4.0.17. The knowns: Doing the PHP test works and I get back all sorts of information, and PHPBB2 works as advertised with no problems, so does PHPMyAdmin. My Problem: I've tried a number of PHP scripts to do various things

Re: [PHP] Headers Again

2004-02-16 Thread John Nichel
PETCOL wrote: Hi, I have authenticated a user, after that I want to take them to another page: Header("Location: welcome.php"); But I get the following error? error Cannot modify header information - headers already sent error Suggestions? Don't s

[PHP] Headers Again

2004-02-16 Thread PETCOL
Hi, I have authenticated a user, after that I want to take them to another page: Header("Location: welcome.php"); But I get the following error? error Cannot modify header information - headers already sent error Suggestions? Col -- PHP Genera

Re: [PHP] pdflib alternatives

2004-02-16 Thread James Kaufman
On Mon, Feb 16, 2004 at 09:35:10PM -0300, Fernando M. Maresca wrote: > Hello everybody: > Is there are any alternatives to the pdflib for on the fly generation of > printable documents? May be a postcript lib? > I need no fancy things, just speed and minimal formating facilities, > even no graphics

[PHP] Re: Opening a popup window?

2004-02-16 Thread memoimyself
Hello Shaun, On 16 Feb 2004 at 22:23, Shaun wrote: > 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? PHP is a server side scripting l

[PHP] pdflib alternatives

2004-02-16 Thread Fernando M. Maresca
Hello everybody: Is there are any alternatives to the pdflib for on the fly generation of printable documents? May be a postcript lib? I need no fancy things, just speed and minimal formating facilities, even no graphics support is ok. Any sugestions? Thanks in advance to all of you -- Fernando M

Re[2]: [PHP] Steps to installin PHP on apache 2

2004-02-16 Thread Richard Davey
Hello Stuart, Tuesday, February 17, 2004, 12:10:49 AM, you wrote: S> all you ever wanted to know about PHP in one convenient location in S> several formats and many many languages... ... except "lazy arse-eese" :) -- Best regards, Richard Davey http://www.phpcommunity.org/wiki/296.html --

Re: [PHP] Steps to installin PHP on apache 2

2004-02-16 Thread Stuart
Philip J. Newman wrote: Can someone send me a link to where i can find easy to read docs on getting php set up on Apache ... You're kidding right?!?!?!? http://php.net/install.apache2 Introducing the PHP Documentation - all you ever wanted to know about PHP in one convenient location in several

[PHP] Steps to installin PHP on apache 2

2004-02-16 Thread Philip J. Newman
Can someone send me a link to where i can find easy to read docs on getting php set up on Apache ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Ora_Parse failed

2004-02-16 Thread Matt Hillebrand
I modified that code to make it more readable. You may be wondering why the $columns variable looks like a string and then later like an array. Don't worrythere's no bug there. The $query variable actually equals "select ${columns_imploded} from ${state}_spell where ${where_clauses}"; Matt

Re: [PHP] How many days between two dates

2004-02-16 Thread Marek Kilimajer
Shaun wrote: "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Shaun wrote: Hi, how can I check how many days are between two given dates? Thanks for your help There are many ways, it would help if you tell us what form are the dates in - timestamp, formated string,

[PHP] Ora_Parse failed

2004-02-16 Thread Matt Hillebrand
I have an Oracle 8 problem. Unfortunately, I can't use the OCI functions and must use the ORA functions. The code below looks fine to me. It will return *almost* all of the rows, but then the script just dies with no warnings or errors, even though I have called error_reporting(E_ALL). I do get

RE: [PHP] How many days between two dates

2004-02-16 Thread Ralph
Use KronoClass: http://lafucina.holosoft.it/kronoclass/index.html example: // Now calc how days are between date_from and date_to echo 'How many days are between 03/20/2003 and 04/21/2003 ?: '; echo $k->days_diff('03/20/2003','04/21/2003'); echo ''; -Original Message- From: Shaun [mail

Re: [PHP] Are variables persistent?

2004-02-16 Thread Paul Furman
Ugh, I think I'm done for the day. header() requires output buffering which would span several files and sounds like another mess. Paul Furman wrote: Matt Matijevich wrote: I'm guessing this is not a sensible approach. Every place I construct a url, I'd have to remember to add this. Have y

Re: [PHP] How many days between two dates

2004-02-16 Thread Shaun
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Shaun wrote: > > Hi, > > > > how can I check how many days are between two given dates? > > > > Thanks for your help > > > > There are many ways, it would help if you tell us what form are the > dates in - timestamp, f

Re: [PHP] Opening a popup window?

2004-02-16 Thread Marek Kilimajer
Shaun wrote: 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 javascript -- PHP General Mailing List (http://www.

Re: [PHP] How many days between two dates

2004-02-16 Thread Marek Kilimajer
Shaun wrote: Hi, how can I check how many days are between two given dates? Thanks for your help There are many ways, it would help if you tell us what form are the dates in - timestamp, formated string, sql date column ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi

Re: [PHP] Are variables persistent?

2004-02-16 Thread Paul Furman
Matt Matijevich wrote: I'm guessing this is not a sensible approach. Every place I construct a url, I'd have to remember to add this. Have you looked into sessions and/or cookies? I'm taking a class & we are probably not going there for a while. It looks involved. I think you want to use

[PHP] How many days between two dates

2004-02-16 Thread Shaun
Hi, how can I check how many days are between two given dates? Thanks for your help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

Re: [PHP] Are variables persistent?

2004-02-16 Thread Matt Matijevich
I'm guessing this is not a sensible approach. Every place I construct a url, I'd have to remember to add this. 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: http://www.php.net/u

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

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

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 Li

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.

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

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

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 passi

[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: http://www.php.net/u

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

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

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

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 t

[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] 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. http://click.atdmt.com/AVE/go/onm00200361ave/direct

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 Professional

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: ...'); > > > > Is this right? I suspect that you might be comparing th

[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

[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. http://click.atdmt.c

Re: [PHP] * populate menu from directory *

2004-02-16 Thread Matt Matijevich
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. take a look at http://www.php.net/readdir http://www.php.net/opendir here is some code to help start you echo ''; if ($

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

[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

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

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 authori

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 ma

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 inclu

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 i

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

[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 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 , set the header with PHP instead. As far as I can see that should always be possible. > -Original Message-

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() be

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 thank

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

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

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 PROTECTE

[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: This work perfectly and now I got my file valid_form.php which receive the data: In that page I want to call a function to store file like this storeFile($fichier); ps :when I

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

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 Lowell Allen
> --- Chris <[EMAIL PROTECTED]> wrote: >> You can't view the page and have PHP redirect it. You would need to >> use a refresh tag or JavaScript. > > I assume by meta refresh tag, you mean this: > > http://example.org/";> > > What most people seem to not realize, is that the http-equiv attribut

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 scr

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

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 refresh tag or JavaScript. I assume by meta refresh tag, you mean this: http://example.org/";> What most people seem to not realize, is that the http-equiv attribute is just a way

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 cold

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 th

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

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

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 don

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 o

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 belon

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

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 benefi

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

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

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> programmers/organ

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=val1¶meter2=value2 you are ready. Check the net for quite some examples. Here is what

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 splitt

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

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

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

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

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

  1   2   >