[PHP] Failure Configuring 4.0.6 on SuSE 7.1

2001-07-31 Thread Chris Anderson
When I try and configure php 4.0.6 I get the following msg: checking for flex... lex checking for yywrap in -ll... no checking lex output file root ... ./configure: lex: command not found configure: error: cannot find output from lex; giving up can anyone help? -- PHP General Mailing List

[PHP] MySQL Processes Inifinitely in PHP

2001-07-30 Thread Chris Anderson
I've been using PHP 4.0.4p1 WIN32, Apache 1.3.19 WIN32 and the latest MySQL WIN32 build for almost 6 months without a problem. But now if I try and run a php file using MySQL functions it just processes forever. There is no output and I can stop with the browser's stop button. I have tried

Re: [PHP] true type fonts

2001-07-16 Thread Chris Anderson
Many special fonts don't have all the characters besides letters and numbers. Perhaps thats the problem? - Original Message - From: Jon Yaggie [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 16, 2001 2:11 PM Subject: [PHP] true type fonts i am creating images using true type

[PHP] MySQL Connect Timing out?

2001-07-15 Thread Chris Anderson
I have an include file that includes my mysql connect information. Its sole purpose is to login to mysql. Strangely on my Win9x development system with apache, sometimes, almost randomly, the connection will time out. Then if I press refresh it works prefectly. I am only connecting once per

Re: [PHP] how can i creat a file and write a string to it!

