Re: [PHP] Help w/ $_SESSION

2002-11-12 Thread conbud
Hey, I do have it in a variable but I just choose to leave it out. Ive tried so many different things with this and even what you gave me for some reason didnt work. The variables are being set, if I echo $_SESSION['user'] then right data is shown. However as soon as I put it in the mysql_query it

Re: [PHP] Help w/ $_SESSION

2002-11-12 Thread conbud
Also the echo statement is just there for testing purposes to make sure the variable were containing the correct data. Lee "Conbud" <[EMAIL PROTECTED]> wrote in message news:20021112075942.16291.qmail@;pb1.pair.com... > Hey, > I do have it in a variable but I just choose to leave it out. > Ive tr

RE: [PHP] Mcrypt Under IIS 5 / Win32?

2002-11-12 Thread Nick Richardson
I'm trying to load it via php.ini w/ extension=php_mcrypt.dll and php_mcrypt.dll is in the extension_dir - When php_mcrypt.dll is not in the right place, it tells me it can't load the dll. Is there something other than the cygwin1.dll and php_mcrypt.dll that I have to install on the system - all t

Re: [PHP] Help w/ $_SESSION

2002-11-12 Thread Jason Wong
On Tuesday 12 November 2002 15:59, conbud wrote: > Hey, > I do have it in a variable but I just choose to leave it out. > Ive tried so many different things with this and even what you gave me for > some reason didnt work. *Why* doesn't it work? > The variables are being set, if I echo > $_SESSI

[PHP] Can PHP perform DNS zone transfers etc.?

2002-11-12 Thread Eivind Olsen
Hello. I'm about to write a DNS-related project in PHP4 and would like to use TSIG-signed DNS-updates, AXFR-based zonetransfers etc. When using Perl I could use the excellent Net::DNS module for this. Does anyone know if there exists anything like that for PHP4? I have searched on the PHP website

RE: [PHP] Can somebody help me with making a login Script?

2002-11-12 Thread Jon Haworth
Hi Matt, > can somebody please help me make an login script step > one by one? My website is Http://tweak2x.cjb.net and > I am looking for a login section for memebers. Start by reading this article: http://zend.com/zend/tut/authentication.php And then get back to us with any problems you r

RE: [PHP] random numbers

2002-11-12 Thread Jon Haworth
Hi Tamas, > /* srand is not important since php v>=4.2.0 */ > $numbers = range (1,90); > $x = array_rand ($numbers, 5); > foreach ($x as $v) echo "{$numbers[$v]} "; > > It works fine, except the first query: php may restart > the random numbers, if it is not used for some seconds. I'm not sure

Re: [PHP] _POST & _GET

2002-11-12 Thread Ernest E Vogelsinger
**WARNING** longer post that usual **WARNING** longer post that usual **WARNING** At 07:54 12.11.2002, Chris Shiflett said: [snip] >Anyway, thanks for your insight. Some of these slightly off-topic issues >are more interesting than the on-topic ones. :-) Ma

Re: [PHP] random numbers

2002-11-12 Thread Tamas
Jon! > for ($i=1; $i<=6; $i++) > $x[] = mt_rand(1, 90); > foreach ($x as $current) > echo $current. ""; > ?> Thanks for help, but your program may generate same numbers between the 5 generated numbers, hovewer I want to generate different numbers such as lottery-numbers. array_rand() is a ve

Re: [PHP] PHP Timer + Java

2002-11-12 Thread Ernest E Vogelsinger
At 22:28 11.11.2002, Mohsin Rahman said: [snip] >1) How to pass the STARTTIME only when the START TASK button is pressed? > >Apprently using > >echo "onclick=\"window.open('popup.html?clientid=$starttime=strtotime(\"now\")&$th >isclientid&projectid=$thisclien

RE: [PHP] random numbers

2002-11-12 Thread Jon Haworth
Hi Tamas, > > > for ($i=1; $i<=6; $i++) > > $x[] = mt_rand(1, 90); > > foreach ($x as $current) > > echo $current. ""; > > ?> > > Thanks for help, but your program may generate same numbers between > the 5 generated numbers, hovewer I want to generate different numbers > such as lottery-numb

[PHP] Rotation of images

