Re: [PHP] 3dim Array problem ** SOLVED **

2002-04-20 Thread heinisch
I was too tired, but a coffee and a c* and everything woks fine :) Just forgot to init the array correctly ! At 19.04.2002 15:24, you wrote: Hi Folks, I have a problem assigning an 3dim array, maybe I´m to tired today to see the mistake, but PHP thinks, that it finds Illegal string index at the

Re: [PHP] Australian *nix Hosts?

2002-04-20 Thread The_RadiX
Thanks a heap guys and Justin for your support.. Yeah I am heavily interested in www.powweb.com anybody know if they're any good?? They have really 1337 service it seems and give me 12GB p/m and 200mb for only USD$7.77 ... w00t.. w00t! Anybody here use them? any exp. with them?? Thanks a

RE: [PHP] Attachments

2002-04-20 Thread Jason Soza
Sorry for the thread thing, I wasn't aware I was causing probs. I usually just use Reply to save having to enter the e-mail address, just laziness. I'll keep from doing in this in the future, thanks for letting me know. I'm using 'POST' in my forms - any other ideas or places I could check?

php-general Digest 20 Apr 2002 10:20:54 -0000 Issue 1297

2002-04-20 Thread php-general-digest-help
php-general Digest 20 Apr 2002 10:20:54 - Issue 1297 Topics (messages 93756 through 93797): Re: Image functions 93756 by: Matthew Gray header redirection 93757 by: Norman Zhang 93758 by: Kevin Stone 93792 by: Jason Wong Leading zeros in array index

[PHP] Simple IF question

