RE: [PHP] libxml

2001-10-24 Thread php
Hi, I need to use PHP from cvs for other reasons. Anyway, libxml 2.3.9 -> Configure wants a higher version (2.4.2). libxml 2.4.6 -> Causes the trouble. libxml 2.4.2 -> Wont build - dies after configre libxml 2.4.5 -> same problem BTW, this error appears for xmltree calls. am wokring on clearing

[PHP] Sending / Receiving Cookies with Fopen??

2001-10-24 Thread Andrew Reberry
Hello all. I have a problem to solve, but have no idea where to start.. I am writing a site right now that needs to read information from many other web pages on different domains (using fopen). However a few sites have given me the error: "you need to have cookies enabled to view this page". Thi

RE: [PHP] Netscape 6.1 problem and SELECT lists / FORMS

2001-10-24 Thread Martin Towell
Haven't tried this, but what about sending "nocache" headers to the browser (??) -Original Message- From: Jason Caldwell [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 25, 2001 4:12 PM To: [EMAIL PROTECTED] Subject: [PHP] Netscape 6.1 problem and SELECT lists / FORMS NS6.1 remembers

[PHP] Netscape 6.1 problem and SELECT lists / FORMS

2001-10-24 Thread Jason Caldwell
NS6.1 remembers the items that were selected in a SELECT list when I call the same page back with a header() function... normally this wouldn't be a problem -- however, in my case, I am (through PHP) printing all selected items to the top of the list, and all unselected items to the bottom -- this

Re: [PHP] PDF library

2001-10-24 Thread Michael A. Peters
look at http://24.5.29.77:10080/phpinfo.html That's a phpinfo() from a machine that supports pdflib You will clearly see the PDF library support and information about what library etc.- It's right below the pgsql support on that page. On Thu, 25 Oct 2001 12:25:31 +0800 "Pierre" <[EMAIL PROTECTE

RE: [PHP] About mail attachments

2001-10-24 Thread Jason Murray
> how to send an attachment in PHP mail > can anyone pl send a sample code http://planetkiller.shadow.net.au/mime-php.txt Jason -- Jason Murray [EMAIL PROTECTED] Web Developer, Melbourne IT "Work now, freak later!" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMA

[PHP] About mail attachments

2001-10-24 Thread Nigam Chheda
hi how to send an attachment in PHP mail can anyone pl send a sample code Nigam

Re: [PHP] PDF library

2001-10-24 Thread Pierre
Thanks, I had a look, very usefull indeed. But I am still not quite sure about what I am looking for !!! Which information should I find to be sure the server can handle pdf function ? Thanks. Pierre - Original Message - From: Jason Murray <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>;

RE: [PHP] Enabling php in only certain hosts and directories

2001-10-24 Thread Joseph Blythe
Thanks! What would people reccommend? 1) just using safe mode 2) using open_basedir and disable_functions 3) all of the above? 4) Just shutoff the server :) If (2) or (3) what functions are most at risk? I understand that safe_mode limits quite a few already. Regards, Joseph -Original

[PHP] conjob etc.

2001-10-24 Thread Arnold Gamboa
Hi there. Need your help / comments on this couple of issues. 1. I already have a php compiled in apache module running.. How can i install a cgi version that will also support mysql/postgresql/interbase (as it was also supported on the compiled version) 2. If I'll be running a cron job calling

RE: [PHP] Php and Emacs21

2001-10-24 Thread Mark
On Tue, 23 Oct 2001 21:59:10 -0700, Nick Richardson wrote: >Put this file in your emacs/lisp/progmodes dir... then make sure that >secureCRT has ANSI Color checked in your site's emulation >configuration... > >Then add (autoload 'php-mode "php-mode-099" "PHP Mode" t) to your >.emacs >file. > >Th

[PHP] PDF library

2001-10-24 Thread pierre . marcandella
Hi everybody, Does anyone know a way to check if a server is able or not to support PHP script including PDF related function ? I guess I need to know if the server has API idoine or something like that. Thanks for your help. Pierre By the way, any good tutorial about creation of PDF file u

[PHP] PHP library

2001-10-24 Thread pierre . marcandella
Hi everybody, Does anyone know a way to check if a server is able or not to support PHP script including PDF related function ? I guess I need to know if the server has API idoine or something like that. Thanks for your help. Pierre By the way, any good tutorial about creation of PDF file u