2002-11-12 Thread Sear, Mick
I can use ImageMagick to rotate images, and that would be my preferred technique, but I was wondering how you might use GD to rotate images. As far as I can see, it's not possible. Anyone tried it? Mick e-ssociate EPSON (UK) Ltd. Tel 01442 227374 www.epson.co.uk -- PHP General Mailing L

[PHP] Genrate a graph

2002-11-12 Thread Chris Grigor
Howdi All Anyone know if there is a function in php that can take values and generate a graph ??? Thanks in advance C -- Chris Grigor -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

Re: [PHP] Genrate a graph

2002-11-12 Thread Marek Kilimajer
No, there is not, but there are classes for that, look for jgraph Chris Grigor wrote: Howdi All Anyone know if there is a function in php that can take values and generate a graph ??? Thanks in advance C -- Chris Grigor --

[PHP] left click downloads

2002-11-12 Thread Javier Montserat
I want to make it easier for people to download files from my website by having the download start when the visitor clicks a link (as opposed to right click / save target as). How can I achieve this with PHP? Do I include the file in a header() call ? Thanks, javier _

Re: [PHP] Genrate a graph

2002-11-12 Thread Jason Wong
On Tuesday 12 November 2002 19:04, Marek Kilimajer wrote: > No, there is not, but there are classes for that, look for jgraph I believe you mean "jpgraph" ! -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & In

Re: [PHP] Genrate a graph

2002-11-12 Thread Marek Kilimajer
Yes, you are right, I was too lazy to look it up :-) Jason Wong wrote: On Tuesday 12 November 2002 19:04, Marek Kilimajer wrote: No, there is not, but there are classes for that, look for jgraph I believe you mean "jpgraph" ! -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] Would appreciate thoughts on session management

2002-11-12 Thread Justin French
Seems to me like this would generate a lot of extra server traffic, and a little confusion... The only benefit I can see is that you're getting rid of ugly page URLs. Problems I can see: 1. sessions need to be carried around... if your user has cookies turned off, or you wish not to use them; a)

[PHP] Here Document on Mac OS X

2002-11-12 Thread Craig Buxton
I have been trying to include an echo statement incorporating a here document on pages being served by my Mac OS X (v10.1.5) and Apache (v1.3) When I try to browse test.php, which contains... echo<< hello...hello... ENDOFECHO; ?> I get a parse error. When I upload it to my ISP it works as e

Re: [PHP] Rotation of images

2002-11-12 Thread Andrew Brampton
You could write your own rotation code, moving every pixel one by one, Otherwise I've not used GD enough to know one... but actually quickly looking at the GD Function list I found: http://www.php.net/manual/en/function.imagerotate.php Voila Andrew - Original Message - From: "Sear, Mick"

Re: [PHP] left click downloads

2002-11-12 Thread Maxim Maletsky
Yes. Just make a header appropriate for browser to understand that it should fire up the download dialog. -- Maxim Maletsky [EMAIL PROTECTED] "Javier Montserat" <[EMAIL PROTECTED]> wrote... : > I want to make it easier for people to download files from my website by > having the download sta

Re: [PHP] Can somebody help me with making a login Script?

2002-11-12 Thread Maxim Maletsky
Also, look up on PHP Beginner, it was covered on it: www.phpbeginner.com -- Maxim Maletsky [EMAIL PROTECTED] Jon Haworth <[EMAIL PROTECTED]> wrote... : > Hi Matt, > > > can somebody please help me make an login script step > > one by one? My website is Http://tweak2x.cjb.net and > > I am l

Re: [PHP] Help w/ $_SESSION

2002-11-12 Thread Maxim Maletsky
what PHP version are you running? $_SESSION variable is only available since PHP v4.1.0 and, btw, you always need to use session_start() before using it. -- Maxim Maletsky [EMAIL PROTECTED] Jason Wong <[EMAIL PROTECTED]> wrote... : > On Tuesday 12 November 2002 15:59, conbud wrote: > > Hey, >

[PHP] Oracle 7 support

2002-11-12 Thread Dan Field
Can anyone tell me if Oracle 7 is supported by PHP 4.2.2 ? I have found functions specific to Oracle 8i and some more generic functions (are these only for Oracle 9?). Also, is there a doc containing all levels of support for 3rd party products? save me pestering the list in future. I couldn't lo

Re: [PHP] left click downloads

2002-11-12 Thread Ernest E Vogelsinger
At 13:15 12.11.2002, Maxim Maletsky said: [snip] >Yes. Just make a header appropriate for browser to understand that it >should fire up the download dialog. [snip] To force virtually any browser into download mode, sp