2002-04-20 Thread Denis L. Menezes
Hello friends, I have a registration form with a salutation field in a listbox, in which I want that the registrant must choose a value other than the default value of please select. So I wrote : If ((!$salutation=Please select) Print (Sorry, please select a value in the salutation box);

Re: [PHP] Simple IF question

2002-04-20 Thread Tom Rogers
Hi You need to use the double = in the if condition like If ((!$salutation==Please select) Print (Sorry, please select a value in the salutation box); Tom At 08:17 PM 20/04/2002, Denis L. Menezes wrote: Hello friends, I have a registration form with a salutation field in a listbox, in

Re: [PHP] Simple IF question

2002-04-20 Thread Tom Rogers
Hi again You can also write it as: If (($salutation != Please select) Print (Sorry, please select a value in the salutation box); Tom At 08:29 PM 20/04/2002, Tom Rogers wrote: Hi You need to use the double = in the if condition like If ((!$salutation==Please select) Print (Sorry,

[PHP] CMS -- central module handling

2002-04-20 Thread Lauri Vain
Hello there, I'm seriously researching some aspects of writing a content management system that would be 'relatively' easy to extend. My biggest problem is the ground level -- how should the central system (that registers modules) work? Ideally, it should be possible to easily extended the

Re: [PHP] redirect browser

2002-04-20 Thread Joe
may be my message are hazy. the line = is not include in my php code/page, i just use it in this message as to divide into different section. Joe Jason Wong [EMAIL PROTECTED] ???:[EMAIL PROTECTED] On Saturday 20 April 2002 09:26, Joe wrote: =

Re: [PHP] redirect browser

2002-04-20 Thread Jason Wong
On Saturday 20 April 2002 18:49, Joe wrote: may be my message are hazy. the line = is not include in my php code/page, i just use it in this message as to divide into different section. Whatever, the answer is still the same: You cannot have anything between the beginning

Re: [PHP] Attachments

2002-04-20 Thread Jason Wong
On Saturday 20 April 2002 18:25, Jason Soza wrote: Sorry for the thread thing, I wasn't aware I was causing probs. I usually just use Reply to save having to enter the e-mail address, just laziness. I'll keep from doing in this in the future, thanks for letting me know. Thanks, you'll annoy

Re: [PHP] Simple IF question

2002-04-20 Thread Jason Wong
On Saturday 20 April 2002 18:35, Tom Rogers wrote: Hi again You can also write it as: If (($salutation != Please select) Print (Sorry, please select a value in the salutation box); Tom Also the logic seems to be wrong, shouldn't it be: if (($salutation == Please select) { print

[PHP] Re: [PHP-DB] Re: [PHP] Re: Cross DB application

2002-04-20 Thread Richard Ellerbrock
On Thu, 18 Apr 2002 16:05:13 +0200, Manuel Lemos wrote: Hello, Sp wrote: Hi Manuel, I still don't see a problem in others telling their experiences with certain packages. If someone has just used metabase or has just used adodb then I would like to hear how easy/hard it was to port to

Re: [PHP] redirect browser

2002-04-20 Thread eat pasta type fasta
make sure that this script is not insterted into an html document but it's a stand alone page eg. checkstudent.php. When the student submits their number your form should bring them here (form action=checkstudent.php method=post) and the page will do its job. Make sure however that there is

[PHP] Learning PHP

2002-04-20 Thread Victor Javier Martinez Lopez
I'm started with PHP and I'm interested in find any place with some docs and example code. Can anyone help me? Thanks in advance.

Re: [PHP] Learning PHP

2002-04-20 Thread eat pasta type fasta
I started here it was pretty good, then ofcourse I bought a thick ass book: http://www.mysql.com/articles/ddws/index.html R I'm started with PHP and I'm interested in find any place with some docs and example code. Can anyone help me? Thanks in advance.

[PHP] $HTTP_*_VARS ?

2002-04-20 Thread Tobias Lindqvist
Hi there. Hoe come I cant use $HTTP_*_VARS in my script ? I have register_globals on, track vars is also on and i have made the necessary changes in my apache config ( the ALLOWOVERRIDE ALL ). My system is Win XP, Apache ( newest ) and newest PHP release. Thanks. -- PHP General Mailing List

[PHP] Re: .phps

2002-04-20 Thread Yasuo Ohgaki
Mantas Kriauciunas wrote: Hey [EMAIL PROTECTED], as i understand files .phps should view code nice and in colors... but when i set up everything good in http.conf and (as i think) everything is perfect it wants me to download that .phps file...what can be wrong? im using PHPTriad

Re: [PHP] Learning PHP

2002-04-20 Thread Tyler Longren
I suggest you buy a book called PHP Essentials by Julie C. Meloni. That's a great book for php beginners. It comes with a bunch of example code. It's really well written. Tyler Longren Captain Jack Communications www.captainjack.com [EMAIL PROTECTED] - Original Message - From: Victor

Re: [PHP] Simple IF question

2002-04-20 Thread Denis L. Menezes
Hello Jason. You are right, but it still does not work. Could it be a trim word problem? Thanks Denis - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, April 20, 2002 7:34 PM Subject: Re: [PHP] Simple IF question On Saturday 20 April 2002

Re: [PHP] Simple IF question

2002-04-20 Thread Denis L. Menezes
Thanks Gentlemen. After many experiments, I found the answer. It should be = = and not =. thanks for all yr help. Denis - Original Message - From: Miguel Cruz [EMAIL PROTECTED] To: Denis L. Menezes [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, April 21, 2002 12:10 AM Subject:

[PHP] Re: .phps

2002-04-20 Thread phplists
If your browser is trying to download the file it's because the web server isn't configured to recognize the file type. In your httpd.conf file you should have a line similar to the following: AddType application/x-httpd-php .php .php3 .phtml In order to do what you are wanting, you also need a

RE: [PHP] Learning PHP

2002-04-20 Thread Boaz Yahav
http://www.weberdev.com Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message- From: Victor Javier Martinez Lopez [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 20, 2002 3:41 PM To: [EMAIL PROTECTED] Subject:

Re: [PHP] PHP @ 24-hour programming competition

2002-04-20 Thread Dennis Moore
This sounds interesting... I am not familiar enought with PHP-GTK to give an informed opinion. I think your decision should be based on how familiar with the tools you take into the contest.Since you are not face with a lot of time, will your competition be using Visual IDEs to aid the rapid

RE: [PHP] Variable Inside Variable

2002-04-20 Thread Jeff Oien
On Fri, 19 Apr 2002, Jeff Oien wrote: Far better would be to put a placeholder in $body like and then just do $body = ereg_replace('', $url, $body); That's giving me a blank also. The form for changing the email is in a password protected area where only two people are allowed. But

[PHP] Checking database for a value

2002-04-20 Thread Denis L. Menezes
hello friends, I am looking into 4 books in front of me but somehow cannot find the following : I have a field userid which the user fills in at registration. Before entering the data into the database, I want to check if the userid exists in the database. Can someone tell me the name of the

[PHP] $PHP_SELF empty when using Xitami Web Server

2002-04-20 Thread Ben Edwards
The variable $PHP_SELF seems to be blank, I am using PHP 4.1.2 and Xitami 2.4d9 which are both the latest version. Has anyone else had this problem and do they know how to fix it? Ben * Ben Edwards

Re: [PHP] Simple IF question

2002-04-20 Thread Jason Wong
On Sunday 21 April 2002 00:27, Denis L. Menezes wrote: Thanks Gentlemen. After many experiments, I found the answer. It should be = = and not =. Surely you mean ==, which more than one person has already pointed out? -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source

Re: [PHP] $PHP_SELF empty when using Xitami Web Server

2002-04-20 Thread Jason Wong
On Sunday 21 April 2002 00:51, Ben Edwards wrote: The variable $PHP_SELF seems to be blank, I am using PHP 4.1.2 and Xitami 2.4d9 which are both the latest version. Has anyone else had this problem and do they know how to fix it? use: print_r($GLOBALS) to verify. -- Jason Wong -

Re: [PHP] Checking database for a value

2002-04-20 Thread Intruder
DLM I have a field userid which the user fills in at registration. Before DLM entering the data into the database, I want to check if the userid exists in DLM the database. You have to SELECT that user from the table you store your users: SELECT userid, name , etc FROM table WHERE

Re: [PHP] Checking database for a value

2002-04-20 Thread Miguel Cruz
On Sun, 21 Apr 2002, Denis L. Menezes wrote: I am looking into 4 books in front of me but somehow cannot find the following : I have a field userid which the user fills in at registration. Before entering the data into the database, I want to check if the userid exists in the database.

Re: [PHP] Simple IF question

2002-04-20 Thread Denis L. Menezes
Yes Jason, You are right. However, I missed the == in my over-enthusiasm. Thanks and sorry. Denis - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, April 21, 2002 1:06 AM Subject: Re: [PHP] Simple IF question On Sunday 21 April 2002 00:27,

Re: [PHP] Checking database for a value

2002-04-20 Thread Jason Wong
On Sunday 21 April 2002 00:55, Denis L. Menezes wrote: hello friends, I am looking into 4 books in front of me but somehow cannot find the following : I have a field userid which the user fills in at registration. Before entering the data into the database, I want to check if the userid

Re: [PHP] Checking database for a value

2002-04-20 Thread Jason Wong
On Sunday 21 April 2002 01:10, Jason Wong wrote: On Sunday 21 April 2002 00:55, Denis L. Menezes wrote: hello friends, I am looking into 4 books in front of me but somehow cannot find the following : I have a field userid which the user fills in at registration. Before entering the

[PHP] Strange need - Repeater appliation

2002-04-20 Thread Peter Janett
I need to create a simple app that works like a radio repeater, in that is simply passes information it receives through to another script, in both directions. In other words, a remote application located at www.domain.com/app.php accepts variable1, variable2, and variable3, and returns a

[PHP] debugger

2002-04-20 Thread Evan
Hi to all!!! Can anyone tell me how to debug in PHP? When I use ASP simply I write stop (VB) or debugger (JSCRIPT) to set a breakpoint and open the Microsoft Script Debugger. With PHP I can't find a way to do a similar thing. I downloaded the DBG PHP debugger but I don't understand how to use it

[PHP] Re: CMS -- central module handling

2002-04-20 Thread Julio Nobrega
Hi! I have tried to make a complete modular php cms system. The hardest part was not selecting which modules to load, but their presentation. I don't know if what I did was good enough, i.e: the best implementatin, but somewhat was working. What I did was basically query a Mysql table,

[PHP] test

2002-04-20 Thread Matthew Tapia
123456 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] how to avoid executing whole script

2002-04-20 Thread Pushkar Pradhan
Hi, I'm new to php, I want to do the foll: in my code: display an array of names to the user, up, down, top and bottom buttons are provided so that the user can change the order of the names (e.g. if original array: a, b, c, d, e and user selects e and presses top array should become e, a, b.

[PHP] WAP

2002-04-20 Thread Georgie Casey
How do I configure my Win98 Apache/MySQL/PHP test server to be able to show me WAP pages. I followed a tutorial on PHPBuilder but when I test pages with my WAP emulator, it returns a empty page error. Does anyone know any other web links for configuring to WAP, especially for WIN32 -- PHP

[PHP] mail() + attachement

2002-04-20 Thread Wolf-Dietrich von Loeffelholz
Is it possible to send with mail an attachment .. if yes, how ??? Greetings wolf -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: CMS -- central module handling

2002-04-20 Thread michael kimsal
Lauri Vain wrote: Hello there, Hello I'm seriously researching some aspects of writing a content management system that would be 'relatively' easy to extend. My biggest problem is the ground level -- how should the central system (that registers modules) work? Ideally, it should be

[PHP] $PHP_AUTH_USER

2002-04-20 Thread Alec M.
Hello, I have trouble unseting the values of $PHP_AUTH_USER and $PHP_AUTH_PW. I use the WWW-Authenticate via header() to authorize the user when accessing the page. But when the user logs out, values in $PHP_AUTH_USER and PW seem to remain and the user isn't asked again to authorize till a new

RE: [PHP] $PHP_AUTH_USER

2002-04-20 Thread Craig Vincent
I have trouble unseting the values of $PHP_AUTH_USER and $PHP_AUTH_PW. I use the WWW-Authenticate via header() to authorize the user when accessing the page. But when the user logs out, values in $PHP_AUTH_USER and PW seem to remain and the user isn't asked again to authorize till a new

RE: [PHP] Re: [PHP-DB] Re: [PHP] Re: Cross DB application

2002-04-20 Thread SP
Thanks Richard, just starting out but keeping portability in the back of my mind. I've been keeping the sql statements standard and doing everything through php so I don't get caught when moving to another database. -Original Message- From: Richard Ellerbrock [mailto:[EMAIL

Re: [PHP] how to avoid executing whole script

2002-04-20 Thread heinisch
At 20.04.2002 15:06, you wrote: Hi, I'm new to php, I want to do the foll: in my code: display an array of names to the user, up, down, top and bottom buttons are provided so that the user can change the order of the names (e.g. if original array: a, b, c, d, e and user selects e and presses

Re: [PHP] debugger

2002-04-20 Thread heinisch
At 20.04.2002 21:15, you wrote: Hi to all!!! Can anyone tell me how to debug in PHP? When I use ASP simply I write stop (VB) or debugger (JSCRIPT) to set a breakpoint and open the Microsoft Script Debugger. With PHP I can't find a way to do a similar thing. I downloaded the DBG PHP debugger but

Re: [PHP] mail() + attachement

2002-04-20 Thread heinisch
At 20.04.2002 22:44, you wrote: Is it possible to send with mail an attachment .. if yes, how ??? Greetings wolf Hi Wolf, just ask google, or the archives there are a few classes and functions which will do what you want. If you like OOP you will find certains under http://www.phpclasses.org

[PHP] Comments Display, with replies

2002-04-20 Thread Julio Nobrega
Hi list! I have maybe an easy to solve problem, but I haven't come with a logical way to do it. I am builing a discussion site (a la Kuro5hin.org), and there's a sql query to retrieve comments attached to an article. It grabs their titles, along with some more informatio. What I want is to

RE: [PHP] Attachments

2002-04-20 Thread Jason Soza
They actually vary as to where they become truncated - some are at 633 bytes, some are at 1kb. The odd thing is that the PHP script I'm using to process the form actually pics up the correct filesize, it reports it to me under a $filesize variable I've setup. It'll report, say file2_filesize...:

Re: [PHP] Strange need - Repeater appliation

2002-04-20 Thread Miguel Cruz
You may find it easier to use purpose-built tools such as Squid or Apache's mod_proxy. http://www.squid-cache.org/ http://httpd.apache.org/docs/mod/mod_proxy.html miguel On Sat, 20 Apr 2002, Peter Janett wrote: I need to create a simple app that works like a radio repeater, in that is

php-general Digest 20 Apr 2002 22:29:18 -0000 Issue 1298

2002-04-20 Thread php-general-digest-help
php-general Digest 20 Apr 2002 22:29:18 - Issue 1298 Topics (messages 93798 through 93845): Simple IF question 93798 by: Denis L. Menezes 93799 by: Tom Rogers 93800 by: Tom Rogers 93805 by: Jason Wong 93813 by: Denis L. Menezes 93814 by:

[PHP] Re: [PHP-DB] Re: [PHP] Re: Cross DB application

2002-04-20 Thread Manuel Lemos
Hello, Richard Ellerbrock wrote: If you want to hear experiences of people that tried Metabase, try asking in Metabase mailing list ( http://groups.yahoo.com/group/metabase-dev/ ) or BinaryCloud mailing lists ( http://binarycloud.tigris.org/servlets/ProjectMailingListList ). I think

[PHP] Re: debugger

2002-04-20 Thread Evan
I need PHP because I made a site for my course at university and they use only Linux so I learned PHP. Seems that you´re lucky with M$ and their ek$pen$ive environments. Zend Studio 2.0 == 195$ NusPhere == 299$ I used PHP Edit but if I need to test a script that get values from POST or GET

Re: [PHP] Comments Display, with replies

2002-04-20 Thread Miguel Cruz
On Sat, 20 Apr 2002, Julio Nobrega wrote: I have maybe an easy to solve problem, but I haven't come with a logical way to do it. I am builing a discussion site (a la Kuro5hin.org), and there's a sql query to retrieve comments attached to an article. It grabs their titles, along with some more

[PHP] variables

2002-04-20 Thread Jule Slootbeek
Hey guys, i have this script that changes pages in a table with the include() command, but i ran into trouble when i tried to change the pages by linking to index.php?left=theband because it would feed it to the index.php, but index.php would just change left back to news which is the default,

[PHP] Re: Comments Display, with replies

2002-04-20 Thread Rene Visser
[EMAIL PROTECTED] wrote: Hi list! I have maybe an easy to solve problem, but I haven't come with a logical way to do it. I am builing a discussion site (a la Kuro5hin.org), and there's a sql query to retrieve comments attached to an article. It grabs their titles, along with some more

[PHP] I would like to get a script to display in a frame

2002-04-20 Thread Jeffrey D. Means
Does anyone have any experience with making script output display in a frame?? I would like to get this to happen on an e-commerce site I am designing and am stuck. I have tried form method=POST action=myscript.php target=main with no success. Please help. Jeff Means CIO for PicoTech

[PHP] grab a number

2002-04-20 Thread Craig Westerman
I get the following report from Analog. Daily Report (Go To: Top: Monthly Report: Daily Report: Request Report) This report lists the activity in each day. Each unit () represents 3,000 requests for pages or part thereof. date: reqs: pages: -: ---: ---: 10/Mar/02:

[PHP] Ming and/or libswf

2002-04-20 Thread Richard Lynch
Please Cc: me as well... I'm having the devil of a time getting Ming and/or libswf to do a Bitmap... Short version: What's the most stable PHP+Ming version-compatible combo I can achieve? I don't care about anything else for this build, not even MySQL, just PHP + Ming. Or libswf, if it's

Re: [PHP] Ming and/or libswf

2002-04-20 Thread Rasmus Lerdorf
To prove that it works. My infamous spinning logo example that everyone has seen 10 times... http://conf.php.net/pres/slides/intro/flash_ming.php The phpinfo() with the configure flags are here: http://conf.php.net/info.php libswf is compiled in directly and ming.so is built externally and

[PHP] Better standards in PHP-coding

2002-04-20 Thread Frank
The nice thing about standards is that there are so many to choose between. Subject: Uses of block markers in coding GNU recommends a standard with block-markers aligned under each other and a number of people - including myself - find it senseless and counter-progressive to keep up an older

Re: [PHP] who added the damn slashes?

2002-04-20 Thread Justin French
I believe the php.ini file has magic_quote_runtime (or simular) enabled. Not much you can do unless you have control of the server (ie, you are the admin). You have everything in an array, so it's quite easy to stripslashes() on the whole array... it'd be a lot harder with individual vars.

RE: [PHP] Better standards in PHP-coding

2002-04-20 Thread Mark Charette
Hehehe. And I thought the OTBSW (One True Brace Style Wars) had passed into memory back some 10 or 15 years ago! Lo! They resurface yet again! 30 years in this business and still I hear them argue. Perhaps a cb style program for PHP so people can write any blasted style they feel like and then

Re: [PHP] Registration Form

2002-04-20 Thread Justin French
The browser's back button is NOT reliable, and JavaScript's 'back' is the same thing... If you are carrying values forward to the next page with a hidden field, my recommendation would be to store each page's vars is a way which is easy to work with, and instead of the browser's back button,

Re: [PHP] variables

2002-04-20 Thread Justin Blake
Jule Slootbeek wrote: Hey guys, i have this script that changes pages in a table with the include() command, but i ran into trouble when i tried to change the pages by linking to index.php?left=theband because it would feed it to the index.php, but index.php would just change left back to

[PHP] Re: Better standards in PHP-coding

2002-04-20 Thread michael kimsal
Frank wrote: snip For starters, just because GNU says something is what should be done doesn't mean it's the right way. They don't believe software should be licensed in particular ways, and I happen to believe it's up to the developer(s) of a package to decide that. Second, *HOW MANY* PHP

Re: [PHP] Better standards in PHP-coding

2002-04-20 Thread michael kimsal
Mark Charette wrote: Hehehe. And I thought the OTBSW (One True Brace Style Wars) had passed into memory back some 10 or 15 years ago! Lo! They resurface yet again! 30 years in this business and still I hear them argue. Perhaps a cb style program for PHP so people can write any blasted style

[PHP] Better standards in PHP-coding

2002-04-20 Thread The_RadiX
I don't know who you are Frank.. But I understand and support you entirely.. I could write my own 1500 word post like you.. But you've covered it all I always see the { } pair used when there is only one statement, and also this weird if(expression) { statement } else {

[PHP] Better standards in PHP-coding

2002-04-20 Thread The_RadiX
Hmm sorry all yes it seems I misread some crucial parts myself.. That whole if(exp) { statement that's a load.. if you want a one-liner conditional statement do: if(exp) statement; and that's it. yes also michael you are right.. I use the: if(exp) { blah blah } else { blah blah

[PHP] Better standards in PHP-coding

2002-04-20 Thread The_RadiX
Sorry double posting.. Yes.. that's right Michael.. Both styles are correct and are parsed exactly the same.. They obviously both are part of the specifications of the PHP interpretor and structure OTHERWISE they wouldn't work would they? :P And yes, it's to do with what is more

Re: [PHP] Ming and/or libswf

2002-04-20 Thread Richard Lynch
To prove that it works. My infamous spinning logo example that everyone has seen 10 times... http://conf.php.net/pres/slides/intro/flash_ming.php The phpinfo() with the configure flags are here: http://conf.php.net/info.php libswf is compiled in directly and ming.so is built externally and

RE: [PHP] grab a number

2002-04-20 Thread Maxim Maletsky
Try by doing something like: $line = explode(\n, $text); for($l=0; $lsizeof($line); $l++) { $data = explode(\t, $line[$l]); // was the TAB delimiter for($d=0; $dsizeof($data); $d++) { // see if you can avoid sizeof if($data[0] ==