[PHP] javascript group

2001-05-18 Thread Jacky
Hi people Does anyone outthere know any javascript mail list that I can subscribe to? And also, just in case, does anyone know how can I validate a form that has radio button to see if the radio button is checked before submit? cheers Jack [EMAIL PROTECTED] There is nothing more rewarding than

[PHP] Problem with PHP_SELF

2001-05-18 Thread Richard Kurth
I am having a problem with this script. It works perfect if I just do a Query like (SELECT * FROM customers) but if I call it from another script with a form to set the search criteria for this Query (SELECT * FROM customers WHERE $metode LIKE '%$search%') It will show the first page

Re: [PHP] Finding if a number is in the range

2001-05-18 Thread Christian Reiniger
On Friday 18 May 2001 06:16, MaD dUCK wrote: also sprach Zak Greant (on Thu, 17 May 2001 09:35:18PM -0600): Or just use a simple chain of if statements :) yeah, but that's so O(n) ! i can do in O(lg n) or, given n CREW processors, in O(1) time! yes, i have just finished my computational

Re: [PHP] Problem with PHP_SELF

2001-05-18 Thread James Holloway
Hi Richard. Two methods, POST and GET: Post for forms and best works with hidden elements. Get can be put across URL's: echo a href=\$PHP_SELF?page=$next_page$metode=$search\Next/a; Or FORM ACTION=? echo $PHP_SELF; ? METHOD=POST INPUT TYPE=hidden NAME=? echo $metode; ? VALUE=? echo $search;

Re: [PHP] Problem with PHP_SELF

2001-05-18 Thread James Holloway
Gah! Forgot an element for that form: Page element. INPUT TYPE=hidden NAME=page VALUE=? echo $next_page; ? :) Hi Richard. Two methods, POST and GET: Post for forms and best works with hidden elements. Get can be put across URL's: echo a

[PHP] Please help!!!! HTTP problem...

2001-05-18 Thread Romulo Pereira
Hello! I am in an server with Apache and PHP. I want PHP to authenticate in other server (Novell with Netscape). Like this: SSL (PAGE 1 SERVER 1) SSL (PAGE 2 SERVER 2) SERVER 1: Apache and PHP SERVER 2: Novell with Netscape PAGE 1: PHP script page PAGE 2: PHP script page

Re: [PHP] Finding if a number is in the range

2001-05-18 Thread MaD dUCK
also sprach Joseph Blythe (on Fri, 18 May 2001 02:29:40PM +0930): I give these ideas a go unfortunately the ranges are not contiguous, they are all over the place. so you make new ranges to fill spaces and associate a bool with each... or you check them linearly... martin;

Re: [PHP] Finding if a number is in the range

2001-05-18 Thread MaD dUCK
also sprach Zak Greant (on Thu, 17 May 2001 11:50:35PM -0600): Do you really need a chainsaw to cut a piece of cake? ;) hehe. depends. and come on, i simultaneously have a point and am joking... martin; (greetings from the heart of the sun.) \ echo mailto: !#^.*|tr *

Re: [PHP] Netscape 6, What a piece of s$#@ ,anyone else had problems with php and Netscape 6?

2001-05-18 Thread Lucas Persona
All, Billy Harvey wrote: 2. If I copy the html outputted to the browser and past it into an html file it loads good. When I say I suspect this to be something wrong with PHP I mean that Netscape doesn't play good with PHP.(Not that PHP has a bug in it) Neither Netscape nor any other

[PHP] Sessions - new window

2001-05-18 Thread jarek
Hi, Is it posibble to have more than one session for one user? I have a page with forms(report_select.php) and result page(show_report.php), when someone has two windowa opened with differents data postet from (report_select.php), old data are replaced by new and the effect is that there is one

[PHP] a slight newbie question

2001-05-18 Thread Johan Vikerskog (ECS)
?php /* Search for the criteria in $search */ mysql_connect('localhost', 'root', 'qwerty') ; mysql_select_db('support') ; $result = mysql_query (SELECT * FROM records WHERE MATCH (title,body) AGAINST ('$search'));

[PHP] Problem with exec, shell_exec

2001-05-18 Thread Charles Williams \(CEO\)
below you'll see a bit of code that is not working for me. I have tried exec, shell_exec, passthru, system. nothing works. If I copy the echoed copy of the command and paste it in an SSH session it works 100%. all of the exec, and such use the 'sh' shell. So I changed to that shell to verfy