Re: [PHP] PHP not working in html

2002-11-12 Thread 1LT John W. Holmes
> PHP isn't working in my html docs - what changes do I need to make to get it > to do so? Does it need to be recompiled? Can I do it without re-compiling? Give your file a .php extension, maybe? ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:

[PHP] How do i make an upload script?

2002-11-12 Thread Tweak2x
How do i make an upload script? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] what happen to comments in php documntation

2002-11-12 Thread Alawi albaity
I dont see any comments where is this useful comments go ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Here Document on Mac OS X

2002-11-12 Thread @ Edwin
Hello, "Craig Buxton" <[EMAIL PROTECTED]> wrote: > I have been trying to include an echo statement incorporating a here > document on pages being served by my Mac OS X (v10.1.5) and Apache (v1.3) > > When I try to browse test.php, which contains... > > echo<< > hello...hello... > > ENDOFECH

Re: [PHP] what happen to comments in php documntation

2002-11-12 Thread @ Edwin
Hello, "Alawi albaity" <[EMAIL PROTECTED]> wrote: > I dont see any comments > where is this useful comments go ? ...you just missed these: http://marc.theaimsgroup.com/?l=php-general&m=103705820013067&w=2 http://marc.theaimsgroup.com/?l=php-general&m=103706935420920&w=2 - E -- PHP General M

[PHP] Re: How do i make an upload script?

