[PHP] phpmyadmin is installed, now how to access it?

2001-10-28 Thread Chip
I just installed the FreeBSD port for PHPMyAdmin and was reading the docs on the php wizard site but cannot figure out how to actually access the interface. Is it through a particular port like webmin? Can some clue me in please? -- Chip W. -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] phpmyadmin is installed, now how to access it?

2001-10-28 Thread Jason Brooke
In your web browser like you would any other web interface on your machine jason - Original Message - From: Chip [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 28, 2001 4:39 PM Subject: [PHP] phpmyadmin is installed, now how to access it? I just installed the FreeBSD

[PHP] HELP: Still Learning

2001-10-28 Thread jtjohnston
Still learning! But need syntax help. This works: $myconnection = mysql_pconnect($host,MyAccount,MyPassword); ... $news = mysql_query(SHOW TABLE STATUS FROM MyAccount LIKE 'MyTable'); ... This does not: $MyAccount = MyAccount; $MyTable = MyTable;

[PHP] Toronto PHP user group active.

2001-10-28 Thread Dariush
Toronto PHP user group active. Welcoming all php developers with questions and answers. If we get enough people we will be setting up meetings but again based on how many people we can have. www.realsoftstudio.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Arrays

2001-10-28 Thread Christian Reiniger
On Friday 26 October 2001 10:17, Ashley M. Kirchner wrote: I'd like to create an array of available resources, and be able to check it every time. What I'd like to do is something like; $site = array( section1 = #, section2 = #, etc.. ) where section* is a STRING variable and #

Re: [PHP] Include Precompiled C binaries

2001-10-28 Thread Christian Reiniger
On Friday 26 October 2001 22:32, Daelic wrote: I was debating perl Vs. PHP with a friend, and he came up with this: Perl can include compiled C binaries without backprocessing them, which is a pretty useful trick. Ask him what he means with backprocessing -- Christian Reiniger LGDC

Re: [PHP] Re: Problem redirecting

2001-10-28 Thread Nikola Karovi
You have to put Header( "Location:http://www.mydomain.com/mypage.html"); on top of your php code - Original Message - From: Justin Garrett [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 28. listopad 2001 07:00 Subject: [PHP] Re: Problem redirecting From the manual: Remember that

Re: [PHP] HELP: Still Learning

2001-10-28 Thread Christian Reiniger
On Sunday 28 October 2001 07:18, jtjohnston wrote: Still learning! But need syntax help. This works: mysql_pconnect($host,MyAccount,MyPassword); ... This does not: mysql_pconnect($host,$MyTable,$MyPassword); Notice something? :) -- Christian Reiniger LGDC Webmaster

Re: [PHP] HELP: Still Learning

2001-10-28 Thread speedboy
Still learning! But need syntax help. This works: Notice something? :) Yep, you forgot to paste the error message into the email. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

Re: [PHP] HELP: Still Learning

2001-10-28 Thread Nikola Karoviæ
$host :) - Original Message - From: Christian Reiniger [EMAIL PROTECTED] To: jtjohnston [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: 28. listopad 2001 11:15 Subject: Re: [PHP] HELP: Still Learning On Sunday 28 October 2001 07:18, jtjohnston wrote: Still learning! But need syntax help.

php-general Digest 28 Oct 2001 11:52:35 -0000 Issue 961

2001-10-28 Thread php-general-digest-help
php-general Digest 28 Oct 2001 11:52:35 - Issue 961 Topics (messages 72595 through 72619): Re: I'm not username, log me out 72595 by: Matthew Loff Re: FTP or Telnet files/directories with PHP? 72596 by: CC Zona Re: Replace text 72597 by: DL Neil Re: command

Re: [PHP] Excel to MySQL

2001-10-28 Thread dav
I use to save my access data to a dbf file and then use the dbf2mysql (see www.mysql.com site). dbf2mysql will create proper tables and export data to the mysql really faster than odbc. Very easy. I have exported someting like 5.000.000 records into 8 differents tables in 4 hours (3 cdroms of

[PHP] Finding out document type for a stored file.

2001-10-28 Thread Alexis Antonakis
Hi all, I am trying to find out what the mime type is for files that are stored on my webserver, so I can convert the contents into a database. Basically, if it is in 'text/richtext' format I want to run one routine, if it's in 'application/msword' format another routine, and everything else

[PHP] How Do I Re-Compile PHP4

2001-10-28 Thread Jeff Gannaway
I've always had PHP set up on a shared server before. Now that I'm leasing a server that had it installed, I can change the configuration of it. I need to enable the FTP commands. I found the command in the FTP section of the PHP manual, but I'm not sure hwo to actually use it. I've tried

RE: [PHP] Toronto PHP user group active.

2001-10-28 Thread Mark Saunders
So is this a monthly thing like Lug meetings? If it is, then count me in! -Original Message- From: Dariush [mailto:[EMAIL PROTECTED]] Sent: Sunday, October 28, 2001 2:47 AM To: [EMAIL PROTECTED] Subject: [PHP] Toronto PHP user group active. Toronto PHP user group active. Welcoming all

Re: [PHP] how to recognize local or server execution?

2001-10-28 Thread DL Neil
John, Netscape! Differences between servers AND differences between browsers AND differences between in-browser and command-line operations! Isn't life fun? Like you I'm messing around with some of these differences as part of a bid to 'convert' an existing set of scripts from browser i/f to

Re: [PHP] How Do I Re-Compile PHP4

2001-10-28 Thread Andrew Brampton
I actually have never compiled or re-compiled PHP, but if you are so concerned about not crashing PHP, how about you set up a test server first, play with that for a while, and then once you are happy with the results apply them to the real server... If you don't have a spare machine to do this

[PHP] How do I prevent remote loading of jpegs from my site

2001-10-28 Thread rodrigo
Hello. I run a site that has lots of pictures (jpegs). It is pretty popular, but some visitors have gotten into the habit of going to forums and bulletin boards on other sites and making direct links (you know, img src=http...) of my pictures there. My hosting provider is going to charge me

Re: [PHP] How do I prevent remote loading of jpegs from my site

2001-10-28 Thread Duncan Hill
On Sun, 28 Oct 2001, rodrigo wrote: So, the question is, how do I prevent this remoting loading from happening. Go to the Apache site (assuming you use apache) and look at the rewriting and so on. You'll find your answer in there. -- Sapere aude My mind not only wanders, it sometimes

Re: [PHP] How do I prevent remote loading of jpegs from my site

2001-10-28 Thread Kurt Lieber
On Sunday 28 October 2001 10:26 am, you wrote: So, the question is, how do I prevent this remoting loading from happening. Well, since the users are linking directly to your image, then you can't use PHP commands to prevent it. (since that would requuire the user loading a PHP page that

Re: [PHP] How Do I Re-Compile PHP4

2001-10-28 Thread Mike Eheler
I'm not sure if you can add functionality using ./config.status, but inside that file is the command line you used to originally compile it, so what you can do is copy that ./configure line, then add your --enable-ftp, and go. Might wanna run make clean first (not distclean!) Mike Jeff

Re: [PHP] RE: overloading variables in child classes

2001-10-28 Thread Alain Dresse
Andrew, Thanks for your reply. There still is something I don't understand. I understand that my derived class inherits all the member variables and functions of the base class. I would expect however that upon redeclaring a variable in a derived class, the variable in the derived class shadows

Re: [PHP] How do I prevent remote loading of jpegs from my site

2001-10-28 Thread PHP Mail
With Apache this goes in the VirtualHost block. # Turn on the rewrite engine RewriteEngine on # The next line means ignore lines without a referrer RewriteCond %{HTTP_REFERER} !^$ # Then ignore lines that the referrer was any host at our_domain.com (the good guys). RewriteCond %{HTTP_REFERER}

[PHP] Preventing remote linking of files

2001-10-28 Thread rodrigo
Hello. I found this on the web after a couple of people who answered my original request pointed me to it. It is a document that tells you how to prevento people from inserting files directly from your site, stealing your bandwidth. I hope it is useful to you.

[PHP] Attaching a file to a form!

2001-10-28 Thread Ben Clumeck
I am trying to let a person attach a file to my form. Can anyone help? -- 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] Attaching a file to a form!

2001-10-28 Thread Olexandr Vynnychenko
Hello Ben, Sunday, October 28, 2001, 10:04:21 PM, you wrote: BC I am trying to let a person attach a file to my form. Can anyone help? Just read http://www.php.net/manual/en/features.file-upload.php. That's quite simple. -- Best regards, Olexandrmailto:[EMAIL

FW: [PHP] Trying to create a site-template system.. and..

2001-10-28 Thread Ryan Christensen
Just a refresher.. I never got any feedback on this, and would appreciate any input anyone has. Thanks! Ryan -Original Message- From: Ryan Christensen [mailto:[EMAIL PROTECTED]] Sent: Friday, October 26, 2001 6:03 PM To: [EMAIL PROTECTED] Subject: [PHP] Trying to create a

[PHP] help measuring time for img creating...

2001-10-28 Thread Christian Dechery
I have a script that generates quite a complex report... at this script I call several times another script that generates images (of course based on the main report script)... I'd like some ideas on how I can measure the WHOLE time it took the build the entire page... because the images are

Re: [PHP] Attaching a file to a form!

2001-10-28 Thread Mike Eheler
Don't forget to enctype yer form form enctype=multipart/form-data method=post action=?= $HTTP_SERVER_VARS['PHP_SELF'] ? ... /form Mike Olexandr Vynnychenko wrote: Hello Ben, Sunday, October 28, 2001, 10:04:21 PM, you wrote: BC I am trying to let a person attach a file to my form. Can

[PHP] HELP: Syntax Needed

2001-10-28 Thread jtjohnston
Jokes aside, I still don't get it. $host = localhost; $MyAccount = AccountName; $MyTable = Table1; $MyPassword = beep; This works: mysql_pconnect($host,AccountName,beep); $news = mysql_query(SHOW TABLE STATUS FROM AccountName LIKE 'Table1'); Why doesn;'t this?

[PHP] switch-statement overrides use of global arrays?

2001-10-28 Thread Imar de Vries
Hi all, a very frustrating problem. For some reason I am not able to pass on an array between two functions, although I declare it global in both of them. I suspect my use of a switch statement to control the flow of the functions is causing some trouble, but I'm not sure. Changing the order in

[PHP] Re: help measuring time for img creating...

2001-10-28 Thread Henrik Hansen
[EMAIL PROTECTED] (Christian Dechery) wrote: I have a script that generates quite a complex report... at this script I call several times another script that generates images (of course based on the main report script)... I'd like some ideas on how I can measure the WHOLE time it

Re: [PHP] switch-statement overrides use of global arrays?

2001-10-28 Thread Henrik Hudson
Hey- I would think you would need to define $array_test outside in a global environment rather then inside the function since I think/thought it will just stay scoped in there and that global was used to access variables which weren't defined inside a functions scope and make it look

Re: [PHP] switch-statement overrides use of global arrays?

2001-10-28 Thread Imar de Vries
Henrik Hudson wrote: I would think you would need to define $array_test outside in a global environment rather then inside the function since I think/thought it will just stay scoped in there and that global was used to access variables which weren't defined inside a functions scope and

[PHP] One last kick at the cat

2001-10-28 Thread jtjohnston
Sigh ... I have functions.inc in which I have Table_Title(). As soon as I put my database connection inside my function called Table_Title(), my database connection fails. (See second example below.) My database connection works fine whenever IT IS NOT inside function Table_Title(). (See first

Re: [PHP] switch-statement overrides use of global arrays?

2001-10-28 Thread Henrik Hudson
Well, the switch statement will only run ONE of the functions, never both. The default runs and then you break out of the switch, also: shouldn't default be at the bottom of the switch? or is that just convention? Anyways, there is no way for main() to ever pass anything to test_one(), since

Re: [PHP] One last kick at the cat

2001-10-28 Thread Henrik Hudson
Inside your function define: global $server; global $pass; global $user; etc It is using variables insides it's own scope and unless you have use GLOBAL_VARIABLES defined in your php.config file, it won't go outside of it's scope to look for values, hence they are getting asigned NULL and

Re: [PHP] One last kick at the cat

2001-10-28 Thread Kurt Lieber
On Sunday 28 October 2001 12:57 pm, you wrote: It seems that when I try to connect to my database inside function Table_Title(), my function cannot read the values of $server, $user, $pass, $db or $table ??? you need to declare the variables as global. See below and also see the manual to

Re: [PHP] Trying to create a site-template system.. and..

2001-10-28 Thread Moody
Try this: (see http://www.php.net/manual/en/ref.outcontrol.php for more info) My problem is.. that when I do something like - $content = show_source(/path/to/file); // or $content = Blah.. blah.. .include(/some/file)... some more blah..;

Re: [PHP] HELP: Syntax Needed

2001-10-28 Thread DL Neil
Jokes aside, I still don't get it. =the word it is part of the difficulty everyone faces in thinking about whether they could help or not - what it is, is not apparent 1 there is a problem with a mysql_pconnect() call, and 2 there is a problem with a mysql_query() call. Which one is it? =the

Re: [PHP] switch-statement overrides use of global arrays?

2001-10-28 Thread DL Neil
Imar, The global array is being defined in the mainline, but not populated. What happens if you set element 0 to some value (to take up some storage space first) and then try the switched function calls? When you say Alas, this also emptied the array each time I went from one function to

Re: [PHP] phpmyadmin is installed, now how to access it?

2001-10-28 Thread Chip
On Saturday 27 October 2001 23:47, Peter wrote: Very easy. After I expanded the PhpMyAdmin files in the appropriate directory, which is...? I installed it into /usr/local/apache/htdocs/phpMyAdmin/ is that okay? It doesn't want to work correctly. I just set the appropriate server name,

Re: [PHP] switch-statement overrides use of global arrays?

2001-10-28 Thread Imar de Vries
Dl Neil wrote: The global array is being defined in the mainline, but not populated. What happens if you set element 0 to some value (to take up some storage space first) and then try the switched function calls? This did not produce the desired result, unfortunately. The array is filled

Re: [PHP] One last kick at the cat

2001-10-28 Thread Imar de Vries
Henrik Hudson wrote: Inside your function define: global $server; global $pass; global $user; etc It is using variables insides it's own scope and unless you have use GLOBAL_VARIABLES defined in your php.config file, it won't go outside of it's scope to look for values, hence they

[PHP] php.ini executable

2001-10-28 Thread jtjohnston
Has anyone made a Windows executable to configure the php.ini? ... just asking, before I find myself doing it myself. -- 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

[PHP] RE: It's ok

2001-10-28 Thread jdg117
Unsecured Visa or Mastercard with credit line up to $1000, Guaranteed! GO HERE! -- http://creditcardnow.com0to=4u=6@1089728774/-ci58MM4/ ::: To be removed please write, ::: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Create images jpeg

2001-10-28 Thread Luz Lopez
Hi All I have installed package GD, I am creating images with imagejpeg, but when I load the browser a messager error appear: ImageJpeg: No JPG support in this PHP build in I read the GD readme and say: gd 1.8.3 creates PNG, JPEG and WBMP images, not GIF images. This is a good

Re: [PHP] Breaking a string

2001-10-28 Thread David Robley
On Fri, 26 Oct 2001 22:36, Dan McCullough wrote: I was looking to take a string like Dan or Dan is great and return it like D a n or D a n i s g r e a t is it the str function that does that and if so does someone have an example? thanks You can dealt with the string as

Re: [PHP] Create images jpeg

2001-10-28 Thread speedboy
ImageJpeg: No JPG support in this PHP build in No jpeg support. Isn't it obvious? Recompile php --with-jpeg-dir=/usr/local For more information: http://database.sourceforge.net/documentation/installing_apache_with_gd_zlib_png_jpg_tiff_pdf_support.html -- PHP General Mailing List

Re: [PHP] phpmyadmin is installed, now how to access it?

2001-10-28 Thread Moody
I see all the files are name php3 rather than php. When I access the index.php3 of course it my browser doesn't know what to do so it asks if I want to download it. Sounds like you need to add .php3 to your AddType directive in the httpd.conf file i.e.the line in httpd.conf that says:

[PHP] SSI

2001-10-28 Thread Gary
How do you get a SSI to work on a php page? TIA Gary -- 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] Breaking a string

2001-10-28 Thread speedboy
I was looking to take a string like Dan or Dan is great and return it like D a n... http://www.php.net/manual/en/function.wordwrap.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] php-mysql question

2001-10-28 Thread David Robley
On Fri, 26 Oct 2001 23:27, Gerard Onorato wrote: Hello, I am a recent return to the list. Wow has the traffic grown! This is awesome. I have a couple of questions and one may be a RTFM but I can't find the answer. #1) While I thought I was extremely familiar with the MYSQL functions

Re: [PHP] sending email to php script

2001-10-28 Thread David Robley
On Sat, 27 Oct 2001 03:23, JSheble wrote: A while ago an email came through here about how to parse out email message from a php script. The thing that was mostly of interest to me is the ability to send an email to a php script, I guess through a sendmail alias? I asked how to accomplish

Re: [PHP] SMTP

2001-10-28 Thread David Robley
On Sat, 27 Oct 2001 18:51, Lucas Chan wrote: Hi, I have PHP running on my Debian (unstable distribution) box. I'm trying to generate an email via the mail() function. It keeps failing because I do not have a properly installed/configured SMTP daemon on my machine. This is despite the

Re: [PHP] SMTP

2001-10-28 Thread Lucas Chan
The *nix version of php expects to find a functional mail transport agent on the local host Hrm. Yeah. I think that's kind've umm, I dunno silly. Regards, [ lucas ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP] SSI

2001-10-28 Thread Christian Dechery
At 19:04 28/10/01 -0500, Gary wrote: How do you get a SSI to work on a php page? you don't need SSI if you're running PHP... just use include()... _ . Christian Dechery . . Gaita-L Owner / Web Developer . . http://www.webstyle.com.br . . http://www.tanamesa.com.br

Re: [PHP] SSI

2001-10-28 Thread Gary
Yes I do, it is to run a pre-exiting program. I figured it out. I was uing double quotes in the ssi and excaping them when echoing. I should of been using single quotes. Thanks Gary Christian Dechery wrote: At 19:04 28/10/01 -0500, Gary wrote: How do you get a SSI to work on a php page?

[PHP] How to determine a valid Date

2001-10-28 Thread Carlos Fernando Scheidecker Antunes
Hello all, Is there any built-in function to determine a valid date? If there's not I will have to translate one that I've wrote with DrScheme to PHP. I just want to save time :) thanks again, Carlos Fernando. Linux User #207984

[PHP] feature sugestion

2001-10-28 Thread Ray Todd Stevens
A lot of visually based editors support embeded java scripts. This can easily be used to make the system support php with one problem. Most of these system use the concept that these scripts ignore html comments to help them ignore the code. How about making the php engine ignore these to.

[PHP] Problem appending data in a file with fopen(ftp://...,a)

2001-10-28 Thread Dave Létourneau
I am able to create the file when it is not already there but I got a file exists error when I try to fopen it in append mode the second time. I wrote this to store a log of the traffic on my site (userid in a cookie+timestamp) in a file. Don't know if i'm using the good technique but it's very

[PHP] now I can compile

2001-10-28 Thread Ray Todd Stevens
I asked for help because I could not compile php 4. I now have this working thanks to several nifty helpers. Thr problem was that in the src directory there is a directory for each version of linux, and then a symlink called linux to the version that is currently running. This symlink had

Re: [PHP] Problem appending data in a file with fopen(ftp://...,a)

2001-10-28 Thread Kurt Lieber
On Sunday 28 October 2001 06:41 pm, you wrote: Is it possible to solve this problem or it's a feature in PHP? If I understand your problem, you are trying to open the same file twice. I'm not sure why you would want to do that, but assuming you have a good reason, you need to make sure you

[PHP] Attention Die-Hard SEC Fans!

2001-10-28 Thread cdubbayou
Dear [EMAIL PROTECTED], Are You A Crazed SEC Football or Sports Fan? If you are, then go to: http://www.sectraditions.com to find out about the most comprehensive books on SEC sports ever written. A Tailgater's Guide To SEC Football and SEC Baseball History Tradition by sports writer Chris

Re: [PHP] feature sugestion

2001-10-28 Thread Kurt Lieber
On Sunday 28 October 2001 06:10 pm, Ray Todd Stevens wrote: How about making the php engine ignore these to.  That is any string like !-- or //-- is treated as white space. Um...maybe I don't understand your statement but php already has commenting built in. Anything between /* and */ is

Re: [PHP] Problem appending data in a file with fopen(ftp://...,a)

2001-10-28 Thread Dave Létourneau
I only fopen my file once... My program checks if there is a specific session cookie. If not (it's a new user that browse the site) I set a cookie and try to store the unique ID of this user (other cookie) in a file with a timestamp to track which user came and when (+ nb of times...). That's

Re: [PHP] phpmyadmin is installed, now how to access it?

2001-10-28 Thread Chip
On Sunday 28 October 2001 15:52, Moody wrote: I see all the files are name php3 rather than php. When I access the index.php3 of course it my browser doesn't know what to do so it asks if I want to download it. Sounds like you need to add .php3 to your AddType directive in the httpd.conf

[PHP] Re: How to determine a valid Date

2001-10-28 Thread Julio Nobrega
checkdate(); http://www.php.net/manual/en/function.checkdate.php -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Carlos Fernando Scheidecker Antunes [EMAIL PROTECTED] wrote in message

Re: [PHP] How to determine a valid Date

2001-10-28 Thread David Robley
On Mon, 29 Oct 2001 11:21, Carlos Fernando Scheidecker Antunes wrote: Hello all, Is there any built-in function to determine a valid date? If there's not I will have to translate one that I've wrote with DrScheme to PHP. I just want to save time :) Quicker to ask online than look in the

Re: [PHP] Problem appending data in a file with fopen(ftp://...,a)

2001-10-28 Thread David Robley
On Mon, 29 Oct 2001 13:59, Dave Létourneau wrote: I only fopen my file once... My program checks if there is a specific session cookie. If not (it's a new user that browse the site) I set a cookie and try to store the unique ID of this user (other cookie) in a file with a timestamp to

Re: [PHP] Problem appending data in a file with fopen(ftp://...,a)

2001-10-28 Thread Kurt Lieber
On Sunday 28 October 2001 07:29 pm, you wrote: I only fopen my file once... My program checks if there is a specific session cookie. If not (it's a new user that browse the site) I set a cookie and try to store the unique ID of this user (other cookie) in a file with a timestamp to track

[PHP] MySQL command log

2001-10-28 Thread Richard Baskett
I've done it before, but I cant remember how to view the commands that have been sent to MySQL. I normally try not to ask MySQL questions here even though it's pretty much a standard with PHP :) But I have exhausted myself in researching the problem and I hope one of you might have the answer.

Re: [PHP] MySQL command log

2001-10-28 Thread David Robley
On Mon, 29 Oct 2001 14:59, Richard Baskett wrote: I've done it before, but I cant remember how to view the commands that have been sent to MySQL. I normally try not to ask MySQL questions here even though it's pretty much a standard with PHP :) But I have exhausted myself in researching the

[PHP] Array's

2001-10-28 Thread De Necker Henri
Please help! Im have been trying to get a multi-dimentional array for so time now and dont seems to get a right! I have the following : while($row=db_range()){ list($co_id,$surname,$init,$ba) = $row; $acid[$i] = array($a=array($co_id),

[PHP] Re: Array's

2001-10-28 Thread _lallous
$b=array($surname,$init), // does it work like it does work like that, but you're creating an array of one item which is a string holding to values comma seperated. you can do this too: $b=array($surname,$init), // does it work like w/o the

[PHP] Re: php.ini executable

2001-10-28 Thread _lallous
go for it...even if someone did a visual tool for that. my question goes, has anyone made a *nix program to configure php.ini ? ;) before i Jtjohnston [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Has anyone made a Windows executable to configure the

[PHP] Re: Random

2001-10-28 Thread _lallous
$ceiling is too big. try to do this and see: echo getrandmax(); you might get 32767 as an output! therefore, $ceiling must be = getrandmax(); try to scale down your floor and ceiling, ie: $max = $ceiling - $floor; $random = rand(0, $max) + $floor; Andrew Duck [EMAIL PROTECTED] wrote in

[PHP] RE: Array

2001-10-28 Thread De Necker Henri
Now i did the following : My output is only null or blank values!,but my data is there! while($row=db_range()){ list($co_id,$surname,$init,$ba) = $row; echo $co_id $surnamebr; # This works perfect! $values[$i]['id'] = $co_id; $values[$i]['surname'] = $surname;

[PHP] Re: Array

2001-10-28 Thread _lallous
$values[$i]['id'] = $co_id; you didn't initialize the $i did you? should put $i =0; before the while loop. echo $idbr ; # Doesnt wanna work what is $id ? i don't see it defined in your code, i see $cid instead. list($a,$b,$c,$d) = $values[$i]; sure won't work,

[PHP] POSTing values to file

2001-10-28 Thread Michiel van Heusden
anybody help me please... how can I open a file from php (something like require, but without closing the php-file) and then send some string to that file with POST is thispossible?/? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Re: POSTing values to file

2001-10-28 Thread _lallous
see http://www.php.net/fopen Michiel Van Heusden [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... anybody help me please... how can I open a file from php (something like require, but without closing the php-file) and then send some string to that file with