Re: [PHP] \nhelp

2001-05-18 Thread Jason Stechschulte
On Wed, May 16, 2001 at 05:13:16PM -0400, jtjohnston wrote: I am parsing the contents of a text file. Congratualtions. I have certain lines that start with 4; I would like to attach these lines to the previous line as follows. But I don't know how. I figure I have to search and replace for

Re: [PHP] url_rewriter.tags PHPSESSID automaticly added to URLS

2001-05-18 Thread Jason Stechschulte
On Thu, May 17, 2001 at 04:49:43PM -0700, Chris Cowan wrote: Does anyone know why the $PHPSESSID would be automaticly added to the url on PWS on Win2000 but not on IIS 4 on WinNT 4.0? Is this a feature dependent on the web server of is there something wrong on my server? Most likely they are

Re: [PHP] a slight newbie question

2001-05-18 Thread elias
continue then like: while ($r = mysql_fetch_array($result)) { echo title=$title, body=$body; } -elias Johan Vikerskog (ECS) [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED].. . ?php /* Search for the criteria in $search */ mysql_connect('localhost', 'root',

RE: [PHP] A universal Database Class

2001-05-18 Thread Andrew Hill
Brandon, You may wish to try ODBC. Counter to some misconceptions expressed, ODBC is neither slow nor necessarily an 'additional' layer, and will provide you the abstraction you mention. ODBC requires a Driver Manager to work, there are HOWTO's on compiling PHP with the iODBC Driver Manager at

[PHP] file()

2001-05-18 Thread elias
hello, i have my file which reads like: dir3/dir3-3/ dir2/ dir1/ s now when i run this script: $a = file(exclude_dir.txt); $t = dir3/dir3-3/; $temp = in_array($t, $a) ? yes : no; echo \$a=; var_dump($a); echo br; echo in_array(\$t=$t, \$a)=$temp; i have this output:

Re: [PHP] javascript group

2001-05-18 Thread elias
Jacky! form name=f1 action= input type=radio name=sex value=maleder Manbr input type=radio name=sex value=femaledie Fraubr input type=submit onclick=if (!f1.sex[0].checked !f1.sex[1].checked) {alert('put something!');return false} alert('submitting now'); return true; /form and group:

[PHP] Problem with talnet

2001-05-18 Thread khuram latif
Hi Dears, Please tell me the alternate software of Telnet, because i've problem with talnet. Regards, khuram -- 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 administrators,

Re: [PHP] Problem with talnet

2001-05-18 Thread Kurth Bemis
At 09:31 AM 5/18/2001, khuram latif wrote: http://www.openssh.org you want SSH (Secure Shell) why anyone uses telnet anymore is beyond me. ~kurth Hi Dears, Please tell me the alternate software of Telnet, because i've problem with talnet. Regards, khuram -- PHP General Mailing List

Re: [PHP] Why is this not working

2001-05-18 Thread bill
I use php as a CGI from a secure location to do it all. To add a user to .htpasswd on Apache: $thefile=fopen($pathtofile/.htpasswd, a); $newuserline=$username: . crypt($pass) . \n; fwrite($thefile, $newuserline); kind regards, bill hollett YoBro wrote: After much

Re: [PHP] Problem with exec, shell_exec

2001-05-18 Thread Charles Williams \(CEO\)
Have located ( I think ) the problem. I have been calling 'super' from the php script and when I call 'cadduser' it works perfect but when I call 'caddvsite' I get an 'Unable to setgid=0' error. Any idea why this would happen? Both executables are owned by root.root and permission of both are

[PHP] debugging problems

2001-05-18 Thread Taline Makssabo
This is a program i wrote to get some information at keep track with some stats. I am very new at this so bare with meI keep on getting this Warning: Warning: Supplied argument is not a valid MySQL result resource in /home/virtual/ppcu/home/httpd/html/php2/stat.php on line 13 Warning:

[PHP] Parse error..help!

2001-05-18 Thread Taline Makssabo
Here is another error i keep on getting, this is suppose to send me an email each time someone enters in my website but i keep on gettong this error message: Parse error: parse error in /home/virtual/ppcu/home/httpd/html/php2/login.php on line 8 I don't see anything wrong, please help. ?

Re: [PHP] debugging problems

2001-05-18 Thread elias
You forgot to select the database! mysql_select_db($db_name); -elias http://www.eassoft.cjb.net Taline Makssabo [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... This is a program i wrote to get some information at keep track with some stats. I am very new at

Re: [PHP] Parse error..help!

2001-05-18 Thread Rasmus Lerdorf
Here is another error i keep on getting, this is suppose to send me an email each time someone enters in my website but i keep on gettong this error message: Parse error: parse error in /home/virtual/ppcu/home/httpd/html/php2/login.php on line 8 I don't see anything wrong, please help. ?

Re: [PHP] Parse error..help!

2001-05-18 Thread Keith Ng
In reply to [EMAIL PROTECTED]: Return-Path: [EMAIL PROTECTED] Received: from toye.php.net (va.php.net [198.186.203.51]) by cobalt1.intermedia.com.sg (8.10.2/8.10.2) with SMTP id f4IDicZ30638 for [EMAIL PROTECTED]; Fri, 18 May 2001 21:44:39 +0800 Received: (qmail 23365

RE: [PHP] debugging problems

2001-05-18 Thread Don Read
On 18-May-01 Taline Makssabo wrote: This is a program i wrote to get some information at keep track with some stats. I am very new at this so bare with meI keep on getting this Warning: Warning: Supplied argument is not a valid MySQL result resource in

Re: [PHP] Parse error..help!

2001-05-18 Thread Keith Ng
In reply to [EMAIL PROTECTED]: Return-Path: [EMAIL PROTECTED] Received: from toye.php.net (va.php.net [198.186.203.51]) by cobalt1.intermedia.com.sg (8.10.2/8.10.2) with SMTP id f4IDicZ30638 for [EMAIL PROTECTED]; Fri, 18 May 2001 21:44:39 +0800 Received: (qmail 23365

Re: [PHP] Parse error..help!

2001-05-18 Thread infoz
It should be something like: function AccessHit() { ... } -- 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 administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Parse error..help!

2001-05-18 Thread elias
Were you a LISP programmer or something? Taline Makssabo [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Here is another error i keep on getting, this is suppose to send me an email each time someone enters in my website but i keep on gettong this error

RES: [PHP] REMOTE SCRIPTING - RSexec() DOUBT

2001-05-18 Thread Felipe Moreno
Hi list members, I'm trying to develop a script that work like the MS jscript function called RSexec () (Remote Script execute). During this develop, I'm having a doubt regarding the use of that function RSexec(), cause I was reading about it, and every reference points do use it with ASP

[PHP] php_track_vars

2001-05-18 Thread Matt Davis
Until recently I have been using php3 on a linux webserver. Most of my sites uses php_track_vars at some point. I have just set up PHP 4 on my NT webserver in house to use a development machine rather than uploading everything to test it. This has been great and has been saving me a lot of time,

Re: [PHP] Sessions - new window

2001-05-18 Thread Chris Lee
I dont think there are ways of doing that. can you give some code snippits ? what data are you storing in the session ? sessions are great for storeing unique id's etc, you can use them to store your entire db, but you shouldnt IMHO... -- Chris Lee [EMAIL PROTECTED] jarek [EMAIL

Re: [PHP] php_track_vars

2001-05-18 Thread Rasmus Lerdorf
Until recently I have been using php3 on a linux webserver. Most of my sites uses php_track_vars at some point. I have just set up PHP 4 on my NT webserver in house to use a development machine rather than uploading everything to test it. This has been great and has been saving me a lot of

RE: [PHP] REMOTE SCRIPTING - RSexec() DOUBT

2001-05-18 Thread Jon Haworth
Two things: 1. You might want to read the Zend article on chained selectors: http://www.zend.com/zend/tut/drop-down.php 2. If it's a site to do with cars, it's marques, not marks. Cheers Jon -Original Message- From: Felipe Moreno [mailto:[EMAIL PROTECTED]] Sent: 18 May 2001 15:10 To:

Re: [PHP] Please help!!!! HTTP problem...

2001-05-18 Thread Chris Lee
that should work, if you dont want the username and password seen in the url bar the once your at that page, see if the username:password@ are in the url, if so header_redrect to the same page minus the username/passwd. once a browser has the username/passwd it remembers it and sends it on

[PHP] Need more help please!

2001-05-18 Thread Taline Makssabo
Thanks for the reply but now i have problems with my pop up! Here is the message in getting. Whats the problem now Warning: Supplied argument is not a valid MySQL result resource in /home/virtual/ppcu/home/httpd/html/php2/login.php on line 29 Warning: Cannot add header information - headers

Re: [PHP] Netscape 6, What a piece of s$#@ ,anyone else had problems with php and Netscape 6?

2001-05-18 Thread Lucas Persona
Jason, I've Replyed also to the lsit, because someone could help us on this... Jason Lotito wrote: Lucas Persona wrote: I was used to think on that way... Some time ago I have problems with Netscape 6 and PHP. It was not a HTML error but something related to PHP/Netscape 6. The

Re: [PHP] Parse error..help!

2001-05-18 Thread Greg K
Also take off the semicolon of the closing of the function } Taline Makssabo [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Here is another error i keep on getting, this is suppose to send me an email each time someone enters in my website but i keep on gettong

Re: [PHP] Problem with talnet

2001-05-18 Thread John Monfort
Try SSH (Secure Shell) __John Monfort_ _+---+_ P E P I E D E S I G N S www.pepiedesigns.com The world is waiting, are you ready? -+___+- On Fri, 18 May 2001, khuram latif wrote: Hi

[PHP] exit in function

2001-05-18 Thread Jakob Kruse
Hi I use PHP 4.0.5 and Apache 1.3.19 on Windows 2000, with PHP running as an Apache module. If I use the exit construct from within a function Apache crashes. I made a small test-page like this: ?php function foo() { echo foo1; exit; echo foo2; } foo(); echo bar; ? I would expect it to

[PHP] Where the hell did my session vars go?!?

2001-05-18 Thread John Wells
I'm having serious issues with session management in PHP and am trying to determine if it's a problem with my hosting company or a problem in my code. The flow of my site is: login_page - session_start_page - form_page - display_results_page Upon login a POST is made to session_start_page.

[PHP] Flash SQL Component Kit

2001-05-18 Thread Mike Chambers
I have just release the Flash / SQL component kit. This makes it simple to execute SQL queries from within Flash (and then manipulate the results from Flash). I am posting this here because it includes PHP server components (for connections to ODBC and MySQL). Basically, the kit makes it easy

[PHP] Parse error help!

2001-05-18 Thread Taline Makssabo
Thanks for all the help guys but one more minor issue, i am not receiving the email that someone accessed my page...why?? ? Function AccessHit() { $NL = \n; $H = getLastHost(); $R = getLastRef(); $To = [EMAIL PROTECTED]; $Sub = Page Accessed;

RE: [PHP] exit in function

2001-05-18 Thread PHPBeginner.com
it happens quite often on Win2k. Don't know why, but in my case it happened with some loopy-loops containing SQL in it. Sometimes it works sometimes it doesn't. Try also renaming files. I know it sounds ridiculous, but happened to work for me. m -Original Message- From: Jakob Kruse

Re: [PHP] Where the hell did my session vars go?!?

2001-05-18 Thread John Wells
Here's the server config if it's more help. Thanks!!! John PHP Version 4.0.5 System Linux xxx 2.2.16-3 #1 Mon Jun 19 18:10:14 EDT 2000 i686 unknown Build Date May 17 2001 Configure Command './configure' '--with-mysql' '--with-apache=../apache_1.3.19' '--enable-track-vars'

RE: [PHP] Netscape 6, What a piece of s$#@ ,anyone else had problems with php and Netscape 6?

2001-05-18 Thread PHPBeginner.com
Try this: File: netscape6.php ?php echo HTMLBODY\n; echo this is a test...this is the first partBR\n; echo this is a test...this is the second partBR\n; echo form method=\POST\ action=\netscape6.1.php\ name=\netscape\\n; echo input

[PHP] IIS5.0/PHP4.03 killing all sessions. HELP!!!!

2001-05-18 Thread Diego Fulgueira
Hi!. I have the following problem (we are going crazy about it!!) and i think there's many people out there that have experienced the same thing: A session created in one page is killed on the next one. Check an example: PAGE 1: session_start(); session_register(myvar);

RE: [PHP] Netscape 6, What a piece of s$#@ , anyone else had problems with php and Netscape 6?

2001-05-18 Thread scott [gts]
yes. netscape is incredibly anal about tables. if you miss even one tag, the entire table will not show... and netscape handles table background images weird too, so keep that in mind if the table shows up, but looks like someone vomited all over it. per your subject header: 1) it's a netscape

Re: [PHP] Netscape 6, What a piece of s$#@ ,anyone else hadproblems with php and Netscape 6?

2001-05-18 Thread DAve Goodrich
Have you tried this test with your code? http://www.php.net/FAQ.php#7.8 The FAQ does not give a solution, but the problem is known to have affected only select users. The problem is no-one seems to know what the selection criteria is! Some people have the problem, some do not. DAve on

Re: [PHP] IIS5.0/PHP4.03 killing all sessions. HELP!!!!

2001-05-18 Thread John Wells
I have this problem as well (see Where the hell did my session vars go?). We were using 4.0.4pl1 and it was occuring under both Netscape 4.74 and IE 5.5. We upgraded PHP to version 4.0.5 and everything works nicely under Netscape, but IE 5.5 is still screwing up. Just for info... Thanks,

[PHP] Arg seperators

2001-05-18 Thread DAve Goodrich
According to the w3c validation program; A URL for a CGI program that uses `' as a separator, such as http://host/prog?x=1y=2;. This is a common problem: the inventors of CGI didn't think things through very carefully when they decided to use the '' character as a separator between CGI

Re: [PHP] Arg seperators

2001-05-18 Thread Rasmus Lerdorf
According to the w3c validation program; A URL for a CGI program that uses `' as a separator, such as http://host/prog?x=1y=2;. This is a common problem: the inventors of CGI didn't think things through very carefully when they decided to use the '' character as a separator between CGI

RE: [PHP] Netscape 6, What a piece of s$#@ , anyone else had problems with php and Netscape 6?

2001-05-18 Thread Brian S. Dunworth
At 11:37 AM 5/18/01 -0400, scott [gts] wrote: yes. netscape is incredibly anal about tables. Actually, it's incredibly anal about following the HTML specification(s). An incomplete tag pair (ie: TABLE /TABLE) is to be _ignored_ ...similarly, unrecognized parameters inside certain tags are

RE: [PHP] MYSQL Password

2001-05-18 Thread scott [gts]
from the shell, you can use the mysql program ./mysql -uUser -pPass dbname from PHP, why dont you just use: mysql_connect(...); it seems that you might be confused about mysql, trying to access it via PHP from the unix shell. if you want to set a unix shell enviornment variable and access it

RE: [PHP] running a stand-alone PHP program

2001-05-18 Thread scott [gts]
do you have a ScriptAlias directive in the apache conf's? -Original Message- From: midget2000x [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 5:16 PM To: Nathan Cook; [EMAIL PROTECTED] Subject: Re: [PHP] running a stand-alone PHP program Excellent. I got this working.

RES: [PHP] REMOTE SCRIPTING - RSexec() DOUBT

2001-05-18 Thread Felipe Moreno
Jon, Thank you for your help, but unfortunately, this won't help me, cause I tested the script you told me in ZEND, and it is different of what I'm trying to reach, cause it generate the javascript inside the file...but, imagine if I have about 2000 models and 100 Maquees (now I got it!

Re: [PHP] PHP Pros/Cons, Case Examples, PHP vs Servlets

2001-05-18 Thread Bass???
I've a web programmer ( just beginner ) using PHP . And I also learn / write java at my university since I'm a student . As I know , developing a page using PHP is much faster than java . Not just 1 / 2 hrs , but maybe one day to a week . Learning Java including servlet takes times , but you

RE: [PHP] REMOTE SCRIPTING - RSexec() DOUBT

2001-05-18 Thread Jon Haworth
Hm, the function that loads the models uses /cotizar/mmv/getdata.asp with RSExec, I see what you mean. Don't know how to deal with this really (sorry), I'm no good with ASP, and apart from using include() or require() in PHP, I'm not sure how else you could run another file. If you don't get

[PHP] bitwise comparison

2001-05-18 Thread nick
How can I store a large number, value over 8 billion for bitwise comparison? I have a large set of switchs, getting up to 2 pow 34, and it goes outside the size of an int, can't set a type that will work. Nicholas Burke Strategic Profits Inc. -- PHP General Mailing List

RE: [PHP] Netscape 6, What a piece of s$#@ ,anyone else had problems with php and Netscape 6?

2001-05-18 Thread Brandon Orther
You should be appointed to the head of all HTML. For you are the master and can see through the ignorance of us all. I bow below you and thank you for letting me grace your presence. You truly are the HTML messiah 8/ -Original Message- From: Brian S. Dunworth [mailto:[EMAIL

RE: [PHP] Parse error help!

2001-05-18 Thread Sam Masiello
Perhaps you want something like this: $Msg = $H.$NL.$R.$NL.$D; HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL PROTECTED] -Original Message- From: Taline Makssabo [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18, 2001 11:18 AM To: [EMAIL PROTECTED]

[PHP] bscub() under tru64 UNIX (64bit)

2001-05-18 Thread Olav Hjertaker
I get : Fatal error: Call to undefined function: bcsub() in .. when using bcsub(). Could there be a problem running PHP on a 64-bit system? Cheers, Olav -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] PHP Pros/Cons, Case Examples, PHP vs Servlets

2001-05-18 Thread Mark Maggelet
The sercuity of java is better and the network controlling features is better too . The loading time of servlet is faster since the server just need to run the servlet one times You probably mean that it needs to load the jvm one time, the servlet gets run with every request (unless you cache).

RE: [PHP] Arg seperators

2001-05-18 Thread scott [gts]
i had to do that once with a perl script i was writing because there were a variable number of options that could be passed in, yet i needed to have a fixed number of paramaters going into the script. i used: ./prog.cgi?opts=x:1,y:2,z:3 sort-of like a primitive form of php's ability to pass

RE: [PHP] Need more help please!

2001-05-18 Thread scott [gts]
and adding to what Miles says: make sure to go thru any files that might be require()'d or include()'d, becuase any stuff outside the ? ? tags will be considered output also. that error is like a rite of passage ;) -Original Message- From: Miles Thompson [mailto:[EMAIL PROTECTED]]

Re: [PHP] Arg seperators

2001-05-18 Thread DAve Goodrich
on 5/18/01 8:58 AM, Rasmus Lerdorf at [EMAIL PROTECTED] wrote: According to the w3c validation program; A URL for a CGI program that uses `' as a separator, such as http://host/prog?x=1y=2;. This is a common problem: the inventors of CGI didn't think things through very carefully when they

[PHP] Blank Field Values

2001-05-18 Thread Jeff Pearson
OK. Ive been beating my head over this code for a bit. I would appreciate it if a fresh set of eyes would take a look at this for me. I have the following code; SCRIPT language=PHP $connection = odbc_pconnect(XXX,X,XXX); $SQL = SELECT * FROM Bios WHERE CharacterName = '; $SQL .=

[PHP] HTTP socket connection

2001-05-18 Thread Todd Cary
For my http socket connection, I am using POST $abs_url HTTP/1.0\r\n. Accept-Language: en-us\r\n. Host: $host:$port\r\n. Connection: close\r\n. Content-type: application/x-www-form-urlencoded\r\n. which works great. What do I need to change for a SSL

Re: [PHP] Netscape 6, What a piece of s$#@ ,anyone else hadproblems with php and Netscape 6?

2001-05-18 Thread Lucas Persona
Hy there! DAve Goodrich wrote: Have you tried this test with your code? http://www.php.net/FAQ.php#7.8 The FAQ does not give a solution, but the problem is known to have affected only select users. The problem is no-one seems to know what the selection criteria is! Some people have the

RE: [PHP] Blank Field Values

2001-05-18 Thread Sam Masiello
Did you echo out $CharacterName before your SQL statement to ensure that it is being set? Or your $SQL variable before calling odbc_do? This might provide you with some insight as to why the query doesn't return anything. HTH Sam Masiello Systems Analyst Chek.Com (716) 853-1362 x289 [EMAIL

Re: [PHP] HTTP socket connection

2001-05-18 Thread Tolga \thorr\ Orhon
As far as I know you cant do that with standard socket connection as SSL needs more than that. One solution that I am currently using is using Curl extensions of PHP which is working just fine. But you may need to recompile PHP with curl support. For more info:

RE: [PHP] Netscape 6, What a piece of s$#@ ,anyone else hadproblems with php and Netscape 6?

2001-05-18 Thread Johnson, Kirk
Good call, Lucas! Netscape has bitten me before on this one, and I had forgotten about it- sorry. I was doing a View Source, but all the dynamic elements that got updated on each request were changing, because Netscape does another request for the View Source. So, the View Source code is not the

[PHP] Who has PHP4 and FTP experience?

2001-05-18 Thread Gunter Ohrner
Hi! I'm looking for some hints for the PHP ftp module as I have some problems using it - if anyone has experience in using the PHP ftp module it would be very cool someone could send me an email... g Greetinx, Gunter Ohrner -- Tourist, Rincewind decided, meant idiot.-- (Terry

[PHP] Got OO error after upgraded php3.0.8 to php4.05

2001-05-18 Thread Jeffrey Wang
Hi, I got error on OO programming after upgraded php3.0.8 to php4.05. I am using apache 1.3.14, phplib 7.2c and MYSQL 3.23.36. The program was working fine under PHP 3.0.8. Error is showing all html code on browser as following. {FONT FORM Method=post ACTIONLIGN=CENTERE=verdana,

[PHP] No more connection??

2001-05-18 Thread Miguel Loureiro
Hello , since may 15 I dont receive your mail , why I lost the connection???

[PHP] shutted down!!!!!

2001-05-18 Thread Miguel Loureiro
Hello all, but since 15 of May I dont receive mail from php-general-digest, and even from php-db-digest, there is any problem, or its my problem... Best Regards mailto:[EMAIL PROTECTED]

[PHP] how to have a print button on a PHP generated page

2001-05-18 Thread Carlos Fernando Scheidecker Antunes
Hello All! I have a page that was generated by PHP4 and is the result of a query. I would like to enable a button to have the page printed. Does anyone knows how to do it with either PHP or javascript? Thanks, C.F.

Re: [PHP] how to have a print button on a PHP generated page

2001-05-18 Thread jarek
maybe this helps : html HTML HEAD script language=JavaScript !-- function custom_print() { if (document.all) { if (navigator.appVersion.indexOf(5.0) == -1) { var OLECMDID_PRINT = 6; var OLECMDEXECOPT_DONTPROMPTUSER = 2; var

[PHP] PHP XML Parsing

2001-05-18 Thread Mike Gifford
Hello, In looking for a good script to parse XML files I stumbled across the following tutorial (which looks very good): http://www.wirelessdevnet.com/channels/wap/features/xmlcast_php.html I have set this script up here:

[PHP] Random number

2001-05-18 Thread Daniel Coronel
Hi! I need to really generate a random number in a function but not like doing it. Somebody could help me. Thanks. Daniel Coronel.

[PHP] Not losing variables in forms w/ checkboxes

2001-05-18 Thread Andrew V. Romero
I am working on creating some html forms (that are parsed by PHP) and need to use checkboxes, and was wondering how would you go about creating the checkboxes so that once the user hits the submit button, all of the checkbox variables are included? Right now I have: echo input TYPE

Re: [PHP] Random number

2001-05-18 Thread Miles Thompson
Come on - you haven't even bothered to check the manual. Search for this at php.net Miles At 03:09 PM 5/18/01 -0400, Daniel Coronel wrote: Hi! I need to really generate a random number in a function but not like doing it. Somebody could help me. Thanks. Daniel Coronel. -- PHP General

RE: [PHP] Not losing variables in forms w/ checkboxes

2001-05-18 Thread Johnson, Kirk
Just append a pair of brackets to the NAME in the FORM: suspendingAgent[]. This will create an array for the boxes that get checked. To get the array to a comma separated list on the processing page, try: $string = implode (,, $suspendingAgent); Kirk -Original Message- From: Andrew

[PHP] Undefined Variables / PHP 4.0.4pl1

2001-05-18 Thread Martin Thoma
Hello ! I just installed PHP 4.0.4pl1 over an existing PHP 4.0.1 on Win98 with Apache. Alle works greate, but I get a lot of warnings: Warning: Undefined variable: MyVariable in filename The warnings weren't there in the earlier version. How can I turn of these warnings ? Regards Martin

RE: [PHP] Undefined Variables / PHP 4.0.4pl1

2001-05-18 Thread Johnson, Kirk
If you have access to php.ini, see the Error handling and logging section. Else, see http://www.php.net/manual/en/ref.errorfunc.php Kirk -Original Message- From: Martin Thoma [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18, 2001 1:36 PM To: [EMAIL PROTECTED] Subject: [PHP]

Re: [PHP] Who has PHP4 and FTP experience?

2001-05-18 Thread Martin Thoma
Whats the problem ? ;-) Gunter Ohrner schrieb: Hi! I'm looking for some hints for the PHP ftp module as I have some problems using it - if anyone has experience in using the PHP ftp module it would be very cool someone could send me an email... g Greetinx, Gunter Ohrner --

RE: [PHP] Random number

2001-05-18 Thread scott [gts]
i love when newbies ask for help and i'm able to help, but when it comes to people being just plain lazy, i agree with Miles... ** please read the docs before asking questions ** -Original Message- From: Miles Thompson [mailto:[EMAIL PROTECTED]] Subject: Re: [PHP] Random number

RE: [PHP] Got OO error after upgraded php3.0.8 to php4.05

2001-05-18 Thread scott [gts]
please send a code snippet... a lot of things changed from 3.x to 4.x -Original Message- From: Jeffrey Wang [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18, 2001 2:37 PM To: [EMAIL PROTECTED] Subject: [PHP] Got OO error after upgraded php3.0.8 to php4.05 Hi, I got error

RE: [PHP] Not losing variables in forms w/ checkboxes

2001-05-18 Thread scott [gts]
you need to specify those extra braces for any multi-select HTMl object i had the same problem with a: SELECT NAME=... MULTIPLE -Original Message- From: Johnson, Kirk [mailto:[EMAIL PROTECTED]] Subject: RE: [PHP] Not losing variables in forms w/ checkboxes Just append a pair of

Re: [PHP] Random number

2001-05-18 Thread Tolga \thorr\ Orhon
If you need just plain random number generator check manual. If you want a true pseudo-random number generator you may want to check: http://www.ulib.org/webRoot/Books/Numerical_Recipes/bookcpdf.html Those generators used in scientific calculations where true reproducible and low correlated

Re: [PHP] Undefined Variables / PHP 4.0.4pl1

2001-05-18 Thread Martin Thoma
Thanx a lot, I found it in php.ini ! Johnson, Kirk schrieb: If you have access to php.ini, see the Error handling and logging section. Else, see http://www.php.net/manual/en/ref.errorfunc.php Kirk -Original Message- From: Martin Thoma [mailto:[EMAIL PROTECTED]] Sent: Friday,

Re: [PHP] PHP XML Parsing

2001-05-18 Thread Peter Dudley
The problem is in your link URL, where you pass CGI parameters. When XML sees the character, it assumes it's a special character thing such as amp; or quot;, so it's expecting a semicolon. linkhttp://cupe.ca/news/cupenews/showitem.asp?ID=2823cl=1/link Just yesterday I discovered a program

[PHP] Function Question

2001-05-18 Thread Michael O'Neal
Hi. I'm hoping you folks can help me with a function problem I have. Take a look at the following code: ? ?php function fill_page($title) { ? html head title?php echo $title; ?/title ?php } ? I have a page divided into 3 sections. A

[PHP] Server limits/recommendations

2001-05-18 Thread Ian Evans
I'd really like to move our site to a dedicated server, but I'm not ready to lay down the monthly cash for a multi-SCSI drived 1gig ram beast -- yet. Right now we're hosted by the oxymoronically named HostPro. We're on a shared NT server with a SQL Server ODBC connection and we use PHP to do

[PHP] which dir

2001-05-18 Thread Dennis Gearon
If I open a file with fopen using the include director[y|ies], is there any way using the file handle to query and find out which directory it came from? I suppose I could search each directory until I came to the first version of it, just like the function fopen had to do, but . -- PHP

RE: [PHP] Server limits/recommendations

2001-05-18 Thread scott [gts]
the words shared NT server make a chill run up my spine. apache will beat any MS webserver hands down, and overall, linux is more stable (and usually a lot faster and easier to configure) than NT. MS makes great user-interfaces and office software, *not* great server software... i'd go with

Re: [PHP] Blank Field Values

2001-05-18 Thread Bass???
Sam Masiello [EMAIL PROTECTED] ? [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Did you echo out $CharacterName before your SQL statement to ensure that it is being set? Or your $SQL variable before calling odbc_do? This might provide you with some insight as to why the query doesn't

[PHP] Is there any sleep function?

2001-05-18 Thread BlackLord
Is there any sleep function in PHP like in Perl? For example, you will define the time in seconds and system will wait for that time to continue running the script? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

  1   2   >