2002-11-12 Thread @ Edwin
(B"Tweak2x" <[EMAIL PROTECTED]> wrote in message (B[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... (B> How do i make an upload script? (B (B http://us.php.net/manual/en/features.file-upload.php (B (B- E (B (B (B-- (BPHP General Mailing List (http://www.php.net/) (BTo unsubscribe, visit:

RE: [PHP] How do i make an upload script?

2002-11-12 Thread Jon Haworth
Hi, > How do i make an upload script? You need an HTML form with an element, and a script to handle the upload. Post your code and tell us what problems you're having. If you haven't written any code yet, go and read this section of the manual: http://www.php.net/manual/en/features.file-uplo

[PHP] re: echo w/ here document

2002-11-12 Thread Craig Buxton
I'm still having a problem with including a here document. Trying this code: echo << hello... hello... hello... hello... ENDOFECHO; ?> I get a parse error on line 7. Please help. I have a major project that has ground to a halt. Craig Buxton Gravity Pilot Productions [EMAIL PROTECTED] -

[PHP] include file with parameters

2002-11-12 Thread Fikret CAN
hello PHP developers, I am going to convert a site that works with frames to the equivalent with includes. I have several template files whic behaves according to query string parameters. I don't want to make big changes, just make it work. Is that possible? I lasltly consider the solutions th

RE: [PHP] Oracle 7 support

2002-11-12 Thread Ford, Mike [LSS]
> -Original Message- > From: Dan Field [mailto:danf@;ceredigion.gov.uk] > Sent: 12 November 2002 12:18 > > Can anyone tell me if Oracle 7 is supported by PHP 4.2.2 ? Yes. > I have found functions specific to Oracle 8i and some more generic > functions (are these only for Oracle 9?). No

[PHP] phpweb mirror w/o rsync

2002-11-12 Thread Denis N. Peplin
Hello! I make copy of phpweb module using cvs, and now I just want to run php website on my local machine, but can't find mirrors.inc: Fatal error: Failed opening required 'mirrors.inc' (include_path='.:/bd/src/phpweb/include') in /bd/src/phpweb/include/site.inc on line 12 What wrong? Thanks.

Re: [PHP] Here Document on Mac OS X

2002-11-12 Thread Jason Wong
On Tuesday 12 November 2002 20:05, Craig Buxton wrote: > I have been trying to include an echo statement incorporating a here > document on pages being served by my Mac OS X (v10.1.5) and Apache (v1.3) > > When I try to browse test.php, which contains... > > echo<< > hello...hello... > > ENDOFE

Re: [PHP] include file with parameters

2002-11-12 Thread Denis N. Peplin
On Tuesday 12 November 2002 15:55, Fikret CAN wrote: > hello PHP developers, > > I am going to convert a site that works with frames to the equivalent with > includes. I have several template files whic behaves according to query > string parameters. I don't want to make big changes, just make it w

Re: [PHP] re: echo w/ here document

2002-11-12 Thread Aaron Gould
Looks ok to me. Try making sure that all white space is removed from after the "echo << To: <[EMAIL PROTECTED]> Sent: Tuesday, November 12, 2002 5:32 AM Subject: [PHP] re: echo w/ here document > I'm still having a problem with including a here document. Trying this > code: > > echo << > > he

Re: [PHP] include file with parameters

2002-11-12 Thread 1LT John W. Holmes
> On Tuesday 12 November 2002 15:55, Fikret CAN wrote: > > hello PHP developers, > > > > I am going to convert a site that works with frames to the equivalent with > > includes. I have several template files whic behaves according to query > > string parameters. I don't want to make big changes, ju

Re: [PHP] re: echo w/ here document

2002-11-12 Thread Marco Tabini
Works fine on my system. As Aaron said, make sure there are no spaces around ENDOFECHO; Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmers Check us out on the web at http://www.phparch.com On Tue, 2002-11-1

[PHP] PHP seg faulting

2002-11-12 Thread Mike Hall
Afternoon: I'm having problems with PHP CGI crashing and I have no idea why. The script I'm running hasn't changed, nor has the server setup. It ran fine for several weeks and then started crashing. I rebooted the server (FreeBSD 4.6) and it was fine for a couple of days... now its crashing again.

[PHP] testing

2002-11-12 Thread pig pig
testing __ Do You Yahoo!? Great flight deals, travel info and prizes! http://sg.travel.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] re: echo w/ here document

2002-11-12 Thread Troy May
Newbie here. Works fine for me too. -Original Message- From: Marco Tabini [mailto:marcot@;tabini.ca] Sent: Tuesday, November 12, 2002 5:31 AM To: Aaron Gould Cc: Craig Buxton; Subject: Re: [PHP] re: echo w/ here document Works fine on my system. As Aaron said, make sure there are no sp

Re: [PHP] Oracle 7 support

2002-11-12 Thread Maxim Maletsky
Dan Field <[EMAIL PROTECTED]> wrote... : > Can anyone tell me if Oracle 7 is supported by PHP 4.2.2 ? Yes, it is. Oracle extension is supporting Oracle 7th version, while OCI8 is primarily for 8 and 9th versions, they might be also working for Oracle 7. > I have found functions specific to Ora

RE: [PHP] testing

2002-11-12 Thread Troy May
I think it works. ;) -Original Message- From: pig pig [mailto:pigpig8080@;yahoo.com.sg] Sent: Tuesday, November 12, 2002 5:44 AM To: [EMAIL PROTECTED] Subject: [PHP] testing testing __ Do You Yahoo!? Great flight deals, travel info and p

Re: [PHP] Oracle 7 support

2002-11-12 Thread Maxim Maletsky
OCI 7 does not need any modification to support 8 and 9 but they aren't as powerful, thus should only be used for Oracle 7. OCI8 is the 8th OCI and fully supports Oracle 8 with and Oracle 9. For Oracle 9 there are a few thing that are missing, but overall can be safely used on high level productio

[PHP] Problem with header redirect with register_globals off

2002-11-12 Thread pig pig
Hi All, I am having problem with redirecting using header function with register_globals off. It works fine on my PC but not on the site as the register_globals is off on the server. When redirecting on the server it gave an CGI error: CGI Error The specified CGI application misbehaved by not r

RE: [PHP] Oracle 7 support

2002-11-12 Thread Dan Field
On Tue, 2002-11-12 at 13:03, Ford, Mike [LSS] wrote: > > -Original Message- > > From: Dan Field [mailto:danf@;ceredigion.gov.uk] > > Sent: 12 November 2002 12:18 > > > > Can anyone tell me if Oracle 7 is supported by PHP 4.2.2 ? > > Yes. > > > I have found functions specific to Oracle 8

Re: [PHP] Problem with header redirect with register_globals off

2002-11-12 Thread Marco Tabini
Can you post some code? Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmers Check us out on the web at http://www.phparch.com On Tue, 2002-11-12 at 08:52, pig pig wrote: > Hi All, > > I am having problem wi

Re: [PHP] PHP seg faulting

2002-11-12 Thread Maxim Maletsky
=0x81f3a40 >"event", attributes=0x82a6c10) at xml.c:657 > #59071 0x80f7b53 in doContent (parser=0x81bfc00, startTagLevel=0, enc=0x816ebc0, > s=0x82e617a "price=\"SP\" id=\"31,PAI370676\" saddlecloth=\"1\" />id=\"31,PAI370677\"

[PHP] flushing data as it's being generated

2002-11-12 Thread arch
Hi.. I'm using php to pull data from a mysql table and output it to the browser. Pretty basic stuff. The problem is that the output is very slow, seen from the browser end, because the html output isn't displayed at all until all the data has been retrieved. Actually it's just the part of the htm

Re: [PHP] flushing data as it's being generated

2002-11-12 Thread Jason Wong
On Tuesday 12 November 2002 22:10, arch wrote: > Hi.. > > I'm using php to pull data from a mysql table and output it to the browser. > Pretty basic stuff. The problem is that the output is very slow, seen from > the browser end, because the html output isn't displayed at all until all > the data h

Re: [PHP] Here Document on Mac OS X

2002-11-12 Thread Pierre Vaudrey
Le mardi, 12 nov 2002, à 14:15 Europe/Paris, Jason Wong a écrit : On Tuesday 12 November 2002 20:05, Craig Buxton wrote: I have been trying to include an echo statement incorporating a here document on pages being served by my Mac OS X (v10.1.5) and Apache (v1.3) When I try to browse test.ph

[PHP] internet marketing

2002-11-12 Thread Edward Peloke
My php site is almost done so now I need to begin the task of getting it noticed online. Can anyone suggest some good books or sites where I can learn all the basics and tricks for marketing my site? Thanks, Eddie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

RE: [PHP] Oracle 7 support

2002-11-12 Thread Ford, Mike [LSS]
> -Original Message- > From: Dan Field [mailto:danf@;ceredigion.gov.uk] > Sent: 12 November 2002 13:39 > > On Tue, 2002-11-12 at 13:03, Ford, Mike [LSS] wrote: > > > -Original Message- > > > From: Dan Field [mailto:danf@;ceredigion.gov.uk] > > > Sent: 12 November 2002 12:18 > > >

Re: [PHP] internet marketing

2002-11-12 Thread David Rice
Here's a site that has a lot of interesting stuff. http://www.selfpromotion.com/ On Tuesday, November 12, 2002, at 09:51 AM, Edward Peloke wrote: My php site is almost done so now I need to begin the task of getting it noticed online. Can anyone suggest some good books or sites where I can le

Re: [PHP] flushing data as it's being generated

2002-11-12 Thread arthur chen
Thanks, that did the trick! Should've read the documentation on flush( ). =] - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> Newsgroups: php.general To: <[EMAIL PROTECTED]> Sent: Tuesday, November 12, 2002 6:18 AM Subject: Re: [PHP] flushing data as it's being generated > On

[PHP] fsockopen() to ssl port gets protocol error

2002-11-12 Thread Brad Bulger
i'm doing a POST to an https server using fsockopen(). after doing the writes, i do fread($fp, 4096) until feof($fp) returns true. this seems to work fine, except that i get an SSL protocol error on the last read. can anybody with a better understanding of this give me an idea why that's happenin

Re: [PHP] Oracle 7 support

2002-11-12 Thread @ Edwin
Hello, First, let me just say that I'm no Oracle guru. :) But while we're waiting for them... "Ford, Mike [LSS]" <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Dan Field [mailto:danf@;ceredigion.gov.uk] > > Sent: 12 November 2002 13:39 ...[snip]... > > That is great news,

Re: [PHP] Oracle 7 support

2002-11-12 Thread Maxim Maletsky
Your machine will need the Oracle headers which are included in Oracle Client. So, in two words - your machine needs Oracle client installed. Try doing: echo $ORACLE_HOME in your command prompt -- Maxim Maletsky [EMAIL PROTECTED] Dan Field <[EMAIL PROTECTED]> wrote... : > On Tue, 2002-11-1

Re: [PHP] Oracle 7 support

2002-11-12 Thread Maxim Maletsky
Well, I will spread some light - I maintain OCI8 extension :) Your machine does not need Oracle Server installed, it needs Oracle Client installed. These are two completely different things. So, try this in your command prompt: echo $ORACLE_HOME if you get a result, means the client is there a

[PHP] newbie: help with date arithmetic

2002-11-12 Thread ROBERT MCPEAK
I'm trying to add/subract two dates. I think I need to use mktime() but I can't quite figure out how. I'd like to do something like this: (2002-11-15)-(2002-11-10)=5 or (2002-12-10)-(2002-11-10)=20 Obviously taking into account number of days in a given month. Does somebody have some code

Re: [PHP] Oracle 7 support

2002-11-12 Thread Chris Hewitt
Dan Field wrote: functionality included. If I recompile PHP, will I need the Oracle headers on the machine also? If so this could be a problem as the Oracle server I wish to use is not on the same machine as the webserver. Seems lots of us have not actually tried doing it without Oracle instal

Re: [PHP] _POST & _GET

2002-11-12 Thread Charles Wiltgen
Ernest E Vogelsinger wrote... > Sorry for the long post, but I believe it is important to have a look at the > relevant standards from time to time. Very informative, thanks! -- Charles Wiltgen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

[PHP] Converting "Time()" to date

2002-11-12 Thread Todd Cary
I have an array of months (monthList) that I use for a drop-down. I would like to initialize the month to "ThisMonth" using "time()". What is the best way to get "November"? from "time()"? Todd -- Ariste Software, Petaluma, CA 94952

Re: [PHP] newbie: help with date arithmetic

2002-11-12 Thread Ernest E Vogelsinger
At 16:30 12.11.2002, ROBERT MCPEAK spoke out and said: [snip] >I'm trying to add/subract two dates. I think I need to use mktime() but I >can't quite figure out how. > >I'd like to do something like this: > >(2002-11-15)-(2002-11-10)=5 > >or > >(2002-12-10)

RE: [PHP] internet marketing

2002-11-12 Thread Edward Peloke
Thanks for the info David, that site looks great! -Original Message- From: David Rice [mailto:davidrice@;rogers.com] Sent: Tuesday, November 12, 2002 9:33 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] internet marketing Here's a site that has a lot of interesting stuff. http://www.selfprom

RE: [PHP] newbie: help with date arithmetic[Scanned]

2002-11-12 Thread Michael Egan
Robert, I've been looking at this myself over the past couple of days. I gather the best approach is to convert your dates into UNIX timestamps. For example: $first_unix_time = mktime($hour1, $minutes1, $seconds1, $month1, $day1, $year1); $second_unix_time = mktime($hour2, $minutes2, $seconds

Re: [PHP] Converting "Time()" to date

2002-11-12 Thread Ernest E Vogelsinger
At 16:46 12.11.2002, Todd Cary spoke out and said: [snip] >I have an array of months (monthList) that I use for a drop-down. I >would like to initialize the month to "ThisMonth" using "time()". What >is the best way to get "November"? from "time()"? -

Re: [PHP] Oracle 7 support

2002-11-12 Thread @ Edwin
"Maxim Maletsky" <[EMAIL PROTECTED]> wrote: > > Well, I will spread some light - I maintain OCI8 extension :) > > Your machine does not need Oracle Server installed, it needs Oracle > Client installed. These are two completely different things. > > So, try this in your command prompt: > > ec

[PHP] redirecting a user to a page after a password popup

2002-11-12 Thread John Meyer
Hi, I'm generating a 401 header for a few pages, and if they click cancel, I want to send them to a 401 page. How do I do this? I've tried a header after those headers, but that just redirects them automatically. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

RE: [PHP] newbie: help with date arithmetic[Scanned]

2002-11-12 Thread ROBERT MCPEAK
This is a great help. Thanks ya'll. And I will continue to, and do regulary RTFM 8-) I find that it generally sucks for a newbie. >>> "Michael Egan" <[EMAIL PROTECTED]> 11/12/02 10:42AM >>> Robert, I've been looking at this myself over the past couple of days. I gather the best approac

Re: [PHP] Would appreciate thoughts on session management

2002-11-12 Thread Charles Wiltgen
Justin, Many thanks for the reply. I didn't provide enough detail in some spots, and I'll attempt to clarify. > Seems to me like this would generate a lot of extra server traffic, and a > little confusion... The only benefit I can see is that you're getting rid of > ugly page URLs. User experie

[PHP] progress bar for use with PHP uploads

2002-11-12 Thread Kenn Murrah
Greetings Can anyone point me in the direction of a Javascript code snippet that would display a progress bar for a PHP upload? I'm sure it can be done that way, but honestly, I lack the Javascript skills to make it happen Any and all help would be appreciated. Thanks. Kenn

Re: [PHP] progress bar for use with PHP uploads

2002-11-12 Thread Ernest E Vogelsinger
At 17:27 12.11.2002, Kenn Murrah spoke out and said: [snip] >Can anyone point me in the direction of a Javascript code snippet that would >display a progress bar for a PHP upload? I'm sure it can be done that way, >but honestly, I lack the Javascript skill

Re: [PHP] progress bar for use with PHP uploads

2002-11-12 Thread 1LT John W. Holmes
There's no way to know the percentage of the file that's uploaded, so you can't have a true progress indicator. You could just use a little popup that shows a 'wait, we're doing something' graphic that the following page closes when it loads. ---John Holmes... - Original Message - From: "

[PHP] SQLyog 2.51 - the definitve FREE Windows front-end to MySQL

2002-11-12 Thread Karam Chand
Greetings SQLyog v2.51. The definitive Windows Front End for MySQL. SQLyog is FREE! Some of the new features added in SQLyog 2.51 are - -- Alter Table structure in an easy to use Grid mode. -- Optimized for speed and network resources. -- Insert / Update data in a table. -- Insert / Update

Re: [PHP] Oracle 7 support

2002-11-12 Thread Dan Field
> First, let me just say that I'm no Oracle guru. :) But while we're waiting > for them... Thanks, all help appreciated :) > *I think* you need to have Oracle installed even if you wouldn't really > connect to it but instead connect to a different server. Since I installed > Oracle with most of t