2001-07-15 Thread Chris Anderson
Try looking under Filesystem functions in the manual. - Original Message - From: sunny AT wde [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent: Sunday, July 15, 2001 1:27 PM Subject: [PHP] how can i creat a file and write a string to it! i've been looking for an adequate answer all

Re: [PHP] Re: I want to learn this!

2001-07-15 Thread Chris Anderson
Zona is right, if you avoid the manual you will experience many problems. Never avoid the documentation - Original Message - From: CC Zona [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 15, 2001 5:06 PM Subject: [PHP] Re: I want to learn this! In article [EMAIL PROTECTED],

Re: [PHP]OT I know, but WTF...

2001-07-15 Thread Chris Anderson
I've actually had an MS representative tell me not to use the IE6 beta. What's that tell you? - Original Message - From: Chris Cocuzzo [EMAIL PROTECTED] To: PHP General List (E-mail) [EMAIL PROTECTED] Sent: Sunday, July 15, 2001 12:08 PM Subject: [PHP]OT I know, but WTF... hey- I

Re: [PHP]OT I know, but WTF...

2001-07-15 Thread Chris Anderson
Than White Hats Web Application Security - www.whitecrown.net */ - Original Message - From: Chris Anderson [EMAIL PROTECTED] To: [EMAIL PROTECTED]; PHP General List (E-mail) [EMAIL PROTECTED] Sent: Sunday, July 15, 2001 5:35 PM Subject: Re: [PHP]OT I know, but WTF... | I've

Re: [PHP] how to hide dbconnect file if its in published directo

2001-07-13 Thread Chris Anderson
how can you hate foo.inc? - Original Message - From: Don Read [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 13, 2001 10:39 PM Subject: Re: [PHP] how to hide dbconnect file if its in published directo On 14-Jul-01 hassan el forkani wrote: there should not be any problem

Re: [PHP] Fatal error: Call to undefined function:mysql_pconnect() in ...

2001-07-11 Thread Chris Anderson
Is php compiled with mysql support? - Original Message - From: Tom Beidler [EMAIL PROTECTED] To: Matthew Loff [EMAIL PROTECTED]; php list [EMAIL PROTECTED] Sent: Wednesday, July 11, 2001 5:22 PM Subject: Re: [PHP] Fatal error: Call to undefined function:mysql_pconnect() in ... I have

Re: [PHP] a recent 2600 article about PHP/CGI vulnerabilities

2001-07-09 Thread Chris Anderson
/me unsubscribes : ) - Original Message - From: scott [gts] [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent: Monday, July 09, 2001 11:40 AM Subject: [PHP] a recent 2600 article about PHP/CGI vulnerabilities i just read an article in 2600 yesterday about supposed PHP/CGI

Re: [PHP] Parsing a message

2001-07-09 Thread Chris Anderson
Why just not use seperate fields that you fill from individual form elements? - Original Message - From: James Greene [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 09, 2001 7:35 PM Subject: [PHP] Parsing a message Hi All, I am creating a page which a user enters an

Re: [PHP] Mcrypt Part2

2001-07-08 Thread Chris Anderson
the lib directories you specify for apache in the httpd.conf are incorrect. - Original Message - From: Power Programmer [EMAIL PROTECTED] To: Ben Bleything [EMAIL PROTECTED]; 'Power Programmer' [EMAIL PROTECTED]; [EMAIL PROTECTED]; 'Keyser Soze' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent:

Re: [PHP] ? include (http://www.myserver.de/page2.php); ?

2001-07-08 Thread Chris Anderson
You could try fopen()ing the contents that way. maybe exec() them? - Original Message - From: Dieter Stolpmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 08, 2001 3:18 PM Subject: [PHP] ? include (http://www.myserver.de/page2.php;); ? Hi, does anyone know, how to

Re: [PHP] Real Estate Catalog

2001-07-07 Thread Chris Anderson
Don't say steal, say learn from : ) - Original Message - From: [EMAIL PROTECTED] To: Joe Smith [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, July 07, 1979 2:44 AM Subject: Re: [PHP] Real Estate Catalog on 7/7/01 2:43 AM, Joe Smith at [EMAIL PROTECTED] wrote: If you'd rather

Re: [PHP] Something weird

2001-07-07 Thread Chris Anderson
So how is that weird? - Original Message - From: David OBrien [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 06, 2001 2:02 PM Subject: [PHP] Something weird I just installed a fresh RH 7.1 server with compiled apache and php 4.0.6 -- PHP General Mailing List

[PHP] Restoring a Dump File With PHP

2001-07-07 Thread Chris Anderson
I created a MySQL dump file (.sql) and I wanted to use it to restore my database. Unfortunately the manual (MySQL) only shows the command line method: mysql database file.sql I tried this in PHP and it didn't work. Does anyone know how to load the .sql file into the database through

Re: [PHP] Convert MP3s using PHP ?

2001-07-07 Thread Chris Anderson
Try looking for BladeEnc. It is a freeware encoding dll/runtime that works in windows and unix and is completely command line - Original Message - From: Tom Carter [EMAIL PROTECTED] To: Michel 'ZioBudda' Morelli [EMAIL PROTECTED]; Micha Ober [EMAIL PROTECTED] Cc: php [EMAIL PROTECTED]

Re: [PHP] require_once(); questions

2001-07-07 Thread Chris Anderson
Actually this does work: //First_File.php ? $test = I am the test variable; ? //Second_File.php ? echo $test; ? //Active file ? require First_File.php; require Second_File.php; ? That would produce the output of : I am the test variable An include or require just places the

Re: [PHP] How to apply something to every variable

2001-07-07 Thread Chris Anderson
Chris! On Fri, 06 Jul 2001, Chris Anderson wrote: I was playing around trying to find a way to addslashes() to all my variables, and I came up with this snippet. Hope it helps someone why don't you turn on magic_quotes_gpc then? $keys = array_keys($HTTP_POST_VARS); $post_size

Re: [PHP] How to apply something to every variable

2001-07-07 Thread Chris Anderson
PROTECTED]] Sent: Saturday, July 07, 2001 7:11 AM To: '[EMAIL PROTECTED]' Subject: RE: [PHP] How to apply something to every variable while (list($key, $val) = each ($HTTP_POST_VARS)) { ${$key} = addslashes($val); } - Russ -Original Message- From: Chris Anderson [mailto:[EMAIL

Re: [PHP] foreach loop

2001-07-07 Thread Chris Anderson
Good call - Original Message - From: John Monfort [EMAIL PROTECTED] To: PHPBeginner.com [EMAIL PROTECTED] Cc: John Meyer [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, July 07, 2001 6:27 PM Subject: RE: [PHP] foreach loop If we didn't have Microsoft, we'd have to blame

Re: [PHP] require_once(); questions

2001-07-07 Thread Chris Anderson
Try putting GLOBAL infront of the var to give it the greater scope - Original Message - From: Chris Anderson [EMAIL PROTECTED] To: Inércia Sensorial [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, July 07, 2001 8:50 PM Subject: Re: [PHP] require_once(); questions Actually

Re: [PHP] watermarks

2001-07-07 Thread Chris Anderson
a watermark is not something ON an image. A watermark is the same as a digital signature so you know who created the piece - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, July 07, 2001 11:38 PM Subject: Re: [PHP] watermarks on 7/7/01 11:27 PM, Chris

Re: [PHP] testing

2001-07-06 Thread Chris Anderson
You mean I'm not here? - Original Message - From: Don Read [EMAIL PROTECTED] To: McShen [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, July 06, 2001 2:32 AM Subject: RE: [PHP] testing On 06-Jul-01 McShen wrote: where are u guys? I'm sorry, I've gone insane, please leave

Re: [PHP] Bibliography Profiles Directory - Looking for Existing GPL Apps

2001-07-06 Thread Chris Anderson
profiles? - Original Message - From: Mike Gifford [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 06, 2001 2:06 AM Subject: [PHP] Bibliography Profiles Directory - Looking for Existing GPL Apps Hello, I'm looking to see if someone out there has already developed a

Re: [PHP] -help

2001-07-06 Thread Chris Anderson
Question? - Original Message - From: Peter Mead [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 06, 2001 9:52 AM Subject: [PHP] -help -help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [PHP] Bibliography Profiles Directory - Looking for Existing GPL Apps

2001-07-06 Thread Chris Anderson
Ahh, dunno about that at all - Original Message - From: Mike Gifford [EMAIL PROTECTED] To: Chris Anderson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, July 06, 2001 9:41 AM Subject: Re: [PHP] Bibliography Profiles Directory - Looking for Existing GPL Apps Sorry for being so

Re: [PHP] Re : Recommendation for - FREE Yellow Page entry

2001-07-06 Thread Chris Anderson
no, go away - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 06, 2001 9:18 AM Subject: [PHP] Re : Recommendation for - FREE Yellow Page entry Hi, Reference : May we have your permission ? A visitor to one of our 60 Topical sites has recommended

Re: [PHP] Problem writting to file...

2001-07-06 Thread Chris Anderson
I don't see anything wrong with the code. Does this work: ?php $fp = fopen(./data.txt, w+); $counter = 0; for($counter = 0; $counter 6; $counter++) { fwrite($fp, $counter . \n); } fclose ($fp); ? - Original Message - From: James Bartlett [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [PHP] Missing first record in PHP/Mysql query

2001-07-06 Thread Chris Anderson
here may be why: //Right here you grab a row $query_data = mysql_fetch_row($result); //but you don't use it and you move on while($query_data = mysql_fetch_array($result)) { - Original Message - From: Rory O'Connor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001

[PHP] Creating a Variable with the Name of a string

2001-07-06 Thread Chris Anderson
I know this has been discussed before, but I've searched the manual and didn't see it under Variable functions, or any of my searches. I have varible $temp, how can I create a variable whose name is the string stored in $temp? Thanks in advance

Re: [PHP] Creating a Variable with the Name of a string

2001-07-06 Thread Chris Anderson
- From: James Atkinson [mailto:[EMAIL PROTECTED]] Sent: Friday, July 06, 2001 4:20 PM To: Chris Anderson; [EMAIL PROTECTED] Subject: RE: [PHP] Creating a Variable with the Name of a string $temp = myvar; $$temp = My value; echo $myvar; output: My value - James

[PHP] How to apply something to every variable

2001-07-06 Thread Chris Anderson
I was playing around trying to find a way to addslashes() to all my variables, and I came up with this snippet. Hope it helps someone $keys = array_keys($HTTP_POST_VARS); $post_size = sizeof($keys); for($x = 0; $x $post_size; $x++) { $temp = $keys[$x]; //you can replace addslashes with

Re: [PHP] How to apply something to every variable

2001-07-06 Thread Chris Anderson
); } - Russ -Original Message- From: Chris Anderson [mailto:[EMAIL PROTECTED]] Sent: Friday, July 06, 2001 3:07 PM To: [EMAIL PROTECTED] Subject: [PHP] How to apply something to every variable I was playing around trying to find a way to addslashes() to all my variables

Re: [PHP] Post a form within a running php-script

2001-07-06 Thread Chris Anderson
Put the variables in the url ie: script.php?username=joebobpassword=joepassword - Original Message - From: SED [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 06, 2001 6:30 PM Subject: [PHP] Post a form within a running php-script For a special purpose I want to post a form

[PHP] Printing a root link into HTML

2001-07-06 Thread Chris Anderson
I need to give a link to a file in a previous directory, but HTML doesn't understand ../ links. Any idea how I can do this?

Re: [PHP] Post a form within a running php-script

2001-07-06 Thread Chris Anderson
Yes, replace spaces with + signs - Original Message - From: SED [EMAIL PROTECTED] To: 'Chris Anderson' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, July 06, 2001 7:24 PM Subject: RE: [PHP] Post a form within a running php-script I thought that at first but I need to post long

Re: [PHP] PHP for NetWare?

2001-07-05 Thread Chris Anderson
Kalamazoo Public Schools Chris Anderson [EMAIL PROTECTED] 07/03/01 12:44PM 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

Re: [PHP] Submiting Data with an '

2001-07-05 Thread Chris Anderson
On the same subject, can I make it automatically addslahes to my variables? Or should I just make my own mysql class? - Original Message - From: Matthew Loff [EMAIL PROTECTED] To: 'Mike Mike' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 3:29 PM Subject: RE: [PHP]

Re: [PHP] Re: changing to a different file in browser

2001-07-05 Thread Chris Anderson
If you use Header after ANY page output, even a space, it will not work - Original Message - From: Brad Wright [EMAIL PROTECTED] To: PHP General List [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 10:25 PM Subject: Re: [PHP] Re: changing to a different file in browser tried it, but it

Re: [PHP] writing a query that returns similar numbers

2001-07-04 Thread Chris Anderson
Try the LIKE wording in your statement. That should workI think - Original Message - From: [EMAIL PROTECTED] To: PHP Mailingliste [EMAIL PROTECTED] Sent: Wednesday, July 04, 1979 12:48 PM Subject: [PHP] writing a query that returns similar numbers I have a database with numbers in

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 03,

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: [PHP] Re:

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: INPUT NAME=var[0][] - 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

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 looked

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 all available

Re: [PHP] Help Meeeeeeeeeee!!!!!!

2001-07-03 Thread Chris Anderson
A Visual Basic and MySQL project. Ouch, not exactly made to work together. Plus Commercial + Open source, although that doesn't mean much. Really if you make them work together, I'd LOVE to know how. VB is one of my best real App programs. Next to C++ of course =) - Original Message -

Re: [PHP] How can i read php from browser??

2001-07-02 Thread Chris Anderson
You need to open your httpd.conf and add the extension lines to make it parse php. Mine looked like this: ServerRoot C:/Dev/Apache Group/Apache ScriptAlias /php4/ C:/php/ Action application/x-httpd-php4 /php4/php.exe AddType application/x-httpd-php4 .php AddType application/x-httpd-php4 .php3

Re: [PHP] Re: mailing list php-general@lists.php.netµÄ×Ô¶¯»ØÐÅ

2001-07-02 Thread Chris Anderson
You guys have some serious problems. I recommend getting help - Original Message - From: Justin Farnsworth [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, July 02, 2001 8:42 AM Subject: [PHP] Re: mailing list [EMAIL PROTECTED]µÄ×Ô¶¯»ØÐÅ What

Re: [PHP] question about forms.

2001-07-01 Thread Chris Anderson
Don't post the question in a reply and someone will see your question - Original Message - From: Jason brashear [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, July 01, 2001 5:34 PM Subject: [PHP] question about forms. I have a question. I am using PHP MySQL. I am able to quary

Re: [PHP] Quicky, I forgot a Varible ):

2001-07-01 Thread Chris Anderson
Maybe he means $PHP_SELF? Then again he just kindof rambled - Original Message - From: Jason Murray [EMAIL PROTECTED] To: 'ReDucTor' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, July 02, 2001 12:37 AM Subject: RE: [PHP] Quicky, I forgot a Varible ): Hey, I Forgot the Variable

[PHP] Time out Errors?

2001-06-30 Thread Chris Anderson
I have mayn scripts on a website that use MySQL connections for various tasks. Strangely sometimes a task will hit the timeout (30 sec), then work perfectly when I refresh. Or even work perfectly other times. I'm using Apache on Windows 98 and I'd never had this bug before. Would it be because

Re: [PHP] accessing files not in www root directory.

2001-06-30 Thread Chris Anderson
you may want to send this as a NON-reply, because many people view mail by grouped threads, and thus would miss your question Original Message - From: Sterling Anderson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 01, 2001 12:05 AM Subject: [PHP] accessing files not in www root

[PHP] MySQL Dump In PHP

2001-06-22 Thread Chris Anderson
I've been reading through the MySQL manual about backing up my database using mysql dump. I tried passing it as a Query in PHP but that doesn't seem to work. Does anyone know how to do this? Also does the dump back up the files into a directory I specify? I am on a virtual host and need to

[PHP] Sessions vs Cookies?

2001-06-21 Thread Chris Anderson
I am about to write a new admin system for a website I do and it will have many different logins. I was wondering overall which most of you thought would be better for such a thing? Wants really a pro about sessions over cookies?

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

2001-05-09 Thread Chris Anderson
too simple :) doesnt fix it anyway, it was a xhtml compliancy problem Chris Anderson aka Null PHP Developer / Nulltech PHP-GTK Documentation Writer / gtk.php.net STA-DoD, TO and D-Day Administrator / dod.stronger.org, to.stronger.org

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

2001-05-08 Thread Chris Anderson
is that? Chris Anderson aka Null PHP Developer / Nulltech PHP-GTK Documentation Writer / gtk.php.net STA-DoD, TO and D-Day Administrator / dod.stronger.org, to.stronger.org, dday.stronger.org Zeroping Staff Member / www.zeroping.com Volition Programmer

[PHP] Executing an External Program using exec()

2001-05-05 Thread Chris Anderson
nothing happens. Nothing at all. Any ideas? Chris Anderson aka Null PHP Developer / Nulltech PHP-GTK Documentation Writer / gtk.php.net STA-DoD, TO and D-Day Administrator / dod.stronger.org, to.stronger.org, dday.stronger.org Zeroping Staff Member

[PHP] PHP.ini

2001-05-01 Thread Chris Anderson
Is there a way for each user on a server to have their own php.ini settings? If so...how? Thanks Chris Anderson aka Null PHP Developer / Nulltech PHP-GTK Grunt / gtk.php.net STA-DoD, TO and DDay Administrator / www.stronger.org DOD Co-Owner

Re: [PHP] COM

2001-04-30 Thread Chris Anderson
Unfortunately VB 6.0 com components do not like to work outside of their ASP and VB bases. I've heard of a few people trying it, but I heard it was very difficult. I'd help more, but I've never used PHP with com, only with ASP Chris Anderson aka Null

Re: [PHP] HELP!! Mail and attachments

2001-04-29 Thread Chris Anderson
Personally I haven't tried, but I know many people have written classes to allow this. Try searching most php sites. Chris Anderson aka Null PHP Developer / Nulltech PHP-GTK Contributer / gtk.php.net STA Administrator / www.stronger.org DOD Co-Owner

Re: [PHP] HELP!! Mail and attachments

2001-04-27 Thread Chris Anderson
I would recommend that you send a link instead of the actual doc file. Chris Anderson aka Null PHP Developer / Nulltech PHP-GTK Tester / gtk.php.net STA Administrator / www.stronger.org DOD Co-Owner / www.dayofdefeat.com - Original Message

Re: [PHP] Is PHP code software?

2001-04-27 Thread Chris Anderson
If it is being sold for profit it is. Chris Anderson aka Null PHP Developer / Nulltech PHP-GTK Tester / gtk.php.net STA Administrator / www.stronger.org DOD Co-Owner / www.dayofdefeat.com - Original Message - From: Kath [EMAIL

[PHP] Strange Question - Please Read This

2001-04-27 Thread Chris Anderson
Does anyone know how to place code into every file accessed on my server? Kindof like how geocities and countless other hosts manage to add their banners? Chris Anderson aka Null PHP Developer / Nulltech PHP-GTK Tester / gtk.php.net STA

Re: SV: [PHP] PHP Book?

2001-04-27 Thread Chris Anderson
A good book for a beginner is The PHP 4 Bible Chris Anderson aka Null PHP Developer / Nulltech PHP-GTK Tester / gtk.php.net STA Administrator / www.stronger.org DOD Co-Owner / www.dayofdefeat.com - Original Message - From: Alex Piaz

[PHP] Sizeof a multi-dimensional array??

2001-04-26 Thread Chris Anderson
Alright, count($x) would give me the number of array elements in $x. But how can I get the count of a multi-dimensional array? Count($x[0]) doesn't seem to work. Thanks in advance Chris Anderson aka Null PHP Developer / Nulltech PHP-GTK Tester

Re: [PHP] I need help from you.

2001-04-25 Thread Chris Anderson
To send any information you need to use the mysql_query() function after connecting with mysql_connect() or mysql_pconnect(). They are all documented in the manual. Or am I misreading your question?? - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April

Re: [PHP] Compressing an upload

2001-04-25 Thread Chris Anderson
unfortunately, you dont have access to the files until they are on your server, ie: already uploaded. You can compress them afterwards though like you would normally - Original Message - From: Michael Conley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 25, 2001 6:37 PM

Re: [PHP] Lines

2001-04-24 Thread Chris Anderson
$Data = file(data.dat); $Total = count($data); That would get the lines from the file and give $total the number of lines. - Original Message - From: Rafael Faria [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 24, 2001 4:03 PM Subject: Re: [PHP] Lines But how can i put

Re: [PHP] Autoupdate of page

2001-04-24 Thread Chris Anderson
Hitting refresh would do it, you cant do anything client wise because the box is being filled by the server code - Original Message - From: Martin Skjöldebrand [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 24, 2001 3:53 PM Subject: [PHP] Autoupdate of page IS there a

Re: [PHP] Newbie question about Classes

2001-04-24 Thread Chris Anderson
Good definition. Another thing to note is that variables defined in a class's body can be accessed by all the other class functions without needing arguements to use them. Thats a nice feature - Original Message - From: SED [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 24,

Re: [PHP] OK, a little more specific migration issues.

2001-04-24 Thread Chris Anderson
That means the server isnt set to parse files with a .php extension. You'll have to fix the associations in your server settings - Original Message - From: S.J. Black [EMAIL PROTECTED] To: PHP mail list [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, April 24, 2001

Re: [PHP] Printing

2001-04-22 Thread Chris Anderson
try the javascript print() command - Original Message - From: "Dmitry" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, April 22, 2001 10:11 PM Subject: [PHP] Printing Hello, all! Do you know, can I print some page using PHP or JavaScript? Dmitry.

Re: [PHP] Advanced Help Needed

2001-04-19 Thread Chris Anderson
I have seen this before. For me it was a problem with the post operation.I'd give specifics, but frankly I can't remember...sorry :( - Original Message - From: "Marc Davenport" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 19, 2001 6:19 PM Subject: [PHP] Advanced Help

Re: [PHP] fwrite not writing (simpler example), PHP 4.0.4pl1, Apache/1.3.14

2001-04-17 Thread Chris Anderson
che/1.3.14 In article 012101c0c69b$b01b8d00$8b1412d1@null, [EMAIL PROTECTED] ("Chris Anderson") wrote: I tried it, even with the byte length identifer it worked perfectly for me. As a last ditch effort try changing the w to w+. If not then it sounds like a configuration issue for

Re: [PHP] Sending Email via PHP on Win2K

2001-04-17 Thread Chris Anderson
Check out the mail() function in the php manual. There is literally tons of info on this function. - Original Message - From: "Boaz Yahav" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 17, 2001 4:54 PM Subject: [PHP] Sending Email via PHP on Win2K Hi Has anyone done

Re: [PHP] fwrite not writing (simpler example), PHP 4.0.4pl1, Apache/1.3.14

2001-04-16 Thread Chris Anderson
Have you checked the following things: A) if the file is actually there? B)Is it an include error C)Do you have the required permissions for write access and for including from that directory? - Original Message - From: "CC Zona" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April

Re: [PHP] fwrite not writing (simpler example), PHP 4.0.4pl1, Apache/1.3.14

2001-04-16 Thread Chris Anderson
come to think of it, why are you passing 3 arguements to fwrite()? - Original Message - From: "CC Zona" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 16, 2001 5:34 PM Subject: [PHP] fwrite not writing (simpler example), PHP 4.0.4pl1, Apache/1.3.14 Suggestions so far have

Re: [PHP] fwrite not writing (simpler example), PHP 4.0.4pl1, Apache/1.3.14

2001-04-16 Thread Chris Anderson
alright try removing the byte length identifier - Original Message - From: "Chris Anderson" [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, April 16, 2001 1:20 PM Subject: Re: [PHP] fwrite not writing (simpler example), PHP 4.0.4pl1, Apache/1.3.14 com

Re: [PHP] siimple cookie problem

2001-04-16 Thread Chris Anderson
Each time you change the value you need to re-set the cookie using SetCookie() again - Original Message - From: "kmurrah" [EMAIL PROTECTED] To: "PHP-GENERAL" [EMAIL PROTECTED] Sent: Monday, April 16, 2001 3:15 PM Subject: [PHP] siimple cookie problem Can someone help me with an

Re: [PHP] siimple cookie problem

2001-04-16 Thread Chris Anderson
Also, try deleting the cookie: Setcookie("name") then setting it again. Some browsers all have cookie problems I've heard also. Have you hit refresh? - Original Message - From: "kmurrah" [EMAIL PROTECTED] To: "PHP-GENERAL" [EMAIL PROTECTED] Sent: Monday, April 16, 2001 3:15 PM Subject:

[PHP] What's XML's Purpose??

2001-04-14 Thread Chris Anderson
Alright I'll start this out by saying I have a subscription to "Visual Basic Programmers Journal". Before I converted and realized that I loved PHP so much I used ASP. Well it seems that in this magazine that XML is a hot topic in the MS world. I know XML can be used by PHP, but is there a

Re: [PHP] What's XML's Purpose??

2001-04-14 Thread Chris Anderson
Hi Chris, @ 12:01:45 AM on 4/14/2001, Chris Anderson wrote: Am I missing something here? This has been discussed many times. There was an extremely long thread last year about XML, but I can't find it in the archives. Here's a good start: http://marc.theaimsgroup.com/?l=php-genera

[PHP] Sorry :(

2001-04-14 Thread Chris Anderson
I realized that'll that I don't do much to help this community. I rarely reply to people's questions. Mainly because I have 56.6 and when I get mail people answered already. I also ask alot of questions. Just saying thanks for putting up with me. Chris, The 17 yr

Re: [PHP] Sorry :(

2001-04-14 Thread Chris Anderson
turday, April 14, 2001 7:47 PM Subject: Re: [PHP] Sorry :( Hi Chris, @ 3:51:02 PM on 4/14/2001, Chris Anderson wrote: I realized that'll that I don't do much to help this community. I rarely reply to people's questions. Mainly because I have 56.6 and when I get mail people answered already.

[PHP] I know POST Uploads, what about downloads?

2001-04-13 Thread Chris Anderson
I have a large script set that allows people I host to manage their files on my server until they have a FTP account setup. Unfortunately the only way they can save an uploaded file is to r-click on the link in the managers listing and choose "Save link target". This obviously doesn't work for

[PHP] peter.johansson@era.ericsson.se PLEASE UNSUBSCRIBE!!!

2001-04-13 Thread Chris Anderson
I am so tired of receivng multiple error emails when I post

[PHP] Do any of you provide hosting?

2001-04-12 Thread Chris Anderson
I currently am using Thehostpros.com for my hosting, but I can't say its been a pleasant experience. I had to have them install PHP because they are more ASP oriented. So that cost me more. Then I wanted MySQL and they have spent 3 months saying they'll install that. Basicly here's what I

[PHP] Newbie MySQL Table Work

2001-04-12 Thread Chris Anderson
Alright I finally got around to installing MySQL on my cpu, and I sucessfully created a database. Now I have a ryyy dumb question. In the manual I see no functions for creating tables in a database through code. Maybe I'm just missing the function. Can someone help me?

Re: [PHP] Easy News Script

2001-04-12 Thread Chris Anderson
I prefer to write my own - Original Message - From: "Zeus" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 12, 2001 10:11 AM Subject: [PHP] Easy News Script I'm sure many of you heard of newsphp ? (the newspro-clone). Somehow I felt attached to it except that it doesn't

Re: [PHP] Do any of you provide hosting?

2001-04-12 Thread Chris Anderson
ckly cover the costs for your own site. I am up to 27 virtual hosts on my account On 4/12/01 10:28 AM, "Matt McClanahan" [EMAIL PROTECTED] wrote: On Thu, Apr 12, 2001 at 10:34:26AM -0400, Chris Anderson wrote: Someone who can host my domain (I own the domain already) Can provide

[PHP] MySQL Results NULL Error

2001-04-12 Thread Chris Anderson
If I grab values from fields and they contain nothing, and I retrieve them using mysql_field_array, it will give an index out of range. Is there a way to prevent the error or do I have to keep putting a @ in front of the variable declaration?

Re: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___

2001-04-10 Thread Chris Anderson
/me counts to himself Yep 3 times, thats as bad as those people who sign up the lottery ads to this list - Original Message - From: "Jon Haworth" [EMAIL PROTECTED] To: "'Jeffrey Greer'" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, April 10, 2001 12:52 PM Subject: RE: [PHP] __ $8/mo

[PHP] Array Sort?

2001-04-09 Thread Chris Anderson
Currently I am using the sort() command to sort an array. Unfortunately it uses the ascii number so all words starting with uppercase are before lowercase. Is there a case insensitive alphabetical sort that I don't know of? Thanks in advance ^_^

Re: [PHP] Array Sort?

2001-04-09 Thread Chris Anderson
heh, sounds fun. Oh well Thanks - Original Message - From: "David Robley" [EMAIL PROTECTED] To: "Chris Anderson" [EMAIL PROTECTED]; "Chris Anderson" [EMAIL PROTECTED]; "PHP" [EMAIL PROTECTED] Sent: Monday, April 09, 2001 8:47 PM Subject: Re: [PHP]

[PHP] Wrapping Text

2001-04-07 Thread Chris Anderson
I've been having large problems with this so I decided to ask you guys(and gals ^_^). I have a textarea where you can type your text and it is saved to a file. Then another script includes that. Unfortunately I can't find a way for the textarea to wrap the text, or make it so it shows it they

[PHP] PHP Magazines?

2001-04-06 Thread Chris Anderson
Are there any PHP magazines stateside? I see all kinds of ASP mags, but none for PHP

[PHP] Directory(parent) Structure

2001-04-05 Thread Chris Anderson
I know using ../ in a path moves to the parent directory. But is there a way to move back farther then that?

Re: [PHP] How can I make this smaller

2001-04-05 Thread Chris Anderson
Cool, not my thread, but i never knew about the list function. /me needs to read up an arrays more i guess - Original Message - From: "Matt McClanahan" [EMAIL PROTECTED] To: "Richard Kurth" [EMAIL PROTECTED] Cc: "PHP" [EMAIL PROTECTED] Sent: Thursday, April 05, 2001 6:56 PM Subject: Re:

  1   2   >