[PHP] Is linkage to C/C++ lib or programs in Unix possible?

2001-03-15 Thread Martin Lam
Hi, Is it possible to make PHP be able to communicate with existing C/C++ libaries/programs in Unix/Linux environments? That is, I may send a message to the C/C++ stuff, and get some feedbacks from them. This is needed because there are already some C/C++ codes in use, and it is not a good ide

[PHP] Fetch side with Cookies

2001-03-15 Thread Martin Thoma
Hello ! I have a side, which I can only access when a special cookie is set. I want to access and analyse the side with php. So I could not use fopen("http://www.thesidename.com", "r"), because this will not transmit the cookie. I thought of something with sockets and sending a HTTP-Get with th

[PHP-CVS] RE: [PHP-CVS-DAILY] cvs: php4 / ChangeLog/REMOVE

2001-03-15 Thread Voo, David (ISD)
-Original Message- From: changelog [mailto:[EMAIL PROTECTED]] Sent: 15 March 2001 02:09 To: [EMAIL PROTECTED] Subject: [PHP-CVS-DAILY] cvs: php4 / ChangeLog changelog Wed Mar 14 18:09:19 2001 EDT Modified files: /php4 ChangeLog Log: Change

Re: [PHP] Is linkage to C/C++ lib or programs in Unix possible?

2001-03-15 Thread Maxim Derkachev
Hello Martin, Thursday, March 15, 2001, 11:20:58 AM, you wrote: ML> Is it possible to make PHP be able to communicate with existing C/C++ ML> libaries/programs in Unix/Linux environments? That is, I may send a ML> message to the C/C++ stuff, and get some feedbacks from them. For programs, use

Re: [PHP] JavaDoc?

2001-03-15 Thread Bård Farstad
On Thursday 15 March 2001 02:59, Jonathan Sharp wrote: > So i've heard bits and pieces that JavaDoc can parse out comments about > php... > > does anyone have an example of a command line call to javadoc passing a PHP > file? I've written an alternative PHP documentation tool. You can get it from

[PHP] External file?

2001-03-15 Thread Tristan . Pretty
Morning, I have a section of HTML that Is added to a page if a user logs in successfully. Itis about 30 lines long, and I have included it in each page. What I would like to do, is to have the HTML on a seperate file, and have the PHP call it if and when a user logs in. Is this possible? Tris..

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

2001-03-15 Thread David Guerizec
davidg Thu Mar 15 01:09:58 2001 EDT Modified files: /php4/ext/midgard snippet.c Log: Snippet author is a string. Index: php4/ext/midgard/snippet.c diff -u php4/ext/midgard/snippet.c:1.7 php4/ext/midgard/snippet.c:1.8 --- php4/ext/midgard/snippet.c:1.7

[PHP] popen

2001-03-15 Thread aadish
Hi all I used popen to fork a process to password chaning program. The webserver has access to execute that program. This is the snippet $pp = popen("passwd user", "w"); fwrite($pp, "password\n"); fwrite($pp, "password\n"); pclose($oo); if i see the log the program executes but the password is

[PHP] Dynamic Arrays?

2001-03-15 Thread RealGM
Hi, I have a bit of a dilemma. I have a number of array attributes, eg. $arrayname["var1"], $arrayname["var2"], $arrayname["var2"], etc. up to 58, and I want to write these into the database. What I am hoping to do is create a counter that goes through the insert routine, updating the numeric

[PHP] Problems with email digest

2001-03-15 Thread Greig, Euan
Every two or three times that I receive the email digest for this mailing list, I get a single text file attachment and the following message instead of a set of message attachments. Is this a problem with my mail server or the list server? This message uses a character set that is not supporte

[PHP] Own User authentification

2001-03-15 Thread Holger Rothaug
Hi! I want to have an own user authentification based on a mysql-DB connect. Afterwards I link the user to the specific directory, the user has been authentified for. This user-specific directory is secured by an .htaccess file and therefor a authentification window sent by the web server pops u

Re: [PHP] NEWBEE - How do I preload 25< gifs?