Re: [PHP] Would appreciate thoughts on session management

2002-11-12 Thread Pablo
On 11/12/02 10:15 AM, Charles Wiltgen ([EMAIL PROTECTED]) wrote: >> So, your URLs will actually look like >> http://www.site.com/article.php?PHPSESSID=12413523245546453 > > No problem, since the user will never see this and other session properties > using this Invisible Get method even with cook

[PHP] Drop down list with date

2002-11-12 Thread Miguel Brás
Hello guys, I have a question: How can I create a drop down menu where the choices are the days of the month, displaying always the next 7 days? What I mean is, create a drop down menu and show the today's date, next day, and next... Example: Today is 12th, then the menu shows the following opt

[PHP] ereg_replace();

2002-11-12 Thread Gustaf Sjoberg
Hi, i'm trying to replace every instance of "" within the ".." tags. i want all other breakrows to remain the same. i've tried numerous regular expressions, but i can't find a way to just replace the breakrows.. it replaces _everything_ bewteen and . example $string: test test test testing t

Re: [PHP] Drop down list with date

2002-11-12 Thread Jason Wong
On Wednesday 13 November 2002 01:15, Miguel Brás wrote: > Hello guys, > > I have a question: > > How can I create a drop down menu where the choices are the days of the > month, displaying always the next 7 days? > > What I mean is, create a drop down menu and show the today's date, next > day, and

