[PHP] authentifiaction http and php

2001-10-18 Thread fincom
Hi, Is it possible to use the authentification http using apache's dbm module (yes i know that :-)), using an form's to send the user's name and password to apache ? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

[PHP] dbm manage

2001-10-18 Thread fincom
hi, does anyone had developped an equivalent php script to the "dbmmanage" perl's script delivred with apache. thanks -- 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 administrat

[PHP] How-to put something at bottom of page

2001-10-18 Thread Jean-Christian Imbeault
I'm not sure if this is a PHP or HTML question but can anyone tell me of a way to place an image or text at the bottom of a browser window? I have some pages that have only a bit of text and when I place my footer on that page I would like it to line up nicely with the bottom of the browser wi

[PHP] Performance question

2001-10-18 Thread Fredrik Wahlberg
Hi! I have a page that uses server-side includes to display different features. Something like this: (a few db calls) (perl-script with db calls) (even more db calls) If everything is embedded in a php-page I assume that the parser would start only once, and that the db-connections wo

Re: [PHP] How-to put something at bottom of page

2001-10-18 Thread Rudi Ahkers
You can use frames for that. Create a frame, say index.html, and then two pages, one for the footer, and one for the other pages which will load inside the frameset. Look at http://www.bonzai.org.za/home.php?id=offer ample Rudi Ahlers UNIX Specialist and Web Developer Bonzai Web Design - http://

[PHP] Create A New File