RE: [PHP] Re: Using Logical OR operator in IF statement???

2001-10-24 Thread Martin Towell
>> if ((substr($sString,(strlen($sString)-1)!="-")) or Looks to me that the bracketing is wrong... try: if ((substr($sString,(strlen($sString)-1))!="-") or -Original Message- From: Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 25, 2001 11:12 AM To: [EMAIL PROTECTED] Subject: Re

Re: [PHP] Re: Using Logical OR operator in IF statement???

2001-10-24 Thread Mark
>> if (substr($sString,(strlen($sString)-1)!="-")) { I think you meant either substr($sString,strlen($sString)-2) or substr($sString,-1) >> print "You can't have a dash at the end of your string."; >> } >> >> and this works: >> if (substr($sString,0,1)!="-") { >> print "You can't have a dash at

RE: [PHP] PDF library

2001-10-24 Thread Jason Murray
Check the output from phpInfo() ... -- Jason Murray [EMAIL PROTECTED] Web Developer, Melbourne IT "Work now, freak later!" > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 25, 2001 11:08 AM > To: [EMAIL PROTECTED]; > UNEXPECTED_DATA_AF

[PHP] PDF library

2001-10-24 Thread pierre . marcandella
Hi everybody, Does anyone know a way to check if a server is able or not to support PHP script including PDF related function ? I guess I need to know if the server has API idoine or something like that. Thanks for your help. Pierre By the way, any good tutorial about creation of PDF file u

Re: [PHP] MSSQL 7.0 and PHP

2001-10-24 Thread James Cave
> varchar only accepts values up to 255 (so does char) I've found this too .. MS-SQL probably ceil()s the parameter in the table create statement to 255 without throwing an error. Have a quick look at the column you've created and you'll probably find it's a char(255). > To get larger than tha

[PHP] re: socket question

2001-10-24 Thread James Cave
There is some source code on the php.net site which captures the credits with output buffering and then uses then in the page. Once you have the data in a variable you can do what you like to it. if (function_exists('ob_start')) { ob_start(); phpcredits(); $credits = ob_get_content

RE: [PHP] URL variables

2001-10-24 Thread Martin Towell
try $QUERY_STRING -Original Message- From: Clint Tredway [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 25, 2001 5:13 AM To: PHP General Subject: [PHP] URL variables How do I reference URL variables..? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAI

[PHP] socket question

2001-10-24 Thread Tim Ballantine
Hey. Anoyone know how i would go about using one of the internal variables, such as phpinfo() or phpcredits() to send through a socket. like for: write ($msgsock, ":RWorld PRIVMSG $pnum :phpcredits()\n", strlen (":RWorld PRIVMSG $pnum :phpcredits()\n")); so it sends the actual information inste

[PHP] Q:Why is my code returning this? Help?

2001-10-24 Thread Marcus James Christian
Hello, As mainly a designer w/ HTML and JS php is usually just an end of site add on to process forms and I LOVE php! I've been away from PHP coding for about a month and I can't figure out what I'm forgetting here is partial of the form, the php handler, and the final email I get. If you see so

[PHP] authentication help

2001-10-24 Thread Norman Zhang
Hi, Would someone please give me a few pointers on how to generate a simple PHP to check for user's name and password before directing to a directory? e.g., I have a index.php with a form where I have action="login.php". How would I write login.php to check username and password if I have them h

Re: [PHP] Trying to subtract...no luck. (Long Code)

2001-10-24 Thread Michael O'Neal
Thanks all...I got what I needed. I'm amazed at how many different ways there are to do the same thing! mto -- Michael O'Neal Web Producer/ Autocrosser ST 28 '89 Civic Si - M A N G O B O U L D E R - http://www.thinkmango.com e- [EMAIL PR

Re: [PHP] Trying to subtract...no luck. (Long Code)

2001-10-24 Thread Chris Hayes
Jeez michael, i'm sorry but i am not going to go through all of your code. I do have a suggestion for you, without looking at the code. As you know. php has flexible variables. I mean, if you say $a=1 then $a is an integer, if you say $b='i' then $b is a string. Very easy to make code qui

Re: [PHP] I NEED HELP WITH PWS AND W98

2001-10-24 Thread Gaylen Fraley
I've been running Apache on 98SE (I agree - DON'T ASK!) for most of this year without ny issues at all. Win98needs reboots a few times a week, but it's not Apache's problem. I also run PHP4.0.6 and 4.0.8-dev and MySQL 3.23.43 and they all work and play well together. Just to keep my sanity, I al

[PHP] PHP object communication

2001-10-24 Thread ad
Not coming from a programming background, I'm going to have difficulty explaining this one... :) I would like to handle an entire application through one object, which in turn contains objects. I only recently "got" classes though, and I don't fully understand if what I want to do is possible, or

RE: [PHP] problem pattern matching a url with question mark

2001-10-24 Thread Mark
http://([\/~_\.0-9A-Za-z#&-?]+) first you have to escape the ? with a backslash and second the - has to go at the end of the [] or else it thinks you mean any char between & and ? On Wed, 24 Oct 2001 16:27:34 -0400, [EMAIL PROTECTED] wrote: >ah, sorry about the confusion. The url I provided is j

Re: [PHP] Can PHP do what this javascript does...

2001-10-24 Thread chip . wiegand
Thanks for all the reponses. I know that php is server-side only, and that certain things like mouse-overs, are client-side, wasn't sure about the printer function though. I could have assumed it was, but I try not to assume anything, but always ask to make sure. Regards, Chip Mike Eheler <[

[PHP] Re: Removing an Array Element

2001-10-24 Thread Jason Caldwell
That won't work, as that will only unset the *value* not the *element*. I think I have to do the following as there isn't a prebuilt PHP array function that does what I need -- the following should work fine: $myArray = array('100'=>'jibberjabber','200'=>'morejibberjabber','0'=>''); if(isse

[PHP] Hmmm? PHP+PostgreSQL

2001-10-24 Thread Alexey Prohorenko
I've installed PostgreSQL into /usr/local/pgsql, then I tried to include into my PHP support for PostgreSQL and made next: (I had pre-compiled support for mySQL before that) make clean ./configure --with-apxs=/usr/local/apache/bin/apxs --enable-versioning --enable-track-v

[PHP] Re: Removing an Array Element

2001-10-24 Thread Julio Nobrega Trabalhando
>Basically, I just want to know if the Key is set, and if so -- remove it... unset();... -- Julio Nobrega A hora está chegando: http://toca.sourceforge.net "Jason Caldwell" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > How can I remove an Array Element fro

RE: [PHP] how do i give optional arguments to functions??

2001-10-24 Thread Chris Bailey
Yes, it definitely should :) Heh, I think I originally had "", but then new that'd result with the double space problem, so changed it. My bad. -Original Message- From: John A. Grant [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 1:28 PM To: [EMAIL PROTECTED] Subject: Re:

Re: [PHP] Trying to subtract...no luck. (Long Code)

2001-10-24 Thread Chuck Theobald
Another way to accomplish this, preferred in my mind, is: while ($myrow = db_fetch_array($result)) : while (list($key,$val) = each($myrow)) : $$key = $val; endwhile; $difference = $budget - $actual; . . . endwhile; Chuck At 1:34 PM -0700 10/24/01, Jim Lucas wrote: >one problem on t

[PHP] PHP connetion of mySQL

2001-10-24 Thread Kacey A. Murphy
Keep getting this error, anyone know why .. Using dreamweaver and Phakt plugin for PHP and everytime I connect inside dreamweaver it works fine, but once posted to the web I get an error. Warning: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES) in /home/sites/site2/web/atki

Re: [PHP] how do i give optional arguments to functions??

2001-10-24 Thread John A. Grant
"Chris Bailey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Check out the manual section on default parameters... > > But the basics are: > > function top($image = "null") { > if ($image) Shouldn't that be: function top($image=null) if (

Re: [PHP] Can PHP do what this javascript does...

2001-10-24 Thread Mike Eheler
There's a really long method of doing it that would work, but would involve server-side browser detection, and a database containing a list of browsers that support print shortcuts. Stick with the JS. Mike [EMAIL PROTECTED] wrote: >To print: >Click here or Select File >and then Print from y

Re: [PHP] Opening a new page when done

2001-10-24 Thread Chuck
If you are going to use the javascript solution, be sure to add a container for browsers that do not support javascript or have it disabled: Of course, pure PHP is far superior... :-) Chuck James Fairbairn wrote: > just print the

RE: [PHP] problem pattern matching a url with question mark

2001-10-24 Thread sgibbs
ah, sorry about the confusion. The url I provided is just an example of a url containing a question mark for which I'm trying to find a pattern match in my content text. -Original Message- From: Neil Freeman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 4:16 AM Cc: [EMAI

Re: [PHP] Trying to subtract...no luck. (Long Code)

2001-10-24 Thread Jim Lucas
one problem on the second script you are trying to use variables that are in an array. if this is where you are talking about you need to specify the array[key] > while ($myrow=DB_fetch_array($result)){ > > > $difference = ($budget - $actual); $difference = ($myrow[budget] - $myrow[actual]); >

[PHP] slow mcrypt_create_iv()

2001-10-24 Thread Chuck Theobald
Hi, I have a system of programs that use mcyrpt routines. The first few times I run through the routine containing mcrypt_create_iv it returns quite quickly, but afterwards, this function can take from 5 to 15 seconds to return. The function wrapping the encryption routines is as follows: $

[PHP] Trying to subtract...no luck. (Long Code)

2001-10-24 Thread Michael O'Neal
Hi. I'm trying to figure out how to subtract 1 variable from another, but I'm not having any luck. It works on this page: "; } $num = @mysql_num_rows($result); ?> But not on this page: ---BEGIN LONG PHP STUFF -- This page must be called from the pro

[PHP] Removing an Array Element

2001-10-24 Thread Jason Caldwell
How can I remove an Array Element from my Array? For example: $myArray = array('100'=>'jibberjabber','200'=>'morejibberjabber','0'=>''); if(isset($myArray[0])) // here is where I want to purge Key[0] from the Array all together ; I check for the presence of Key[0], which may not be

[PHP] Re: [PHP-DB] array-problems

2001-10-24 Thread Jim Lucas
Try this: <<< BEGIN:PHP-CODE >>> $result = mysql_query ("SELECT DISTINCT date FROM linktracker WHERE name LIKE '$PHP_AUTH_USER' GROUP BY date ORDER BY date"); if (mysql_num_rows($result)) { for($i=0;$i array($i => $row["date"]), "end" => array($i => $row["date"])

Re: [PHP] how do i give optional arguments to functions??

2001-10-24 Thread Mike Frazer
Don't forget: if a function has multiple arguments the optional ones must be to the RIGHT of the required ones: function testing123($one, $two="2", $three="3")// Good function testing123($one="1", $two, $three="3")// Bad function testing123($one="1", $two="2", $three)// Ba

[PHP] URL variables

2001-10-24 Thread Clint Tredway
How do I reference URL variables..? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] sorting an array of objects

2001-10-24 Thread Matt McClanahan
On Wed, Oct 24, 2001 at 10:43:53AM +0100, L Melville wrote: > Is it possible to sort a class array using array multisort, I have two items > in each class that I wish to sort by, one is a text and the other is the > first item in an array within within each class. i.e.;- > > $class[$index]->text

Re: [PHP] Can PHP do what this javascript does...

2001-10-24 Thread Mike Frazer
Javascript can be embedded in PHP files anyway. I do a lot of database management interfaces in PHP and one thing I want to do is protect items from being accidentally deleted. I use Javascript to verify that they intended to click on the link to delete the information. Remember, PHP files are

[PHP] FORMs (HELP) --- PHP Gurus (Please HELP)

2001-10-24 Thread Miguel Ribeiro
Hi, How can be possible to call other functions (that have a html pages) from a first function that also have a html with a form and pass all html variables without losing them? I've a problem that from a html form I'm losing all html variables and this is happening because this form is located

[PHP] Re: Redirecting to a new php file

2001-10-24 Thread Mike Frazer
Use the header() function in conjunction with the Location HTTP header: header("Location: http://host.domain.tld/path/to/file.php";); This MUST be sent to the browser before ANY other output. You can execute as many commands as you like but this must come before any output (and before the tag

[PHP] is_int() and is_double

2001-10-24 Thread Michael George
I am having trouble with the is_int() and is_double() functions. The relevant parts of the function I'm using are: --- function lookupProduct( $partNum, $serial ) { print( "lookupProduct( $partNum, $serial )\n" );

Re: [PHP] use of system/exec

2001-10-24 Thread Mark
On Wed, 24 Oct 2001 18:19:19 +, John Gurley wrote: >Hello, >Could someone please show me an example of code using system >or >exec. Would be great if the string was a unix command. >Cheers >John I like backticks the best because they're easiest to deal with. -- PHP General Mailing List

Re: [PHP] Can PHP do what this javascript does...

2001-10-24 Thread Richard S. Crawford
Unfortunately, since PHP lives on the server and JavaScript lives on the browser, there really is no way to get PHP to do what you want. Stick with JavaScript. There's really no reason not to when you're doing client-side programming. At 11:14 AM 10/24/2001, [EMAIL PROTECTED] wrote: >To prin

[PHP] use of system/exec

2001-10-24 Thread John Gurley
Hello, Could someone please show me an example of code using system or exec. Would be great if the string was a unix command. Cheers John _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- PHP

Re: [PHP] Can PHP do what this javascript does...

2001-10-24 Thread Duncan Hill
On Wed, 24 Oct 2001 [EMAIL PROTECTED] wrote: > To print: > Click here or Select File > and then Print from your browser's menu. > > Is there an equivelant bit of code to do this printer shortcut with > php? PHP - _server_ side Javascript - _client_ side PHP cannot affect your client like Javas

[PHP] Can PHP do what this javascript does...

2001-10-24 Thread chip . wiegand
To print: Click here or Select File and then Print from your browser's menu. Is there an equivelant bit of code to do this printer shortcut with php? -- Chip Wiegand Computer Services www.simradusa.com [EMAIL PROTECTED] Simrad, Inc Lynnwood, WA 425-712-1138 "There is no reason anyone would wan

[PHP] phplib, pear db, metabase, adodb, and native mysql benchmarks

2001-10-24 Thread John Lim
Someone asked me to benchmark PHPLib also. Here is the revised benchmarks, with some minor speedups for PEAR DB and Metabase. Benchmark was to select 82 rows from the products table 200 times. The tests were repeated 5 times. Connection times were excluded from the benchmark. Lower values are bet

RE: [PHP] how do i give optional arguments to functions??

2001-10-24 Thread Chris Bailey
It could be, but then you would have two spaces in between the 2nd and 3rd "blah", instead of just the one space. But, depending on your actual application, this may work out. -Original Message- From: DL Neil [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 10:41 AM To: Arpad

Re: [PHP] COPY TO SENT FOLDER

2001-10-24 Thread richard phynga
use imap_append. That is what that function is for... it is also how to handle drafts... check out www.tijuana.com, it is a commercial web based mail service I wrote entirely in php with IMAP support. It also handles multiple attachments, multiple attachment forwarding, and sign up 'on-the-fly' i

Re: [PHP] how do i give optional arguments to functions??

2001-10-24 Thread DL Neil
> On Wednesday 24 October 2001 19:14, Richard S. Crawford wrote: > > The default value for $image parameter was missing: > > > function top ($image="defaultvalue") { > > if ($image=="defaultvalue") echo "blah blah blah"; > > else echo "blah blah $image blah"; > > } If the defa

Re: [PHP] how do i give optional arguments to functions??

2001-10-24 Thread Richard S. Crawford
Ahh, good point. Thanks for the tip. :) At 10:45 AM 10/24/2001, Tamas Arpad wrote: >Not really necessary, but I like to make code without any warning >message (it also makes the code more cleaner as you said), and you'll >get a warning message if there's no parameter given at the function >cal

RE: [PHP] how do i give optional arguments to functions??

2001-10-24 Thread Chris Bailey
Check out the manual section on default parameters... But the basics are: function top($image = "null") { if ($image) ... else ... } Or maybe: That will set image to be null, so that you can call top either as: top(); or top($so

Re: [PHP] how do i give optional arguments to functions??

2001-10-24 Thread Tamas Arpad
On Wednesday 24 October 2001 19:26, Richard S. Crawford wrote: > Hm, is the default attribute necessary? I've used this sort of > approach without the default attribute just fine in the past. > Though I admit that the default attribute would make me feel more > secure. Not really necessary, but

Re: [PHP] how do i give optional arguments to functions??

2001-10-24 Thread Richard S. Crawford
Hm, is the default attribute necessary? I've used this sort of approach without the default attribute just fine in the past. Though I admit that the default attribute would make me feel more secure. At 10:30 AM 10/24/2001, Arpad Tamas wrote: >On Wednesday 24 October 2001 19:14, Richard S. Cr

[PHP] Toronto Tutorial on Monday Oct.29 7PM

2001-10-24 Thread Rasmus Lerdorf
Turned out there was enough interest. Details at http://www.php.net/~rasmus/toronto.txt Will be another one in Ottawa on Thursday Nov.1, but I don't have details on that one yet. Watch the PHP calendar at www.php.net for it. -Rasmus -- PHP General Mailing List (http://www.php.net/) To uns

Re: [PHP] how do i give optional arguments to functions??

2001-10-24 Thread Arpad Tamas
On Wednesday 24 October 2001 19:14, Richard S. Crawford wrote: The default value for $image parameter was missing: > function top ($image="defaultvalue") { > if ($image=="defaultvalue") echo "blah blah blah"; > else echo "blah blah $image blah"; > } > Arpi -- PHP Gene

[PHP] File sharing

2001-10-24 Thread Victor
I'm trying to access an object as a Singleton. Here is the source code I'm using. The problem is that the member objFile from the $test variable is set to an open file in the class constructor. It works fine, but when I recover it from the memory, the file handler gets lost in starts being consid

Re: [PHP] how do i give optional arguments to functions??

2001-10-24 Thread Richard S. Crawford
function top ($image) { if ($image) echo "blah blah blah"; else echo "blah blah $image blah"; } There's probably a more efficient way to do it. At 09:57 AM 10/24/2001, sunny AT wde wrote: >hi all!! > >i'm writing functions like - >--- >function top () { > echo "blah blah

Re: [PHP] How to protect MySQL password

2001-10-24 Thread Arpad Tamas
On Wednesday 24 October 2001 16:42, Kurt Lieber wrote: > On Wednesday 24 October 2001 00:30, you wrote: > > What we > > really need is an expert here to give us the low-down on the best > > way to accomplish the best security given regular tools. > > There isn't a way to solve it within the constr

[PHP] how do i give optional arguments to functions??

2001-10-24 Thread sunny AT wde
hi all!! i'm writing functions like - --- function top () { echo "blah blah blah";} --- what i want to do is make it so that i can do - --- function top($image) { echo "blah blah $image blah"; } --- but also make the $image parameter in the top() as optional. so if its not t

Re: [PHP] aaaaaaaaaaaaaaa

2001-10-24 Thread Douglas Winslow
Franco Breciano wrote: > a for($i=0;$i<13;$i++){echo chr(97+($i?3:0));} drw -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECT

RE: [PHP] I NEED HELP WITH PWS AND W98

2001-10-24 Thread Srinivasan Ranganathan
Hi Oh yes, run apache+php on win 98. works like a wonder. try the php-win32 site for win98 specific distro. regards Srinivasan Ranganathan *NEW* Yahoo! Messenger for SMS *NEW* Now on your ORANGE phone Visit http://in

Re: [PHP] Problems with TTF

2001-10-24 Thread Oliver Heinisch
At 24.10.01 12:37, you wrote: >Warning: Could not find/open font in >/sdr/httpd/Prisa/DATA/private/libs/graficos/intradia.php on line 57 > >Line 57: ImageTTFText ($O_imagen, 11, 0, 10, 20, $O_colorValor, >"arial.ttf",$s_Valor); > >arial.ttf is into the same dir. > >Any ideas? I had the sa

[PHP] Re: redirecting the browser

2001-10-24 Thread John A. Grant
"Ozgur Demirtas" <[EMAIL PROTECTED]> wrote in message 001a01c15c57$ce6fad20$ea0d198a@Jackhammer">news:001a01c15c57$ce6fad20$ea0d198a@Jackhammer... > Hi all, > > I have a PHP script and at one point of the script I am trying to redirect > my browser to a certaion page. I can't seem to find an easy

RE: [PHP] I NEED HELP WITH PWS AND W98

2001-10-24 Thread Dana Holt
I use Apache on Win ME (don't ask!), and it works fine. Never tried it on 98 though. -- Dana Holt / [EMAIL PROTECTED] Xenos Online http://www.xenosonline.com/ --- This is my sig. There are many like it, but this one is mine. I must master my sig as I must master my life.

RE: [PHP] Re: Annotated PHP Manual

2001-10-24 Thread V
try to use webzip, or teleport, or such kind of software Salu2, V -Mensaje original- De: DL Neil [mailto:[EMAIL PROTECTED]] Enviado el: sábado 20 de octubre de 2001 17:08 Para: [EMAIL PROTECTED]; Yasuo Ohgaki Asunto: Re: [PHP] Re: Annotated PHP Manual > Khalid Hazmi wrote: > >

Re: [PHP] file system question

2001-10-24 Thread Rafael Steil
Well, this is a problem.. with perl, you can use suidperl, but not with php.. the most easyest way is to give write permission to apache user to the directory you want to upload the files... Rafael Steil On Wednesday 24 October 2001 11:43, you wrote: > Hello- > > I'm trying to write a

Re: [PHP] I NEED HELP WITH PWS AND W98

2001-10-24 Thread Richard S. Crawford
Getting PHP to work with Apache is pretty simple. The documentation is easy to read. I would agree with trying Apache on your Win98 box; but be warned that the current Apache release is only supposed to be stable on NT platforms. Since I have win2k it's not an issue for me, but it might now

RE: [PHP] XML newbie

2001-10-24 Thread Jon Haworth
Start your document with Sorry, couldn't resist it :-) http://www.w3.org/XML/ isn't a bad place to find out about it, but if you find them a bit dry or you're in need of a nice tutorial then you'd better get yourself over to http://hotwired.lycos.com/webmonkey/authoring/xml/ and have a look at

Re: [PHP] I NEED HELP WITH PWS AND W98

2001-10-24 Thread Chris Hayes
> poor english. I need informacion about how configure Personal Web Server > under W98 to use with PHP 3.0 I downloaded the BIN code of PHP version > 3.0.17 for W32 and I followed the instructions on the manual “PHP > Manual” (I downloaded it in php.net page, and I configured the PHP.ini

[PHP] XML newbie

2001-10-24 Thread Srinivasan Ranganathan
Hi Its me again (for those who know me ;-)). ive been working with php and mysql for a while and am curious about xml. what do i have to do to get started? thanks in advance Srinivasan Ranganathan Do You Yahoo!? Send a newsletter, sha

[PHP] file system question

2001-10-24 Thread Jay Paulson
Hello- I'm trying to write a php script that creates a directory and then copies uploaded files to that directory. That isn't hard but what is hard is the fact that the script tells me that i do not have permission to do any of these actions. I'm running red hat 7.1 and I have heard things abou

[PHP] Error: 1 is not a valid mysql link resource

2001-10-24 Thread Rafael Steil
Hi all. With php version 4.0.1, I made a database class. I use a function called connect() to open database connection to mysql, and the link resource is stored in $GLOBALS["CONNETION_ID"] global variable. All of code work perfectly, with no any problems.. But when I upgraded

Re: [PHP] How to protect MySQL password

2001-10-24 Thread Kurt Lieber
On Wednesday 24 October 2001 00:30, you wrote: > What we > really need is an expert here to give us the low-down on the best way to > accomplish the best security given regular tools. There isn't a way to solve it within the constraints you've mentioned (shared server at a hosting provider, apac

[PHP] Re: Application servers / job priorities ?

2001-10-24 Thread Hugh Bothwell
"Lee" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am developing a portal that will allow users to perform various > calculations on their data sets. These calculations (handled by C / > Fortran programs) will be run as external processes (and may take up

Re: [PHP] Opening a new page when done

2001-10-24 Thread Richard S. Crawford
Assuming you don't output anything else to a web page: header ("Location: index.html"); should do the trick if you put it at the end of the program. Be warned, though, that if you output anything to the browser at all, the header function will not work. Good luck! At 06:39 AM 10/24/2001, R

[PHP] Application servers / job priorities ?

2001-10-24 Thread Lee
Hi, I am developing a portal that will allow users to perform various calculations on their data sets. These calculations (handled by C / Fortran programs) will be run as external processes (and may take up to a few hours to complete). I am wondering if there is something that I can use (either i

Re: [PHP] Problems with TTF

2001-10-24 Thread Michael A. Peters
On Wed, 24 Oct 2001 12:37:16 +0200 "Alberto" wrote: > Warning: Could not find/open font in > /sdr/httpd/Prisa/DATA/private/libs/graficos/intradia.php on line 57 > > Line 57: ImageTTFText ($O_imagen, 11, 0, 10, 20, $O_colorValor, > "arial.ttf",$s_Valor); > > arial.ttf is into the same d

RE: [PHP] Opening a new page when done

2001-10-24 Thread james . fairbairn
just print the following at the point where you decide you want to redirect: a better alternative is to send a redirection header with the response, but this depends on you not sending any HTML output to the browser before processing i

[PHP] Re: I NEED HELP WITH PWS AND W98

2001-10-24 Thread _lallous
1)Install PHP w/ the installer or manually 2)In PWS add a new virtual directory and give it Script+Execute rights. 3)Create a simple script there (where the virtual directory points) and write just to see if everything is fine. you may want to try to ask in php.install group too. "Nicolas Llamo

Re: [PHP] OnUNload Scripts

2001-10-24 Thread _lallous
This can be done...but what if the user closes the whole browser? the frame won't work cause it will also be closed i guess! The popup window will assure that in all cases it will be poped up. "Kodrik" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > >You cou

Re: [PHP] libxml

2001-10-24 Thread Tamas Arpad
On Wednesday 24 October 2001 11:38, php wrote: > Firstly, > I use php 4.0.5 and libxml 2.3.9 on several machines without any problem. Older php and libxml combinations however caused many segmentation faults, especially with not well-formatted xmls. Are you sure that you warning message is rel

[PHP] Opening a new page when done

2001-10-24 Thread Roy W
I have several scripts that when you complete a form it executes a PHP script. At the end of each script I have a simple statement saying it's done and then a place to hyperlink back to a given page: PRINT "Process complete. Click here to continue"; But what I really wanna do is just have the s

Re: [PHP] PHP with XML

2001-10-24 Thread Tamas Arpad
On Tuesday 23 October 2001 21:17, Vinicius Tavares wrote: > What I have to do to make the PHP4 run the DOM XML??? Download the libxml library (the development packages too, if you download the packaged distrib). And compile php with it (--with-dom switch for configure). http://www.xmlsoft.org

Re: [PHP] Enabling php in only certain hosts and directories

2001-10-24 Thread Tamas Arpad
On Wednesday 24 October 2001 08:19, you wrote: > Well, php runs the same as apache, so whatever apache can access, > php can access. > So any files with the db passwords that need to be accessed by php, > can be seen by all users who can upload php scripts to your server. That's not completely tru

[PHP] I NEED HELP WITH PWS AND W98

2001-10-24 Thread Nicolas Llamosas
My name is Nicolás Llamosas, I`m from Río Cuarto, Argentina and sorry for my poor english. I need informacion about how configure Personal Web Server under W98 to use with PHP 3.0 I downloaded the BIN code of PHP version 3.0.17 for W32 and I followed the instructions on the manual “PHP Manual”

RE: [PHP] Object sharing

2001-10-24 Thread Victor Hugo Oliveira
Is there an easy way to save an object in this section ? The object will have something like an open file or a database connection... Thanks, Victor -Original Message- From: Andrey Hristov [mailto:[EMAIL PROTECTED]] Sent: quarta-feira, 24 de outubro de 2001 16:43 To: [EMAIL PROTECTED] Su

[PHP] Re: Help converting ASP->PHP

2001-10-24 Thread MrBaseball34
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > > > datCurrent, intCurrentMonthDays and intWorkDays are local > > > This didn't totaly help. This line I can't figure out: > > intCurrentMonthDays= Day[DateAdd["d",-1, DateAdd["m",1, datCurrent]]]; > > > > Basically it gets the number of

Re: [PHP] Object sharing

2001-10-24 Thread Andrey Hristov
sharedMemory on *nix -- Andrey Hristov Web Developer Icygen Corporation BUILDING SOLUTIONS http://www.icygen.com On Wednesday 24 October 2001 09:35 am, you wrote: > Does anyone know a way to share an object with all sessions ? > The idea is to access the same database connection poll

[PHP] Object sharing

2001-10-24 Thread Victor Hugo Oliveira
Does anyone know a way to share an object with all sessions ? The idea is to access the same database connection poll. Thanks, Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] T

  1   2   >