[PHP] members page

2001-02-19 Thread Brandon Feldhahn
im making a webdesign website that has a members login, do i have to make a member page for each member or can i get the info from the database of the person whom logged in and put it on the members page -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] RE: [php_mysql] Creative solution with XML,PHP,MYSQL

2001-02-19 Thread Chris Carbaugh
Check out webfx.eae.net for a sample on how to do this. It does require IE4+ or Mozilla. Chris On Mon, 19 Feb 2001, Tim Ward wrote: > Date: Mon, 19 Feb 2001 13:47:00 - > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, > [EMAIL PROTECTED], [EMAIL PROTECTED], > [EMAIL PROTECTE

Re: [PHP] Two questions

2001-02-19 Thread Brian T. Allen
SELECT SUBSTRING(COL3,0,100) AS COL3 FROM TABLE That will return the first 100 characters of your 10 pages of text... If you want characters 200 through 299 do: SELECT SUBSTRING(COL3,200,100) AS COL3 FROM TABLE Untested, but I am 99.9% sure that will meet your needs. Brian > > hmm...I don`

[PHP] RE: [php_mysql] Creative solution with XML,PHP,MYSQL

2001-02-19 Thread Tim Ward
you can do it with javascript. assign all of the cell contents to a javascript 2-d array of strings (mytext[x][y]). create the table with a in each cell. create a 2-d array of object pointers pointing to each div. you can then change the contents of each div at will (for example when a button is

Re: [PHP] Is this potentially a problem?

2001-02-19 Thread Richard Lynch
> Warning: Releasing SysV semaphore id 1 key 0x7b2 in request cleanup in > Unknown on line 0 > > Is this warning message potentially a problem? Or could I just turn off this > warning in the php.ini? How can I prevent this message from appearing if it > is not potentially dangerous? GUESS: This i

Re: [PHP] form variables showing blank but query shows non-blank ??

2001-02-19 Thread Richard Lynch
Show us all the code you chopped out, or at least every single line that mentions $pass_category. Or, faster for you to figure it out: Echo out $pass_category immediately before the if () statement. I'm betting you set it accidentally in the other code. > if ($pass_category > "") $sql2 = $sql2 .

Re: [PHP] Javascript running on another page

2001-02-19 Thread Richard Lynch
>I'm fiddling around with the fopen function, using it on urls. I now need to know how to run >a JavaScript on another page by using PHP. I know I'll be able to do it from the url if only >there's a way to run JavaScript from the url (just by using an fopen). Is there a way to run >a JavaScript fu

Re: [PHP] unable to jump to row 1 on MySQL result

2001-02-19 Thread Richard Lynch
> Warning: Unable to jump to row 1 on MySQL result index 5 in > admrelatoriowap.php3 on line 23 > > Warning: Unable to jump to row 1 on MySQL result index 5 in > admrelatoriowap.php3 on line 24 > > Warning: Unable to jump to row 2 on MySQL result index 6 in > admrelatoriowap.php3 on line 23 > > Wa

Re: [PHP] Newbie: Fundamental question. Long.

2001-02-19 Thread Richard Lynch
You can't easily transfer a PHP variable from one FRAME to another, *unless* you go through the parent (FRAMESET) page. So, if you are using FRAMEs for their scrolling properties and their "look" rather than "not refreshing" the left frame, you just have to make all your TARGET="_top" and then in

Re: [PHP] Measuring php on old and new server

2001-02-19 Thread Richard Lynch
Apache has a benchmarking program called "ab" Your new server probably has "ab" already on it, sitting right next to httpd and apachectl. Try this: locate apachectl Whatever directory that says, cd to it, and see if there's an "ab" program there. If so, do: ./ab --help -- Visit the Zend Store at

Re: [PHP] pgp text formatting

2001-02-19 Thread Richard Lynch
> // then I place the message that is to be encrypted in a file > > $fp = fopen("plaintxt", "w+"); This won't scale up too well... You would be better off to use pipe (|) to shove it to the PGP program. Actually, that's still not such a hot idea... Anybody who can do "ps aux" could catch th

Re: [PHP] PHP Session question

2001-02-19 Thread Richard Lynch
Did you recompile and forget to include --enable-trans-sid?... What does have to say about how you compiled PHP? -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.

Re: [PHP] Text box

2001-02-19 Thread Richard Lynch
What you put in between the and the is what you get. Tabs, spaces, newlines, spiders and snakes and all. If you don't want it there, don't put it there. Since that messes up your indenting, for your editor, maybe you could do: so you can squeeze it all on one line. Or some variant on this ide

Re: [PHP] compare arrays problem

2001-02-19 Thread Richard Lynch
> $pages=mysql_query("SELECT CP.page_id, pagename FROM cluster_pagetbl as CP, > pagetbl WHERE > CP.cluster_id = '$id' AND CP.page_id=pagetbl.page_id order by page_id"); > > /* > SQL Result for $id=1: > page_id pagename > 1 breakingnews > 3 weather > */ > > if (mysql_Numrows($pages)>0) { > >

Re: [PHP] Mail

2001-02-19 Thread Richard Lynch
> can somone give me a mail sending script it's like whatever i do there > is always a error I suspect the error is not in your actual script but in how you set up your mail in php.ini... Here's a test script: What's the error message? -- Visit the Zend Store at http://www.zend.com/store/ Wan

Re: [PHP] Using Pipes / PGP

2001-02-19 Thread Richard Lynch
Using popen and fwrite/fread would be even better... -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: Martin Thoma <[EMAIL

Re: [PHP] EOF (End of File) character..

2001-02-19 Thread Richard Lynch
I think EOF depends on the application/OS... Try chr(26) [Control-Z] and chr(4) [Control-D] Or have I just been using too many Un*x programs that can't agree on how to indicate the end of my typing? :-^ If those don't work, try everything below 32. Well, okay, I *know* it's not 9, 10, or 13 :-

Re: [PHP] dynamic pages/sessions/checkboxes

2001-02-19 Thread Richard Lynch
Widget #42 Doohicky #13 \n"; } ?> -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: "kaab kaoutar" <[EMAIL PROTECTED]>

[PHP-CVS] cvs: php4 /ext/pgsql config.m4 php_pgsql.h

2001-02-19 Thread Sascha Schumann
sas Mon Feb 19 00:14:50 2001 EDT Modified files: /php4/ext/pgsql config.m4 php_pgsql.h Log: Fix incompatibility with PostgreSQL CVS. We now perform a check whether we need to include to succesfully compile. PR: #9328 Index: php4/ext/pgsq

Re: [PHP] Apache log analyzer

2001-02-19 Thread Richard Lynch
Pretty much everybody just uses Webalizer or Analog (or whatever) rather than code one in PHP... PHP *could* do everything you needed, only slower, and it's not the right weapon for the job in the first place... -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music

Re: [PHP] making form, getting variables from

2001-02-19 Thread Richard Lynch
> Some questions about how to get a whole bunch of fields in a form as > input to another page, i.e. *.cgi, or*.phpx: > > 1/ All fields, buttons, etc have to have different names? Mostly, although it's common to: A) Name several "submit" buttons the same, say $action, and the use the value of $ac

Re: [PHP] Help!Opening another php file from a link of a completed form.

2001-02-19 Thread Richard Lynch
> echo "Or click here to input the details > of your product."; echo "Or click here to input the details of your product."; This assumes you are using $product_id for your product ID in the current page and in b.php... > > I've made a blank (uncoded) page of "b.php" and one of the field is pro

Re: [PHP] using slash as delimiter

2001-02-19 Thread Richard Lynch
> okay, i swear, this *must* be a FAQ. :-) I looked on php.net's FAQ and > php.faqts.com, but couldn't find it. Ah, but did you check the Mailing List archives? Though, I must admit, figuring out what to use for a search term is kinda tough for this one... > How do I use slashes to delimit quer

Re: [PHP] Apache and $HTTP_*_VARS

2001-02-19 Thread Richard Lynch
Has Apache been configured to not provide those variables?... -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: Todd Cary <[

Re: [PHP] PHP as CGI

2001-02-19 Thread Richard Lynch
>Hi, I've compiled PHP as CGI in /usr/local/php/ . Does anyone know what I can write in >httpd.conf file? > >Tanks I think it's: AddType application/x-httpd-php .php Action application/x-httpd-php /usr/local/php A) I'm not sure you need the "." on ".php" B) You can add more extensions: ...x-htt

Re: [PHP] PHP+MySQL SEARCH

2001-02-19 Thread Richard Lynch
> if ($search_in == "1"){ >$query1 = "SELECT * FROM FISH where ID LIKE '%$search_text%' > OR name LIKE '%$search_text%' OR Category LIKE '%$search_text%' OR Color > LIKE '%$search_text%' OR Size LIKE '%$search_text%'"; > } Looks good the way it is for now. Things you *could* do: 1) Break up

Re: [PHP] add user to ldap using php

2001-02-19 Thread Richard Lynch
> $a=ldap_add($ds, "uid=beau, dc=graduate, dc=com", $info); > but it's an error > Waring LDAP: add operation could not be complete in. I don't know much about LDAP: Have you checked that $ds is a valid LDAP connection? Can you get your own record out of LDAP using it? Presumably LDAP has some n

[PHP] mail() test method

2001-02-19 Thread Jacky
Hi people My mail() script does not work, sniplet is simple that could not go wrong. I suspect there is something wrong with the php config on the server. Question is that how do I check it out if my assumption is correct? Is there any method that make php to write out something of the mail() d

[PHP] something wrong at my mail set up in php.ini

2001-02-19 Thread [EMAIL PROTECTED]
Dera folks, I suspect there is something wrong at my php.ini mail setup. My script for mail() does not work and no error message, just did not send out anything. Is there anyway I can see if script mail() does not work and see what the problem is? Jack [EMAIL PROTECTED] "There is nothing more re

Re: [PHP] Variable stores incomplete values...

2001-02-19 Thread Richard Lynch
> $variable = This is the data.This is the data.This is > the data.This is the dataThis is the dataThis is the > dataThis is the dataThis is the dataThis is the > dataThis is the dataThis is the data > This is the dataThis is the dataThis is the data > > > This is the; da;taThi's is the dataThis i

Re: [PHP] directory listing and how to determine file size

2001-02-19 Thread Richard Lynch
> I am going to develop virtual file management. Thus I want to know > some things. > 1. how to determine file size _before_ file uploading or on loading > time and how to avoid error message if file size will be too large. You can't determine file size before uploading... *MAYBE* with so

Re: [PHP] mail() test method

2001-02-19 Thread Richard Lynch
mail() returns a true/false value to indicate success or failure. Though I can never remember which means which, and the docs are not too clear... if (mail('[EMAIL PROTECTED]', 'test', 'test')){ echo "mail returned true\n"; } else{ echo "mail returned false\n"; } Also, there's some way o

[PHP] system()

2001-02-19 Thread Ashley M. Kirchner
While doing a test run on an idea I have, I tried running the system() command on an audio application: ...and found out that it works when I load the file up in a browser - I get sound coming out from the physical web server's audio port. Don't worry, this was the expected behavio

[PHP] array

2001-02-19 Thread andreas \(@work\)
hi, is there a function to delete an item of an array "1","7","14","33","99","A1","A12" id like to delete the "33" thank you andreas

[PHP] RE: [php_mysql] Creative solution with XML,PHP,MYSQL

2001-02-19 Thread Tom Knight
I hate to say it, but the only way I can see of doing this offhand is with ecmascript & dhtml or does that Dynamic Data Binding (only works with ie5, or 5.5?) do this sort of thing? Either way, you're looking at unbounded fun catering for different browsers. > -Original Message- > Fr

[PHP] RE: hmm

2001-02-19 Thread Tim Ward
ahh > -Original Message- > From: Brandon Feldhahn [mailto:[EMAIL PROTECTED]] > Sent: 17 February 2001 11:45 > To: [EMAIL PROTECTED] > Subject: hmm > > > hmm > > -- > GIF89aÔ< > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For add

[PHP] RE: array - too stupid

2001-02-19 Thread Tim Ward
sorry about the first empty reply ... the correct sql solution is that anything stored in an array in your program should be a separate table in your database. e.g table order: ->order_num (primary key) ->customer ->date -> ... table item: ->order_num

[PHP] RE: compare arrays problem

2001-02-19 Thread Tim Ward
your problem is where you are creating the array, see my notes > -Original Message- > From: Onaje Johnston [mailto:[EMAIL PROTECTED]] > Sent: 17 February 2001 22:47 > To: [EMAIL PROTECTED] > Subject: compare arrays problem > > > I am hoping that someone really understands arrays reads t

[PHP] Apache & PHP (slighly OT)

2001-02-19 Thread Thierry Coopman
Hi, I use PHP for more than 3 years now, and have found it very convienient and easey. The hardest way was to set it up, get it compiled and running. I recently found out that there is a very easy way of using .so in Apache (apxs), and PHP can have extentions loaded dynamicly too. I used to

[PHP-CVS] cvs: php4 /sapi/thttpd thttpd.c

2001-02-19 Thread Sascha Schumann
sas Mon Feb 19 02:28:08 2001 EDT Modified files: /php4/sapi/thttpd thttpd.c Log: Include . Apparently, the header cleanup in glibc 2.2.2 caused that file to be included by accident. Index: php4/sapi/thttpd/thttpd.c diff -u php4/sapi/thttpd/thttpd.c:

[PHP] Mail function

2001-02-19 Thread Joe Njeru
Hi, I am trying to send an email message using the mail() function. However when I put new line breaks -> \n I get the following error Warning: Server Error in d:/wwwroot/admin/userdetails.php on line 12 But when I remove the newlines the function executes. What should I do to be able to send

[PHP] ldapadd in php not allow more than one variable

2001-02-19 Thread Sayumporn Darunwanna
I try to add user by using php. ldap_add($ds, "cn=$username, c=$country, dc=graduate, dc=com" , $info); because I want to receive data from my html page. it doesn't work when I try to add more than one variable. But when I try ldap_add($ds, "cn=$username, dc=graduate, dc=com" , $info); or ldap_ad

Re: [PHP] PHP as CGI

2001-02-19 Thread Hrishi
> > AddType application/x-httpd-php .php > Action application/x-httpd-php /usr/local/php > > A) I'm not sure you need the "." on ".php" > i've tried both with and without the '.' , but the server always responds : --- Not Found The requested URL /usr/bin/php4/test.php was not found on this ser

[PHP] Directing Email to a script

2001-02-19 Thread Website4S
Hi, I`m sure its possible but I can`t find any info on it, anyone know of any source or tutorials etc about directing email to a PHP script. TIA Ade -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] T

php-general Digest 19 Feb 2001 11:51:06 -0000 Issue 521

2001-02-19 Thread php-general-digest-help
php-general Digest 19 Feb 2001 11:51:06 - Issue 521 Topics (messages 40477 through 40557): Re: SMTP on IIS 5.0 Windows 2000 Pro 40477 by: Peter Knif 40478 by: David Harrison 40480 by: Peter Knif dates 40479 by: Julian Rockeu 40486 by: eschmid+sic.s.n

[PHP] Problems with error handling.

2001-02-19 Thread Securez
When I change the error handler, i set the error_reporting to: error_reporting ( E_ALL ^ E_NOTICE); but when i call a is_file function that return false a E_NOTICE error is generated and my error handle trap it. I know that error_reporting works, becouse if i set it to 0, the parse errors aren'

[PHP] HTTP POST Question

2001-02-19 Thread Montgomery-Recht, Evan
Good morning... This should be a good monday morning question. I have a cgi-bin written in perl (it's actually, a interface to a perl-module which is a interface to a telnet-like protocol). Anyways what I need to do is I have already existing code written in PHP, but at some point I need to cal

RE: [PHP] Creative solution with XML,PHP,MYSQL

2001-02-19 Thread James Moore
> -Original Message- > From: Siim Einfeldt aka Itpunk [mailto:[EMAIL PROTECTED]] > Sent: 17 February 2001 14:25 > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; > [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; > [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: [PHP] Creative solution

[PHP-CVS] cvs: php4 /pear/DB common.php ibase.php msql.php mssql.php mysql.php oci8.php odbc.php pgsql.php sybase.php /pear/DB/tests transactions.inc /pear/DB/tests/pgsql 011.phpt

2001-02-19 Thread Stig Bakken
ssb Mon Feb 19 04:22:31 2001 EDT Added files: /php4/pear/DB/tests transactions.inc /php4/pear/DB/tests/pgsql 011.phpt Modified files: /php4/pear/DB common.php ibase.php msql.php mssql.php mysql.php oci8

[PHP] Excel not opened in browser when changing header

2001-02-19 Thread Tim
Hi I tried using the code below to send the output to an Excel sheet in my browser by changing the header to "Content-type: application/vnd.ms-excel". However I only see normal text in a browser. Excel is not launched. What is wrong??

Re: [PHP] something wrong at my mail set up in php.ini

2001-02-19 Thread Hrishi
> Is there anyway I can see if script mail() does not work and see what the > problem is? Jack Hey Jack, take this line and put it before the part of the code that sends the mail: this turns on ALL error reporting, so make sure yuo use it only for debugging. also, if you dont see any warning

Re: [PHP] EOF (End of File) character..

2001-02-19 Thread David Bouw
Thanks for the different characters to try.. I try tomorrow to see if I can try it on the program which needs it... Indeed the trick of reading the file and echoing all the different chars used should do the trick.. I will first try the underlying two chars to see if they do the trick... Thanks

RE: [PHP] HTTP POST Question

2001-02-19 Thread MList
Hi I read a article about posting data .. and there was a script but I dont know resource of this script. But this is working. let me give you a example -Original Message- From: Montgomery-Recht, Evan [mailto:[EMAIL PROTECTED]] Sent: Monday, February 19, 2001 2:06 PM T

RE: [PHP] HTTP POST Question

2001-02-19 Thread Montgomery-Recht, Evan
I see the basic's... but... It's not completely clear from what I'm seeing. 1. It appears if I use the header function I have to redirect the page to another page, it doesn't appear possible to retrieve a page into the current page? Unless someone can show me some code that would do that. 2. i

[PHP] Zend debugger running across virtual servers

2001-02-19 Thread Neil Kimber
I've got the Zend IDE and debugger up and running. But, the debugger isn't picking up my 'Local Value' for the include path. It only seems to have the 'Master Value'. Has anyone else experienced this? And more importantly, how do I get around this problem. -- PHP General Mailing List (http://w

[PHP] woe is me

2001-02-19 Thread Adrian Murphy
i'm sorry,i just had to share this with people who'd understand. we've just secured clients who are m$ affiliated and they insist everthing be done with asp. excuse me while i go off for a little cry. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMA

Re: [PHP] add user to ldap using php

2001-02-19 Thread Sayumporn Darunwanna
I can bind to ldap server successful but ldap add operation couldn't complete. >From: "Richard Lynch" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Subject: Re: [PHP] add user to ldap using php >Date: Mon, 19 Feb 2001 02:13:16 -0600 > > > $a=ldap_add($ds, "uid=beau, dc=graduate, dc=com", $info)

Re: [PHP] woe is me

2001-02-19 Thread Kath
Think of it this way: Now you'll know both ASP and PHP for your next clients and can charge them more because of your increased talents :) - Kath - Original Message - From: "Adrian Murphy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 19, 2001 7:21 AM Subject: [PHP]

[PHP] what's the difference between include and require??

2001-02-19 Thread Zenith
Though I have read the manual about these two things, include() and require(), but I still not very clear about the difference between these?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To con

[PHP] How can I use session variable in a function?

2001-02-19 Thread Zenith
In main.php, then I use include("xxx.php"), in which, there is a function called temp(); If I use session_start() at the beginging of main.php, after include statment, and I cal the temp(), will the temp() function can get the session variable I have? Or I need to import it by using "global" in th

[PHP-CVS] cvs: php4 /ext/zziplib php_zziplib.h zziplib.c

2001-02-19 Thread Hartmut Holzgraefe
hholzgraMon Feb 19 05:30:25 2001 EDT Modified files: /php4/ext/zziplib php_zziplib.h zziplib.c Log: # no dos line endings please Index: php4/ext/zziplib/php_zziplib.h diff -u php4/ext/zziplib/php_zziplib.h:1.2 php4/ext/zziplib/php_zziplib.h:1.3 --

Re: [PHP] Variable stores incomplete values...

2001-02-19 Thread Joe Sheble (Wizaerd)
Your question encompasses two parts... the subject says these variables are storing incomplete values and later in the email you state mySQL isn't maintaining the formatting of your data. The first part is possible because your mySQL database field may not be declared big enough to actually

[PHP] Fax manipulation?

2001-02-19 Thread Joshua Long
Hello all... Is there anyway at all for a PHP script to somehow interact with a fax? dynamically generated pdfs... dynamically generated images... dynamically generated... faxes? I mean i don't even know how it would begin to work but is there a way to send a fax maybe as it does e-mail? Thanks

RE: [PHP] Fax manipulation?

2001-02-19 Thread Brian V Bonini
There are actually many ways to send an email to a fax gateway. So, you could generate an email, send it to a FAX gateway, ... and presto! -Brian * > -Original Message- > From: Joshua Long [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 19, 2001 9:26 AM > To: [EMAIL PROTE

RE: [PHP] HTTP POST Question

2001-02-19 Thread Montgomery-Recht, Evan
OK, any idea's on a good tutorial on how to create the socket to do a HTTP_POST? thanks, evan PS. My girlfriend always complains when I send back one line e-mail's. Now I understand why. > -Original Message- > From: Milan Mlynarcik [SMTP:[EMAIL PROTECTED]] > Sent: Monday, February 19,

[PHP] Check Client BPS

2001-02-19 Thread Martin Marconcini
Hello, I've seen on www.dentrek.com that their 'wizard' checks connection speed by indicating you have a throughput of x bps. It seems to be ASP made since there is a wizard.asp. I'm interested in doing this in PHP. Anyone knows something about this? Thanks

Re: [PHP] Pay for help

2001-02-19 Thread Robert V. Zwink
Richard Bradley, Posting to PHP general mailing list asking for help has never been a problem in the past. Mr Yahav should have mentioned that he is the owner operator of weberdev.com, and that he has financial interest in contract positions posted on his site. If there was a mistake in net-eti

[PHP]

2001-02-19 Thread Abe Asghar
Hi, I am trying to get a total value of orders from a file. The file has various fields separated by '|'. It is the 15th field I am trying to total. At the moment I am trying to search each character but it times out as the file is quite large - is there a more efficient way of doing this.

[PHP] Multiple URLs and cookies

2001-02-19 Thread Jeremy Gillies
Hello all! Okay, still going at it with PHP vs. JavaScript -- although one can remove the power if they disable cookies -- in fact, with the way it is set up here, it is doubtful they will get to the right page if they switch languages, but i can work that out later with a simple if-then statemen

[PHP] Shorten this MySQL code?

2001-02-19 Thread Jeff Oien
Newbie with MySQL. I have a user auth form before this script which asks for username and password. First Name and Last name are also in each record in the database along with username and password. When the user successfully logs in, I have it say, "Welcome name_first, you're authorized! The on

[PHP] Open location automatically after checking

2001-02-19 Thread Edith Lai
Hi, I have a form for user input and after checking, it's gonna go to another page for further input. What should i code to bring the second input page up after checking done on the first?? Thanks. Edith Lai -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROT

[PHP] php variables in sql statements.

2001-02-19 Thread Matt Davis
Can someone tell me if this is possible. I have a PHP variable which i got from a html form using $HTTP_POST_VAR. I collect a variable called Community. Therefore is it possible to have an sql statement like this? //create sql statement $sql = "select businessname from main where businesst

Re: RE: [PHP] Fax manipulation?

2001-02-19 Thread Chris Carbaugh
Check out PHPFax.sourceforge.net This is a project I started a while back and never quite finished. The project does work, and is in use by the 20 windoze users I support. If you interested in the code, I suppose I can make the time to upload it :) Let me know, Chris On Mon, 19 Feb 2001, Bri

Re: [PHP] php variables in sql statements.

2001-02-19 Thread Ifrim Sorin
It is possible, but the syntax is : $sql = "select businessname from main where businesstype = 'consultancy' and " .$community." != '0'"; This is the case where $comunity is the name of a field. Regards Sorin Ifrim - Original Message - From: Matt Davis <[EMAIL PROTECTED]> To: Php

Re: [PHP] Apache and $HTTP_*_VARS

2001-02-19 Thread Todd Cary
Richard - I am very new to Apache. It is installed on my notebook computer so that I can do some PHP programming while I am on the road. Though I looked at the conf file, I was not aware that one could turn that feature on and off in Apache. Can you point me in the right direction? Todd --

Re: [PHP] SMTP on IIS 5.0 Windows 2000 Pro

2001-02-19 Thread Todd Cary
This is how I have mine set with Win 2K: [mail function] SMTP= 192.172.0.1 ;for win32 only sendmail_from = [EMAIL PROTECTED] ;for win32 only -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] PDF Functions

2001-02-19 Thread Michael Stearne
I think you're getting through the configure and compile somehow (maybe info is cached), but not really compiling in the PDF functions. I really think this is an issue with the setup of RH 7. Why don't you try to install the 7.1 which is beta now to see if RH fixed it in anyway. Or you can go b

[PHP-CVS] cvs: php4 /ext/midgard article.c page.c topic.c

2001-02-19 Thread David Guerizec
davidg Mon Feb 19 07:50:20 2001 EDT Modified files: /php4/ext/midgard article.c page.c topic.c Log: fixed bug #81, for more details, see: http://www.midgard-project.org/bugs/?id=81 Index: php4/ext/midgard/article.c diff -u php4/ext/midgard/article.c:

RE: [PHP] system()

2001-02-19 Thread ..s.c.o.t.t..
i am not positive about this, but you could try making the amp process a background process by adding a " &" to the end of the command line (at least if you're using *nix) > -Original Message- > From: Ashley M. Kirchner [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 19, 2001 00:40

RE: [PHP] array

2001-02-19 Thread ..s.c.o.t.t..
from the "unset" documentation on php.net // destroy a single variable unset ($foo); // destroy a single element of an array unset ($bar['quux']); // destroy more than one variable unset ($foo1, $foo2, $foo3); > -Original Message- > From: andreas (@work) [mailto:[EMAIL PROTECTED]] >

RE: [PHP] PHP as CGI

2001-02-19 Thread ..s.c.o.t.t..
i had a very similar problem when i first setup PHP/Apache on my linux box... i forgot to add a line to my httpd.conf and got all sorts of "Cant find this" "Cant find that" type of errors my mistake was that i did not set ScriptAlias and Action correctly, and thus apache was having all sorts

RE: [PHP] Shorten this MySQL code?

2001-02-19 Thread Jared Eikenberg
The following should work okay for you: >-Original Message- >From: Jeff Oien [mailto:[EMAIL PROTECTED]] >Sent: Monday, 19 February, 2001 08:50 >To: PHP >Subject: [PHP] Shorten this MySQL code? > > >Newbie with MySQL. I have a user auth form before this >script which asks for username an

[PHP] Making a living with PHP?

2001-02-19 Thread Mary E Tyler
I am a regular writer for Contract Professional Magazine (their weekly ezine, actually) and I am looking for several people to interview for an upcoming story on PHP. If you are: 1) An independent contractor 2) making a living ($25K+/yr) developing in PHP and 3) are willing to talk to me for in

[PHP-CVS] cvs: php4 /ext/pgsql config.m4 pgsql.c php_pgsql.h

2001-02-19 Thread Sascha Schumann
sas Mon Feb 19 08:31:17 2001 EDT Modified files: /php4/ext/pgsql config.m4 pgsql.c php_pgsql.h Log: Simpler fix for the InvalidOid thing by Tom Lane. He assured me that InvalidOid has always expanded to (Oid) 0, so this should be safe. Index:

[PHP] question about multidimension array

2001-02-19 Thread Zenith
Consider the following code: $ary1 = array ("one","two"); $ary2 = array ("three","four"); $2d_Dimension[] = $ary1; $2d_Dimension[] = $ary2; // is $2d_Dimension a 2 dimensional array? // and the next question, how to get out content of the $2d_Dimension[] array while ( list ( $rec_no, $ary ) =

[PHP-CVS] cvs: php4 /ext/midgard attachment.c

2001-02-19 Thread David Guerizec
davidg Mon Feb 19 08:39:20 2001 EDT Modified files: /php4/ext/midgard attachment.c Log: Small typo fixed. Index: php4/ext/midgard/attachment.c diff -u php4/ext/midgard/attachment.c:1.3 php4/ext/midgard/attachment.c:1.4 --- php4/ext/midgard/attachment.c:1.

Re: [PHP] HTTP POST Question

2001-02-19 Thread John Monfort
I've been struggling with the same idea. I haven't been able to process the returned value, but I've the following methods to DISPLAY the cgi results. Although, the PHP has no way of knowing wether the CGI evaluated to a Yes or No result. If you solve this, then please let me know.

RE: [PHP] question about multidimension array

2001-02-19 Thread ..s.c.o.t.t..
> -Original Message- > From: Zenith [mailto:[EMAIL PROTECTED]] > Subject: [PHP] question about multidimension array > > Consider the following code: > > $ary1 = array ("one","two"); > $ary2 = array ("three","four"); > > $2d_Dimension[] = $ary1; > $2d_Dimension[] = $ary2; > > // is $2d_

RE: [PHP] HTTP POST Question

2001-02-19 Thread John Monfort
> 1. It appears if I use the header function I have to redirect the page to > another page, it doesn't appear possible to retrieve a page into the current > page? Unless someone can show me some code that would do that. > If all you want is to display the remote page, within the local page,

Re: [PHP] woe is me

2001-02-19 Thread John Monfort
I feel your pain. :-( __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 Mon, 19 Feb 2001, Adrian Murphy wrote: > i'

Re: [PHP] what's the difference between include and require??

2001-02-19 Thread John Monfort
An unsuccessful include will give you an error. An unsuccessful require will kill the program. __John Monfort_ _+---+_ P E P I E D E S I G N S www.pepiedesigns.com "The world is waiting, are you ready?" -+___

[PHP-CVS] cvs: php4 /ext/yaz php_yaz.c

2001-02-19 Thread Adam Dickmeiss
dickmeiss Mon Feb 19 09:06:39 2001 EDT Modified files: /php4/ext/yaz php_yaz.c Log: Bug fix: number of records in yaz_range wrongly set to zero. Index: php4/ext/yaz/php_yaz.c diff -u php4/ext/yaz/php_yaz.c:1.10 php4/ext/yaz/php_yaz.c:1.11 --- php

[PHP] ASP / PHP / embedded scripting (possibly OT)

2001-02-19 Thread ..s.c.o.t.t..
i dont know too much about ASP, as i've never had to use it, but i thought ASP as more of an enviornment (or meta-language) rather than an actual programming language (becuase VBscript is the default language for ASP pages, i always assumed that other languages could be utilized in place of VB(yuc

[PHP] trying to get xml-file

2001-02-19 Thread Jan Grafström
Hi! I have this PHP: - $message = ereg_replace("\r","", $message); $message = "$message$name$email$adress$telefon"; $fp = fopen (basename($PHP_SELF) . ".xml", "a"); fwrite ($fp, $message); fclose ($fp); -- I want to getat the beginning and at the end, inside the bok I want several . is i

Re: [PHP] system()

2001-02-19 Thread Christian Reiniger
On Monday 19 February 2001 21:00, ..s.c.o.t.t.. wrote: > i am not positive about this, but you could try making > the amp process a background process by adding a > " &" to the end of the command line > (at least if you're using *nix) That alone won't help - "nohup" is also needed. What he could

[PHP] some more about include() and require()

2001-02-19 Thread ..s.c.o.t.t..
include() will only load the file if the include() statement is encountered during the execution of your script if (1==0) { include("file"); } the file will never be include()'d, since the if/then will always fail. require() will always put the contents of the file

[PHP] How to determine the parameter is a 1 dimension array or not?

2001-02-19 Thread Zenith
In a self defined function, a one dimension or two dimension array may be passed, How can I check that, the passed in array is a one dimension array or a two dimension array? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

RE: [PHP] system()

2001-02-19 Thread ..s.c.o.t.t..
is there something with the PHP system command that makes it unable to spawn nohup background processes perl and PHP are closely related, so i cant really understand how an external perl program would be able to do things that PHP couldnt (at least in terms of this specific problem) would a P

Re: [PHP] ASP / PHP / embedded scripting (possibly OT)

2001-02-19 Thread Hrishi
> other languages could be utilized in place of VB(yuck)) you're right !! that jogged my memory. i remember reading on M$DN (Jan 2000) that ASP could be generated with many languages (most of them third party extensions) one of them was Python. however i do not have any details other than the a

Re: [PHP] ASP / PHP / embedded scripting (possibly OT)

2001-02-19 Thread Michael Stearne
ASP is a framework in which laguages are used. The most commonly used language is VBScript. You can also use JScript (MS's Javascript) or PerlScript within ASP. Check with MS for more info. Of course you can always assign the .asp extenion to PHP files and say it's ASP. Michael "..s.c.o.t.t

  1   2   3   >