2001-03-15 Thread Visa Kopu
In article <98p4a1$mbn$[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Lars Falsig") wrote: > I need to preload lots of graphics for user-controlled animation, changing > graphics fast. > Include() and/or require() works to slow. > > Any suggestions? You can't do that with PHP as it's *server-side* sc

[PHP] Will my script run after redirect?

2001-03-15 Thread Carfield Yim
If I have code like: if( $i == 0) { print ""; } $i++; I find that $i++ will run but I hope it don't, if I alter the code to: if( $i == 0) { print ""; exit; } $i++; Will it work? Is it have any side-effect? -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] Code snippet archive

2001-03-15 Thread Stefen Lars
Hello all One part of the task that I have been recently been assigned involves creating a 'code archive' of sample applications for a certain Visual Basic control. The idea is that a web visitor can download code snippets and the associated Visual Basic project file in a .zip file. By playing

Re: [PHP] that whole system() thing again

2001-03-15 Thread CC Zona
[quotes reordered and trimmed] In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Daniel Lynn) wrote: > > > apparently system() and exec() and all tha can't be called from php > > > if it is runnig as an apache mod.. > the person in charge of teh server came to this conclusion for us and >

[PHP] newbie php authentication quest.

2001-03-15 Thread Christian Boesch
hi i want to protect a page (lets say its name is test.php) with authentication. therefore i included auth.php as follows: test.php: this is auth.php: the problem is that when i want to open test.php i get the authentication box, then i enter username and password and then i get again this b

[PHP] Showing source with .phps extension?

2001-03-15 Thread Anders Pettersson
On my Linux RH 6.2 computer, when working with Apache, mySQL and PHP, there is no problems showing the source code to my code developing friends. If I rename the php-file to phps it works just well. BUT, when doing the very same thing on my W98 or W2k machines, the source code will not show. The

Re: [PHP] IMAP sort help.

2001-03-15 Thread Terrence Wong
Is there a possibility that the imap_sort function is not capatible with APPLE servers? For my unix server, I have used the lastest imap services? Still problem persist for imap_sort to APPLE imap servers. terrence Chris Lee wrote: > imap functions are notorious for not returning anything usfu

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

2001-03-15 Thread Emiliano Heyns
emile Thu Mar 15 02:56:56 2001 EDT Modified files: /php4/ext/midgard midgard.c Log: Remove php_error for situations where Midgard is loaded but not configured (which is valid). Index: php4/ext/midgard/midgard.c diff -u php4/ext/midgard/midgard.c:1.22 p

Re: [PHP] JavaDoc?

2001-03-15 Thread Ulf Wendel
Jonathan Sharp schrieb: > > So i've heard bits and pieces that JavaDoc can parse out comments about > php... That's wrong. JavaDoc utilizes the Java Compiler. Check the PEAR repository there's a JavaDoc like tool in it. Ulf -- Ulf Wendel, NetUSE AG Siemenswall, D-24107 Kiel Tel: +49 431 386

[PHP] POST Method.

2001-03-15 Thread Nick Davies
How do i forward POST data from a php script. Obviously GET is simple (just script.php?$QUERY_STRING) but how does it work with post? Thanks. Nick. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [PHP] Executing a string with both html and php inside it..

2001-03-15 Thread Aviv Revach
Hey! The function 'eval()' can't be used here. I already tried working with it and failed. eval() is being used for running PHP code. My string contains HTML tags with PHP code inside(in '' tags), not only PHP as eval() requires. Do you have any other suggestion? Thank you in advance - Av

Re: [PHP] Statistics function