2001-10-18 Thread Mark Lo
Hi, I would like to know which function use to create a New File in PHP. Many Thanks Mark Lo -- 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: [EMA

Re: [PHP] Performance question

2001-10-18 Thread Rasmus Lerdorf
> Hi! > > I have a page that uses server-side includes to display different > features. Something like this: > >(a few db calls) >(perl-script with db calls) >(even more db calls) > > > If everything is embedded in a php-page I assume that the parser would > start only once, and that

Re: [PHP] Create A New File

2001-10-18 Thread Rasmus Lerdorf
http://php.net/fopen On Thu, 18 Oct 2001, Mark Lo wrote: > Hi, > > I would like to know which function use to create a New File in PHP. > > > Many Thanks > > > Mark Lo > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: [PHP] How-to put something at bottom of page

2001-10-18 Thread Richard Baskett
You can do this with html, just make your page a table with height="100%", and then have your footer in it's own row at the bottom with valign="bottom" and make sure your table cell with your main content is valign="top". Since I can not see what you're doing I cant give you specifics, but I thin

Re: [PHP] Create A New File

2001-10-18 Thread Mark Lo
Dear Rasmus Lerdorf, I mean to create a new file, Not to open a file. Thank you Mark Lo - Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: "Mark Lo" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, October 18, 2001 4:18 PM Subject: Re: [PHP] Creat

Re: [PHP] Create A New File

2001-10-18 Thread Rasmus Lerdorf
http://php.net/fopen please read it again. Pay careful attention to the mode flags. 'w' would create a new file. -Rasmus On Thu, 18 Oct 2001, Mark Lo wrote: > Dear Rasmus Lerdorf, > > I mean to create a new file, Not to open a file. > > Thank you > > > Mark Lo > > - Original Me

Re: [PHP] Create A New File

2001-10-18 Thread Mark Lo
Thanks - Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: "Mark Lo" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, October 18, 2001 4:25 PM Subject: Re: [PHP] Create A New File > http://php.net/fopen please read it again. Pay careful attention to the > mo

Re: [PHP] How-to put something at bottom of page

2001-10-18 Thread Jean-Christian Imbeault
This almost works ... The only problem is that all cells are stretched vertically. For example my table has four rows. The first one is aligned with the top (good) and the last one is aligned with the bottom of the screen (good). Bu the two in the middle have been stretched to fill out the res

Re: [PHP] How-to put something at bottom of page

2001-10-18 Thread Richard Baskett
Hmm.. using frames would work, but let's try something else. Make a whole new table underneath your main table and make it 100% height and see if that works. It should crunch your first table to normal size and then your second footer table 'should' take up the rest of the space on the page. If

[PHP] PHP/MySQL speed

2001-10-18 Thread anders nawroth
I'm running win98 / apache 1.3.20 / php 4.0.6 / MySQL 3.23.38 Just doing mysql_connect('localhost', 'foo', 'bar'); mysql_select_db('xyz'); is 0.06 second. Is this normal?? My queries take 0.01 second or less, that works fine. But why is the connect so slow? Anders www.nawroth.com -- PHP

[PHP] Variable & Configuration Problem

2001-10-18 Thread Patrick Quaedackers
Hello all! I installed PHP 4.0.6 om my server (Winnt server, Apache), and I started testing with it. The problem I have now is this: I want to read the data passed from a form trough a variable. Let's say the form field is called Test. I want to use $Test in my PHP script to read that variable.

[PHP] IMAP Question

2001-10-18 Thread Valentin V. Petruchek
Hello, Masters! I'm sending a mail through with imap_mail() and want to save a copy of it in "Sent Items" folders. I can not find function which an do it. It seemes to me it should look like saving letter to specified mailbox (e.g. "Drafts"). Thank you Val.zp.ua. -- PHP General Mailing Lis

[PHP] !!! URGENT [PHP] php mail() function Problem

2001-10-18 Thread Simos Varelakis
Hi to everyone i have problem with php4 mail() function. Os:mandrake 7.2 Mailprog:Sendmail the following php code does not send e-mail my /var/log/mail/info files log the following thewall sendmail[8313]: f9HAE9I08313: from=apache, size=0, class=0, nrcpts=0, relay=apache@localhost my php.

Re: [PHP] Object and reference problem

2001-10-18 Thread SafeV
Yes, thanks, but then I can't pass a string or int as a parameter as well, which is what a want. Neil Kimber wrote: > You're not passing by reference. > Change: > > function add($child) { >$this->children[] = $child; > } > > to > > function add(&$child) { >$this-

Re: [PHP] executing script at specified time

2001-10-18 Thread Mike Payson
As far as I know, there is no way to do this in Apache. Instead, use cron & lynx: 59 23 * * * lynx -dump http://domain.com/script.php > ~/phpdump.txt If you don't need to save the results, use: 59 23 * * * lynx -dump http://domain.com/script.php > /dev/null On Wed, 2001-10-17 at 17:05, Richar

[PHP] Another [PHP] Simple Session Problem...

2001-10-18 Thread Brian Aitken
Hiya I've got the same problem as the one Rudolf Visagie posted yesterday - when I start a session I get the error message: "Warning: open(E:\Inetpub\sessions\sess_955aa3bdd517c3a345f29fe1e021d054, O_RDWR) failed: m (13) in D:\Inetpub\wwwroot\HATII\admn\php\moss\sc_head.inc on line 3" We've tri

RE: [PHP] Another [PHP] Simple Session Problem...

2001-10-18 Thread Dave Watkinson
does E:\Inetpub\sessions exist as a directory? I notice your webdir is on D:\ and I wouldn't put your session files in your web root (if you are) - use c:\temp or c:\winnt\temp or something hope this helps dave -Original Message- From: Brian Aitken [mailto:[EMAIL PROTECTED]] Sent:

[PHP] Re: zip_open in 4.0.6 ?

2001-10-18 Thread Christian C.
"Ilya V. Lazarev" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi ! > Has anyone tried zip_open in PHP 4.0.6 ? > It says me that no such function. I've looked at php src and found > zzip_open(), but this one expect more than 1 arg ( supposedly 2 ). File/pat

[PHP] file upload problem

2001-10-18 Thread Brian Aitken
Hiya I promise I won't keep perstering you after this question :-) My problem is this - I've got a complete system that works perfectly on Linux but I've got to set it up on a new server that's running Windows. When I try to handle file uploads I get errors (when the same code worked perfectly u

[PHP] FREE S E X O 20935

2001-10-18 Thread hagstime23
*** NEVER PAY FOR XXX AGAIN! TOTALLY FREE-4-LIFE *** How do you like 100% FREE XXX??? Would you like a FREE XXX Membership to see my tight teenage pussy??? http://206.47.217.53/pta/index.html WARNING: Too Controversial for the public Web! Must be 18 or older to continue! We are not respons

[PHP] PDF Download / View

2001-10-18 Thread Ville Mattila
Hello world, I've made a little script which simply returns a pdf file through it (script file called dl.php in the chart-directory): This script works fine when there is Acrobat Reader Browser -plug-in installed to users' box so that the PDF File appears into the IE's or Netscapes' normal w

[PHP] Web portals

2001-10-18 Thread veber
Hi ! I am looking for an efficient web portal, sutable for medium/big corporation sites, with a searcable product catalog etc. The catalog is the main emphasis of the site. One more thing : Is there a tutorial or an article that covers the web portal building ? Thanks Nikola -- P

RE: [PHP] Another [PHP] Simple Session Problem...

2001-10-18 Thread Rudolf Visagie
Hi It wasn't me who posted the problem - I was involved in trying to find a solution. However, it seems to me as if the problem has to do with which operating system one is using. On Windows the save path could be [drive:]\temp and on *nix it would be /tmp (and the directories have to exist). C

RE: [PHP] Another [PHP] Simple Session Problem...

2001-10-18 Thread Rudolf Visagie
On Windows you could try C:\\temp or D:\\temp. (For some reason it picks it up with two slashes but not with one). -Original Message- From: Brian Aitken [mailto:[EMAIL PROTECTED]] Sent: 18 October 2001 12:22 To: [EMAIL PROTECTED] Subject: [PHP] Another [PHP] Simple Session Problem... Hi

[PHP] Re: zip_open in 4.0.6 ?

2001-10-18 Thread Ilya V. Lazarev
No . I've found next lines in ext/zziplib/zziplib.c (next is excerpt from file ): /* {{{ proto resource zzip_opendir(string filename) Open a new zzip archive for reading */ -- /* {{{ proto resource zzip_readdir(resource zzipp) Returns the next file in the archive */ -- /* {{{ proto void

RE: [PHP] Another [PHP] Simple Session Problem...

2001-10-18 Thread Dave Watkinson
not true mine's set to session.save_path = c:\temp and it works just fine but you're right in that the directory has to exist Dave -Original Message- From: Rudolf Visagie [mailto:[EMAIL PROTECTED]] Sent: 18 October 2001 13:00 To: Brian Aitken Cc: [EMAIL PROTECTED] Subject: RE: [PH

Re: [PHP] Object and reference problem

2001-10-18 Thread SafeV
Sigh, I guess you're right... But I think a better solution is to wrap strings in a String object Thanks for your input! Brian White wrote: > I think you are going to have to live with it. > > Functional overloading only really makes sense in strongly typed > languages, and I bet is a bugger t

Re: [PHP] file upload problem

2001-10-18 Thread SafeV
I've run into the same problem, I had to 'chmod 777 images' to be able to create dirs or files, which is BAD security! Brian Aitken wrote: > Hiya > > I promise I won't keep perstering you after this question :-) > > My problem is this - I've got a complete system that works perfectly on > Lin

[PHP] Always running script

2001-10-18 Thread Ville Mattila
Hi there again, I was wondering that would it be possible to make a script which is always running? Maybe it should be started via console, but there is anyway that maximum execution time limit which should be revoke in this case. Any ideas? - Ville -- PHP General Mailing List (http://www.

Re: [PHP] Re: executing script at specified time

2001-10-18 Thread DL Neil
The answer "cron" refers to *nix OpSys. It is the name of a demon/daemon that kicks of commands/jobs at a pre-specified time and/or on a regular basis. M$ spell it "at". Was that your question? =dn - Original Message - From: "Lucas Chan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent:

[PHP] Re: PDF Download / View

2001-10-18 Thread SafeV
I'm not 100% sure, but try adding one more header: Header("Content-Disposition: attachment; filename=\"" . $filename. "\""); Ville Mattila wrote: > Hello world, > > I've made a little script which simply returns a pdf file through it (script file >called dl.php in the chart-directory): > >

[PHP] Re: Always running script

2001-10-18 Thread SafeV
If you 'set_time_limit(0);' your script won't time out. But it's probably better to have some other kind of background script to run on the server... Ville Mattila wrote: > Hi there again, > > I was wondering that would it be possible to make a script which is always running? >Maybe it should

Re: [PHP] domxml

2001-10-18 Thread Arpad Tamas
On Wednesday 17 October 2001 19:47, php wrote: > Hello, > > Warning: Unknown list entry type in request shutdown (0) in > Unknown on line 0 > appears on the bottom of every script I call that uses domxml. > I have no idea was causes it... Any tips? try to use (and compile php with) another versio

[PHP] class problems

2001-10-18 Thread Matt Williams
Any ideas why this won't output anything table; } } echo test::showName(); ?> I have other classes along the similar lines but a lot bigger which work fine. I'm also using phplib which has a lot of this stuff going on... I remeber seeing something regarding it in the manual but i don

[PHP] Re: [PHP-DB] LDAP multiple actions in modify?

2001-10-18 Thread Derek Mailer
If this suggestion isn't what you're after then it's probably because I don't fully understand your problem, but here goes... if you are simply replacing an old password with a new one in a directory entry you don't need to delete and then add; instead you would use... ldap_mod_replace to replac

Re: [PHP] Create a list of links

2001-10-18 Thread Tim
On Wed, 2001-10-17 at 16:00, Lauri Vain wrote: > Hello all, > > I need a script that would find all the links (both -- web sites and mail > addresses) on a given page with the link text. > With the uttermost probability, somebody has written such a script. Can somebody > help? There is a class f

RE: [PHP] Another [PHP] Simple Session Problem...

2001-10-18 Thread Rudolf Visagie
A colleague of mine says that's how he had to enter the save_path eventually with IIS on Windows 98 to get it to work. I use Unix myself (/tmp). -Original Message- From: Dave Watkinson [mailto:[EMAIL PROTECTED]] Sent: 18 October 2001 02:44 To: Rudolf Visagie; Brian Aitken Cc: [EMAIL PROTE

Re: [PHP] class problems

2001-10-18 Thread Valentin V. Petruchek
Try to create an instant of the class like this: table; } } $test = new Test; echo $test->showName(); ?> - Original Message - From: "Matt Williams" <[EMAIL PROTECTED]> To: "PHP General List" <[EMAIL PROTECTED]>; "PHP_UK@egroups." <[EMAIL PROTECTED]> Sent: Thursday, October 18, 2001 4:25

RE: [PHP] class problems

2001-10-18 Thread Matt Williams
Ok got it from here. http://uk.php.net/manual/en/keyword.paamayim-nekudotayim.php using :: allows use of a class function but doesn't allow access the object, so to access $this I do need to instantiate the class Thanks M: > Try to create an instant of the class like this: > class test > { >

[PHP] Help, please!

2001-10-18 Thread Valentin V. Petruchek
Hello, Professionals! I've such problem: i need to change parameters from php.ini (such as sendmail_from) during execution script. Is it possible to perform and if is, how can i do it. Thanks Val.zp.ua -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECT

RE: [PHP] class problems

2001-10-18 Thread Valentin V. Petruchek
Sorry and thanks - have not use it before/ But i've tried this: qtable = 'val'; return $this->qtable; } } echo test::showName(); ?> worked :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] PHP 4.0.6 & Mysql 4.0

2001-10-18 Thread Jeroen Geusebroek
Hi there, Does the current stable PHP (4.06) support the use of the newly released Mysql 4? Thanks, Jeroen -- 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-mai

[PHP] IMAP Question

2001-10-18 Thread Valentin V. Petruchek
Is it possible to use imap_mail() on php 4.0.6 on NT machine? Maybe anyone has dll for this. Thank you Val.zp.ua -- 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

[PHP] Annotated PHP Manual

2001-10-18 Thread Khalid Hazmi
How I can download the current Annotated PHP Manual??? _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: [PHP] Header() don't work

2001-10-18 Thread Web user
The original scripts of login.php have the line: require("lib.inc");, the lib.inc is as below After I deleted the require() line, and use myslq_connect() and mysql_select_db() in the login.php, the header() does work. So I think there must be some output while running at the line of "return $ha

Re: [PHP] IMAP Question

2001-10-18 Thread DL Neil
> Is it possible to use imap_mail() on php 4.0.6 on NT machine? > Maybe anyone has dll for this. Yes Val. It is possible. See related thread/discussion list: [PHP-WIN] Help on using mail() function =dn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] Spam messages (Was: FREE S E X O

2001-10-18 Thread Sam Masiello
...but then what do you do about the people who have legitimate questions who don't want to subscribe to the list? This is a fairly high traffic list and not everyone wants that much mail coming at them just to have the occasional one-off question answered. Sam Masiello Software Quality Assuran

Re: [PHP] Spam messages (Was: FREE S E X O

2001-10-18 Thread Jon Farmer
> ...but then what do you do about the people who have legitimate questions > who don't want to subscribe to the list? This is a fairly high traffic list > and not everyone wants that much mail coming at them just to have the > occasional one-off question answered. See as this list is mirrored t

[PHP] MySQL query

2001-10-18 Thread Srinivasan Ramakrishnan
Hi all, I'm looking at the following scenario: I have MySQL two tables with usernames in both of them, I need to get usernames(A) - usernames(B) In Oracle I would use: SELECT username FROM user MINUS SELECT username FROM task_assignment Since MySQL does not support MINUS, I tried using the foll

[PHP] remembering variables between pages when using forms ...

2001-10-18 Thread baker downloads
i hope i can make my question understood ... i've input a value $city in my form, and i can retrieve it on the following page (the page which was the "action" of the form) ... but then, when i try to use a "hidden" type to move it to my next page (which is a form), i lose the value ... i cannot

RE: [PHP] MySQL query

2001-10-18 Thread Dave Watkinson
select table1.* from table1 LEFT JOIN table2 ON table1.id=table2.id where table2.id is NULL; http://www.mysql.com/doc/J/O/JOIN.html -Original Message- From: Srinivasan Ramakrishnan [mailto:[EMAIL PROTECTED]] Sent: 18 October 2001 17:06 To: [EMAIL PROTECTED] Subjec

RE: [PHP] remembering variables between pages when using forms ...

2001-10-18 Thread Dave Watkinson
where's your code ken? are you being strict with the case of the variable name? is the hidden element within the forms tags??? -Original Message- From: baker downloads [mailto:[EMAIL PROTECTED]] Sent: 18 October 2001 17:13 To: [EMAIL PROTECTED] Subject: [PHP] remembering variables be

Re: [PHP] remembering variables between pages when using forms ...

2001-10-18 Thread Kenn Murrah
didn't want to bother everyone with all the code, but here's a mildly edited version ... here's the form: password is " . $password; ?> You're authorized ! Click to continue. -- here's the framed page called by the form: Paymentech Print Orders

Re: [PHP] Spam messages (Was: FREE S E X O

2001-10-18 Thread Jeroen Geusebroek
>> ...but then what do you do about the people who have legitimate questions >> who don't want to subscribe to the list? This is a fairly high traffic list >> and not everyone wants that much mail coming at them just to have the >> occasional one-off question answered. >See as this list is mirro

[PHP] parsing a string

2001-10-18 Thread John A. Grant
I'm reading some HTML text from a file and echoing it to stdout. The HTML text contains but I would rather have the server do the work of looking up the image size. I know how to lookup the image size with getimagesize(). My problem is in coming up with a good format for embedding a reference to

RE: [PHP] remembering variables between pages when using forms ...

2001-10-18 Thread Dave Watkinson
it looks fine to me, except i have a personal dislike for forms ;-) i didn't know you could post to a form and set a target for it. also i couldn't see a frame called _top which you named in the form action, nor could i see a page called main.php being called by the frameset. other than that (w

Re: [PHP] Spam messages (Was: FREE S E X O

2001-10-18 Thread Jon Farmer
> And then the spammers can use NNTP again. I think it goes both ways. > NNTP <> LIST > > A good spam filter (blacklist) would be a good option. Yeah thats what i said -- Jon Farmer Systems Programmer, Entanet www.enta.net Tel 01952 428969 Mob 07763 620378 PGP Key available, send blank email t

Re: [PHP] parsing a string

2001-10-18 Thread Jason G.
Why don't you do something like this: Then search for a regx something like (I am not sure of the exact syntax). Then parse the found tag, generate your I'm reading some HTML text from a file and echoing it to >stdout. The HTML text contains but I would rather >have the server do the work o

Re: [PHP] parsing a string

2001-10-18 Thread DL Neil
John, Two inter-dependent problems: 1 a means of identifying a cipher within the text 2 a means of replacing the cipher with HTML code 1 there are a limited number of graphics formats (.GIF, .JPG, .PNG, etc) and the number you are prepared to contemplate may be even shorter. Thus it would not b

Re: [PHP] parsing a string

2001-10-18 Thread Mike Eheler
Beyond that, why not keep it conforming to HTML, and use an tag, for example: This is some text . That way if you need to view the page "as-is" in a browser or whatever, it'd still look fine.. go grab yourself some good free html parser code, and analyse the options. If processat="server" th

[PHP] PHP Filesystem functions/reference table

2001-10-18 Thread DL Neil
Isn't it fun when people asking questions on the list spark off your own thoughts/inspiration!? Has anyone seen a tabulation of the functions in (manual: IV Function Reference XXVI. Filesystem functions) that shows which functions [don't] work under what conditions? eg Col1: function name, Col

[PHP] Re: parsing a string

2001-10-18 Thread James, Yz
Hey John, something like this might work: ", $string); echo $string; ?> James "John A. Grant" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm reading some HTML text from a file and echoing it to > stdout. The HTML text contains but I would rather > hav

[PHP] urlencode() and rawurlencode()

2001-10-18 Thread Olexandr Vynnychenko
Hello php-general, People, tell me please what's the difference between subj, except that the 1st translates space into +. -- Best regards, Olexandr Vynnychenko mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [

[PHP] RE: Download Function in PHP

2001-10-18 Thread ArsenKirillov
recursion + ftp_get... > Hi All, > >I would like to know how to download the whole directory using PHP. > > > Thanks > > > Mark Lo > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To cont

[PHP] Multidimensional Array...

2001-10-18 Thread Roy van Pelt
Hello there... The problem is that I can only add one value into the array... Anyone knows what I'm doing wrong here(First project by the way!!) = '', 'pname' => '', 'pqty' => '')); $nrItems = 0; } // Get variables from products.php $pro

[PHP] slashes and quotes

2001-10-18 Thread Peter
Hi, I was looking through some PHP books and scripts on the web and I have noticed different syntax for inputting and outputting data. For example the book PHP essentials used a format of slash and quotations: $sql = "INSERT INTO USER_TRACK VALUES (\"$user_id\", "$sel echo "$user_id"; Anothe

Re: [PHP] slashes and quotes

2001-10-18 Thread Richard Baskett
Well basically you would use double quotes whenever you want the data/text in between the quotes to be parsed, so for instance: $name = 'Rick'; echo "My name is $name"; // output = My name is Rick echo 'My name is $name'; // output = My name is $name echo "My name is \"$name\""; // output

[PHP] Auto-Stretch and the BACK - FORWARD buttons -- HELP!

2001-10-18 Thread Jason Caldwell
I've also posted this question in a HTML news group -- but no response has come... so I'm hoping some here might have experienced this before and can be of assistance. --- My tables autostretch *with* the browser... when I click my submit button on (say) Page1/Form1 -- everything auto-stretches

[PHP] mysql transactions/rollback

2001-10-18 Thread Job Miller
without save points and rollback what is the best way to replace all records for a user that might have been edited with their new values. I have read the mySQL manual about this. Update is out of the question (as the manual suggests). I can't track which ones changed, because they could have b

[PHP] Re: Auto-Stretch and the BACK - FORWARD buttons -- HELP!

2001-10-18 Thread Ben Holt
> My BODY tag reads as follows: > topmargin="0" marginwidth="0" marginheight="0"> > > Any tips on how I can correct this? It needs to be flush irregardless if > the user presses the BACK button or not. > What is that width setting doing in your body tag? Is a width setting even recognize

[PHP] getting data from form...

2001-10-18 Thread Teqila MAN
I have file . index.php3 a form in it ... and how to make it that form.php3 will read all the data that was submitted (i'm mean the name and the value) Teqilaman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: [PHP] getting data from form...

2001-10-18 Thread Intruder
TM> I have file . TM> index.php3 a form in it ... TM> TM> TM> TM> and how to make it that form.php3 will read all the data that was submitted TM> (i'm mean the name and the value) do you mean : reset($HTTP_POST_VARS); while (list ($name, $value) = each($HTTP_POST_VARS)) { procee

Re: [PHP] getting data from form...

2001-10-18 Thread Thomas Deliduka
Well the form has to submit to the other file. Normally with default PHP configurations it will automatically make the variables $Steak, $XYZ, and $CHIPs with the corresponding values IF the checkboxes are checked. If it's not checked nothing is set. So you can do this on the receiving page: If

[PHP] Re: Auto-Stretch and the BACK - FORWARD buttons -- HELP!

2001-10-18 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Jason Caldwell) wrote: > My tables autostretch *with* the browser... > However, when I press my browsers BACK button, then FORWARD button the page > is no longer *flush* on the right hand side > My BODY tag reads as follows: > topmargin="0" m

[PHP] Re: mysql transactions/rollback

2001-10-18 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Job Miller) wrote: > without save points and rollback what is the best way > to replace all records for a user that might have been > edited with their new values. To clarify: are you aware that MySQL does have transaction support available, o

[PHP] FIXED -- !

2001-10-18 Thread Jason Caldwell
Ahh -- it seems IE has it's own set of MARGIN parameters... RIGHTMARGIN LEFTMARGIN TOPMARGIN BOTTOMMARGIN Hence: This BODY tag will work for both IE and Netscape. leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginwidth="0" marginheight="0" I was just using (previously): leftm

[PHP] Problem with socket reading

2001-10-18 Thread R'twick Niceorgaw
Hi All, I'm a newbie to PHP. Just started to use it for a week and I just subscribed to this mailing list. I have a problem with socket reading using fread. What I'm doing is .. calling fsockopen to open a socket. Then call fwrite to send my data and then call fread for 4 bytes. My Server is sup

Re: [PHP] Re: mysql transactions/rollback

2001-10-18 Thread Job Miller
yes, thank you though. not in MyISAM tables, which is what mine are, and again according the manual, you slow things down significantly for transaction support. is it worth it? instead of my previously suggested method of handling it? or is there something better? --- CC Zona <[EMAIL PROTECTED]>

[PHP] php + pgp (gnupg)

2001-10-18 Thread Kasper
Can i decrypt files with pgp (gnupg) with php scripts? If i can, does anybody have an example or 2? Thanx /Kasper -- 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,

[PHP] cURL Reporting to Apache Error Log

2001-10-18 Thread Jonathan Hilgeman
The title says it all. Any secure transactions I send through cURL get logged in Apache's standard log file. How can I keep this from happening? - Jonathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

Re: [PHP] How-to put something at bottom of page

2001-10-18 Thread Lucas Chan
This thread is off topic, but anyway. I would highly recommend not using tables to do this. You'll find that in some browsers it will cause scroll-bars to become active when they clearly don't need to be. Very ugly indeed. Regards, [ lucas ] "Richard Baskett" <[EMAIL PROTECTED]> wrote in

Re: [PHP] How-to put something at bottom of page

2001-10-18 Thread Mark
On Fri, 19 Oct 2001 09:15:57 +1000, Lucas Chan wrote: >This thread is off topic, but anyway. true. >I would highly recommend not using tables to do this. You'll find >that in some browsers it will cause scroll-bars to become active >when they clearly don't need to be. > >Very ugly indeed. also

[PHP] GD 2.0

2001-10-18 Thread Chris Aitken
Just wondering if anyone has managed to install GD 2 on their system. I have been trying to play with image manipulation on my FreeBSD4.3 box using PHP, and it tells me that I need GD 2 installed to use image resampling, but even after ive updated my ports tree, it still only had GD 1.8 I cannot

Re: [PHP] GD 2.0

2001-10-18 Thread Rasmus Lerdorf
See http://www.php.net/~rasmus/gd.html for tips on building from source. Just stick the gd2 filename you see there into google to find it somewhere. Boutell's site seems a tad unstable. -Rasmus On Fri, 19 Oct 2001, Chris Aitken wrote: > Just wondering if anyone has managed to install GD 2 on t

[PHP] PHP with Java

2001-10-18 Thread Aku
Hi, I learn PHP with Java and I try PHP script from help, like below; getProperty("java.version")." \n"; print "Java vendor=".$system->getProperty("java.vendor")." \n\n"; print "OS=".$system->getProperty("os.name")." ". $system->getProperty("os.version")." on ". $syst

RE: [PHP] PHP with Java

2001-10-18 Thread Chris Bailey
Did you enable the java extension? In your php.ini file, you need to enable the extension, and then also enable/properly set all the stuff in the [Java] section. This will tell PHP where your JDK is, etc. -Original Message- From: Aku [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 18

[PHP] Re: MySQL query

2001-10-18 Thread Curt A. Gilman
Try using a LEFT JOIN against the second table, returning only records with no match. Something like: SELECT DISTINCT A.username FROM user A LEFT JOIN task_assignment B ON (A.username = B.username) WHERE B.username IS NULL; See JOIN syntax in MySQL documentation for more information: http:

[PHP] Re: remembering variables between pages when using forms ...

2001-10-18 Thread Julio Nobrega
Are you inserting the php on the hidden's value attribute? Something like: Also, this hidden input must be on a form... If you don't have a 'submit' button on the second page (I understood only the first and third pages are forms), you either could put an 'onunload' javascript event on t

Re: [PHP] php + pgp (gnupg)

2001-10-18 Thread Evan Nemerson
Yes. Use backticks, system(), exec(), etc. For help on command line w/ GnuPG, try "gpg --help". I don't have examples, but there are probably some @ hotscripts.com -- Looking for a parallel, three-dimensional explicit Eulerian grid code for astrophysical magnetohydrodynamics? Of course you

RE: [PHP] php + pgp (gnupg)

2001-10-18 Thread Joseph Blythe
ive done this b4 but havn't got the scripts here they at home (can't remember the exact command line, but from memory was a little fiddly), if you have any problems send a email to [EMAIL PROTECTED] over the weekend and i will gladly try and dig up an example for you. regards joseph -Origin

[PHP] InterBase transaction ...

2001-10-18 Thread Yoel Benitez Fonseca
Hi! Someone can explain me (or give me an example or more) about the function: ibase_commit() I am using PHP 4 and InterBase 6.0 over IIS 5.0, in the version of the manual that I have the following description appears: int ibase_commit ([int link_identifier, int trans_number]) but when I use i

[PHP] PHP 4.0.6 Compile Problem (RH 7.1)

2001-10-18 Thread Ryan Hill
All, Apologies if this has been covered recently, I'm having a problem getting configure to complete when running with the --with-mysql= option. The error I keep slamming into is: checking for MySQL support... yes configure: error: Cannot find header files under /usr/include/mysql I'm currentl

[PHP] Stopping the browser from continuing to load

2001-10-18 Thread Adam . Whitehead
Hi All- I have a script in which I use ignore_user_abort() to perform some extensive processing that can take a few hours which there is no need for users to wait for. I display a message saying their submission is complete and continue to run the PHP script in the background. It doesn't matter

RE: [PHP] Stopping the browser from continuing to load

2001-10-18 Thread Jason Murray
What if you were to trigger a hit to the script that actually does the processing in the background with cURL, and give it a 2 second timeout? PHP tells cURL to hit the processing PHP script, cURL hits the processing PHP script, cURL returns 2 seconds later but cURL's abort is ignored by the p

[PHP] Re: Stopping the browser from continuing to load

2001-10-18 Thread Lucas Chan
Try this: header("Connection: close"); Or: Register_ShutDown_Function(); Regards, [ niveus ] "Adam Whitehead" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi All- > > I have a script in which I use ignore_user_abort() to perform some > extensive proc

  1   2   >