RE: [PHP] VERY URGENT

2001-05-08 Thread Rudolf Visagie
Aah, welcome to the new South Africa, everybody :-) Rudolf Visagie [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 09 May 2001 08:46 To: Christian Dechery Cc: [EMAIL PROTECTED] Subject: Re: [PHP] VERY URGENT On 8-May-01 at 18:50, Christian

Re: [PHP] VERY URGENT

2001-05-08 Thread patl
On 8-May-01 at 18:50, Christian Dechery ([EMAIL PROTECTED]) wrote: > what in Gods name is that? A pretty well known con. Usually it involves Angola; this crew seems to have at least changed the names and made a few of the other details less obvious. (They probably get revealed later after the

Re: [PHP] how to bring selected rows to upper page

2001-05-08 Thread heinisch
At 09.05.01 09:28, you wrote: >Hello friends, >I want to prepare a page as attached. But main problem is how can I bring >the data to upper page when lower page's row is selected. I want to take >all data on selected row to the upper pages fileds. >please help me. >Murat If you sent a php-made

[PHP] Test 2

2001-05-08 Thread Ralph Guzman
This is only a test. I apologize. -- 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]

[PHP] test

2001-05-08 Thread Ralph Guzman
... -- 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] Weirdest error I've ever had....

2001-05-08 Thread heinisch
At 06.05.01 12:00, you wrote: >Alright I have a simple file writing script. Nothing special. in one >part I use this code: > $data[$x] = str_replace("","\n", $data[$x]); >to replace break tags with page breaks. Problem is that for some >reason it is adding wierd tags to the file. It only doe

[PHP] how to bring selected rows to upper page

2001-05-08 Thread Murat SAYGILI
Hello friends, I want to prepare a page as attached. But main problem is how can I bring the data to upper page when lower page's row is selected. I want to take all data on selected row to the upper pages fileds. please help me. Murat -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] Array in PHP and Javascript

