Re: [PHP] Variable Problem when UPGRADING...

2001-01-29 Thread Philip Olson
this has to do with error reporting, using the function : http://www.php.net/manual/en/function.error-reporting.php definition of types : http://www.php.net/manual/en/phpdevel-errors.php you may have E_ALL or E_NOTICE on within php.ini philip olson http://www.cornado.com/ On Mon, 29 Jan 2

Re: [PHP] Editor

2001-01-29 Thread Philip Olson
http://marc.theaimsgroup.com/?l=php-general&r=1&w=2&q=b&s=editor Marc is thee best place to scour (as is google!), in terms of the archive, not sure what you've tried but jic. pretty much any editor will give you lines -- here's the gist of editors in no particular order and of course there ar

[PHP] session problem can't pass

2001-01-29 Thread GITD DCH
hello, I am developing a website which extensively use the session function of php. I have meet the following problem: the server for development was placed in the intranet originally and when it moved to DM zone yesterday, and then all session value can't pass any more! I had checked that all

[PHP] Variable Problem when UPGRADING...

2001-01-29 Thread James Smith
Alright, when i was programming with PHP3, I would use if statements like this: if(!$submit) { // display form } else { // display signup complete } to make multiple pages. Or I would do this: if($action == "signup") { if(!$submit) { //display form } else { // display s

Re: [PHP] Editor

2001-01-29 Thread Christian Sakshaug
Try www.phpedit.com or www.ultraedit.com (30$) At 08:37 30.01.2001, you wrote: >Hi, > >I know this has been asked before but I can`t seem to get the archive email >thingy to work, basically I`m looking for a free or cheap editor that has the >lines numbered so that it`s a bit easier for me to de

Re: [PHP] Editor

2001-01-29 Thread jeremy brand
http://www.vim.org/ :set nu Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "LINUX is obsolete" -- Andy Tanenbaum, January 29th,

[PHP] Editor

2001-01-29 Thread Website4S
Hi, I know this has been asked before but I can`t seem to get the archive email thingy to work, basically I`m looking for a free or cheap editor that has the lines numbered so that it`s a bit easier for me to debug my scripts. TIA Ade -- PHP General Mailing List (http://www.php.net/) To unsu

Re: [PHP] Server VS Client script validation

2001-01-29 Thread Michael Hall
Client side validation is not very secure. Someone may be able to play around with your script and send back whatever they like. Mick On Mon, 29 Jan 2001, kaab kaoutar wrote: > Hi! > What's best ? using client script while validating form inputs(javasript or > vbscript) or using php for valid

[PHP] Anyone out there that can help before my brain gets to hot? -> Solution #1

2001-01-29 Thread Christian Sakshaug
Thanks to Brad Jackson, solution #1 is out -> http://www.sakshaug.net/phps/loop.phps Best Regards, Christian Sakshaug -- Email: [EMAIL PROTECTED] Web: www.sakshaug.net Tel: +47 913 95 618 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROT

[PHP] test

2001-01-29 Thread Maxim Maletsky
Maxim Maletsky - [EMAIL PROTECTED] Webmaster, J-Door.com / J@pan Inc. LINC Media, Inc. TEL: 03-3499-2175 x 1271 FAX: 03-3499-3109 http://www.j-door.com http://www.japaninc.net http://www.lincmedia.co.jp

[PHP-CVS] cvs: php4 /ext/satellite namedvalue_to_zval.c typecode.c

2001-01-29 Thread David Eriksson
erikssonMon Jan 29 22:43:36 2001 EDT Modified files: /php4/ext/satellite namedvalue_to_zval.c typecode.c Log: Applied patch from Oleg Sharoiko <[EMAIL PROTECTED]> to fix bug in satellite_any_to_zval_sequence Index: php4/ext/satellite/namedvalue_to_z

[PHP] Problems with PHP mail()

2001-01-29 Thread Louis LeBlanc
Hey all. I am running RH6.2, Apache 1.3.14/php4.04. I am trying to make a simple mail() call to send myself a message when a 404 is sent - as a means of monitoring dead links. Anyway, I have the sendmail path set (/usr/sbin/sendmail -t -i), but something isn't working right. Here is the mail()

[PHP] checkdnsrr

2001-01-29 Thread Cameron
Warning: checkdnsrr() is not supported in this PHP build in /usr/local/apache/htdocs/squirrelmail/plugins/filters/filters.php on line 203 what module do i need to compile into php to get the function working? http://www.gattcomp.com.au/~gamr/test.php for a list of already compiled modules . . .

RE: [PHP] Can php listen to server ports

2001-01-29 Thread David Harrison
http://www.php.net/manual/en/ref.sockets.php has a cut'n'paste sample that works perfectly. --dave > -Original Message- > From: Scott Mebberson [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 30 January 2001 3:37 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Can php listen to server ports >

[PHP] Can php listen to server ports

2001-01-29 Thread Scott Mebberson
Hi Guys, Can php listen to server ports to capture any data that is coming in? I am running linux and PHP so if there is anyother way to get the information into PHP. Anything you can offer will be a great help. Thanks Scott. -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: html_mime_mail.class - - help

2001-01-29 Thread Finesse
all you have to do is after accepting the variables just send them to foo.php. //you can skip this file. its only for the purpose of showing which variables are to be used "; $html .=""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; ?> ***

Re: [PHP] HELP!. INstalling PHP4 on a Cobalt RAQ 2!

2001-01-29 Thread Nold, Mark
- Disclaimer: The information contained in this email is intended only for the use of the person(s) to whom it is addressed and may be confidential or contain legally privileged information. If you are no

RE: [PHP] Disable print button of client browser

2001-01-29 Thread Maxim Maletsky
There's NO METHOD~~!!! any one can just hit print-screen and dump whatever your monitor was showing into PhotoShop (which will print it on request) :-)) Cheers, Maxim Maletsky -Original Message- From: Usman Ghani [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 1:38 PM To: PH

Re: [PHP] Disable print button of client browser

2001-01-29 Thread Josh G
No, no damn way, and besides, I can alt-prtscn and paste it into something else and print from there anyway. Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to... suffering. - Original Message

[PHP] Disable print button of client browser

2001-01-29 Thread Usman Ghani
Hello Can anybody tell me how to disable the print button of the client browser? If there is any method please let me know. Thanks in advance Usman

Re: [PHP] Nesting 'foreach ()'

2001-01-29 Thread Philip Olson
Perhaps : http://php.net/ChangeLog-4.php Under 4.0.2 it says : "Fixed problem with nested foreach()'s. (Andi, Zend Engine)" philip On Tue, 30 Jan 2001, Chris Fry wrote: > Tim, > > Works fine in 4.04pl1 on NT. > > I think you should have curly braces round the inner foreach as well? > > $

Re: [PHP] VIRUS ON LIST?

2001-01-29 Thread Brian White
You left some attributes off: At 20:02 29/01/2001 -0700, Ashley M. Kirchner wrote: >Maxim Maletsky wrote: > > > my firewall reports this at last once a moth ... > > > So, uuhhh, how many moths have you caught so far? Must be > quite an insect collection by now. You may wan

Re: [PHP] Nesting 'foreach ()'

2001-01-29 Thread Chris Fry
Tim, Works fine in 4.04pl1 on NT. I think you should have curly braces round the inner foreach as well? $fred = array(1,2,3,4,5,6); foreach ($fred as $fred1) { foreach ($fred as $fred2) { echo "$fred1 : $fred2"; } }; Chris Fry Tim Ward wrote: > according to

[PHP] Nesting 'foreach ()'

2001-01-29 Thread Tim Ward
according to the online refernce foreach() doesn't change the array pointer. However the following code: $fred = array(1,2,3,4,5,6); foreach ($fred as $fred1) { foreach ($fred as $fred2) echo "$fred1 : $fred2"; }; returns: 1 : 1 1 : 2 1 : 3 1 : 4 1 : 5 1 : 6 and stops the

Re: [PHP] strings

2001-01-29 Thread Josh G
str_replace() I think the syntax is $foo = str_replace($old_foo,"http://www.something.com",""); Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to... suffering. - Original Message - F

[PHP] strings

2001-01-29 Thread PeterOblivion
How can i make http://www.something.com/blah/blah.zip into blah/blah.zip http://www.somethingcom is a constant.. always the same thing how can i cut it out? thnx - Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

[PHP] Passing HTTP_COOKIE_VARS to functions

2001-01-29 Thread Jamie
Can anyone tell me why this piece of code is not working - I'm finding that if I pass values rather then the HTTP_COOKIE_VARS["cookiename"] to the function it seems to work but I want to have this value a variable cookie (for obvious reasons). I cannot seem to find any more information on this fu

Re: [PHP] VIRUS ON LIST?

2001-01-29 Thread Ashley M. Kirchner
Maxim Maletsky wrote: > my firewall reports this at last once a moth ... So, uuhhh, how many moths have you caught so far? Must be quite an insect collection by now. You may want to clean out your firewall before it gets clogged up by all those moths. AMK4 --

RE: [PHP] when using die(), how can i get the line number that errored?

2001-01-29 Thread Maxim Maletsky
$res = mysql_query($badsqlstatement) or die(errtrapper().' at line ('.__LINE__.')'); Cheers, Maxim Maletsky -Original Message- From: Noah Spitzer-Williams [mailto:[EMAIL PROTECTED]] Sent: Monday, January 29, 2001 6:21 AM To: [EMAIL PROTECTED] Subject: [PHP] when using die(), how can i ge

RE: [PHP] VIRUS ON LIST?

2001-01-29 Thread Maxim Maletsky
my firewall reports this at last once a moth ... Cheers, Maxim Maletsky -Original Message- From: Chuck Mayo [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 8:50 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [PHP] VIRUS ON LIST? I don't want to be an alarmist, but

RE: [PHP] $DOCUMENT_ROOT

2001-01-29 Thread Maxim Maletsky
Just add the full path of your web server into your include_path (php.ini) - this should work the best for you. Cheers, Maxim Maletsky -Original Message- From: Toby Miller [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 8:07 AM To: [EMAIL PROTECTED] Subject: [PHP] $DOCUMENT_RO

RE: [PHP] testing

2001-01-29 Thread Maxim Maletsky
Yeah, apparently the server was a bit down these hours ... no one received anything ... Cheers, Maxim Maletsky -Original Message- From: Joe Sheble aka Wizaerd [mailto:[EMAIL PROTECTED]] Sent: Monday, January 29, 2001 10:52 PM To: [EMAIL PROTECTED] Subject: [PHP] testing I haven't rece

RE: [PHP] can .inc run php script?

2001-01-29 Thread Maxim Maletsky
Yup, you can even run .maxim or .john if you add them into apache's httpd.conf, or without adding anything you can just include() any possible kind of file into .php file and it will be processed just as a .php file. Cheers, Maxim Maletsky -Original Message- From: John LYC [mailto:[EMAI

RE: [PHP] Problem!

2001-01-29 Thread Maxim Maletsky
if you are sure $date will *always* be of the same format: function date_manipulator($date=0) { Global $year,$day,$month; // I should update your variables from a previous call, if you don't need it - don't use it ... if($date!=0) { $year = substring($date,0,4); $month = substr

RE: [PHP] Resize the pop-up window

2001-01-29 Thread Maxim Maletsky
Here's an example from some of my old code:  '; ?>'.three_dots(tr

RE: [PHP] Importing MS Access into MySQL?

2001-01-29 Thread Maxim Maletsky
just what my problem was 2 month ago... here we go: http://dbtools.vila.bol.com.br/ this little toy will seat on your windows machine administering your mySQL database. It has an MSAccess-mySQL import feature very easy to use. Try to do so and check if your data went transferred ok. NOTE: Y

RE: [PHP] Apache/PHP Configuration Problem on NT5

2001-01-29 Thread Maxim Maletsky
Have you touched any .htaccess file? Then maybe that's the problem ... I've no idea what you misconfigured at all, but I know that a misconfiguration of .htaccess gives you the exactly same error (500) and the error log line is often looking very similar, Cheers, Maxim Maletsky -Original

RE: [PHP] ereg()

2001-01-29 Thread Maxim Maletsky
only letters and space ? if (eregi("^[A-Z ]+$", $firstname)) this will return true only if a case-insensitive string will contain only letters and spaces... (and the string must not be NULL) if (eregi("^([A-Z]+( )*[A-Z]+)$", trim($firstname)))\ this will return "Maxim Maletsky", " Maxim Male

RE: [PHP] PHP + send mail using remote smtp server ?

2001-01-29 Thread Maxim Maletsky
Yes, Check the PHP.ini file, it can be easily configured there, Cheers, Maxim Maletsky -Original Message- From: Samuel Tran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 1:29 AM To: php-general Subject: [PHP] PHP + send mail using remote smtp server ? Hello everybody ! Is

RE: [PHP] outlook & php

2001-01-29 Thread Maxim Maletsky
What about some sort of page open of JavaScript with the email in a SRC string, so then the page opened proceed and close? PHP and Outlook? no other ideas ... MS and JavaScript? can work sometimes .. Cheers, Maxim Maletsky -Original Message- From: kaab kaoutar [mailto:[EMAIL PROTECTED

Re: [PHP] can .inc run php script?

2001-01-29 Thread John LYC
THANKS EVERYONE!!!... John LYC wrote: > hi all, > > can .inc file run scripts... > > example... > > //config.inc > > function watever() > { > //do something > $var = something; > return $var; > } > > thanks > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-

[PHP] can .inc run php script?

2001-01-29 Thread John LYC
hi all, can .inc file run scripts... example... //config.inc function watever() { //do something $var = something; return $var; } thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] File upload problem

2001-01-29 Thread Hugo Trovao Mota
Hi! I've recently upgraded my system to Redhat 7, running Apache 1.3.14, PHP 4.0.4pl1 and mod_perl 1.24. Since that, some of my PHP scripts just stopped working (they worked just fine before). When I use file upload, all the uploaded files get a "free bonus" 'Content-Type' header that makes t

[PHP-CVS] cvs: php4 /ext/com conversion.c typedef_VARIANT.c

2001-01-29 Thread Harald Radi
phanto Mon Jan 29 18:09:38 2001 EDT Modified files: /php4/ext/com typedef_VARIANT.c conversion.c Log: pass another com object as parameter Index: php4/ext/com/typedef_VARIANT.c diff -u php4/ext/com/typedef_VARIANT.c:1.2 php4/ext/com/typedef_VARIANT.c:1.

Re: [PHP] Problem!

2001-01-29 Thread Jeff Warrington
In article <000a01c08960$f60d33e0$6dc94382@hp>, "Fredrik Arild Takle" <[EMAIL PROTECTED]> wrote: $date = "20010101"; $newdate = strtotime($date); $formatted = date("m d Y",$newdate); list($mon, $day, $year) = array(date("m",$newdate),date("d",$newdate),date("Y",$newdate)); > 1. > $date = "200

Re: [PHP] form validation :ereg ()

2001-01-29 Thread Jeff Warrington
In article <[EMAIL PROTECTED]>, "kaab kaoutar" <[EMAIL PROTECTED]> wrote: If you wish to include a hyphen in the allowed character list of a pattern match, you must include it as the last character. So what you want should be more like: if (eregi("[^a-zA-Zëàéêêàäïüöûâç-]",$name)) { print("

[PHP] RE: PHP and Oracle resources

2001-01-29 Thread Nold, Mark
- Disclaimer: The information contained in this email is intended only for the use of the person(s) to whom it is addressed and may be confidential or contain legally privileged information. If you are no

Re: [PHP] ' VS "

2001-01-29 Thread Philip Olson
Hello Jonathan, Not sure on the exact numbers but consider : print "hello, this has one $variable in it yet all is interpreted"; print 'hello, Concatenating is a ' . $another . ' way!'; not sure the exact performance increases but if done a million times it should be noticable. i hap

Re: [PHP] expressions

2001-01-29 Thread Jeff Warrington
In article <94t6hv$903$[EMAIL PROTECTED]>, "Kumanan" <[EMAIL PROTECTED]> wrote: if (eregi("[^0-9]{3}",$co_area)) { print("area code must be digits"); } or if (eregi("[^[:digit:]]{3}",$co_area)) if you use the POSIX regex fields. > hi, im trying to fix this couple of hours but i couldnt

Re: [PHP] PEAR?

2001-01-29 Thread Sterling Hughes
> I came across http://pear.php.net/ So what is this? I found this in the PHP > Developers Cookbook by SAMS...Right now it only has a few documentation and > coding standards...are there more plans for this? > Good choice in reading ;-). PEAR, the web site is currently not that functional, but r

Re: [PHP] ereg_replace all items in a array

2001-01-29 Thread Jeff Warrington
In article <[EMAIL PROTECTED]>, "Joseph H Blythe" <[EMAIL PROTECTED]> wrote: What is happening is that you are replacing the variable $replaced on each iteration of the while loop. As a result, $replaced is only storing the most recent match. To see this, try this out: $keywords = "foo"; $data

[PHP] ' VS "

2001-01-29 Thread Jonathan Sharp
I read somewhere that when PHP encounters a single quote ' it doesn't parse the contents for any variables or such...but if it encounters the double quote " it does. How much of a performance increase (very very very very small I'd imagine) would this provide? Any thoughts on coding style? -Jonat

Re: [PHP] ibm-db2 support

2001-01-29 Thread [EMAIL PROTECTED]
Yup. Install the "DB2 Application Development" package and it'll give you the headers. -Szii - Original Message - From: Bill Sneed <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, January 28, 2001 12:49 PM Subject: [PHP] ibm-db2 support > Greetings: > > I'm using RH6.2, DB2 V

RE: [PHP] $DOCUMENT_ROOT

2001-01-29 Thread Jonathan Sharp
define('DOCUMENT_ROOT', 'C:\path\to\document\root'); NOTE! This would define a global variable to all your scripts without the $ dollar sign. include(DOCUMENT_ROOT."/folder/file.php"); -Jonathan Sharp Director of Technology - Imprev Inc. Renwick Development Group - Flyerware http://www.flyerwar

[PHP] PEAR?

2001-01-29 Thread Jonathan Sharp
I came across http://pear.php.net/ So what is this? I found this in the PHP Developers Cookbook by SAMS...Right now it only has a few documentation and coding standards...are there more plans for this? -Jonathan Sharp Director of Technology - Imprev Inc. Renwick Development Group - Flyerware htt

RE: [PHP] Problem!

2001-01-29 Thread Benjamin Munoz
Stephen, If this date format is coming from a MySQL database (frequently the case), you might want to look at the date formatting functions of MySQL. http://www.mysql.com/doc/D/a/Date_and_time_functions.html. ex. select DATE_FORMAT('1997-10-04 22:23:00', '%W %M %Y'); One drawback is that thi

Re: [PHP] $DOCUMENT_ROOT

2001-01-29 Thread CC Zona
In article <039901c08a48$3d4b5740$[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Toby Miller") wrote: > Whenever I include files in Apache I always do it like this: > > include($DOCUMENT ROOT."/folder/file.php"); > > However, now I am doing a site in IIS and I do not have $DOCUMENT ROOT at > my disp

Re: [PHP] Problem!

2001-01-29 Thread Stephan Ahonen
<<1. $date = "20010101"; How could I output 01 01 2001 (or make it 3 variables, like day, month, year)?>> $year = substr($date,0,4); $month = substr($date,4,2); $day = substr($date,6,2); ...Assuming that the date is stored in mmdd format. -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] when using die(), how can i get the line number that errored?

2001-01-29 Thread David Harrison
print __LINE__ Will print the line number (as per http://www.php.net/manual/en/language.constants.php). --dave > -Original Message- > From: Noah Spitzer-Williams [mailto:[EMAIL PROTECTED]] > Sent: Monday, 29 January 2001 7:21 AM > To: [EMAIL PROTECTED] > Subject: [PHP] when using die(

[PHP] Sybase port definition

2001-01-29 Thread Sloboda, Jaroslav
Hi folk's I have one problem our sybase uses port 5000 how can i tel php to send all traffic on this port ? thank's jaro -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administ

[PHP] when using die(), how can i get the line number that errored?

2001-01-29 Thread Noah Spitzer-Williams
here's my code: $res = mysql_query($badsqlstatement) or die(errtrapper()); inside errtrapper(), is there a way to find out what line this error occurred? thanks!! - Noah -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: [PHP] Sending Download Header

2001-01-29 Thread Natasha
The filename is just the name, the content is what matters, and also wanted to know if echoing binary data is ok ? and what about images, can i send it through octect stream ? will they turn up right ? --- WreckRman2 <[EMAIL PROTECTED]> wrote: > When doing this does the $file_name have to be in

[PHP-CVS] cvs: php4 /pear PEAR.php.in /pear/tests pear_error.phpt pear_error3.phpt

2001-01-29 Thread Stig Bakken
ssb Mon Jan 29 16:55:27 2001 EDT Added files: /php4/pear/testspear_error3.phpt Modified files: /php4/pear PEAR.php.in /php4/pear/testspear_error.phpt Log: @Added raiseError and setErrorHandling methods to PEAR class (Stig

[PHP] FTP rawcommands -> FXP

2001-01-29 Thread Andreas Richter
I need a function to exec raw commands on a server, like "LIST" and esp. "LIST -al". I going to use it for programming a public php-fxp client. mfg

[PHP] APC version 1.0.7 released

2001-01-29 Thread George Schlossnagle
Changes in this version: 1.0.7: + partially fixed for Solaris [gws 01.29.2001] + fixed mtime support for relative includes [gws 01.29.2001] + code cleanup [yg,ta,gws 01.29.2001] + support for mtime in mmap [yg,gws 01.27.2001] + fixed indexed-array initialization bug [djc,gws 01.27.2001] This sh

RE: [PHP] PHP/MySQL question

2001-01-29 Thread Joe Sheble (Wizaerd)
// loops through the entire recordset while( $qrResults = mysql_fetch_array( $rQuery )) { print( $qrResults["SomeField"] } // reset the recordpointer to the first record mysql_data_seek( $rQuery, 0 ); Joseph E. Sheble a.k.a. Wizaerd Wizaerd's Realm Canvas, 3D, Graphics, ColdFusion, PHP,

[PHP] Using PHP as generic security wrapper for content

2001-01-29 Thread Aaron D. Turner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 While this isn't a really a PHP problem, I figured I can't be the first person to ever have tried to solve this problem. Basically I have a web site with many kinds of content (static html, PHP, cgi's of various flavors, etc) and I'm looking to crea

Re: [PHP] Resize the pop-up window

2001-01-29 Thread Chris Hayes
> I have a link, which will pop up a new window, but the problem is: I don't > know how to resize the new popped-up window. > > My code is like this: > > intel connection * for 3.0+ browsers open a window with javascript (see www.irt.org window FAQ's) and set size in window features * for

[PHP] ENOTTY error

2001-01-29 Thread Slappy Smith
I get this error, even when trying to start apache with the -X option: (tail end of strace on httdp -X) 6421 open("/etc/httpd/php3.ini", O_RDONLY) = 5 6421 ioctl(5, TCGETS, 0xbfffc8e8) = -1 ENOTTY (Inappropriate ioctl for device) 6421 read(5, "[PHP_3]\n\n;;;\n; A"..., 8192

Re: [PHP] Invoke PHP script from onLoad handler?

2001-01-29 Thread Kristofer Widholm
Here's what you wrote, 01-01-27: >OK, I've gone back through the archives and now understand the situation >with client- and server-side. I just wasn't thinking it through. > >Spawning a window to let PHP query the db and somehow passing returned >values back to the parent window is something I c

[PHP] Re: filename length ...

2001-01-29 Thread Josh G
There's no filename length, but the url string (even for POST I belive) must total < 4096 characters. Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to... suffering. - Original Message - F

Re: [PHP] PHP and Oracle resources

2001-01-29 Thread Markus Fischer
On Sun, Jan 28, 2001 at 12:46:37AM -0500, Kristofer Widholm wrote : > Well, I've been given the joyous task of implementing the DaveTV > project at CBS via PHP, using Oracle as a database. > > I've never used Oracle before. > > Looking at the PHP functions for Oracle, and having heard about it

Re: [PHP] Apache

2001-01-29 Thread Markus Fischer
On Sat, Jan 27, 2001 at 09:57:35PM -0500, [ rswfire ] wrote : > 3. How can I turn on directory browsing? I am receiving a Forbidden error > whenever there isn't a default document in a directory. htpd.conf: Options Indexes or in .htaccess Options Indexes You'll find all documentation at

[PHP] VIRUS ON LIST?

2001-01-29 Thread Chuck Mayo
I don't want to be an alarmist, but wanted to give everyone a heads-up. Our firewall at corporate scrubbed a virus from a mail sent to the php-db list from "Angel2 Gabriel Lena Valega". The virus was in an attachment named "Emanuel.exe" and the message subject was "i need help with odbc!" John C

RE: [PHP] Automate the apache authentication process

2001-01-29 Thread Jason Murray
> However, Apache htpasswd is an interactive program and we > need manually input the password, is there a way to automate > and batch process this using php scripts? [jason@phpdev htdocs]$ /usr/local/apache/bin/htpasswd --help Usage: htpasswd [-cmdps] passwordfile username htpa

[PHP] IIS and $PHP_AUTH_USER

2001-01-29 Thread Shane McBride
I am getting a whole lot closer to getting IIS to work with PHP loading as ISAPI. Now, when I try to get authorized, it never works. It's probably a varialbe in the .ini file I have not set. I keep getting the user prompt box, and the realm changes after the first login failure NT5 PHP 4.0.4pl

[PHP] Automate the apache authentication process

2001-01-29 Thread david klein
I am using apache authentication. The problem is: I want the user to be able to get registered throught the web GUI, and all the users' password and userID will be kept in the database. In my mind, I can use php later to get all these userID/password, and run the apache htpasswd to register the

Re: [PHP] Server VS Client script validation

2001-01-29 Thread Steve Edberg
At 11:27 AM + 1/29/01, kaab kaoutar wrote: >Hi! >What's best ? using client script while validating form >inputs(javasript or vbscript) or using php for validating! >with the first way, i can trigger alert ! however with the second >one, i have to show up a whole page for just saying that th

Re: [PHP] [NEWBIE] PHP.INI

2001-01-29 Thread Jani Taskinen
On Mon, 29 Jan 2001, Steve Haemelinck wrote: >I want to put the php.ini in /etc/php > >Which argument do I have to attach to ./configure --?=/etc/php to accomplish >this ? Try running ./configure --help sometimes.. :) Anyway, the right argument is --with-config-file-path --Jani -- PHP Gener

Re: [PHP] PHP/MySQL question

2001-01-29 Thread Johannes Janson
reset($array), if this is what you need. this resets (who would have thought it?) the internal pointer back to the first position. ""Julia A . Case"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Is it possible to move through an array that is returned

[PHP] Interactive external program execution

2001-01-29 Thread Paul
I'm running php4 as a CGI binary. During the course of a cronjob scheduled script, I need to execute an external program which connects to another server using an implementation of eftp (sort of ftp for ISDN). The eftp program returns no success/error codes, is moderately unstable, and the remot

[PHP] regex with non-ascii characters

2001-01-29 Thread Remco Chang
hi, just a quick question... i can't seem to have ereg() work with non-ascii characters such as the character 'ö'. is this something that i can work around? remco chang www.bountyquest.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

[PHP-CVS] cvs: php4 /ext/domxml config.m4

2001-01-29 Thread Jani Taskinen
sniper Mon Jan 29 15:15:12 2001 EDT Modified files: /php4/ext/domxmlconfig.m4 Log: Fixed bug #8946. In some systems the libxml.* is actually libxml2.* Index: php4/ext/domxml/config.m4 diff -u php4/ext/domxml/config.m4:1.19 php4/ext/domxml/config.m4:1.2

[PHP] PHP/MySQL question

2001-01-29 Thread Julia A . Case
Is it possible to move through an array that is returned as a recordset and then move back to the beginning of the array. Julia -- [ Julia Anne Case ] [Ships are safe inside the harbor, ] [Programmer at large] [ but is that what ships are really for.] [ Admining Li

Re: [PHP] Server VS Client script validation

2001-01-29 Thread Toby Butzon
Make the form page post to itself and use default values of . The initial form will be blank, but subsequent failing attempts will have the values the visitor already entered. You can also add red text to the form to show what exactly was wrong, etc. Then, to handle posts that are successful, you

Re: [PHP] [NEWBIE] PHP.INI

2001-01-29 Thread Johannes Janson
Hi, I'm not sure but I think it's "--with-config-file-path=/path/to/dir. Good Luck Johannes ""Steve Haemelinck"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 003901c08a14$3f692bd0$0200a8c0@shaemeli">news:003901c08a14$3f692bd0$0200a8c0@shaemeli... > I want to put the php.ini in /etc/php > > Whic

[PHP] $DOCUMENT_ROOT

2001-01-29 Thread Toby Miller
Whenever I include files in Apache I always do it like this: include($DOCUMENT_ROOT."/folder/file.php"); However, now I am doing a site in IIS and I do not have $DOCUMENT_ROOT at my disposal. What do most of you usually do to workaround this? Aside from installing Apache and Linux and bypassin

Re: [PHP] Problem with a regex!

2001-01-29 Thread Stephan Ahonen
> Your not going to find {title} when $var = "TITLE". Everything PHP is case > sensitive. If it absolutely *has* to be case insensitive, you can use eregi instead of ereg. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

[PHP] Thumbnails and PHP

2001-01-29 Thread Todd Cary
What is the best way to display thumbnail photos and their titles with HTML/PHP? Table? If I do and all works fine - the 's "word wrap". But, when I do and , I get a horizontal scroll bar and the 's go off to the left. Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General

[PHP] MS SQL 7.0 - Functions

2001-01-29 Thread Santhyago Bueno Gallão
Hi, Which are the functions of php to controler a data base Microsoft SQL 7? >From which version is possible PHP - MSSQL? I have that to install some module? Tanks, Santhyago -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: [PHP] Problems with majodomo

2001-01-29 Thread Brian V Bonini
I missed the beginning of this thread, I've got a subscribe routine set up on a website for Majordomo, what are you trying to do? Bring me up to speed -Brian > -Original Message- > From: Alan Todd [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 29, 2001 10:33 AM > To: Phpg > Subje

RE: [PHP] LOOKING FOR CODE LOCATION IN PHP SOURCE....

2001-01-29 Thread Joe Sheble (Wizaerd)
I don't believe this is a PHP function, but rather a function of the browser if using the Joseph E. Sheble a.k.a. Wizaerd Wizaerd's Realm Canvas, 3D, Graphics, ColdFusion, PHP, and mySQL http://www.wizaerd.com = > -Original Message- > From: Tim Meader [m

Re: [PHP] AUTH_PW & External Authentication

2001-01-29 Thread david klein
I don't think it is easy to steal the password by using PHP_AUTH_PW. PHP_AUTH_PW is cached in the browser, if you exit the browser, nobody can steal it. If the other people is using a different browser, there is no way for him to steal it even if he is accessing the same URL. Just my understa

Re: [PHP] Resize the pop-up window

2001-01-29 Thread david klein
Joe, Got it! Thank you very much. Now the codes are like this:

Re: [PHP] Maximum execution time exceeded!

2001-01-29 Thread Kyle Jerviss
That loop will never end. Generally, the loop body should manipulate some part of the loop ending condition. initialize $i before the loop replace the second loop with "if($prescene2==0){$i++;}" Chakravarthy K Sannedhi wrote: > > hi all, > > when i am trying to calculate the number of rows wi

RE: [PHP] Importing MS Access into MySQL?

2001-01-29 Thread Jon Snell
There are a few ways to do this... 1) Save your data to a comma separated list and use the import features of mysql. This is the easiest option for one time use. 2) Use MyODBC, create a link table, and paste the rows into it. This is one of the easier options if you plan on doing it repeatedly.

[PHP] PHP Classes

2001-01-29 Thread christopher calicott
I know this has been discussed several times before, but the only actual class I've found information on - tap internet - had a problem and cancelled their class. I am willing to travel within the US to take a comprehensive PHP and/or mySQL/PHP class, but I can't find one to take. Could you plea

RE: [PHP] Cookie with Netscape

2001-01-29 Thread Eugene Yi (InfoSpace Inc)
Yeah, that's what I read from the documentation but it works in IE. I mean I place the print right after the setcookie command, and it prints the cookie value when successfully set. Of course, the next page will fail because of the print before header. > -Original Message- > From: Aaron

[PHP] MySQL Backup Daemon

2001-01-29 Thread Michael A. Peters
Howdy, The company I work for has developed a backup daemon for MySQL (Windows and x86 Linux) that uses a php web interface. We will be destributing it commercially, but would like to offer it for beta testing to a limited number of users. If anyone here has interest in testing the software, p

Re: [PHP] IIS and PHP authorization

2001-01-29 Thread Ernest E Vogelsinger
At 06:48 28.01.2001, Rasmus Lerdorf said: [snip] >There is an ISAPI module. [snip] yes, which is more than unstable as I found... Using a good machine (2xXeon 550, 512 MB, NT4/SP6a/IIS4) it constantly crashed being a

  1   2   >