2001-03-15 Thread Derek Sivers
>the connection will close when you hit cancel but the PHP >code can continue running if you choose. Really?!? How do you choose to have the PHP script continue even if a browser leaves/dumps? I've always wanted to do that. Didn't know it was possible. -- PHP General Mailing List (http:/

Re: [PHP] Executing a string with both html and php inside it..

2001-03-15 Thread Christian Reiniger
On Wednesday 14 March 2001 12:50, you wrote: > My string contains HTML tags with PHP code inside(in '' > tags), not only PHP as eval() requires. > > Do you have any other suggestion? AFAIK there's no other way than using include(). Why do you need that anyway? > > > What should I do in order t

Re: [PHP] php or Mysql for DATE?

2001-03-15 Thread Tiki
You can also use the curdate() function in the MYSQL syntax. e.g. insert into table (datefield) values (curdate()); Cheers Kee Yong -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the li

Re: [PHP] How upload files to protected directories?

2001-03-15 Thread Christian Reiniger
On Thursday 15 March 2001 03:26, you wrote: > Hello Keith, thanks very much. Sorry because I forgot explain > following: picture files really are uploaded to host server, because I > check temp file and they are ok (I check $userfile_temp variable). My > problem is: I can't move, copy, rename or

[PHP] Number in extense

2001-03-15 Thread Marcel Henrique Scandolara - Wide
How could make a function to write number in extense, example: Write 10 soon below appearsTEN How ? Thanks Marcel Henrique -- 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

Re: [PHP] normal for Apache to hang?

2001-03-15 Thread Christian Reiniger
On Thursday 15 March 2001 06:37, you wrote: > Does your Apache hang? > Is that normal? > To have commands sitting for 1-2 minutes? >PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME > COMMAND [[ snip some other processes here ]] > 12345 www9 0 4648 4648 2240

Re: [PHP] Statistics function

2001-03-15 Thread Christian Reiniger
On Thursday 15 March 2001 08:34, you wrote: > If you want to get round-trip times including transmission to the user, > you'd need to have some way of getting the user's browser to record a > second request, which introduces a lot of potential variables. Why not simply use "ab" (the benchmarking

Re: [PHP] Creating Files Windows vs Unix

2001-03-15 Thread Christian Reiniger
On Thursday 15 March 2001 07:50, you wrote: > file. In qa.php3 I have the following line which seems to create a file > if it does not exist: > $answerFile = "$questionFileName-A.txt"; Then I go along and open this > later with $wa=fopen("$answerFile","a"); > In problem shooting I tried uploadin

[PHP] URL / address

2001-03-15 Thread Geer
Hi there, Does anyone know how I can read the address of URL the user filled in in his/her browser??? Greetings, Geer -- 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 administr

[PHP] Finding the depth

2001-03-15 Thread Harshdeep S Jawanda
Hi all, To explain my problem, I'll have to draw a directory structure (please bear with me :-): | +-- | +-- || |+-- | +-- | +-- || |+-- | +-- The directory contains some pictures that wil

Re: [PHP] Abobe FDF and PHP

2001-03-15 Thread Uwe Steinmann
On Thu, Mar 15, 2001 at 01:17:38AM -0500, Dustin Leggans wrote: > Hello, > > My internet provider does not have the $HTTP_POST_VARS variable enabled... > What would be the easiest way to capture submitted PDF form data without > having this variable? > According to the source the latest php does

RE: [PHP] URL / address

2001-03-15 Thread Matt Williams
> Does anyone know how I can read the address of URL the user filled in in > his/her browser??? I presume you mean when asking for page on your server. $REQUEST_URI see. http://uk.php.net/manual/en/language.variables.predefined.php for more details and others M@ -- PHP General Mailing Li

[PHP] OPENSSL problem

2001-03-15 Thread eXXos
Hi, I'm stuck for serveral days now on the following problem : whatever I try, i can't get the openssl_seal function to work. Even the sample code in the documentation doesn't work. I precise that the .dll is well loaded, I don't get any error while trying to call the functions of the openssl lib

Re: [PHP] POST Method.

2001-03-15 Thread Peter
Check out using php_curl HTH Peter "Nick Davies" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > How do i forward POST data from a php script. Obviously GET is simple > (just script.php?$QUERY_STRING) but how does it work with post? > > > Thanks. > > Nick.

RE: [PHP] RE: Function to compare an array with another array

2001-03-15 Thread Fang Li
Hi, I am trying to use the Function ArrayCompare, but it always has an error in "if(($key = array_search($element, $array2)) == false)", and also I couldn't get the page of http://www.stivesdirect.com/e-mail-disclaimer.html Would you please give me a clue? Thanks! Fang -Original Message-

php-general Digest 15 Mar 2001 13:58:05 -0000 Issue 568

2001-03-15 Thread php-general-digest-help
php-general Digest 15 Mar 2001 13:58:05 - Issue 568 Topics (messages 43946 through 44026): Re: Anyone running their own Servers & DNS versus renting space/services from an ISP or Hosting?? 43946 by: Paul Warner 43955 by: Andre Bajew Re: JavaDoc? 43947 by: Yasuo Oh

RE: [PHP] Executing a string with both html and php inside it..

2001-03-15 Thread Mark Roedel
> -Original Message- > From: Aviv Revach [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 13, 2001 5:36 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Executing a string with both html and php inside it.. > > > What should I do in order to execute the next string: >$str = "\n" >$st

RE: [PHP] RE: Function to compare an array with another array

2001-03-15 Thread Stewart Taylor
How about using the array_diff function instead. array_diff ($array1,$array2) = elements in $array1 not in $array2; array_diff ($array2,$array1) = elements in $array2 not in $array1; >From manual: array array_diff (array array1, array array2 [, array ...]) Array_diff() returns an array cont

RE: [PHP] Dynamic Arrays?

2001-03-15 Thread John Guynn
My first idea is something like this: $counter=1 while ($counter <= some maximum number){ $arrayvalue="var".$counter write $arrayname[$arrayvalue] to database $counter++; } That should get the job done. One other idea (depending on if you are just storing data or if you need to manipulate i

RE: [PHP] Dynamic Arrays?

2001-03-15 Thread Mark Roedel
> -Original Message- > From: RealGM [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 15, 2001 3:38 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Dynamic Arrays? > > > Hi, > > I have a bit of a dilemma. > > I have a number of array attributes, eg. $arrayname["var1"], > $arrayname["var2

RE: [PHP] RE: Function to compare an array with another array

2001-03-15 Thread Tim Ward
sorry, I've been writing javascript, and also didn't check the validity of the array_search function ... this works (and is simpler anyway) $element) { if (in_array($element, $array2)) { $answer[$key] = $element; } } return $answ

[PHP] mail() function how???

2001-03-15 Thread Nilesh Parmar
Hello !! I have insalled php on my windows 98 machine.But the mail() function does not work. Can anyone give me info as to how to use the mail() function in php.Or rather should i require any configurations on my machine. please help thanx in advance Nilesh Parmar -- PHP General

[PHP] mail() implementation problem

2001-03-15 Thread Mathieu Arnold
Hi The actual implementation of the mail fonction use sendmail -t and relies on sendmail to parse the headers to get the recipients. It would be great if it was possible to switch from this way of using sendmail to a more classic sendmail -f sender rcpt it should be quite easy, but I lack time t

[PHP] List of Directories with in a Directory

2001-03-15 Thread Tim Livers
I am trying to get a list of all directories within a specified directory. Any ideas how to do this? Thanks Tim -- 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

RE: [PHP] mail() function how???

2001-03-15 Thread Knotek Vlastimil
Hi You mast have some mail server installed, or an access to one. Then you have to configure your PHP.ini file: 1. If you are running under Windows: [mail function] SMTP= address of the mail server (mailserver.com or IP address) sendmail_from = [EMAIL PROTECTED

[PHP] (rac)MCAL, doubt, again

2001-03-15 Thread Celestino Roberto Alejandro
Hi... ..where i can found documentation abour the use and the installation of MCAL library in Solaris plattform? Robert Celestino.

RE: [PHP] Will my script run after redirect?

2001-03-15 Thread Johnson, Kirk
This will work fine. The script will continue to run after the meta refresh unless the exit is there. > -Original Message- > From: Carfield Yim [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 15, 2001 3:24 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Will my script run after redirect?

Re: [PHP] Executing a string with both html and php inside it..

2001-03-15 Thread Aviv Revach
Hey! I would like to thank you and Mark for your quick reply. What am I trying to accomplish is the following: I have created an engine which separates my website's code and design. The code is stored in one file(code.txt) and the design in another(design.txt). The engine loads up pa

[PHP] Re: SOS !

2001-03-15 Thread Julien (support pagespersos Free)
Nicolas MERLET a écrit : > Please help me ! My problem is that I can't load PHP scripts (.php > extension) with my personal server. My OS is Windows 95B (but MSIE 5 > update), and I use PWS for Win 95 (not 4.0 for Win 98). My PHP version > is: 4.0.4pl1 for Win32 I've already done this instructio

Re: [PHP] Statistics function

2001-03-15 Thread chris
On Thu, Mar 15, 2001 at 06:10:43AM -0600, Derek Sivers wrote: > > >the connection will close when you hit cancel but the PHP > >code can continue running if you choose. > > How do you choose to have the PHP script continue even if a browser > leaves/dumps? Check out the ignore_user_abort() fun

Re: [PHP] URL / address

2001-03-15 Thread Aviv Revach
Hey! You could easily use the Environment Variables. echo "http://$HTTP_HOST/$PATH_INFO"; will do the trick.. Best Regards - Aviv Revach At 13:45 15/03/01 +0100, Geer wrote: >Hi there, > >Does anyone know how I can read the address of URL the user filled in in >his/her browser???

[PHP] separate php.ini files

2001-03-15 Thread Kevin Porter
Hi, I need to build two copies of a website on one machine - one for development and one for a backup. I want to be able to use different php.ini files with each copy of the site. Can I do this without compiling two Apache/PHP excutables? ie can it be done with virtual hosting somehow or by any o

RE: [PHP] separate php.ini files

2001-03-15 Thread Johnson, Kirk
We just started doing this using Apache's virtual hosting and .htaccess files to alter php.ini's configuration settings on a per application basis. Haven't played with it much yet, tho. Looks good so far. > -Original Message- > From: Kevin Porter [mailto:[EMAIL PROTECTED]] > Subject: [PHP

RE: [PHP] separate php.ini files

2001-03-15 Thread Mark Roedel
> -Original Message- > From: Kevin Porter [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 15, 2001 9:37 AM > To: [EMAIL PROTECTED] > Subject: [PHP] separate php.ini files > > > I need to build two copies of a website on one machine - one > for development and one for a backup. I want

[PHP] forms and databases usinh PHP

2001-03-15 Thread Don
Hello, Has anyone run into problems using PHP to access a database (MySQL) and build a form. I am trying to build a form that contains anywhere from 10 to 20 tables. Each table will contain drop down menus, text boxes and text areas. As you may envision, this form can be quite lengthy. I popu

[PHP] gmmktime() woes

2001-03-15 Thread David G.
Can anyone tell me why the following code returns 0 instead of 3600 seconds? \n"; ?> However, using mktime() for the same date does produce the correct output, which for my timezone (CST) is 25200 seconds. Furthermore, running this on a Linux machine with PHP4 produces the correct result for bot

[PHP] Problem with ereg*_replace and backreference

2001-03-15 Thread Alain FORCIOLI
Hello, This is a sample php code that doesn't work on my workstation. The ouptut is "A\1Cbc" instead of "AbC". Debian Gnu/Linux 2.2 Apache 1.3.14 php 3.0.18 (apache module) Thanks for your help. -- Alain FORCIOLI Risc Technology mailto:[EMAIL PROTECTED] http://www.risc.fr/ APRIL

Re: [PHP] Executing a string with both html and php inside it..

2001-03-15 Thread Christian Reiniger
On Wednesday 14 March 2001 16:26, you wrote: > Hey! > > I would like to thank you and Mark for your quick reply. > > What am I trying to accomplish is the following: > >I have created an engine which separates my website's code and > design. The code is stored in one file(code.txt) and the des

Re: [PHP] forms and databases usinh PHP

2001-03-15 Thread Jack Dempsey
Hey Don, I'm sure most of us have experienced problems with PHP and MySQL, but of a programming error, not usually a "bug". Do you have some code you could share? I'm using PHP and MySQL with lots of forms and things are great. jack Don wrote: > > Hello, > > Has anyone run into problems using

Re: [PHP] List of Directories with in a Directory

2001-03-15 Thread Christian Reiniger
On Thursday 15 March 2001 16:05, you wrote: > I am trying to get a list of all directories within a specified > directory. > > Any ideas how to do this? go through all entries of the dir. on each entry check if it's a directory. if it is, list it For all other questions on this topic check the

Re: [PHP] How upload files to protected directories?

2001-03-15 Thread Keith Vance
Can you set, in your script, where the files are uploaded so that the files can be uploaded into a directory that allows you to do a copy. Keith On Wed, 14 Mar 2001, Mig wrote: > Keith Vance wrote: > > > You should be able to do something using PHP, try looking here, > > http://www.php.net/manu

[PHP] newbie problem: Hit counter.

2001-03-15 Thread Richard Banks
For some reason the number of hits value is not getting replaced [after incrementing] into the original counter file. any help would be appreciated. here is the code : "; } fclose ($rs); $wr = fopen ($cntfile, "rw"); $cntr+=1; fputs($wr, $cntr); echo $cntr; fclose(

Re: [PHP] POST Method.

2001-03-15 Thread Keith Vance
You could can "forward" posted data the same way if you wanted to. I don't know what you mean by forwarding. But if you had one script that was a form and the action was set to a script called action.php and then you wanted to pass that data to yet another script, you could pass the values in the

Re: [PHP] that whole system() thing again

2001-03-15 Thread Dennis Gearon
Is is permissions of the Apache process? > Well, no, I'm not sure... I, personally, am a graphic designer that used to > program and somehow got suckered into programming again.. however, the person > in charge of teh server came to this conclusion for us and wether he is righ > or wrong, we have

Re: [PHP] POST Method.

2001-03-15 Thread Nick Davies
I'm going to use the curl libs. But FYI i was wanting to forward the data again using post. On Thu, 15 Mar 2001, Keith Vance wrote: > You could can "forward" posted data the same way if you wanted to. I don't > know what you mean by forwarding. But if you had one script that was a > form and t

[PHP] POST conversion.

2001-03-15 Thread Nick Davies
Hi (again). Is there a simple was to take post data from a form and create a query string out of it? Thanks. Nick. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To conta

[PHP] RE:Dynamic Arrays?

2001-03-15 Thread Dennis Gearon
One problem is that you call counter "counter" in one location and call it "counter1" in another location, otherwise, I don't think many things happen successfully inside of square brackets. This problem, and general readability can be enhanced by putting spaces around '=' in your code. So,try th

RE: [PHP] newbie problem: Hit counter.

2001-03-15 Thread Boaz Yahav
Check out : http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1501 http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1697 http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1359 http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1552 http://ww

[PHP] Chat with PHP and MySQL - come and chat about Linux problems...

2001-03-15 Thread Marian Vasile
The problem I have it's an entire story. First of all, I will tell you that knows a little more about Linux. I created a chat software with couple php scripts. The chat it's using MySQL. I think the chat software is good (not the best one) but first of all is easier to use than what I saw on the

[PHP] php editors

2001-03-15 Thread McShen
I am looking for good php editors. Currently, i am using PHP coder. It highlights syntax and checks my syntax. It's also executes my PHP codes. Are there any editors like that? I just want a editor that highlights my code and check my syntax. regards -- PHP General Mailing List (http://www.ph

Re: [PHP] forms and databases usinh PHP

2001-03-15 Thread Michael Kimsal
Don wrote: > Hello, > > Has anyone run into problems using PHP to access a database (MySQL) and > build a form. I am trying to build a form that contains anywhere from > 10 to 20 tables. Each table will contain drop down menus, text boxes > and text areas. As you may envision, this form can

[PHP] FAQ

2001-03-15 Thread Rick St Jean
It is there a list of most frequently asked questions? It seems that people ask the same questions, again and again, they do not READ THE MANUAL. Yes I have asked 2 stupid questions, but I really did search and I am reading my manuals, the PHP and the book that I bought. Also I would like to kn

[PHP] File system or MySQL ?

2001-03-15 Thread Marian Vasile
What is faster for a chat php software ? To use a file for write or to use a MySQL database ? Marian Vasile IT Manager Schnecker van Wyk & Pearson www.investments.ro -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

Re: [PHP] php editors

2001-03-15 Thread Keith Vance
I think this discussion just took place, try searching the mailing list archives for "good php editor" Keith On Thu, 15 Mar 2001, McShen wrote: > I am looking for good php editors. Currently, i am using PHP coder. It > highlights syntax and checks my syntax. It's also executes my PHP codes. Are

[PHP] Php C source code

2001-03-15 Thread rui
anyone know were can i have information on how is structured the php C source code, i was poking around but it is very confusing, and lot of files, the things i would like to know is just a simple description on how php reads, parses, and executes php code, when reading from apache or from comman

Re: [PHP] FAQ

2001-03-15 Thread RBL
on 3/15/01 9:04 AM, Rick St Jean at [EMAIL PROTECTED] wrote: > Also I would like to know if there would be a demand for an > experienced mailing list? I am just frustrated by the same 3 > questions that pop up about once a day. The rest of the posts > are great. > > Rick I once thought a great

Re: [PHP] File system or MySQL ?

2001-03-15 Thread Chris Lee
I would guess that file access is faster, try it out. write a simple app that will write data to a file, close it, open it write it etc. compare this to same on a db. every computer every server is differnet, test to see what is fast on your system. thats ultimitly the most importnat no? that i

Re: [PHP] FAQ

2001-03-15 Thread DAve Goodrich
askedagain.com/net/org are available. on 3/15/01 9:17 AM, RBL at [EMAIL PROTECTED] wrote: > I once thought a great product for mail lists (would require an admin > interface, PHP?) would be a way to put into the list mail signature a random > FAQ link. > > Fill that particular FAQ with commonl

RE: [PHP] POST conversion.

2001-03-15 Thread Stewart Taylor
PHPLIB http://phplib.netuse.de/ has a Query class in sql_query.inc which is used in conjunction with the DB_Sql class. It can be used to create dynamic insert and update queries by assuming that global variables exist which map onto a paricular tables field. You basically name the table and it cr

RE: [PHP] FAQ

2001-03-15 Thread Mal McKay
Or what would be more interesting would be some sort of buffer between you and the list, ie: you send an email to the list the listserv picks the 3 best matches to your email from a database of faqs AND/OR the listserv picks the 3 best matches to your email from a database of the list's threads a

Re: [PHP] POST conversion.

2001-03-15 Thread Chris Lee
alot of times when people ask this question they are sking the quesion because they are coding this logically incorrect, Im sure this isnt that case for you though. $val) $args[] = "$pos=$val"; if (isset($args)) return urlencode('?'. implode('&', $args)); } } echo " i

RE: [PHP] FAQ

2001-03-15 Thread Mal McKay
I'd just like to offset my other email by saying that a faq is often no substitute for the knowledge and experience of this list's members. In a strange way, the 'dumb' question this list gets proves the a faq can not be expected to know the right way to answer a query. A list member out there jus

Re: [PHP] forms and databases usinh PHP

2001-03-15 Thread Don
> Don wrote: > > > Hello, > > > > Has anyone run into problems using PHP to access a database (MySQL) and > > build a form. I am trying to build a form that contains anywhere from > > 10 to 20 tables. Each table will contain drop down menus, text boxes > > and text areas. As you may envision, t

Re: [PHP] FAQ

2001-03-15 Thread Rick St Jean
Cool idea, I am going to add that to the spec for the mailing list program we are working on. it is relatively simple if you put it there when you are planning the app. At 09:17 AM 3/15/01 -0800, RBL wrote: >on 3/15/01 9:04 AM, Rick St Jean at [EMAIL PROTECTED] wrote: > > > Also I would like to

[PHP-CVS] cvs: php4 /pear/XML Parser.php

2001-03-15 Thread Ulf Wendel
uw Thu Mar 15 09:30:02 2001 EDT Modified files: /php4/pear/XML Parser.php Log: - lots of whitespace (tabs vs. spaces) - added basic inline docs - added error handling to the constructor Index: php4/pear/XML/Parser.php diff -u php4/pear/XML/

[PHP] String parsing problem

2001-03-15 Thread Justin Smith
Hello, PHP-type folks. I'm attempting to parse up search parameters from a user-inputted form into something I can build a query with. For example, given the string "\"grizzly bear\" or tiger and carnivorous mammal", I'd like to split it into an array like this: array[0] = array("'grizzly bear'

[PHP] Help w/Cookie Problem

2001-03-15 Thread Jack Sasportas
If I have a cookie request in a function, and check the value of a cookie, I get that there is no value, if I check for the value outside of the function, I see the value. What should I do to ? ( SAMPLE BELOW ) function f_check_security() { # $c_uas_time is the cookie I want the value of

Re: [PHP] Help w/Cookie Problem

2001-03-15 Thread Jack Dempsey
just looking at what you said quickly, what about scope? if i can't access something inside a function, its usually because i haven't declared it global...does this not apply to cookies? jack Jack Sasportas wrote: > > If I have a cookie request in a function, and check the value of a > cookie,

Re: [PHP] Finding the depth

2001-03-15 Thread Chris Lee
ok, this is what you asked for "; ?> but why cant you just do this. echo " "; -- Chris Lee [EMAIL PROTECTED] "Harshdeep S Jawanda" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, To explain my problem, I'll have to draw a dir

[PHP] 3 situations - PHP Power or... servlet(JSP) power ?

2001-03-15 Thread Marian Vasile
I have 3 situations and I need an answer about what is faster... 1. A PHP script that it's executed 10 times in a second, and have to update a a MySQL table. 1. A PERL script that it's executed 10 times in a second, and have to update a a MySQL table. 1. An servlet(JSP) script that it's executed

Re: [PHP] newbie php authentication quest.

2001-03-15 Thread Chris Lee
this works for me \n"; exit(); } if ( isset($PHP_AUTH_USER) AND isset($PHP_AUTH_PW) AND $peop_r = fetch_db_value('people_manager', "WHERE username = '$PHP_AUTH_USER' AND password = '$PHP_AUTH_PW' ") ) $SessionID = $peop_r['peopleID']; else { Header("WWW-Authenticate: Basic realm='$SE

Re: [PHP] Own User authentification

2001-03-15 Thread Chris Lee
simple answer dont use .htaccess. anser your looking for, keep the username / password the same as your login as htaccess and use php's http authentication to login the first time. \n"; exit(); } if ( isset($PHP_AUTH_USER) AND isset($PHP_AUTH_PW) AND $peop_r = fetch_db_value('people_mana

Re: [PHP] Creating Files Windows vs Unix

2001-03-15 Thread Andrew V. Romero
I believe the school does run *nix servers. I tried changing the permissions for the directory so that everyone (and their brother) has read write and execute permission, but I still get all the errors. Is there any other ideas that I can try? Christian Reiniger wrote: > On Thursday 15 March 20

Re: [PHP] External file?

2001-03-15 Thread Chris Lee
I think im not understandting, because your asking a simple question. -- Chris Lee [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Morning, I have a section of HTML that Is added to a page if a user logs in successfully. Itis about 3

[PHP] One some problem with uploading

2001-03-15 Thread Al
I have one script on PHP for uploading files on ftp server. This source code downloaded from PHP manual help (upload files) His work not correctable. If i changed Text files for uploading on ftp server it's work all right . if i changed Binary files to uploading (for example logo.gif) it's don't w

Re: [PHP] Not Looping...

2001-03-15 Thread Chris Lee
this question was answered be me only two days ago. it would be nice to see people checking before they post. -- Chris Lee [EMAIL PROTECTED] ""WreckRman2"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am having problems figuring out how to loop to

[PHP] Variable value doesn't stay "Null"

2001-03-15 Thread Michael Conley
I put up an HTML page that allows a user to modify some previously entered information. The information is taken from a MySQL database and displayed on the page. The user can leave the data alone or modify it. If there is no information in the database for one of the fields, the input box is em

Re: [PHP] Variable value doesn't stay "Null"

2001-03-15 Thread Chris Lee
null is a bad idea. if a value is set to null in a table then that variable will not be set. namephonefaxemail chris lee37710955541120NULL $result['name'] is 'chris lee' $result['phone'] is '3771095'; $result['fax'] is '5541120'; $result['email'] is an un

  1   2   3   >