[PHP] Fatal Error: Call to undefined function: sybase_connect() in

2001-07-03 Thread nelo manuel
Dear all, am quite new on php and Linux, after installing php-4.0.6 and run the test.php it worked OK but when i try to write the function to initially display records from sybase pubs2 i get the following msg "Fatal Error:Call to undefined function: sybase_connect() in /home/httpd/html/index.php

[PHP] Mysql

2001-07-03 Thread Roman
How to run mysql batch program im mysql terminal. for example in folder I have program dumb.sql and I want to run this program in mysql. Thanks roman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

RE: [PHP] Shell scripting and PHP.

2001-07-03 Thread Ray Hilton
I think it's the same as perl, using the backtick operator, ie: $result = `uptime`; That's ` NOT ' -Original Message- From: Johan Vikerskog (ECS) [mailto:[EMAIL PROTECTED]] Sent: 03 July 2001 09:41 To: [EMAIL PROTECTED] Subject: [PHP] Shell scripting and PHP. Hi all! If i want to u

RE: [PHP] configuring with gd for TTF

2001-07-03 Thread Brian White
Ok. Well, given mine works, I thought I would tell you what I have! My phpinfo says exactly the same: GD Support enabled GD Version 1.6.2 or higher FreeType Support enabled FreeType Linkage with TTF library JPG Support enabled PNG Support enabled WBMP Support enabled My configure options were:

RE: [PHP] configuring with gd for TTF

2001-07-03 Thread Ray Hilton
Ok, well here goes... I have removed the --enable-gd-native-ttf and --with-freetype-dir (or whatever it was) copied your settings, more or less... Phpinfo() can be found at http://www.rayh.co.uk/downloads/info.php Wish me luck :) -Original Message- From: Brian White [mailto:[EMAIL PROT

RE: [PHP] configuring with gd for TTF

2001-07-03 Thread Ray Hilton
Nope, not a sausage, I tried it with and without gd's ttf, specifiying to compile in freetype 1.x, or freetype 2, and numerous other combinations... Its doing my nut in!! I think the lib thing your talking about is just a matter of sticking the path in /etc/ld.so.conf and then running ldconfig...

RE: [PHP] Fatal Error: Call to undefined function: sybase_connect() in

2001-07-03 Thread Ray Hilton
Have you sompiled in sybase support? By defauly php doesn't compile with sybase functions, you must specifcally tell it too... -Original Message- From: nelo manuel [mailto:[EMAIL PROTECTED]] Sent: 03 July 2001 09:27 To: [EMAIL PROTECTED] Subject: [PHP] Fatal Error: Call to undefined func

[PHP] Shell scripting and PHP.

2001-07-03 Thread Johan Vikerskog (ECS)
Hi all! If i want to use some shell commands and use the result it displays to set a variable. How is this done? Is there a way of doing it like you can do with Perl? Anyone knows? Thanks for all the tips you can give me, or better yet, if you know of a tutorial somewere that covers this. //

RE: [PHP] configuring with gd for TTF

2001-07-03 Thread Matthew Loff
If you still can't get it working, post the contents of your config.log file, that can help diagnose it. I figured out a problem with gd 2.0.x not linking properly with PHP 4.0.6 by analyzing the config.log file... -Original Message- From: Ray Hilton [mailto:[EMAIL PROTECTED]] Sent:

[PHP] any reasons to compile apache instead of using distributionbinaries ?

2001-07-03 Thread Marius Andreiana
Hi I'm curios how others are handling packages on production servers. Curently our sysadmins compile openssl,apache,php and other libraries from sources. Do you think it would be better (easier to maintain) to install apache and other libraries from rpm, and from sources only php? Remember in s

RE: [PHP] Fatal Error: Call to undefined function: sybase_connect() in

2001-07-03 Thread nelo manuel
Hi Ray, Yes i have compiled it with sybase under ./configure - sybase >From: "Ray Hilton" <[EMAIL PROTECTED]> >To: "'nelo manuel'" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> >Subject: RE: [PHP] Fatal Error: Call to undefined function: >sybase_connect() in >Date: Tue, 3 Jul 2001 09:37:56 +020

Re: [PHP] Getting Information from a CGI POST

2001-07-03 Thread Brad Hubbard
On Tue, 3 Jul 2001 02:51, Don Read wrote: > $pstr='FltNum=2972&page=fi&selectDay=July+02'; > $fp=openpost('dps2.usairways.com', '/cgi-bin/fi', $pstr); > > // i'm not so sure about that selectDay, javascript ain't my thing. This is implementation dependant (it's using an array they've created (

[PHP] IMP with PHP as CGI

2001-07-03 Thread Blaz Zupan
Until a couple of days ago, we were running IMP on our server with PHP compiled as an Apache module. Because we wanted to use the apache SuEXEC wrapper, I compiled PHP as a CGI, which works mostly fine. Every user on our web needs to put the following wrapper in their cgi-bin directory to be able

Re: [PHP] Objects and sessions

2001-07-03 Thread Brad Hubbard
On Tue, 3 Jul 2001 11:47, Ethan Schroeder wrote: > If what you mean is if PHP sessions can register objects, that is true and > quite effective. Can you elaborate on this Ethan so I'm sure I understand what you're saying. Cheers, Brad -- PHP General Mailing List (http://www.php.net/) To unsub

[PHP] Deleting a string from a text file

2001-07-03 Thread Stevenson, Christopher
Hello, folks. I'm relatively new to this. Would anyone be willing to give me some code that will delete the first occurrence of a string from a text file? Thanks, Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [PHP] Shell scripting and PHP.

2001-07-03 Thread Brad Hubbard
On Tue, 3 Jul 2001 17:46, Ray Hilton wrote: > I think it's the same as perl, using the backtick operator, ie: > > $result = `uptime`; > > That's ` NOT ' > Look at passthru() exec() and system() as well. Cheers, Brad -- Brad Hubbard Congo Systems 12 Northgate Drive, Thomastown, Victoria, Austra