[PHP] get the output from a program

2002-11-12 Thread Greg
Hi- Is there a way in PHP to execute a program and then have it pass its output back to PHP? Say I wanted to return the value that running "df" produced and put it in a web page? Thanks!! -Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

Re: [PHP] get the output from a program

2002-11-12 Thread Adam Williams
look up exec() Adam On Tue, 12 Nov 2002, Greg wrote: > Hi- > Is there a way in PHP to execute a program and then have it pass its output > back to PHP? Say I wanted to return the value that running "df" produced > and put it in a web page? Thanks!! > -Greg > > > > --

Re: [PHP] ereg_replace();

2002-11-12 Thread Ernest E Vogelsinger
At 17:49 12.11.2002, Gustaf Sjoberg spoke out and said: [snip] >Hi, >i'm trying to replace every instance of "" within the ".." >tags. i want all other breakrows to remain the same. > >i've tried numerous regular expressions, but i can't find a way to just

[PHP] Re: get the output from a program

2002-11-12 Thread Gustaf Sjoberg
this is just a shot in the dark, beware. but i think you could make use of the system() function and pass the output to a file. ex. system('df > ~/public_html/output.tmp'); but i've never tried the function, try to search php.net functions for system On Tue, 12 Nov 2002 12:33:09 -0500 [EMAIL PR

