Re: [PHP] mkdir and rmdir possible but not readdir and opendir???

2004-02-28 Thread Jason Wong
On Saturday 28 February 2004 22:47, raisinlove wrote: Hi, I'm having trouble understanding why I can create and delete directories with my script via mkdir and rmdir, but not simply being able to read them with opendir or readdir? Are you saying that you can create a directory using mkdir()

Re: [PHP] mkdir and rmdir possible but not readdir and opendir???

2004-02-28 Thread Rasmus Lerdorf
This is normal. You are allowed to create the directory because the directory you are creating it in is owned by the same user id that owns the script calling mkdir(). However, since your web server runs as some other user the owner of the newly created dir will be that user and not your own so

Re: [PHP] mkdir and rmdir possible but not readdir and opendir???

2004-02-28 Thread raisinlove
Rasmus Lerdorf wrote: This is normal. You are allowed to create the directory because the directory you are creating it in is owned by the same user id that owns the script calling mkdir(). However, since your web server runs as some other user the owner of the newly created dir will be that

Re: [PHP] mkdir and rmdir possible but not readdir and opendir???

2004-02-28 Thread raisinlove
Surely if there is a work-around then safe mode would not be doing its job properly? Well this was part of the purpose of my post, before Rasmus explained it, I didn't understand why I couldnt access a directory I had created. I was hoping for a function which would achieve the same purpose but

Re: [PHP] mkdir and rmdir possible but not readdir and opendir???

2004-02-28 Thread Rasmus Lerdorf
On Sat, 28 Feb 2004, raisinlove wrote: Surely if there is a work-around then safe mode would not be doing its job properly? Well this was part of the purpose of my post, before Rasmus explained it, I didn't understand why I couldnt access a directory I had created. I was hoping for a

[PHP] Re: Is this possible ?