2001-05-08 Thread elias
Hi there There are lots of way that a PHP script can pass arrays to JavaScript... you can output the array to javascript like: $fls is an array. rnd_imagesnames = new Array(

Re: [PHP] progession bar

2001-05-08 Thread heinisch
At 09.05.01 12:32, you wrote: > >Hi all >Does any one know how to do the progession bar to mesure the time out? >Like give it 1 minute for the bar to progress, I got some logic here but >something still unclear to me. >The procedures I see are >1. get curren time when the page is loaded >2. add

[PHP] Array in PHP and Javascript

2001-05-08 Thread Reuben D Budiardja
Hello, I have a question here. Can I pass an Array (php) to a javascript function, and then process the array there using javascript? How do I access the php array in javascript then? Say, all I want a do is to iterate through the array and build a string using javascript, for example. How

[PHP] HTTP Auth

2001-05-08 Thread gary
Im having a problem with Authentication uisng $PHP_AUTH_USER and $PHP_AUTH_PASSWORD works fine connecting via netscape but automatically set to false when using IE 5. Apache server , PHP installed as a module on a freebie server. Code below: '; echo 'Please go to Registration page to Get a log

[PHP] string varable...

2001-05-08 Thread Vegard
Does anybody know how much text can be stored in a variable og type string? Regards Vegard. -- 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

[PHP] multiple domain handling with php

2001-05-08 Thread Scott Mebberson
Does anybody have any scripts or tips on hosting multiple domains on the one account ie. if the domain being requested is this, go here in my account if not go here in my account? Thanks Scott. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

[PHP] progession bar

2001-05-08 Thread Jacky
Hi all Does any one know how to do the progession bar to mesure the time out? Like give it 1 minute for the bar to progress, I got some logic here but something still unclear to me. The procedures I see are 1. get curren time when the page is loaded 2. add 60 seconds on that current time value t

[PHP] Stop if word is found?

2001-05-08 Thread Jan Grafström
Hi! I am searching some files for a word and if word is found I will stop the script. I tried with die, but I have never used it before and it didn´t work perhaps I used it in a wrong way.. $fd = fopen($filename1, "r"); $string = fread($fd, filesize($filename1)); $fruits = explode (" ", $string);

[PHP] quick question: frames OT

2001-05-08 Thread Romulo Roberto Pereira
Hello! Just a quick ot question: >From a php script I open a frameset this divides the browser window in two rows. How do I do to get rid of the frameset without closing the window? TIA Rom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: [PHP] Putting quotes in?

2001-05-08 Thread CC Zona
In article <004401c0d83d$c711a180$[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Ender") wrote: > Okay I am taking a number from a mySQL database and I want to put quotes on > that number? > > How would I do this? > > $databasenumber = 123.123.123.123; > > How do I make > $databasenumber = "123.12

Re: [PHP] OT question..

2001-05-08 Thread Christian Reiniger
On Wednesday 09 May 2001 03:02, [EMAIL PROTECTED] wrote: > On Tue, May 08, 2001 at 07:14:12PM -0500, Alex Behrens wrote: > > I agree, that is not a very cool signature. Please remove it, it > > offends me as well. > > I have seen many people, who have been killed by Adolf Hitler. My > father have

RE: [PHP] Putting quotes in?

2001-05-08 Thread Jason Murray
> Okay I am taking a number from a mySQL database and I want to > put quotes on that number? $databasenumber = "\"123.123.123.123\""; or $databasenumber = '"123.123.123.123"'; Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

[PHP] Putting quotes in?

2001-05-08 Thread Ender
Okay I am taking a number from a mySQL database and I want to put quotes on that number? How would I do this? $databasenumber = 123.123.123.123; How do I make $databasenumber = "123.123.123.123"; To: runprogram("hls",$databasenumber); Best regards, Ender [Clan Leader] [EMAIL PROTECTED]

[PHP] progession bar

2001-05-08 Thread Jacky
Hi all does anyone know how to make the progression bar according to the time out that has been set up to start after the page is load? Jack [EMAIL PROTECTED] "There is nothing more rewarding than reaching the goal you set for yourself"

Re: [PHP] PHP + APACHE on Win2k

2001-05-08 Thread Brian Clark
Hi macky, @ 5:28:51 AM on 5/8/2001, macky wrote: > how can apache interpret PHP code placed inside HTML document... or > on .php pages...? By installing PHP either as a DSO or a CGI. Instructions for doing so are here: Alternatively, I like to use the version lo

RE: [PHP] PHP + APACHE on Win2k

2001-05-08 Thread Peter Houchin - SunRentals Aust
Add that to your http.conf file in apache ScriptAlias /php4/ "drive:/php/" Action application/x-httpd-php4 "/php4/php.exe" AddType application/x-httpd-php4 .php Peter Houchin [EMAIL PROTECTED] = _

[PHP] PHP + APACHE on Win2k

2001-05-08 Thread macky
how can apache interpret PHP code placed inside HTML document... or on .php pages...? ive already installed APACHE in WIN2K and it works perfectly fine -- -- The information contained in this message (including any attachme

[PHP] Hit stats

2001-05-08 Thread Steve Wade
I have a set of links on my page, and I want people to be able to see: * How many times the link has been successfully used by previous people * If the link is broken I'm a bit of a newbie :-) Can anyone share some code, or explain how to do this? Thanks heaps, swadie ~~

RE: [PHP] VERY URGENT

2001-05-08 Thread Julie Kwok
LOL some practical joke? .. wait .. its not April's Fools. Umm really, if its really that confidential should it be leaked to an ML? > -Original Message- > From: Christian Dechery [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 9 May 2001 11:53 AM > To: SOLOMON BALOGUN; [EMAIL PROTECTED] >

RE: [PHP] VERY URGENT

2001-05-08 Thread John Vanderbeck
Spam thats been going around lately. Good old money laundering apparently. Friends have reported seeing it as well. It better stop hitting the list over and over again though or i'm gonna scream :) - John Vanderbeck - Admin, GameDesign (http://gamedesign.incagold.com/) - GameDesign, the industr

Re: [PHP] VERY URGENT

2001-05-08 Thread Christian Dechery
what in Gods name is that? At 02:51 9/5/2001 +0100, SOLOMON BALOGUN wrote: >VERY URGENT BUSINESS, >#20 LOUIS BOTHA CRESCENT, >SADTON.SOUTH AFRICA, >Tel:874-762-727947, >Fax:87-4762-727949. > >Dear sir, > >In order to transfer out (USD 126 M) One hundred and >twenty six million United States Dolla

[PHP] VERY URGENT

2001-05-08 Thread SOLOMON BALOGUN
VERY URGENT BUSINESS, #20 LOUIS BOTHA CRESCENT, SADTON.SOUTH AFRICA, Tel:874-762-727947, Fax:87-4762-727949. Dear sir, In order to transfer out (USD 126 M) One hundred and twenty six million United States Dollars) from African Development Bank. I have the courage to ask

[PHP] VERY URGENT

2001-05-08 Thread SOLOMON BALOGUN
VERY URGENT BUSINESS, #20 LOUIS BOTHA CRESCENT, SADTON.SOUTH AFRICA, Tel:874-762-727947, Fax:87-4762-727949. Dear sir, In order to transfer out (USD 126 M) One hundred and twenty six million United States Dollars) from African Development Bank. I have the courage to ask

[PHP] VERY URGENT

2001-05-08 Thread SOLOMON BALOGUN
VERY URGENT BUSINESS, #20 LOUIS BOTHA CRESCENT, SADTON.SOUTH AFRICA, Tel:874-762-727947, Fax:87-4762-727949. Dear sir, In order to transfer out (USD 126 M) One hundred and twenty six million United States Dollars) from African Development Bank. I have the courage to ask

Re: [PHP] forcing download instead of showing output

2001-05-08 Thread Christian Dechery
At 16:53 8/5/2001 -0400, Toby Miller wrote: >I use this code: > >header("Content-Type: $filetype"); >header("Content-Disposition: atachment; filename=$showfilename"); >header("Content-Length: $filesize"); >readfile($source); > >Note the mispelling of "atachment". This seems wrong but is actually t

Re: [PHP] OT question..

2001-05-08 Thread MaD dUCK
also sprach Billy Harvey (on Tue, 08 May 2001 09:11:15PM -0400): > Is someone quoting Adolf Hitler grounds for imprisonment in Germany > now? of course not. martin; (greetings from the heart of the sun.) \ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck -- humpty was pus

Re: [PHP] Zip support

2001-05-08 Thread Wandrer
At 10:55 AM 5/8/01 -0400, you wrote: >I see that there is support for bzip2 and gzip in PHP, so I was wondering if >there was any standard zip support that I'm not seeing. >Stuart Hicks >Senior Programmer / Systems Administrator >The Affinity Group PhpZip 1.5 : http://phpconcept.free.fr/phpzip-in

Re: [PHP] php chat or customer support center

2001-05-08 Thread Ashwin Kutty
try phprojekt @ http://www.PHProjekt.de its quite a good product and does a lot more that just one-on-one chat and in fact is a complete suite for customer support.. On Tue, 8 May 2001, Black S. wrote: > We have all seen these one-on-one chat systems placed on sites like home.com > and others.

Re: [PHP] OT question..

2001-05-08 Thread Billy Harvey
> So let stop this thread, I have a very good lawyer. You can speak with him > at the LinuxDays at Stuttgart, Germany. > > -Egon <[EMAIL PROTECTED]> Just who the hell are you threatening to sue and what for Egon - everyone who reads the PHP list and doesn't feel offended by what you do? Is

Re: [PHP] OT question..

2001-05-08 Thread eschmid+sic
On Tue, May 08, 2001 at 07:14:12PM -0500, Alex Behrens wrote: > I agree, that is not a very cool signature. Please remove it, it offends me > as well. I have seen many people, who have been killed by Adolf Hitler. My father have been near Moscow (Russia), Tromsö (Norway) and France. After the sec

Re: [PHP] OT question..

2001-05-08 Thread Chris Adams
On 8 May 2001 16:43:03 -0700, Stephan Ahonen <[EMAIL PROTECTED]> wrote: >> I ment the signature signed by Adolf Hitler. As a German I doesnt like >> such nonsense. BTW I'm also a webmaster @ php.net. > > I side with Christian here - The only way we can prevent mistakes like the > whole Hitler thi

Re: [PHP] OT question..

2001-05-08 Thread Alex Behrens
I agree, that is not a very cool signature. Please remove it, it offends me as well. Thanks! -Alex "Big Al" Behrens E-mail: [EMAIL PROTECTED] Phone: 651-482-8779 Cell: 651-329-4187 Fax: 651-482-1391 ICQ: 3969599 Owner of the 3D-Unlimited Network: http:

RE: [PHP] Simple Questions

2001-05-08 Thread Benjamin Munoz
This is not working? echo("$server->server_num_players."/".$server->server_max_players "); If you are trying to print out 4/4 but can't because it is evaluating it mathematically, try using the HTML character entity for /, / echo("$server->server_num_players/$server->server_max_players"); Hop

Re: [PHP] OT question..

2001-05-08 Thread Stephan Ahonen
> I ment the signature signed by Adolf Hitler. As a German I doesnt like > such nonsense. BTW I'm also a webmaster @ php.net. I side with Christian here - The only way we can prevent mistakes like the whole Hitler thing is to learn about them, and know what it looks like when someone's trying to

[PHP] any way to get backslashes through in preg_replace?

2001-05-08 Thread Michael Geary
Hi folks, In a nutshell, I am doing this: $findIt = array("firstHit","secondHit"); $replaceIt = array("\\341","\\116"); $sourceString = "this is the firstHit and this is the secondHit"; $sourceString = preg_replace($findIt,$replaceIt,$sourceString); the problem is, what I want to result is th

[PHP] php chat or customer support center

2001-05-08 Thread Black S.
We have all seen these one-on-one chat systems placed on sites like home.com and others. You can click on a button and chat live with a customer service agent. Does anyone know if a PHP based system like this exists? If not, what are your recommendations for such a system? Java? Thanks All, Blake

[PHP] Simple Questions

2001-05-08 Thread Ender
Okay few questions, I am pretty new to this hehe. If I have a number say, 123.123.123.123. $ip = 123.123.123.123; How do I put a starting " and an ending " to make it "123.123.123.123" AND This doesn't work: echo("$server->server_num_players."/".$server->server_max_players"); What do I nee

Re: [PHP] mysql_trouble (check fast!)

2001-05-08 Thread James, Yz
Hi Fredrik, Always check whether or not the required variables are there BEFORE querying the database. And make sure that the negatives are dealt with first. That's my opinion. I'd probably also check whether the original username / password is in the database before proceeding. Probably m

[PHP] Weirdest error I've ever had....

2001-05-08 Thread Chris Anderson
Alright I have a simple file writing script. Nothing special. in one part I use this code: $data[$x] = str_replace("","\n", $data[$x]); to replace break tags with page breaks. Problem is that for some reason it is adding wierd tags to the file. It only does this on that server. What is that?

[PHP] thanks Hrishi AND ANOTHER QUESTION ?

2001-05-08 Thread Jorge Amaya
THANK YOU FOR YOUR CONCEPTS, HELPED ME ENOUGH, YOU ARE VERY KIND, I HAVE A QUESTION MORE, APACHE IT| ALREADY WORKS ME, IT LOADS ME PHP4, BUT THE NAVIGATOR DOESN'T BEGIN.. IT DOESN'T LOAD THE NAVIGATOR UP WITH APACHE. APOLOGIZE TO HAVE WRITTEN YOU TO YOUR OTHER MAIL, A THOUSAND EXCUSES. -

RE: [PHP] Default values in MySQL

2001-05-08 Thread Don Read
On 08-May-01 Joseph Bannon wrote: > How do you set Default values in mysql? > CREATE TABLE webmaster ( wmid smallint(5) unsigned DEFAULT '0' NOT NULL auto_increment, pcode char(1) DEFAULT 'S' NOT NULL, grade char(1) DEFAULT 'C' NOT NULL, name varchar(80) DEFAULT '' NOT NULL, contact v

[PHP] Detecting error in OCIExecute calls

2001-05-08 Thread Robert Mena
Hi, I am accessing an oracle database from PHP using stored procedures available. I'd like to detect when a problem occurs in order to stop trying to fetch results. In mysql I check for rc=0 as an error. The php doc does not tell if this applies to oracle as well. The code is something like th

[PHP] Default values in MySQL

2001-05-08 Thread Joseph Bannon
How do you set Default values in mysql? Joseph -- 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]

[PHP] Converting mySQL to PostgreSQL

2001-05-08 Thread Jason Beebe
Hi, I am in need a transfering an existing mySQL database to PostgreSQL. I have seen info on the converter. Before I get started I wanted to see info anyone has any insight or tips on converting these DBs (ie- is it problematic, inconsistent, etc). Thanks! -- PHP General Mailing List (http

[PHP] Re: [PHP-DEV] Dynamic Update of DNS ??

2001-05-08 Thread Stig Venaas
On Tue, May 08, 2001 at 08:35:37AM -0400, Stig Sæther Bakken wrote: > [Stig Venaas <[EMAIL PROTECTED]>] > > the LDAP back-end, see http://www/dns/bind/bind-sdb/. If you look at > ^^^ > I guess this will take most people to somewhere else than they > expect. :-) > >

RE: [PHP] Wrapping text to store in the database

2001-05-08 Thread Don Read
On 08-May-01 Romulo Roberto Pereira wrote: > Hello! > > If a user drop a text like this in a textarea: > > --- > > As you can see the text is simple and there are not any html tags. How do I > do to add this elements so the text become something like this below, I mean > how to wrap it up i

Re: [PHP] HTTP authentication : logout!!!

2001-05-08 Thread Don Read
On 08-May-01 Mauricio Souza Lima wrote: > > Cool, you have found another way! > So the realm make diference? A user loged in a realm isn't the same in > other realm? Very cool... Not quite, the realm is a string to present to the login dialog box it has no effect on the credentials in this exam

[PHP] session help (session.gc_probability)

2001-05-08 Thread Jeff Warrington
Hi, i am using sessions for a web application and was wondering whether it's possible to set the gc_probablity to < 1%. I tried with a value of 0.25 but it appears that the gc callback function still runs at 1%. I figure that the value is an integer and rounds up the values but if someone can tel

RE: [PHP] MYSQLDUMP

2001-05-08 Thread Jack Dempsey
you should be supplying a password...what's the error? -jack -Original Message- From: TopFive [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 5:06 PM To: [EMAIL PROTECTED] Subject: [PHP] MYSQLDUMP When I attempt to backup my database using MYSQLDUMP, I get repeated syntax erro

[PHP] MYSQLDUMP

2001-05-08 Thread TopFive
When I attempt to backup my database using MYSQLDUMP, I get repeated syntax error messages from MySQL. This is driving me nuts. I've even attempted the simplest form of the command I can muster: mysqldump mydatabasename > dump.sql; Am I overlooking something dreadfully obvious here?

[PHP] PHPMyAdmin & local Windows/Apache question

2001-05-08 Thread TopFive
Does anyone have experience using PHPMyAdmin running on a local server under Windows NT/2000? I've installed it, but when I load the index.php, I get a lot of PHP code displaying in my browser where my list of databases and tables should be. Thanks in advance, Chris W. -- PHP General Maili

Re: [PHP] forcing upload instead of showing doc

2001-05-08 Thread Toby Miller
I use this code: header("Content-Type: $filetype"); header("Content-Disposition: atachment; filename=$showfilename"); header("Content-Length: $filesize"); readfile($source); Note the mispelling of "atachment". This seems wrong but is actually the correct spelling for IE, Netscape doesn't seem to

Re: [PHP] php/postgres display information...

2001-05-08 Thread Joe Conway
> hey guys, > alright, I am new to using php to interface with a database, right now I > am trying to display just the primary keys for a table in my database, can > someone point me in the right direction on how to use php to display this > information? Create a function to supply the info -- se

[PHP] Classes adn arrays

2001-05-08 Thread Stefan Kostopoulos
Thanks Jack! This was really driving me mad and it was such a little thing Stefan -- 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] Date & Time Formatting ??

2001-05-08 Thread Don Read
On 08-May-01 Jack Sasportas wrote: > > The Goal is to have the Time stamp looking like 12:24 (military time OK) > > and the date 05-08-2001 or even 05-08-01. > > The MySQL db looks like so: > date -00-00 > time 00:00:00 > > I don't seem to really be able to vary the DB form

[PHP] accessing Javascript Cookies with php

2001-05-08 Thread Brian Paulson
I am having to use JavaScript to set a cookie, and if the page that sets the cookie is any where but in the root web dir of the server I am unable to retrieve it with php. I have tested this out with Windows+apache+php4 and Linux+apache+php4 and am unable to retrieve the cookie. Has any one had

RE: [PHP] php, snmp, and mibs

2001-05-08 Thread ..s.c.o.t.t.. [gts]
as someone else suggested... a regexp is probably the thing you want. since i have no idea what the format of a MIB is, i cannot give you any example. but to find dotted num's, use something akin to this: preg_match_all('/(\d+)(?=\.?)/', $MIB, $matches); > -Original Message- > From:

RE: [PHP] conversion script

2001-05-08 Thread ..s.c.o.t.t.. [gts]
if you're renaming to .PHP, i assume that you'll be using PHP. use PHP to solve your problem: This was taken directly from the PHP.net site: if ($dir = @opendir("/tmp")) { while($file = readdir($dir)) { echo "$file\n"; } closedir($dir); } as others have said before, "read the docum

RE: [PHP] mysql_trouble (check fast!)

2001-05-08 Thread Matt Schroebel
You have to check for a db result with either $count = mysql_num_rows($q_updateresult) or if ($row = mysql_fetch_array($q_updateresult)). mysql_query returns a 1 or 0 to indicate if the query was sucessful. One might typically query a db before inserting a record to make sure it's not there f

Re: [PHP] HTTP authentication : logout!!!

2001-05-08 Thread Mauricio Souza Lima
Cool, you have found another way! So the realm make diference? A user loged in a realm isn't the same in other realm? Very cool... Explain better your solution to us. Regards, Don Read wrote: > > On 07-May-01 Mauricio Souza Lima wrote: > > > And you have to inform the user to clean the passwo

RE: [PHP] php/postgres display information...

2001-05-08 Thread Jason Lotito
> -Original Message- > From: Daniel L. Ferrell [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 08, 2001 4:07 PM > To: [EMAIL PROTECTED] > Subject: [PHP] php/postgres display information... > > > hey guys, >alright, I am new to using php to interface with a > database, right now I

[PHP] mysql_trouble (check fast!)

2001-05-08 Thread FredrikAT
$na_pw is the active password... ..if pw is blank or wrong i want to output a error message... ...iknow that I could do if (empty($na_pw) and $na_pw <> $pw), but then I would have to send another query to MySQL.. I thought that q_updateresult would say (when i echo) 0 when password is bad, but it

[PHP] php/postgres display information...

2001-05-08 Thread Daniel L. Ferrell
hey guys, alright, I am new to using php to interface with a database, right now I am trying to display just the primary keys for a table in my database, can someone point me in the right direction on how to use php to display this information? Dan -- PHP General Mailing List (http:/

RE: [PHP] mySQL access denied with correct account/pw?

2001-05-08 Thread Matt Schroebel
If you are now accessing remotely, you'll need remote privileges for the user, not just user@localhost. Could also be the db name is incorrect. > -Original Message- > From: John Vanderbeck [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 08, 2001 2:59 PM He has given me the > account a

[PHP] regarding classes

2001-05-08 Thread Jack Dempsey
i deleted the original message, but here's why your code wouldn't work: you were using $this->$items... drop the second $ try this: items[$id] = $text; } function output($id){ echo $this->items[$id]; } } $c = new Cart(); $c->add_item(0,"zero"); $c->add_it

Odp: [PHP] MySql vs PostgreSQL

2001-05-08 Thread Tomasz Wasiluk
> So, I've noticed that most of you talk about PHP/MySQL almost exclusively. > Does anyone use PHP and PostgreSQL? What are the advantages of MySQL over > PostgreSQL, other than it's easier to pronounce... I'v been using Postgres for some time now and I think I'm going to swicth to MySQL because

Re: [PHP] HTTP authentication : logout!!!

2001-05-08 Thread Don Read
On 07-May-01 Mauricio Souza Lima wrote: > And you have to inform the user to clean the password field, click ok, > then the pop-up will open again, then user click in cancel. > > I just know that way to do. If anyone know another way, Postit! > create a tmp directory logoff.php3:

Re: [PHP] Recursive SQL Queries: Web Directory Categories

2001-05-08 Thread Philip Hallstrom
Also take a look at Joe Celko's 'SQL for Smarties'. There's a whole chapter on this. It gets kind if burly, but it's pretty cool. It's all done by converting your schema below into a tree structure... (no, i don't have any code since I've just read about it never done it :) -philip In articl

[PHP] Classes and arrays

2001-05-08 Thread Stefan Kostopoulos
Hi! Can anybody explain to me why this script outputs: oneone instead of: zeroone ??? Thanks, stefan $items[$id] = $text; } function output($id){ echo $this->$items[$id]; } } $c = new Cart; $c->add_item(0,"zero"); $c->add_ite

RE: [PHP] How to read a web page and analyze but not display it

2001-05-08 Thread Jack Dempsey
Dexter, that's a pretty broad question...if you look at the functions at php.net such as fopen, you should find some information regarding reading webpages... -jack -Original Message- From: Dexter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 6:28 PM To: [EMAIL PROTECTED] Subje

Re: [PHP] How to read a web page and analyze but not display it

2001-05-08 Thread Zak Greant
Use fopen() or file() --zak - Original Message - From: "Dexter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 08, 2001 4:27 PM Subject: [PHP] How to read a web page and analyze but not display it hi PHP 'sters, How to read a web page and analyze but not display it u

RE: [PHP] php, snmp, and mibs

2001-05-08 Thread Jack Dempsey
Mike, I haven't worked with MIB files myself, but what you're describing sounds like it could be solved with regex's...can you post a snippet of what file looks like that you're trying to extract from? -jack -Original Message- From: Mike Backes [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

[PHP] How to read a web page and analyze but not display it

2001-05-08 Thread Dexter
hi PHP 'sters, How to read a web page and analyze but not display it using PHP. Thanks Dexter.

Re: [PHP] Variable question, yet another

2001-05-08 Thread Jason Stechschulte
On Tue, May 08, 2001 at 01:20:49PM -0500, King, Justin wrote: > So when the line hits type 1, it evals like this > > echo "[a href="myscript.php?username={$userdata["username"]}"]Goto > MyScript.php[/a]"; > > Of course this yields an error because of the "'s in the anchor tag. > But if I add s

[PHP] php, snmp, and mibs

2001-05-08 Thread Mike Backes
Hi, Sorry if this is a repeat question, I just can't seem to find an answer to this question. I am running php4 on NT. I've been able to connect to some network equipment with the snmp commands, and retrieve the results. But it's the list of values, which can be tough to correspond to the MIB. Is

RE: [PHP] RE: Undelivered Mail Returned to Sender

2001-05-08 Thread John Vanderbeck
I have been getting this as well, and it is _really_ starting to annoy me. Why is this not filtered out anyways? I am the owner and admin of the GameDesign mailing list, and our software automaticly filters these things from the general list. Please fix this :( - John Vanderbeck - Admin, GameDes

[PHP] session question

2001-05-08 Thread Rodrigo Reis da Rocha
I have a question about session variables. In my page the session variables are not seen by the pages where tem are not declared. I´ve used "session_register(variable)" and so after at another page I´ve called "echo $variable;" and it generate a message that the variable does not exists. The sess

RE: [PHP] session question

2001-05-08 Thread John Vanderbeck
Are you opening a session on each of the pages you want to use the variables? Calling session_register() I believe causes an implicit opening of the session, but on the other pages you have to explicity open the session, or you won't have access to those vars. - John Vanderbeck - Admin, GameDesi

[PHP] mySQL access denied with correct account/pw?

2001-05-08 Thread John Vanderbeck
Working on getting mySQL setup on a new server. I mainly do the PHP work while another guy does the server work. He has given me the account and password for the mySQL server, and I have quadruple checked it with him. We both swear it is correct in the script. However, mySQL reports an access

[PHP] session question

2001-05-08 Thread Rodrigo Reis da Rocha
I have a question about session variables. In my page the session variables are not seen by the pages where tem are not declared. I´ve used "session_register($variable)" and so after at another page I´ve called "echo $variable;" and it generate a message that the variable does not exists. The ses

Re: [PHP] Safe mode upload

2001-05-08 Thread Philip Olson
Awhile ago there was some discussion on irc #php , this use was proposed (by onki) : $tmp_name = $HTTP_POST_FILES['userfile']['tmp_name']; move_uploaded_file ($tmp_name, '/home/httpd/html/upload/example.zip'); chmod('/home/httpd/html/upload/example.zip', 0644); And it works. move_upl

Re: [PHP] conversion script

2001-05-08 Thread Mark Maggelet
On Tue, 8 May 2001 11:09:18 -0700, Ryan Christensen ([EMAIL PROTECTED]) wrote: >Would anyone be able to help me out with this: > >I have quite a few (almost 2000) .html files that I would like to >change >over to the .php extension. Past that, I would also like to add >text to the >top & bottom o

[PHP] Variable question, yet another

2001-05-08 Thread King, Justin
Alright... here's my situation for those that didn't read my string of messages yesterday.. (plus a bit more background information as to why I'm doing this) I'm writing an engine for a content managing system. Part of the system is a menu builder. I use 2 tables, (this is a mysql database) me

RE: [PHP] conversion script

2001-05-08 Thread Jack Dempsey
a simple perl script would suffice...don't have time to write one now (paper to write...joy) but if you can't find one, i can help later... -jack -Original Message- From: Ryan Christensen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 2:09 PM To: PHP Mailing List Subject: [PHP] c

[PHP] RE: Undelivered Mail Returned to Sender

2001-05-08 Thread Jack Dempsey
every reply i send to the list gives this back...could someone take that address off the list? thanks jack -Original Message- From: Mail Delivery System [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 2:16 PM To: [EMAIL PROTECTED] Subject: Undelivered Mail Returned to Sender Thi

RE: [PHP] Problem with PHP 4.0.5

2001-05-08 Thread Jack Dempsey
are you sure your html is properly formatted? if you like, send me the small script you're using, and i'll run it on a pre 4.0.5 release... if something shows up in ie but not ns that's a browser, not php problem... -jack -Original Message- From: biscut [mailto:[EMAIL PROTECTED]] Sent: T

RE: [PHP] class inheritance question

2001-05-08 Thread Neil Kimber
yes, as will: Class C extends B{ function cc(){ $this->bb();// Will this work ? <-- YES $this->aa(); } } -Original Message- From: py [mailto:[EMAIL PROTECTED]] Sent: 08 May 2001 14:02 To: [EMAIL PROTECTED] Subject: [PHP] class inheritance question Hello,

[PHP] conversion script

2001-05-08 Thread Ryan Christensen
Would anyone be able to help me out with this: I have quite a few (almost 2000) .html files that I would like to change over to the .php extension. Past that, I would also like to add text to the top & bottom of each page (for template purposes.) Does anyone know of a script that would automate

[PHP] class inheritance question

2001-05-08 Thread py
Hello, Class A{ function aa(){} } Class B extends A{ function bb(){ $this->aa();// I know this is ok } } Class C extends B{ function cc(){ $this->bb();// Will this work ? } } py

[PHP] Problem executing files without line feeds

2001-05-08 Thread jon mclaughlin
Help! We're currently in the process of moving from one server (with PHP v4.0.3pl1) to a new box (with PHP v4.0.5) Both have RedHat Linux. It seems that file that worked fine on the old setup are no longer executing properly. I"m having the problem specifically with included files. If the file d

RE: [PHP] Problem with PHP 4.0.5

2001-05-08 Thread biscut
I have exactly the same problem, if you try viewing the page with IE then you will probably find that it works fine...if you get any answers then could you let me know what you did ?? I found that even with using -Original Message- > From: John Vanderbeck [mailto:[EMAIL PROTECTED]] > Sent

RE: [PHP] Recursive SQL Queries: Web Directory Categories

2001-05-08 Thread Krznaric Michael
James, Take a look at hierarchical queries in MS SQl. If I'm not mistaken, this is part of the SQL 99 standard and is implemented by many SQL 92 compliant database vendors. I know ORACLE and DB2 support it. I'm not sure if you already have but I would investigate this topic with MS SQL

RE: [PHP] MySql vs PostgreSQL

2001-05-08 Thread Jack Dempsey
http://www.phpbuilder.com/columns/tim20001112.php3?page=1 -jack -Original Message- From: Brent Langston [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 1:22 PM To: PHP General List Subject: [PHP] MySql vs PostgreSQL So, I've noticed that most of you talk about PHP/MySQL almost e

  1   2   >