AW: [PHP] caching

2001-07-03 Thread Sebastian Stadtlich
you could attach a random number as a get parameter that image would hardly ever be cached... sebastian > -Ursprüngliche Nachricht- > Von: Jon Yaggie [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 31. Mai 2001 00:36 > An: [EMAIL PROTECTED] > Betreff: [PHP] caching > > > Ok I am

[PHP] Fw: Processing checkboxes in Dynamic tables

2001-07-03 Thread Michael Benbow
My apologies, I was playing with the code and changed something before sending... Where it reads \n"; echo ""; echo ""; echo $trade; echo "\n"; . $trade=$trade+1; . } while. etc. Could someone please help me so only the variables whi

[PHP] Compiling on Windows

2001-07-03 Thread Daniel Reichenbach
Hy, is there any guide available, how to compile the Windows version of PHP4.0.6 with all available modules like GD/Freetype, IMAP, curl, etc. Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [PHP] Fatal Error: Call to undefined function: sybase_connect() in

2001-07-03 Thread nelo manuel
i have compile it with sybase on ./configure (according to mastering linux book, install and configuring php to access data from sybase) can some else pls help me :( >From: "Ray Hilton" <[EMAIL PROTECTED]> >To: "'nelo manuel'" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> >Subject: RE: [PHP] Fatal

RE: [PHP] Fatal Error: Call to undefined function: sybase_connect() in

2001-07-03 Thread Ray Hilton
Not sure other than that... If it compiles it means it can find the headers it needs from the sybase package... Is this sybase 11.9.2? I managed to build php with that some time ago, but I cant for the life of me remember any more details... Do any sybase functions work? And do you get any err

[PHP] search

2001-07-03 Thread AJDIN BRANDIC
Hi all I've got search facility (php-mysql) which is very simple. If i search for 'dog' it will find any records containing words 'dog' or 'dogs' or 'dogowner' etc. But if I search for 'dogs', words 'dog' and 'dogowner' will not be found. This is a classic case so there must be a solution to

[PHP] Querying a given dns and list the A records

2001-07-03 Thread Mohamedou
Hello all, Can somebody help me I need to query a given DNS Server identified by IP and the domain I want query and then it gives me the whole machines it has registered Regards Moh

[PHP] Quering given dns and list A records with PHP

2001-07-03 Thread Mohamedou
Hello all, Can somebody help me I need to query a given DNS Server identified by IP and the domain I want query and then it gives me the whole machines it has registered Regards Moh

Re: [PHP] search

2001-07-03 Thread Tom Carter
Rather than trying to break it into an array, you can examine the rightmost character as follows $search="dogs"; if(substr($search,-1)=='s') $search=substr($search,0,-1); This checks if the last character is an s and if it is then set search to the same string but without the s.. note, does not

[PHP] reset mysql root password

2001-07-03 Thread Daniel Guerrier
How do I reset the root mysql password if I don't know what it is in the first place. I don't care if I lose data. __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ -- PHP General Mailing List (ht

Re: [PHP] reset mysql root password

2001-07-03 Thread Duncan Hill
On Tue, 3 Jul 2001, Daniel Guerrier wrote: > How do I reset the root mysql password if I don't know > what it is in the first place. I don't care if I lose data. Go read the manual, specifically section 21.10: http://www.mysql.com/doc/R/e/Resetting_permissions.html -- Sapere aude My mind not

Re: [PHP] Using PHP to test if server is online

2001-07-03 Thread Gunther E. Biernat
>I am writing a PHP script to test if the server on which it is running is >currently connected to the Internet. If so, the main page will display a >notice saying "We are now online", else it will say "Not connected" > >Any ideas on how to do this with PHP? I'm guessing it would involve some >kin

RE: [PHP] Fatal Error: Call to undefined function: sybase_connect() in

2001-07-03 Thread nelo manuel
yes it is, when compilinf php-4.0.6 after ./configure then make it gives me some error portion of installation: microtime.c: In function `php_if_getrusage': microtime.c:94: storage size of `usg' isn't known microtime.c:97: `RUSAGE_SELF' undeclared (first use in this function) micr

RE: [PHP] Fatal Error: Call to undefined function: sybase_connect() in

2001-07-03 Thread nelo manuel
i've tested my glibc with the following code $ cat >test.c < X $ gcc -E test.c >/dev/null but did not give me an error, now i don't know if the problem is my glibc or sybase? am lost :( or missing to include the correct path!!? >From: "Ray Hilton" <[EMAIL PROTECTED]> >To: "'nelo m

[PHP] PHP for NetWare?

2001-07-03 Thread Tony Gettig
Hi there, Is PHP available for NetWare? I've looked high and low and find no reference to such a beast. I prefer PHP on my Linux box, but I need to explore being able to put it on a NetWare server running Netscape Enterprise. TIA for any pointers in the right direction. Tony Gettig Network A

[PHP] Basic multi-dimensional array help

2001-07-03 Thread Jeff Gannaway
I've got input fields in a form that look like: The next script processes all this into a database. Here are the results I get from various commands: sizeof($Info): 2 sizeof($Info[0]): 4 print $Info[0][0]: Array[0] Any help? Jeff Gannaway

RE: [PHP] Fatal Error: Call to undefined function: sybase_connect() in

2001-07-03 Thread rm
before running ./configure go to the directory and delete the old configure.cache file then run ./configure again. kb --- nelo manuel <[EMAIL PROTECTED]> wrote: > yes it is, > when compilinf php-4.0.6 > after ./configure then make it gives me some error > portion of installation: > > micro

RE: [PHP] Fatal Error: Call to undefined function: sybase_connect() in

2001-07-03 Thread nelo manuel
thanks you, but will it solve the Fatal error am getting when trying to retrieve records from sybase? Nelson London >From: rm <[EMAIL PROTECTED]> >To: nelo manuel <[EMAIL PROTECTED]>, [EMAIL PROTECTED], >[EMAIL PROTECTED] >Subject: RE: [PHP] Fatal Error: Call to undefined function: >sybase_c

Re: [PHP] shtml includes

2001-07-03 Thread Christian Reiniger
On Sunday 01 July 2001 13:57, Justin French wrote: > If you grab a decent text editor, and do a search and replace accross > the whole site (decent text editors can do search and replace on a > whole directory or disk), you'll have a once-off chore, rather than > giving the server a constant chor

Re: [PHP] Basic multi-dimensional array help

2001-07-03 Thread Wieger Uffink
Hi Jeff, There probably are several ways of doing this. One is you copy $info[0] ( an array itself ) into a dummy variable, and get the values with $dummy[0] etc. Or use brackets in your variable syntax, which youll have to experiment with cause, I can never seem to remeber the right syntax :)

[PHP] about php and Interbase

2001-07-03 Thread Yamilé
Hi: I have PHP4 and Interbase 6.0 Super Server but ... Fatal Error: Call to undefined function ibase_connect() ... any idea? Is there something like php-interbase...rpm? Thanks fausto. __ Do You Yahoo!? Get personalized email addresses from Y

[PHP] Re: [PHP-DB] PhpMyAdmin phpPgAdmin Security Issues

2001-07-03 Thread andreas \(@work\)
Dear Paul, ive got 3 servers (dedicated) with mysql 3.22.32 and above and phpMyAdmin 2.1.0 but i cant reproduce the vulnerability http://ip/phpMyAdmin/sql.php?server=000cfgServers[000][host]=hello&btnDrop=N o&goto=/etc/passwd is not working Warning: MySQL Connection Failed: Access denied for

Re: [PHP] search

2001-07-03 Thread AJDIN BRANDIC
On Tue, 3 Jul 2001, Tom Carter wrote: > Rather than trying to break it into an array, you can examine the rightmost > character as follows > > $search="dogs"; > if(substr($search,-1)=='s') $search=substr($search,0,-1); OK, thanks. I am already breaking input search string into an array using a

Re: [PHP] Mysql

2001-07-03 Thread Muhv
Simplest and quickes way prompt: mysql -u root -p < dumb.sql after -u put your mysql username, after that it will ask password and little pause and all is done! This works both, on Linux and Windows versions. Muhv > How to run mysql batch program im mysql terminal. > for example in folder I h

Re: [PHP] setcookie problem

2001-07-03 Thread Christian Reiniger
On Monday 02 July 2001 21:32, scott [gts] wrote: > probably becuase time() is seconds since 1970, and as > far as i understand, once it gets over 999,999,999 > it will not work correctly becuase it will roll over > (similar to the Y2k bug) and become 000,000,000 Typically the limit is 2^31 secon

Re: [PHP] Using PHP to test if server is online

2001-07-03 Thread Christian Reiniger
On Tuesday 03 July 2001 07:47, Vikram Vaswani wrote: > I am writing a PHP script to test if the server on which it is running > is currently connected to the Internet. If so, the main page will > display a notice saying "We are now online", else it will say "Not > connected" > > Any ideas on how

[PHP] recommend a good PHP site specific search engine

2001-07-03 Thread Tom Beidler
Can anyone suggest a good PHP/MySQL search engine to be used to search a site (not the entire Internet). I have a site with an extensive amount of manual pages that we would like to provide a search engine for. Thanks, Tom >>.>>.>>>.>.>. Tom Beidler Orbit Tech Services 805.68

Re: [PHP] search

2001-07-03 Thread Steve Werby
"AJDIN BRANDIC" <[EMAIL PROTECTED]> wrote: > I've got search facility (php-mysql) which is very simple. If i search > for 'dog' it will find any records containing words 'dog' or 'dogs' or > 'dogowner' etc. But if I search for 'dogs', words 'dog' and 'dogowner' > will not be found. This is a cla

Re: [PHP] recommend a good PHP site specific search engine

2001-07-03 Thread Steve Werby
"Tom Beidler" <[EMAIL PROTECTED]> wrote: > Can anyone suggest a good PHP/MySQL search engine to be used to search a > site (not the entire Internet). I have a site with an extensive amount of > manual pages that we would like to provide a search engine for. mnoGoSearch http://www.mnogosearch.org/

Re: [PHP] help in getting results from mysql

2001-07-03 Thread Christian Dechery
well... I tought of that. It doesn't work for many reasons: 1 - '*' always has to be the first on the select list 2 - you can't have expressions (max, min, avg) without a group by clause if you are handling multiple rows 3 - etc. etc.. etc... that's why I included the code in between the queries.

[PHP] PHP, Templates, XSLT

2001-07-03 Thread Leonardo Dias
Hi there, I was wondering if anyone ever tested XSLT. I know it's much more than a template system, but we are willing to use it as a transformation of XML purely as a template. Anyways, has anyone experienced it with Sablotron? How did you like it? Was it any good? Is it fast enough for big web

RE: [PHP] session handler class

2001-07-03 Thread scott [gts]
ok, grab all the files in this directory: http://furt.com/php/session/ ** read the "readme.txt" file > -Original Message- > From: Joe Rice [mailto:[EMAIL PROTECTED]] > Subject: Re: [PHP] session handler class > > i would love to see this too, i think it was stripped. > > thanks, > joe

RE: [PHP] php intall

2001-07-03 Thread scott [gts]
you could either: 1) re-install apache with PHP as a module 2) install PHP as CGI and leave apache alone if you're new to linux, and the box is not a production machine, i highly reccomend option #2... if apache ain't broke, dont fix it ;) > -Original Message- > From: Juan Pablo Rivera

Re: [PHP] Quering given dns and list A records with PHP

2001-07-03 Thread Kurt Lieber
By design, most DNS servers won't let you do this because it's something of a security risk. However, for DNS servers that *will* let you do it, there isn't a built-in function in PHP that will do what you want, but I imagine you can accomplish it by interacting with a unix shell and using the ns

Re: [PHP] PHP, Templates, XSLT

2001-07-03 Thread Mark Charette
From: "Leonardo Dias" <[EMAIL PROTECTED]> > Anyways, has anyone experienced it with Sablotron? Yes. > How did you like it? Worked as advertised. Which is a bear sometimes - but that's due to XML limitations, not Sablotron's fault. > Was it any good? Yup. > Is it fast enough for big websites?

[PHP] Attn: HP Pavilion 9680C (US) owners

2001-07-03 Thread Martin F. Krafft
hi all, please forgive this post, i am at the end of my wisdom, and HP prove to be dorks on all counts again. This has nothing to do with this list, but i spent a solid week now on the net and in touch with other people, trying to get help at no success. i figure that there's got to be some people

[PHP] IRC Gateway Functions

2001-07-03 Thread Brian C. Doyle
Hello all, I am trying to use the IRC Gateway Functions and am concerned that I may not have PHP configured correctly. The problem with that is that i can not find anything to add to the configure line to add the functions. Currently all I have in my code is and i get Fatal error: Call to u

[PHP] Re: [PHP-DB] PhpMyAdmin phpPgAdmin Security Issues

2001-07-03 Thread Paul Burney
on 7/3/01 5:47 AM, andreas (@work) ([EMAIL PROTECTED]) wrote: > ive got 3 servers (dedicated) with mysql 3.22.32 and above and phpMyAdmin > 2.1.0 but i cant reproduce the vulnerability > i use advanced uthentication > http://ip/phpMyAdmin/sql.php?server=000cfgServers[000][host]=hello&btnDrop=N

RE: [PHP] second try - Mysql php install

2001-07-03 Thread scott [gts]
try using "safe_mysqld &" if 'mysqld' is not in your 'ps' list, then the daemon is not running, and you cannot connect to it. (check the mysql error logs for possible reasons) > -Original Message- > From: Daniel Guerrier [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 02, 2001 10:38 PM >

RE: [PHP] Using PHP to test if server is online

2001-07-03 Thread scott [gts]
try: fopen('http://server.com/index.php'); or you could probably grab the output of 'ping server.com' (assuming server.com accepts pings) > -Original Message- > From: Vikram Vaswani [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 03, 2001 1:48 AM > To: [EMAIL PROTECTED] > Subject: [PHP

RE: [PHP] Fatal Error: Call to undefined function: sybase_connect() in

2001-07-03 Thread scott [gts]
it might help. it also helps to scour the configure output, looking for all the lines that contain "sybase", becuase sometimes even if you ask configure to use something, it might not be properly found... and configure might spew out a "sybase support ... no" in the configure output. i r

RE: [PHP] Mysql

2001-07-03 Thread scott [gts]
from the shell: mysql -u[username] -p[password] [database] < dumb.sql > -Original Message- > From: Roman [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 03, 2001 3:43 AM > To: Php-General > Subject: [PHP] Mysql > > > How to run mysql batch program im mysql terminal. > for example in fo

RE: [PHP] any reasons to compile apache instead of using distributionbinaries ?

2001-07-03 Thread scott [gts]
for a production machine, i'd say that compiling from sources should always be the first option. rpm's are great for ease of maintenence and simplicity of intallation, but are not flexible at all. sources are usually a tiny bit more complicated, becuase you've got to figure out what to tell 'co

Re: [PHP] sending 5000+ emails - use PHP?

2001-07-03 Thread Michael Kimsal
Kman wrote: >From: "infoz" <[EMAIL PROTECTED]> > >>If all the messages were identical, we might be able to get some >> >efficiency > >>by sorting the list by domain name and batching them up with SMTP >> > >That's a very BAD idea. If you sort the mail by domain, you will flood >the mail queue bec

[PHP] password sanity checker

2001-07-03 Thread Charles Sprickman
Hi, I've been digging around for a function to do a sanity check on user-supplied passwords when creating a new account. Haven't found anything yet... Any pointers appreciated. Ideally it should: -check for a min number of numerals -check for similarity against username (?) -check at least a

RE: [PHP] Processing checkboxes in Dynamic tables

2001-07-03 Thread scott [gts]
instead of giving them unique names, put them all into a single array: or, to automatically number them: this way, you can deal only with $p[...] instead of $p101, $p202, $p203 > -Original Message- > From: Michael Benbow [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 03, 2001 5:

RE: [PHP] search

2001-07-03 Thread scott [gts]
use split(); > -Original Message- > From: AJDIN BRANDIC [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 03, 2001 6:10 AM > To: [EMAIL PROTECTED] > Subject: [PHP] search > > > Hi all > > I've got search facility (php-mysql) which is very simple. If i search > for 'dog' it will find an

Re: [PHP] any reasons to compile apache instead of usingdistribution binaries ?

2001-07-03 Thread mike cullerton
on 7/3/01 2:18 AM, Marius Andreiana at [EMAIL PROTECTED] wrote: [this is wordy :)] > Hi > > I'm curios how others are handling packages on production servers. > Curently our sysadmins compile openssl,apache,php and other libraries > from sources. > > Do you think it would be better (easier to

RE: [PHP] Basic multi-dimensional array help

2001-07-03 Thread scott [gts]
that's stanard array behaviour... $Info contains two elements, $Info[0] and $Info[1] $Info[0] contains four elements, $Info[0][0], $Info[0][1], $Info[0][2], $Info[0][3] try this function on your $Info variable to see what it contains: array_traverse($Info); func

Re: [PHP] password sanity checker

2001-07-03 Thread Chris Anderson
Getting the size is easy, and if you had a small dictionary you could see if the password existed in that by looping through it. Not sure about checking if it is LIKE the username - Original Message - From: "Charles Sprickman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July

Re: [PHP] Re: [PHP-DB] PhpMyAdmin phpPgAdmin Security Issues

2001-07-03 Thread Chris Anderson
btw, that error looks more like a mysql setup / runtime problem. IE..is the server running? - Original Message - From: "Paul Burney" <[EMAIL PROTECTED]> To: "andreas (@work)" <[EMAIL PROTECTED]> Cc: "php mailing list 2" <[EMAIL PROTECTED]> Sent: Tuesday, July 03, 2001 11:51 AM Subject: [PH

[PHP] session variables and page interrupt via a refresh

2001-07-03 Thread Johnson, Kirk
Hope someone can help on this one. Say you have a FORM processing page that does lots of stuff, so it takes many seconds to execute. Say the user gets impatient and hits the Refresh button while the processing page is only half completed. Here's the question: do any changes to session variables t

[PHP] NEWBIE - How do you strip spaces?

2001-07-03 Thread Craig Simon
I am trying to figure out how to take a phone number as an array element, and strip out the spaces and parenthesis and just return the numerals. IE (555) 555-1212 to 551212. I would appreciate any assistance. Thanks Craig Craig Simon Senior Systems Engineer M

Re: [PHP] Basic multi-dimensional array help

2001-07-03 Thread Chris Anderson
When I wanted multi-dimensional with forms, I think I had to do this: - Original Message - From: "Wieger Uffink" <[EMAIL PROTECTED]> To: "Jeff Gannaway" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, July 03, 2001 8:32 AM Subject: Re: [PHP] Basic multi-dimensional array help

Re: [PHP] PHP for NetWare?

2001-07-03 Thread Chris Anderson
Ugh Netware. I believe that is Windows oriented/based so try the windows distrobutions - Original Message - From: "Tony Gettig" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 03, 2001 7:49 AM Subject: [PHP] PHP for NetWare? Hi there, Is PHP available for NetWare? I've l

Re: [PHP] Compiling on Windows

2001-07-03 Thread Chris Anderson
Manual helps - Original Message - From: "Daniel Reichenbach" <[EMAIL PROTECTED]> To: "Php-General" <[EMAIL PROTECTED]> Sent: Tuesday, July 03, 2001 5:02 AM Subject: [PHP] Compiling on Windows > Hy, > > is there any guide available, how to compile the Windows version of PHP4.0.6 > with al

RE: [PHP] NEWBIE - How do you strip spaces?

2001-07-03 Thread Johnson, Kirk
ereg_replace("[^0-9]", "", $var) Kirk > -Original Message- > From: Craig Simon [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 03, 2001 10:44 AM > To: '[EMAIL PROTECTED]' > Subject: [PHP] NEWBIE - How do you strip spaces? > > > I am trying to figure out how to take a phone number as

Re: [PHP] sending 5000+ emails - use PHP?

2001-07-03 Thread infoz
Can't say that I agree. Once you get through to the SMTP port you can tell it that the following message is supposed to go to a list of people and you only connect once, vs. connecting once for each recipient. More efficient all the way around, I would think. Mind you, I haven't tried this on

[PHP] Compiling PHP with pgsql

2001-07-03 Thread N. Pari Purna Chand
Hi I am able to Successfully compile PHP 4.0.6 with imap and pgsql as an Apache DSO. But after make and make install Apache is not restarting saying that it cannot find libpq.so.2 So I copied the libpq.so.2 from /usr/local/pgre/lib/ to /var/lib/apache/libexec but still apache wont restart. I'm

Re: [PHP] New on PHP, need help with sessions

2001-07-03 Thread mike cullerton
i believe this is track_vars, but as of php 4.0.3, this is always on. on 7/3/01 9:21 AM, Kurt Lieber at [EMAIL PROTECTED] wrote: > Hi Mike -- > > a related question to your post below. Specifically > >> $HTTP_SESSION_VARS["variablename"] >> or (depending on how php is configured) $variablenam

[PHP] [PHP-DB] passing db persistent connections through different pages

2001-07-03 Thread Hervé Piedvache
Hi, Big trouble ... with PostgreSQL 7.1.2 and PHP 4.0.6 on linux I'm using exactly the same configuration (and same application, same connection system) using PostgreSQL 7.1 and PHP 4.0.4pl1 same postgreSQL config file, same php.ini same kind of servers, same Apache version 1.3.19 and it's runni

Re: [PHP] PHP, Templates, XSLT

2001-07-03 Thread Marius Andreiana
> Anyways, has anyone experienced it with Sablotron? How did you like it? nice You can also try to check browser : if mozilla 0.9.1 or later (you choose) it can be parsed on the client; ie 6.0 isn't used yet... -- Marius Andreiana -- PHP General Mailing List (http://www.php.net/) To unsubsc

[PHP] #exec and php together

2001-07-03 Thread Paolo Ciraci
I'm trying to include the output of a php script into a standard html file via SSI #exec. The following is a sample php file (hello.php): and the following is the sample html file (hello.htm): both files are in the same directory. If I issue http://www.mysite.com/hello.php the script

Re: [PHP] PHP for NetWare?

2001-07-03 Thread Tony Gettig
Actually, NetWare is a very different operating system than Windows. It's a direct competitor to M$. Way more stable than windows. If PHP is available for NetWare, someone must have ported to the platform to run either as an NLM or with the JVM. There's a queston: is there perhaps a java execu

[PHP] php serialize

2001-07-03 Thread scott [gts]
does anyone know any good places to look for detailed information about PHP's serialize(), unserialize() (besides the PHP sources, becuase i'm already going thru them) i want to write serialize() and unserialize() in perl so that arrays (no objects or references yet) can be read/written by both P

Re: [PHP] Re: [PHP-DB] PhpMyAdmin phpPgAdmin Security Issues

2001-07-03 Thread andreas \(@work\)
hi chris, server is running mysql and php are working perfekt on all the servers the correct url is http://www.mydomain.com/phpMyAdmin/sql.php?server=000&cfgServers[000][host]= hello&btnDrop=No&goto=/etc/passwd and we tried that "exploid" now on 10 different dedicated servers all with "defa

Re: [PHP] #exec and php together

2001-07-03 Thread Paolo Ciraci
> The problem with this is that, by default, Apache will ONLY parse > PHP code if the extension matches the PHP extension in > httpd.conf. You could add .htm and .html to that extension match > if you'd like, and that could possibly do it. No, that is not the problem. I don't want the .htm f

Re: [PHP] caching

2001-07-03 Thread Jay Paulson
This is what I use for the header information.. I don't know if it will work for an image or not but it works nicely for text fields that are dynamically populated.. anyway if you aren't adding this extra little bit at the end of the header function you might want to give it a shot... header ("Ca

Re: [PHP] php serialize

2001-07-03 Thread Alexander Wagner
scott [gts] wrote: > i want to write serialize() and unserialize() in perl > so that arrays (no objects or references yet) can be > read/written by both PHP and Perl to help with my > cross-language session implementation. Why don't you use WDDX? regards Wagner -- Madness takes its toll. P

[PHP] HTTP authentication logout

2001-07-03 Thread David A Dickson
I am using HTTP authentication to restrict access to certain pages and I want to add a logout option so that users must reauthenticate before being able to veiw the pages again. Here is the code I'm using to authenticate: This page requires a user name and password to view."); endPage();

RE: [PHP] php serialize

2001-07-03 Thread scott [gts]
wow... that looks like it might just do the job :) although it'd still be fun to hack up a simple serialize/deserialize in perl, i didnt know that WDDX modules existed for perl... i'll go and get it all and start playing around with it now :) > -Original Message- > From: Alexander Wag

Re: [PHP] #exec and php together

2001-07-03 Thread Kurt Lieber
First question is why not just use PHP for both parts? i.e. I'd guess the reason your second example doesn't work is because PHP isn't being called to parse the page. even though you're calling a php page with your SSI, the destination page is named *.htm meaning that PHP won't be involved.

[PHP] Re: recommend a good PHP site specific search engine

2001-07-03 Thread Tom Beidler
I should have mentioned that it will run on a Windows box. on 7/3/01 7:00 AM, Tom Beidler at [EMAIL PROTECTED] wrote: > Can anyone suggest a good PHP/MySQL search engine to be used to search a > site (not the entire Internet). I have a site with an extensive amount of > manual pages that we woul

[PHP] Netscape error on first attempt to load PHP page but not second

2001-07-03 Thread Tom Beidler
I get the following error when attempting to open a PHP page in Netscape 4.7 and 6 on the Macintosh. "The document contained no data. Try again later, or contact the server's administrator" Once you close the dialog box and then try to load the page it comes up fine. It's a secure site using co

Re: [PHP] qmail-inject: fatal: read error

2001-07-03 Thread teo
Hi Warren! On Tue, 03 Jul 2001, Warren Brundage wrote: > When I try to use PHP to send mail through qmail I get a "qmail-inject: > fatal: read error". I have read through the list and I have seen (and > tried) the following solutions: > > 1. Put /var/qmail/bin/qmail-inject into php.ini instead

RE: [PHP] Fatal Error: Call to undefined function: sybase_connect() in

2001-07-03 Thread nelo manuel
hi Scott, i've tried below by deleting the old config.cache then run ./configure -with-apxs=/usr/sbin/apxs -with-sybase=/opt/sybase i am still getting the micro time error on make and make install and when i run my php-4.0.6 script to get data from sybase the error Fatal error: Call to unsupport

[PHP] pspell dictionary

2001-07-03 Thread Aaron McBride
I've just installed php with support for pspell. Pspell and aspell installed fine, and I even have a bunch of .pwli files. Problem is that when I do: $pspell_link = pspell_new ("en"); I get this error: Warning: PSPELL couldn't open the dictionary. reason: I'm sorry I can't find any suitable wo

[PHP] perl serialization

2001-07-03 Thread scott [gts]
i've been working on porting the functionality of PHP's serialize() and unserialize() functions that will turn an array/hash into a simple string. so far, i've got serialize() working in perl... i attached the files, but you can also get them at: http://furt.com/code/serialize/ if anyone feel

RE: [PHP] Fatal Error: Call to undefined function: sybase_connect() in

2001-07-03 Thread scott [gts]
well, on second look at the microtime error messages, it looks like you might need to patch 'microtime.c'. i dont have any experience with sybase, so i'm the wrong person to ask for sybase-specific information, but try the sybase/php website and see if there's any mention of patches ... or per

[PHP] fscanf Help!!

2001-07-03 Thread James West
I'm starting to learn the language and I'm having a problem with fscanf as witnessed below: http://www.zephyr-works.com/ascii-5/dev/phpnews.phps The output is at: http://www.zephyr-works.com/ascii-5/dev/phpnews.php I can't seem to get the variables to assign correctly... The source file is:

RE: [PHP] Fatal Error: Call to undefined function: sybase_connect() in

2001-07-03 Thread nelo manuel
nice 1 scott, appreciate your help, i'll keep working on it :) Many Thanks, Nelson London >From: "scott [gts]" <[EMAIL PROTECTED]> >To: "php" <[EMAIL PROTECTED]> >Subject: RE: [PHP] Fatal Error: Call to undefined function: >sybase_connect() in >Date: Tue, 3 Jul 2001 14:52:36 -0400 > >well,

[PHP] problem with php and interbase

2001-07-03 Thread Yamilé
Hi: I have PHP4 and Interbase 6.0 Super Server but ... Fatal Error: Call to undefined function ibase_connect() ... any idea? Is there something like php-interbase...rpm? Thanks fausto. __ Do You Yahoo!? Get personalized email addresses fro

Re: [PHP] configuring with gd for TTF

2001-07-03 Thread Michel 'ZioBudda' Morelli
On Tue, 3 Jul 2001, Brian White wrote: > LD_LIBRARY_PATH=/usr/local/freetype/lib/ insert this line into /etc/ld.so.cong and run ldconfig -v (via root) bye -- "Il mondo si divide in due categorie: chi ha la pistola carica e chi scava. Tu scavi". -- Michel Morelli [EMAIL

[PHP] [JOB OFFER] Mandarin Chinese speaking PHP Programmer needed

2001-07-03 Thread Adam Powell
Hi, sorry about the blatant use of this mailing list to advertise a job vacancy, but it seems to be the best place. Anyway, I represent Neopets.com, we are an online entertainment community, written in PHP/Apache/Redhat linux, and we are currently doing in excess of 130,000,000 pageviews daily (

  1   2   >