2004-01-18 Thread DvDmanDT
Do this: function MyFunc($num=NULL) { if(isset($_POST[var])){ $sql = mysql_query(select * from table_name where field=\$_POST[var]\ ); $num = mysql_num_rows($sql); // I want to use this result outside this function. $returnsomething =blah blah; } return $returnsomething; } $numrows=0;

[PHP] Re: php5 and possible oop features/questions

2003-10-06 Thread Tit \Black\ Petric
Not really what i was getting at dude, i dont see how defining a class variable will let me define a method outside of a given class, or to dynamically extend/implement other classes inside a general one? try again ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Re: php5 and possible oop features/questions

2003-10-06 Thread Eugene Lee
On Mon, Oct 06, 2003 at 12:36:49PM +0200, Tit Black Petric wrote: : : Not really what i was getting at dude, i dont see how defining a class : variable will let me define a method outside of a given class, or to : dynamically extend/implement other classes inside a general one? Why the desire to

[PHP] Re: php5 and possible oop features/questions

2003-10-05 Thread Devish
if you want to use variable's in a function you need to give the function the paramaters..if you do not with to use it like that.. declare the vars in the beginning of the class class classname { var $1; var $2; } greetz -- -- It's Not God

RE: [PHP] PHP 5 Usage: Possible Bug?

2003-07-31 Thread Ford, Mike [LSS]
-Original Message- From: [-^-!-%- [mailto:[EMAIL PROTECTED] Sent: 31 July 2003 05:46 I came across the following inconsistency between PHP 4 and PHP 5 Build 2195(Jul 24 2003 20:10:21). The error makes sense. I am just curious about the version inconsistency. Is this due to a

[PHP] PHP 5 Usage: Possible Bug?

2003-07-30 Thread [-^-!-%-
All, I came across the following inconsistency between PHP 4 and PHP 5 Build 2195(Jul 24 2003 20:10:21). The error makes sense. I am just curious about the version inconsistency. Is this due to a change in PHP 5 (as part of the class enhancements) or is it an oversight? For my information,

[PHP] How is this possible?

2003-07-27 Thread Ryan A
Hi, I am trying to get my data into a very similar layout as this: http://hostfilter.com/ComparePlan.asp?IntVal1=389IntVal2=546IntVal3=605 see the table with the plans...how is he getting that in one table? what kind of logic is that? the best I can do is for each column I have to use another

Re: [PHP] How is this possible?

2003-07-27 Thread Robert Cummings
ASP merely outputs HTML. His table is basic HTML dynamically rendered perhaps by an ASP component. This is also trivial to do in PHP. Cheers, Rob. On Sun, 2003-07-27 at 18:38, Ryan A wrote: Hi, I am trying to get my data into a very similar layout as this:

Re: [PHP] How is this possible?

2003-07-27 Thread Curt Zirzow
* Thus wrote Ryan A ([EMAIL PROTECTED]): Hi, I am trying to get my data into a very similar layout as this: http://hostfilter.com/ComparePlan.asp?IntVal1=389IntVal2=546IntVal3=605 see the table with the plans...how is he getting that in one table? what kind of logic is that? the best I can do

Re: [PHP] How is this possible?

2003-07-27 Thread Ryan A
Hi, Thanks for replying. You say: Nothing special html wise. then can you tell me how its done? The content is dynamic being pulled from the database..how do i get it in one table in that layout? There are different ways you can do this it could help to know what kind of data structure you

Re: [PHP] How is this possible?

2003-07-27 Thread Curt Zirzow
* Thus wrote Ryan A ([EMAIL PROTECTED]): Hi, Thanks for replying. You say: Nothing special html wise. then can you tell me how its done? The content is dynamic being pulled from the database..how do i get it in one table in that layout? There are different ways you can do this it

Re: [PHP] How is this possible?

2003-07-27 Thread skate
You say: Nothing special html wise. then can you tell me how its done? there's some nice simple CSS behind it to give the nice border and colour changes, but yes, nothing special HTML wise. it's a simple table The content is dynamic being pulled from the database..how do i get it in one

Re: [PHP] How is this possible?

2003-07-27 Thread skate
Hi, Thanks for replying. no probs... I have not worked with arrays much other than simple arrays like the $_get or $_post and the database ones...can you give me a another emample on how to do this please? like how to put my db into an array and then call each part sorry, i'm

Re: [PHP] How is this possible?

2003-07-27 Thread Ryan A
Hey, Thanks again. It should take me around an hour or two just to figure out what you wrote...:-D I guess i have to hit the manual quite a bit. Thanks, -Ryan Hi, Thanks for replying. no probs... I have not worked with arrays much other than simple arrays like the $_get or $_post

Re: [PHP] How is this possible?

2003-07-27 Thread Curt Zirzow
* Thus wrote Ryan A ([EMAIL PROTECTED]): Hi, Thanks for replying. You say: Nothing special html wise. then can you tell me how its done? The basic logic is like this: table foreach option_of_hosting_service tr tdname_of_service/td foreach hosting_company_service

[PHP] Re: [PHP-DB] Possible to store arrays in mySQL without explode()/implode()

2003-06-07 Thread Matt
- Original Message - From: Jakob Mund [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 07, 2003 9:04 AM Subject: [PHP-DB] Possible to store arrays in mySQL without explode()/implode() is it possible to store an array in mySQL without using implode() / explode(), like

Re: [PHP] generate all permutations possible? (twist)

2003-04-04 Thread Barry Gould
OK. I would probably still go with a counting approach. abc can be represented as 012, so, for all 4-character permutations of abc, you could count in base 3 from 0 to (base 3), and then do zero padding and string substitutions to output as - The only problems I can think of:

[PHP] generate all permutations possible? (twist)

2003-04-03 Thread michael geary
Hi Folks, I'm struggling with a permutation problem. I want to take a set of characters (for example 012345678ABCDEF) and generate all permutations of length N, allowing characters to be repeated. For example, I could use this algorithm to generate all HTML hex colors by passing:

Re: [PHP] generate all permutations possible? (twist)

2003-04-03 Thread Barry Gould
just count from 0 to FF in HEX or count from 0 to 16777216 and print each output in HEX I'm sure there's a function for outputting a number in hex. of course, displaying 16million numbers to the browser will be time consuming, to say the least. :P Barry At 03:59 PM 4/3/2003, you wrote: Hi

RE: [PHP] generate all permutations possible? (twist)

2003-04-03 Thread John Coggeshall
I'm sure there's a function for outputting a number in hex. $number = 1234; Printf(Hexadecimal number: 0x%X, $number); Output: Hexadecimal number: 0x4D2 John -~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~- John Coggeshall john at coggeshall dot org

Re: [PHP] generate all permutations possible? (twist)

2003-04-03 Thread michael geary
Hi guys, I appreciate your taking interest, but as I wrote, I am looking for a permutation algorithm, not specifically for all the hex colors. That was simply an example of a usage. Put another way, I want a function that I can do: echo generatePerms(abc,4); and it will return aaab

Re: [PHP] generate all permutations possible? (twist)

2003-04-03 Thread Leif K-Brooks
Try this (minimal testing, un-optimized): function permutations($letters,$num){ $last = str_repeat($letters{0},$num); $result = array(); while($last != str_repeat(lastchar($letters),$num)){ $result[] = $last; $last = char_add($letters,$last,$num-1); } $result[] =

Re: [PHP] generate all permutations possible? (solved!)

2003-04-03 Thread michael geary
beautiful! This seems to do the trick. Thanks very much! -michael On Thursday, April 3, 2003, at 07:45 PM, Leif K-Brooks wrote: Try this (minimal testing, un-optimized): function permutations($letters,$num){ $last = str_repeat($letters{0},$num); $result = array(); while($last !=

Re: [PHP] is this not possible?

2002-11-19 Thread Mark
completely (which means you don't have to worry about people disabling javascript). -Mark - Original message - From: Jeff Bluemel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Mon, 18 Nov 2002 17:24:52 -0700 Subject: Re: [PHP] is this not possible? here's the URL if case somebody decides

[PHP] is this not possible?

2002-11-18 Thread Jeff Bluemel
I'm been ignored on this question for 4-5 days now. even if it is not possible could somebody please verify this? is it possible to pass a variable from javascript directly to php WITHOUT using either a link, or a form submit to pass the variables? I've gotten a work around to call an image

Re: [PHP] is this not possible?

2002-11-18 Thread Leif K-Brooks
That, or an iframe. You can't pass variables on the same request, though. Jeff Bluemel wrote: I'm been ignored on this question for 4-5 days now. even if it is not possible could somebody please verify this? is it possible to pass a variable from javascript directly to php WITHOUT using

Re: [PHP] is this not possible?

2002-11-18 Thread BigDog
No... Javascript need to send that data back to the server and how are you going to do that? You will have to use a form or a link or some method to send it to the server. Now you can use php to write your javascript code that can be used to link to a php file that can be run on the client side

Re: [PHP] is this not possible?

2002-11-18 Thread rija
- Original Message - From: Jeff Bluemel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 19, 2002 8:39 AM Subject: [PHP] is this not possible? I'm been ignored on this question for 4-5 days now. even if it is not possible could somebody please verify

Re: [PHP] is this not possible?

2002-11-18 Thread Ernest E Vogelsinger
At 22:39 18.11.2002, Jeff Bluemel spoke out and said: [snip] I'm been ignored on this question for 4-5 days now. even if it is not possible could somebody please verify this? is it possible to pass a variable from javascript directly to php WITHOUT using

Re: [PHP] is this not possible?

2002-11-18 Thread Jeff Bluemel
, November 18, 2002 2:42 PM Subject: Re: [PHP] is this not possible? No... Javascript need to send that data back to the server and how are you going to do that? You will have to use a form or a link or some method to send it to the server. Now you can use php to write your javascript code

Re: [PHP] is this not possible?

2002-11-18 Thread David Rice
Hi Jeff: Brent Ashley has written some cool stuff to make asynchronous remote calls to server without client page refresh using javascript/iframe etc. There is a PHP version. Go to: http://www.ashleyit.com/rs/main.htm And click on the link: Javascript Remote Scripting (JSRS). It works for most

Re: [PHP] is this not possible?

2002-11-18 Thread Jeff Bluemel
thanks David - I'll look over it... Jeff David Rice [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi Jeff: Brent Ashley has written some cool stuff to make asynchronous remote calls to server without client page refresh using javascript/iframe etc. There is

Re: [PHP] is this not possible?

2002-11-18 Thread Jeff Bluemel
here's the URL if case somebody decides to look at it; http://obi-wan.domintcom.com user: guest pass: domintcom go to customer service, prepaid pin, and then look up 3077876962 - activate, deactivate, and recharge this is for customer service of prepaid phone cards. now - when I reload this

Re: [PHP] is this not possible?

2002-11-18 Thread Jason Wong
On Tuesday 19 November 2002 06:36, Jeff Bluemel wrote: well - now I understand why it is so difficult to make those 2 things work together. it would be so much easier if php had some way of displaying an inputbox etc. PHP can only output something, usually HTML, for the browser to

Re: [PHP] Need more memory... possible to set?

2002-09-10 Thread Steve Edberg
Several ways: (1) PHP still reads a php.ini file, so you could set it there; try a php -i | grep php.ini to find out where the commandline php thinks it is (and/or do php -i | grep memory_limit to find the default memory limit setting. (2) You can set it at execution time

[PHP] Need more memory... possible to set?

2002-09-09 Thread Damian Harouff
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 53738 bytes) in /var/cli/mp3anal/mp3anal.php on line 68. Segmentation fault This is line 68: while ($found = fscanf ($fp, %s - - [%[A-Za-z0-9/]:%[0-9:] %[+-0-9]] \%[A-Z-] %s %[A-Z0-9/.]\ %[0-9-] %[0-9-]\n, $ip,

Re: [PHP] phpMyAdmin is this possible

2002-08-20 Thread Adam Williams
I always create a database by hand. On the console type: mysql -u root -p (It will prompt you for the mysql superuser's password. Then run: CREATE DATABASE db_name_here; Then you would use the grant statement accordly to give users permissions to it. Adam On Tue,

[PHP] phpMyAdmin is this possible

2002-08-20 Thread Steve Jackson
I am new to MySQL and PHP. Having looked at PHPMyAdmin the GUI I was wondering if it's possible to create a new database within the system? If so what are the commands? I ask because I only have one database on my server and don't want to populate it with different tables, I'd rather have

RE: [PHP] phpMyAdmin is this possible

2002-08-20 Thread Steve Bradwell
Subject: [PHP] phpMyAdmin is this possible I am new to MySQL and PHP. Having looked at PHPMyAdmin the GUI I was wondering if it's possible to create a new database within the system? If so what are the commands? I ask because I only have one database on my server and don't want to populate

[PHP] How to upgrade? possible?(newbie)

2002-08-19 Thread Ryan A
Hi everyone, I have just downloaded the MySql,PHP,Apache triad but notice the version for php is 4.1.1 which is the old version right? How do I upgrade just the PHP in the whole setup to the latest stable version? Kindly reply or point me to where the answer is, I do not want to compile the

[PHP] Re: is this possible ...

2002-08-10 Thread Julio Nobrega
01c24097$044a1b00$9fb71fc4@b1s0n2... Hi I need the contents of a form to be emailed as an attached Excel file or html file. Is this possible using PHP. I think comma delimited files open in Excel. Can anyone advise. Thanks in advance Mohamed -- PHP General Mailing List (http://www

[PHP] Re: Is it possible...

2002-07-27 Thread lallous
PROTECTED]">news:[EMAIL PROTECTED]... Is it possible download php scripts from webpages ? for example i need php.net scripts or others :-) If yes, how ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Is it possible...

2002-07-27 Thread Lars Olsson
No. Since PHP is executed on the server, the only thing that is sent to the browser is pure HTML (and client-sided scripts like JavaScript). This means you cannot just get the source code of a PHP page by just browsing it. /lasso ([EMAIL PROTECTED]) Apollo wrote: Is it possible download

Re: [PHP] NEWBIE- Is this possible? How?!

2002-06-07 Thread Erik Price
On Thursday, June 6, 2002, at 11:07 PM, Kevin J wrote: I am sure this isn't the best way to learn PhP, but I am running out of ideas for making this website work. Static content just seems boring these days, so I would liek to spice up the site by having the band members themselves

[PHP] NEWBIE- Is this possible? How?!

2002-06-06 Thread Kevin J
Hello All Helpers! :) I was wondering if it is possible to mix Dynamic Content with Layers? If not I was wondering if someone can help me with my idea: I have designed a website for a band (see below name) and I would like to add a feature where the band members can log in and write

RE: [PHP] NEWBIE- Is this possible? How?!

2002-06-06 Thread Peter
have a look at something like http://phpnuke.org or the like ... maybe this is what ur after ... -Original Message- From: Kevin J [mailto:[EMAIL PROTECTED]] Sent: Friday, 7 June 2002 11:50 AM To: [EMAIL PROTECTED] Subject: [PHP] NEWBIE- Is this possible? How?! Hello All Helpers

[PHP] Re: Generate every possible combination

2002-05-16 Thread Martin Wickman
Evan Nemerson wrote: I need to generate every possible combination of the the values in an array. For example, if... $array = Array(A, B, C); I really have no idea where to begin. The best lead I can think of is that there are going to be n! elements in the output array, where n is the

[PHP] Re: Generate every possible combination

2002-05-15 Thread Austin Marshall
Evan Nemerson wrote: I need to generate every possible combination of the the values in an array. For example, if... $array = Array(A, B, C); I want to be able to do something like print_r(magic_function($array)); which would output Array ( [0] = ABC [1] = ACB

[PHP] Re: Generate every possible combination

2002-05-15 Thread Austin Marshall
Austin Marshall wrote: Evan Nemerson wrote: I need to generate every possible combination of the the values in an array. For example, if... $array = Array(A, B, C); I want to be able to do something like print_r(magic_function($array)); which would output Array ( [0] = ABC

[PHP] Re: Is This Possible? (Database - PHP)

2002-05-13 Thread Jochem
Why don't you install Mysql on your local machine and do your testing ? Jochem R [EMAIL PROTECTED] schreef in bericht 000501c1fa4c$8fca8fc0$0a6da8c0@lgwezec83s94bn">news:000501c1fa4c$8fca8fc0$0a6da8c0@lgwezec83s94bn... Hey there guys, I have a slight problem which i could not solve via Java

Re: [PHP] Re: Is This Possible? (Database - PHP)

2002-05-13 Thread Justin French
Yup, with local host you're not going to be able to access it from a remote machine (although it's worth asking your host). Just set up a test machine locally which is as close as possible to what your host runs (ie Unix, WinNT, whatever), with simular versions of PHP, Apache, MySQL, etc etc...

Re: [PHP] Re: Is This Possible? (Database - PHP)

2002-05-13 Thread Robert Cummings
Justin French wrote: Yup, with local host you're not going to be able to access it from a remote machine (although it's worth asking your host). Actually you can connect to a mySQL database from a remote server. You just need to make sure that permissions are set up in the mysql table to

RE: [PHP] Re: Is This Possible? (Database - PHP)

2002-05-13 Thread Mark Charette
Or read the man page on mysql_pconnect/mysql_connect ? -Original Message- From: Jochem [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 9:25 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: Is This Possible? (Database - PHP) Why don't you install Mysql on your local machine and do your

Re: [PHP] Re: Is This Possible? (Database - PHP)

2002-05-13 Thread Robert Cummings
Robert Cummings wrote: Justin French wrote: Yup, with local host you're not going to be able to access it from a remote machine (although it's worth asking your host). Actually you can connect to a mySQL database from a remote server. You just need to make sure that permissions are

[PHP] subscripting an expression possible?

2002-04-17 Thread Bob Mroczka
Is it possible in php4 to retrieve an array value from an expression that returns an array without first storing the resultant array in a temporary variable? For example, I would like to do something like this: echo (posix_uname())[nodename]; Instead of: $tmp = posix_uname(); echo

[PHP] rsh or telnet, possible?

2002-04-15 Thread Javier Casado
I must execute a command in a sun machine, but the web server is IIS (into a W2000 machine). The parameters are the form's fields. Is it possible (better rsh, telnet is valid)? tankx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] cookie problem. Not possible to set and read a cookie on the same page?

2002-03-26 Thread andy
Hi there, I am wondering if it is possible to send a cookie and read it on the same page. Following environment: There is a cookie already on the machine of the client, but expired. Now I am setting a new cookie and reading it on the same page via $sess_id = $HTTP_COOKIE_VARS[$sesscookiename];

Re: [PHP] cookie problem. Not possible to set and read a cookie onthe same page?

2002-03-26 Thread Miguel Cruz
On Tue, 26 Mar 2002, andy wrote: I am wondering if it is possible to send a cookie and read it on the same page. Following environment: There is a cookie already on the machine of the client, but expired. Now I am setting a new cookie and reading it on the same page via $sess_id =

Re: [PHP] cookie problem. Not possible to set and read a cookie on the same page?

2002-03-26 Thread Erik Price
On Tuesday, March 26, 2002, at 11:42 AM, Miguel Cruz wrote: There is no chance for the server to re-read the cookies from the browser after step 2 above, unless, as you've observed, you refresh the page, which in effect just repeats both steps. One ugly way that I've gotten around this

RE: [PHP] cookie problem. Not possible to set and read a cookie on the same page?

2002-03-26 Thread Rick Emery
- From: andy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 10:39 AM To: [EMAIL PROTECTED] Subject: [PHP] cookie problem. Not possible to set and read a cookie on the same page? Hi there, I am wondering if it is possible to send a cookie and read it on the same page. Following

RE: [PHP] Is there any Possible Way to get data from Excel File?

2002-03-21 Thread Feroze Md. Arif
- From: Justin French [mailto:[EMAIL PROTECTED]] Sent: 20 March, 2002 2:11 PM To: php Subject: Re: [PHP] Is there any Possible Way to get data from Excel File? Anything is possible :) I'd recommend that the Excell file be exported as a CSV, which will be a LOT easier to munch through, because

[PHP] Is there any Possible Way to get data from Excel File?

2002-03-19 Thread Jack
Dear all What i'm planning to do is to use php to grep the data from a Excel file and then insert it to the MySQL Database, so is there any possible way that the php can grep the data from an Excel File? Thx all Jack [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

RE: [PHP] Is there any Possible Way to get data from Excel File?

2002-03-19 Thread Niklas Lampén
To: [EMAIL PROTECTED] Subject: [PHP] Is there any Possible Way to get data from Excel File? Dear all What i'm planning to do is to use php to grep the data from a Excel file and then insert it to the MySQL Database, so is there any possible way that the php can grep the data from an Excel File

Re: [PHP] Is there any Possible Way to get data from Excel File?

2002-03-19 Thread Justin French
to grep the data from a Excel file and then insert it to the MySQL Database, so is there any possible way that the php can grep the data from an Excel File? Thx all Jack [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Disabliing browser cache possible?

2002-02-24 Thread Andy
Hi there, I would like to disable clients browser cache. Anyhow this does not work. In a PHP book I found following line: header(Pragma: no-cache); Does not work though. Can anybody help? Thanx Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Is this possible?

2002-02-14 Thread J Smith
It's possible, but it might be easier to set up virtual hosts or something. If you're using apache, you can set this up in httpd.conf, using something like NameVirtualHost * VirtualHost * ServerName www.domain1.com Redirect permenent / http://www.domain.com/domain1 /VirtualHost

[PHP] Re: Is this possible?

2002-02-06 Thread Dave
columns with the same id in the pricetable, because every product have several sizes. So... how do I get only one row from the product table and two rows from the price table in one line in a page? Is it possible? Best regards Raymond -- PHP General Mailing List (http://www

Re: [PHP] Re: Is this possible?

2002-02-06 Thread bvr
Yes, it's entirely possible to abuse the PHP mailinglist by sending MySQL tutorials and useless complaints like this one. bvr. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Cookies w/PHP as CGI Binary, possible?

2002-01-20 Thread Kurtiigeek
I don't know if it's possible because as far as I know headers are sent immediately upon execution when PHP is installed as CGI binary. But my question is, if possible, how can I get cookies to work when PHP has been installed as CGI binary. This does NOT work for me: // start of code

[PHP] PHP loosing session object, possible PHP bug

2001-09-13 Thread Ben . Edwards
I am having a bit of a problem with PHP loosing a session object. $SESSIOM [cart] is instansiated as a cart object and is a session varable. In 'PHP 4.0.6' which is installed under windows the cart object works flawlesley. But on the production enviroment which is running 'PHP 4.0.3pl1' as an

[PHP] Function call introspection: possible or not?

2001-09-02 Thread Geoff Caplan
Hi folks Just in case I am missing something - Is there any way for a function to determine the name of the calling function? I want my database abstraction layer to be able to log query errors against the name of the calling function, but I would rather not have to pass the name in the query

[PHP] how is it possible?

2001-07-27 Thread Balaji Ankem
Hi! dearest friends, i am able to connect to mysql server through php program and i am able to do operations on the database like choosing particular database and inserting the data in to table,deletion and modification and all.. But from dos prompt i am able to connect to mysql

[PHP] XML/Array Class (Possible Bug??)

2001-04-23 Thread [EMAIL PROTECTED]
I decided to take my class and just turn it into some functions. It works perfectly. I did not change any code except for removing the class declaration and getting rid of the $this- statements. I believe that maybe my problem has to do with the use of xml_set_object() making a reference

[PHP] enum and set possible values

2001-03-20 Thread Michael George
I'm looking here at the mysql functions for PHP4.0.4 and I'm not finding what I seek... I see that mysql_fetch_field() will get information about a field in the result set from a mysql_db_query(). What I'm wanting to find out is what the possible values are for an enum or a set. So if I have

Re: [PHP] enum and set possible values

2001-03-20 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Michael George) wrote: So if I have an enum with possible values "Yes" and "No" or a set with possible values "Single", "Married", "Divorced", "Widowed", I seek a function that will return an array of strings containing those possible values.

<    1   2