Re: [PHP] get the output from a program

2002-11-12 Thread Adam Williams
actually, look up system() I think it would be better in your case. Adam On Tue, 12 Nov 2002, Greg wrote: > Hi- > Is there a way in PHP to execute a program and then have it pass its output > back to PHP? Say I wanted to return the value that running "df" produced > and

[PHP] FileSize and file_exist failing a file that I am sure is there

2002-11-12 Thread Brandon Orther
Hello, When try to get a file_exist response I get the following error: Warning: stat failed for /home/admin/2002-11-12-Part1.mp3 (errno=2 - No such file or directory) in /home/admin/hsReleaser.php on line 20 But I am rather sure that the file does exist. If I open /home/admin/2002-11-12-P

Re: [PHP] FileSize and file_exist failing a file that I am sure is there

2002-11-12 Thread Ernest E Vogelsinger
At 17:27 12.11.2002, Brandon Orther spoke out and said: [snip] >When try to get a file_exist response I get the following error: > >Warning: stat failed for /home/admin/2002-11-12-Part1.mp3 > (errno=2 - No such file or directory) in >/home/admin/hsReleaser.

Re: [PHP] get the output from a program

2002-11-12 Thread Greg
exec() worked jsut fine. Is there any drawback to using this? -Greg "Adam Williams" <[EMAIL PROTECTED]> wrote in message news:Pine.LNX.4.33L2.0211121138370.5968-10@;roark.mdah.state.ms.us... > actually, look up system() I think it would be better in your case. > > Adam > > On Tue, 12 Nov 2002

Re: [PHP] ereg_replace();

2002-11-12 Thread Gustaf Sjoberg
many thanks, and kudos for the quick reply. i will try that right away! as a sub-question, do you mind telling me where you learned regexp? i've been searching google all day with no luck, i've just find more or less basic regexp guides. did you learn through practice or do you have a secret sou

[PHP] Send Attachment using Php

2002-11-12 Thread Pushpinder Sngh Garcha
Hi All I have tried to use phpmailer() to send mail with attachments but it did not werk for me. Can anyone suggest some utility to send mail with attachment. Thanks --Pushpinder Pushpinder Singh Garcha _ Web Developer -- PHP General Mailing List (http://www.

[PHP] Re: Send Attachment using Php

2002-11-12 Thread Manuel Lemos
Hello, On 11/12/2002 03:50 PM, Pushpinder Sngh Garcha wrote: Hi All I have tried to use phpmailer() to send mail with attachments but it did not werk for me. Can anyone suggest some utility to send mail with attachment. You may want to try this class instead. If you still have trouble, just m

RE: [PHP] FileSize and file_exist failing a file that I am sure is there

2002-11-12 Thread Brandon Orther
Hello, Open_basedir is not set in the php.ini and I can rename the files without an issue using the rename function. Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com

Re: [PHP] ereg_replace();

2002-11-12 Thread Ernest E Vogelsinger
At 18:44 12.11.2002, Gustaf Sjoberg spoke out and said: [snip] >many thanks, and kudos for the quick reply. i will try that right away! > >as a sub-question, do you mind telling me where you learned regexp? i've >been searching google all day with no luck, i

Re: [PHP] get the output from a program

2002-11-12 Thread Adam Williams
No if it works use it, but if you choose to go with system() you will need to pass the command through escapeshellcmd() as a security precaution. Adam On Tue, 12 Nov 2002, Greg wrote: > exec() worked jsut fine. Is there any drawback to using this? > -Greg > > "Adam Willi

Re: [PHP] form question ???

2002-11-12 Thread Jim Hatridge
HI Mike et al,,, That was it! Thanks. Don't know how I missed that So next question! How can I tell my program that I want only postive numbers inputed? ie no letters or neg numbers. Thanks JIM On Monday 11 November 2002 19:57, Ford, Mike [LSS] wrote: > > -Original Message-

[PHP] small php engine

2002-11-12 Thread Maximilian Eberl
Hi list, has anyone ever experimented to "melt down" the php engine to a few hundred KBs ? By leaving out not needed libraries/functions ? What i am searching for is a very small webserver (exists) and a very small php-engine through which the webserver can process php-scripts. We want to use it

Re: [PHP] Send Attachment using Php

2002-11-12 Thread Chris Boget
> I have tried to use phpmailer() to send mail with attachments but it > did not werk for me. > Can anyone suggest some utility to send mail with attachment. I've been using Richard Heyes' mail class for quite some time with great success. You can find it here: http://www.phpclasses.org/browse

  1   2   3   >