Re: [PHP] help register domain name

2006-01-05 Thread Mark Charette
Al wrote: John Nichel wrote: n.g. wrote: hi, i want to register a domain name through NetworkSolutions.com, but it require a credit card which i dont have to pay the bill. if you have a credit card, i can transfer to your account, and then you please regiter the domain using my info. or

Re: [PHP] Help Desk software

2005-12-22 Thread Peppy
http://phptickets.org/ - Original Message - From: Glenn Sieb [EMAIL PROTECTED] To: php-general@lists.php.net Cc: Daniel Lahey [EMAIL PROTECTED] Sent: Tuesday, December 20, 2005 10:13 PM Subject: Re: [PHP] Help Desk software Daniel Lahey said the following on 12/20/2005 10:28 PM

Re: [PHP] Help Desk software

2005-12-21 Thread Daniel Lahey
I found one set of links that might prove helpful: http:// www.helpdesk.com/software-helpdesk.htm A lot of the software doubles as asset management software or comes bundled with such a module. There are a yitload of links on that page. I'm only on the Bs. Good luck. On Dec 21, 2005,

Re: [PHP] Help Desk software

2005-12-21 Thread Tim Boring
On Wed, 2005-12-21 at 09:17 -0800, Daniel Lahey wrote: I found one set of links that might prove helpful: http:// www.helpdesk.com/software-helpdesk.htm A lot of the software doubles as asset management software or comes bundled with such a module. There are a yitload of links on that

[PHP] Help Desk software

2005-12-20 Thread Daniel Lahey
Can anyone recommend some good Open-Source Help Desk software for PHP? (I know this is a little off-topic, but I'm having a hard time finding decent Open Source software.) TIA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help Desk software

2005-12-20 Thread Glenn Sieb
Daniel Lahey said the following on 12/20/2005 10:28 PM: Can anyone recommend some good Open-Source Help Desk software for PHP? (I know this is a little off-topic, but I'm having a hard time finding decent Open Source software.) IMHO the best is RT, which is Perl and Mason.

Re: [PHP] Help with the copy command...

2005-12-16 Thread Robin Vickery
On 12/15/05, Tim Meader [EMAIL PROTECTED] wrote: Okay, this seems like a ridiculously easy question which shouldn't even need asking, but I'm having trouble getting the builtin copy command to work properly. It seems to work fine as long as I feed it a full constant string path for each

Re: [PHP] Help with the copy command...

2005-12-16 Thread Tim Meader
What difference are you seeing in the files I give in the example? Are they not identical paths? Thanks. Hristo Yankov wrote: The two examples you give are not the same? I see different files. Please, doublecheck. --- Tim Meader [EMAIL PROTECTED] wrote: Okay, this seems like a

Re: [PHP] Help with the copy command...

2005-12-16 Thread adriano ghezzi
just put the wrong lines in a file and run it from the shell with php -f you should get more info about what's going wrong hyh ciao! 2005/12/16, Tim Meader [EMAIL PROTECTED]: What difference are you seeing in the files I give in the example? Are they not identical paths? Thanks. Hristo

[PHP] Help with the copy command...

2005-12-15 Thread Tim Meader
Okay, this seems like a ridiculously easy question which shouldn't even need asking, but I'm having trouble getting the builtin copy command to work properly. It seems to work fine as long as I feed it a full constant string path for each argument (ie - in the form /the/path/to/the/file). However,

Re: [PHP] Help with the copy command...

2005-12-15 Thread Hristo Yankov
The two examples you give are not the same? I see different files. Please, doublecheck. --- Tim Meader [EMAIL PROTECTED] wrote: Okay, this seems like a ridiculously easy question which shouldn't even need asking, but I'm having trouble getting the builtin copy command to work properly. It

[PHP] Help with preg_match and windows domain logins...

2005-12-12 Thread Daevid Vincent
I'm trying to do what should be a very simple regex, but can't seem to get PHP to work, yet regex-coach and even an XML .XSD work fine: Valid forms of a windows logon are: foo\bar \\foo\bar function isValidWinLogon($logon) { //$logon = 'foo\\bar'; $logon = '\\foo\bar'; print PPRElogon =

Re: [PHP] Help with preg_match and windows domain logins...

2005-12-12 Thread Robin Vickery
On 12/13/05, Daevid Vincent [EMAIL PROTECTED] wrote: I'm trying to do what should be a very simple regex, but can't seem to get PHP to work, yet regex-coach and even an XML .XSD work fine: Valid forms of a windows logon are: foo\bar \\foo\bar [...] //preg_match('/()?.+(\\).+/',

Re: [PHP] help with preg_replace only part of the string

2005-12-06 Thread David Grant
Replace the middle (.*) with ([^]*). This tells the regex engine to ignore new opening tags. Cheers, David Georgi Ivanov wrote: Hi, I want to replace the content of html links : a href=foo name=blaREPLACETHIS/a. $html=preg_replace(/(a.*name=.*)(.*)\/a/isU,$link,$html,1); This generally

Re: [PHP] help with preg_replace only part of the string

2005-12-06 Thread Richard Heyes
Georgi Ivanov wrote: Hi, I want to replace the content of html links : a href=foo name=blaREPLACETHIS/a. $html=preg_replace(/(a.*name=.*)(.*)\/a/isU,$link,$html,1); This generally works but removes a,/a tags too. How to make it work without removing anything else than (.*) in the middle of

Re: [PHP] help with preg_replace only part of the string

2005-12-06 Thread Miles Thompson
At 07:06 AM 12/6/2005, Richard Heyes wrote: Georgi Ivanov wrote: Hi, I want to replace the content of html links : a href=foo name=blaREPLACETHIS/a. $html=preg_replace(/(a.*name=.*)(.*)\/a/isU,$link,$html,1); This generally works but removes a,/a tags too. How to make it work without removing

Re: [PHP] help avoid multiple login

2005-11-29 Thread Jochem Maas
Matt Monaco wrote: If you store your login object in a session, when the browser window is closed the object will automatically be destroyed, thus calling the destructor. exactly what is it that triggers the object destruction??? since when is it normal practice for a browser to do a request

Re: [PHP] help avoid multiple login

2005-11-29 Thread Richard Heyes
Jochem Maas wrote: it might be possible to use some browser plugin to hit the server if it notices that it's window is being closed... although I have a sneaking suspicion that Flash, for instance, has the same problem as javascript with not being able to differentiate between the page

Re: [PHP] help avoid multiple login

2005-11-29 Thread Jochem Maas
Richard Heyes wrote: Jochem Maas wrote: it might be possible to use some browser plugin to hit the server if it notices that it's window is being closed... although I have a sneaking suspicion that Flash, for instance, has the same problem as javascript with not being able to differentiate

[PHP] help avoid multiple login

2005-11-29 Thread mail.pmpa
-Mensagem original- De: Jochem Maas (...) the normal way of doing session 'closing' is by way of 'garbage collection' - every now and then a script/process/function is run that 'closes' any sessions which are (according to your criteria) inactive. php has stuff built it that will do this

[PHP] help avoid multiple login

2005-11-29 Thread mail.pmpa
-Mensagem original- De: Jochem Maas (...) the normal way of doing session 'closing' is by way of 'garbage collection' - every now and then a script/process/function is run that 'closes' any sessions which are (according to your criteria) inactive. php has stuff built it that will do this

[PHP] help avoid multiple login

2005-11-28 Thread mail.pmpa
Greetings I'm having some trouble on a members online script. I use a php script to track member login to avoid multiple logins on different ips etc. When a logged member closes the browser window I can't delete the table entry because I will not have access to some sort of Session_OnEnd action

RE: [PHP] help avoid multiple login

2005-11-28 Thread mail.pmpa
-Mensagem original- De: Matt Monaco [mailto:[EMAIL PROTECTED] Enviada: terça-feira, 29 de Novembro de 2005 0:02 Para: php-general@lists.php.net Assunto: [PHP] help avoid multiple login Create an object with the functionality of your choosing, in the destructor perform your cleanup

RE: [PHP] help avoid multiple login

2005-11-28 Thread mail.pmpa
De: Matt Monaco [mailto:[EMAIL PROTECTED] Create an object with the functionality of your choosing, in the destructor perform your cleanup operations. The problem is I don't know when a member closes the browser window. If I knew that i would automatically logout that member. Thanks. -- PHP

Re: [PHP] help avoid multiple login

2005-11-28 Thread Matt Monaco
If you store your login object in a session, when the browser window is closed the object will automatically be destroyed, thus calling the destructor. In response to the message you send directly to me, you would create a file called Login.class.php and at the top of each page include the

[PHP] Help with Reverse Tree Traversal using Recursion ..

2005-11-14 Thread Greg Schnippel
I have a large data tree that I wanted to display in an outline format. I used a textbook tree recursion function to go through the data and display it as nested unordered lists: function outputTree($id) { if (checkChildObjectExists($id)) { print ul; $child =

Re: [PHP] Help with Reverse Tree Traversal using Recursion ..

2005-11-14 Thread Richard Lynch
On Mon, November 14, 2005 7:46 am, Greg Schnippel wrote: I have a large data tree that I wanted to display in an outline format. I used a textbook tree recursion function to go through the data and display it as nested unordered lists: function outputTree($id) { if

Re: [PHP] Help with Reverse Tree Traversal using Recursion ..

2005-11-14 Thread Greg Schnippel
Richard - Thanks for the helpful suggestion but that won't resolve my problem the way I currently have it written because I'm creating a new, nested ul each time I loop through: print ul; foreach ($parent as $key = $value) { ... } print /ul; So when I tried this, the output was still inverted

[PHP] Help with new config

2005-11-01 Thread John Taylor-Johnston
New server, new config. PHP 4.3.9 and new mysql db. phpmyadmin works among other scripts, including: http://compcanlit.usherbrooke.ca/whovisits.php But this bugger won't: http://testesp.flsh.usherbrooke.ca/testdb.phps http://testesp.flsh.usherbrooke.ca/phpinfo.php I cannot even see the

RE: [PHP] Help with new config

2005-11-01 Thread Rob Agar
hi John You'll probably see whats up if you tell php to spit out error messages - set display_errors = 1 in php.ini hth Rob -Original Message- From: John Taylor-Johnston [mailto:[EMAIL PROTECTED] Sent: Tuesday, 1 November 2005 12:32 PM To: PHP-General Subject: [PHP] Help

[PHP] Help with a regular expression for 0,1 or 2 decimal places

2005-10-24 Thread Shaun
Hi, I am trying to create a regular expression for a width of a room, the value can be a whole integer (up to 999) with up to 2 decimal places -when it is stored in the database mysql will pad the value accordingly. /^[0-9]{1,3}.?[0-9]{0,2}?$/ The only problem I have found with above is that

Re: [PHP] Help with a regular expression for 0, 1 or 2 decimal places

2005-10-24 Thread Richard Lynch
On Mon, October 24, 2005 3:59 pm, Shaun wrote: I am trying to create a regular expression for a width of a room, the value can be a whole integer (up to 999) with up to 2 decimal places -when it is stored in the database mysql will pad the value accordingly. /^[0-9]{1,3}.?[0-9]{0,2}?$/

[PHP] Help needed / failed to open stream: Permission denied

2005-10-19 Thread Ndagi Mutiri
Hello, Trying to read a binary file in MySQL database, i have the following error : Warning: fopen(./) [function.fopen]: failed to open stream: Permission denied in d:\...\download.php on line 57 This is line 57 $file_handle = fopen(./ . $file_name, r); and my function function

RE: [PHP] Help needed / failed to open stream: Permission denied

2005-10-19 Thread Jim Moseby
Hello, Trying to read a binary file in MySQL database, i have the following error : Warning: fopen(./) [function.fopen]: failed to open stream: Permission denied in d:\...\download.php on line 57 This is line 57 $file_handle = fopen(./ . $file_name, r); and my function

Re: [PHP] Help needed / failed to open stream: Permission denied

2005-10-19 Thread Jochem Maas
Ndagi Mutiri wrote: Hello, I can't be of any help here but couldn't help noticing that th OP (Ndagi) is dealing with dutch language DB entities and comments/output in french and code (vars etc) in english bet that can be a PITA :-) Trying to read a binary file in MySQL database, i

Re: [PHP] Help with logic :(

2005-10-14 Thread aaronjw
Hi all, Just wondering how one would do multiple rows? Instead of me me copying and pasting the same row of code 15 times (multiple data entry form), I just loop until it counts 15? Loops are not a strong point for me at all :( Thanks in advance!!! Aaron -- PHP General Mailing List

Re: [PHP] Help with logic :(

2005-10-14 Thread aaronjw
NEVERMIND. Solved it. Thanks!!! A Hi all, Just wondering how one would do multiple rows? Instead of me me copying and pasting the same row of code 15 times (multiple data entry form), I just loop until it counts 15? Loops are not a strong point for me at all :( Thanks in advance!!!

Re: [PHP] Help with logic :(

2005-10-14 Thread Dan McCullough
Not a problem, good to see. On 10/14/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: NEVERMIND. Solved it. Thanks!!! A Hi all, Just wondering how one would do multiple rows? Instead of me me copying and pasting the same row of code 15 times (multiple data entry form), I just

[PHP] help me in creating tables on the fly

2005-10-12 Thread Suresh Pandian
hello friends, im currently working on creating musical forum. i need to create tables for every song uploaded on the fly to save the comments and rates entered by the viewers. im unable to create tables on the fly. can anyone know how to create tables on the fly .plz tell

Re: [PHP] help me in creating tables on the fly

2005-10-12 Thread Jochem Maas
Suresh Pandian wrote: hello friends, im currently working on creating musical forum. i need to create tables for every song uploaded on the fly to save the comments and rates entered by the viewers. im unable to create tables on the fly. ... if I

Re: [PHP] help me in creating tables on the fly

2005-10-12 Thread Jasper Bryant-Greene
Suresh Pandian wrote: im currently working on creating musical forum. i need to create tables for every song uploaded on the fly to save the comments and rates entered by the viewers. im unable to create tables on the fly. can anyone know how to create tables on the fly .plz

Re: [PHP] Help with logic :(

2005-10-11 Thread Jochem Maas
Richard Lynch wrote: On Mon, October 10, 2005 3:24 pm, Dan McCullough wrote: create a function to check if the rndnumber=couponcode row count = 0 if not then redo rndnumber if it does = 0 then insert rndnumber N! You are creating a RACE CONDITION in which ONE

Re: [PHP] Help with logic :(

2005-10-11 Thread aaronjw
Hi Richard, Ok... I do already have a Unique index on the column but this process is something that I cannot echo out the error code to the user. The code is generated on the fly when an order an is placed so you can see... I can't echo out the error to the customer. Can I do an if statement IF

Re: [PHP] Help with logic :(

2005-10-11 Thread Dan McCullough
Yes I believe that is what Richard was saying about Trap the INSERT error, you should get an error back from the database about having a problem with the insert instead of showing that error you will want to add some logic that when that error occurs you simply generate another number. On

Re: [PHP] Help with logic :(

2005-10-11 Thread Jochem Maas
Dan McCullough wrote: Yes I believe that is what Richard was saying about Trap the INSERT error, you should get an error back from the database about having a problem with the insert instead of showing that error you will want to add some logic that when that error occurs you simply generate

Re: [PHP] Help with logic :(

2005-10-11 Thread aaronjw
Thanks everyone. Makes sense. Now I got another issue. When I try to see if an error exists I get this: Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home//public_html/Store/test.php on line 14 Is there a setting somewhere that I need to set to make

Re: [PHP] Help with logic :(

2005-10-11 Thread Dan McCullough
got some code so we can see? On 10/11/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks everyone. Makes sense. Now I got another issue. When I try to see if an error exists I get this: Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in

Re: [PHP] Help with logic :(

2005-10-11 Thread aaronjw
?php include (../utils.inc); $date = date(U); $dateExpire = $date + 90 * 86400; $code = jack; $query = INSERT INTO CouponTable VALUES ('','$date','0','$code','preset','$dateExpire','3.75'); $result = mysql_query($query); echo

RE: [PHP] Help with logic :(

2005-10-11 Thread Kilbride, James
Did you remember to open the database connection? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 1:34 PM To: Dan McCullough Cc: php-general@lists.php.net Subject: Re: [PHP] Help with logic :( ?php include

Re: [PHP] Help with logic :(

2005-10-11 Thread Silvio Porcellana
[EMAIL PROTECTED] wrote: ?php include (../utils.inc); $date = date(U); $dateExpire = $date + 90 * 86400; $code = jack; $query = INSERT INTO CouponTable VALUES ('','$date','0','$code','preset','$dateExpire','3.75'); $result =

RE: [PHP] Help with logic :(

2005-10-11 Thread aaronjw
Cc: php-general@lists.php.net Subject: Re: [PHP] Help with logic :( ?php include (../utils.inc); $date = date(U); $dateExpire = $date + 90 * 86400; $code = jack; $query = INSERT INTO CouponTable VALUES ('','$date','0','$code','preset','$dateExpire','3.75

Re: [PHP] Help with logic :(

2005-10-11 Thread John Nichel
[EMAIL PROTECTED] wrote: ?php include (../utils.inc); $date = date(U); $dateExpire = $date + 90 * 86400; $code = jack; $query = INSERT INTO CouponTable VALUES ('','$date','0','$code','preset','$dateExpire','3.75'); $result =

Re: [PHP] Help with logic :(

2005-10-11 Thread Dan McCullough
$result = mysql_query($query) or die(mysql_error()); On 10/11/05, Silvio Porcellana [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: ?php include (../utils.inc); $date = date(U); $dateExpire = $date + 90 * 86400; $code = jack; $query = INSERT

[PHP] Help with logic :(

2005-10-10 Thread aaronjw
Hey guys, Having trouble coming up with a solution to this idea I am trying to implement. I have a Coupon table. I am creating radonly generated coupon codes that go into this table. 12 chars in length - both number and letters - all lowercase. I figure I need to do the following: 1) generate

Re: [PHP] Help with logic :(

2005-10-10 Thread Dan McCullough
create a function to check if the rndnumber=couponcode row count = 0 if not then redo rndnumber if it does = 0 then insert rndnumber On 10/10/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hey guys, Having trouble coming up with a solution to this idea I am trying to implement. I have a

Re: [PHP] Help with logic :(

2005-10-10 Thread Richard Lynch
On Mon, October 10, 2005 3:24 pm, Dan McCullough wrote: create a function to check if the rndnumber=couponcode row count = 0 if not then redo rndnumber if it does = 0 then insert rndnumber N! You are creating a RACE CONDITION in which ONE user might generate a

Re: [PHP] help out a noob w/ include switch?

2005-09-21 Thread Philip Hallstrom
Hi All, My very first post to this group as I'm a freshly spanked new born php baby. Hope I have the correct stop for noob tech questions. Please re-direct me if I have it wrong. I've been doing web dev for a quite while with a variety of methods (html, xhtml/css, cfml, flash/as, on and

[PHP] help out a noob w/ include switch?

2005-09-20 Thread jay thompson
Hi All, My very first post to this group as I'm a freshly spanked new born php baby. Hope I have the correct stop for noob tech questions. Please re-direct me if I have it wrong. I've been doing web dev for a quite while with a variety of methods (html, xhtml/css, cfml, flash/as, on and

Re: [PHP] help out a noob w/ include switch?

2005-09-20 Thread Robert Cummings
On Tue, 2005-09-20 at 18:41, jay thompson wrote: Hi All, My very first post to this group as I'm a freshly spanked new born php baby. Hope I have the correct stop for noob tech questions. Please [-- SNP --] Try verifying your include path in php.ini for the NT version.

Re: [PHP] help out a noob w/ include switch?

2005-09-20 Thread Thorsten Suckow-Homberg
Hi All, My very first post to this group as I'm a freshly spanked new born php baby. Hope I have the correct stop for noob tech questions. Welcome :) [source] First guess: On your live server the ini-value error_reporting is switched to report anything but notices and warnings or

Re: [PHP] help out a noob w/ include switch?

2005-09-20 Thread Jasper Bryant-Greene
jay thompson wrote: index.php: ?php include 'content.php'; //sets the section title echo $title; ? ?php include 'navigate.php'; //sets appropriate navigation menu echo $navigate; ? ?php echo $content; //loads body text ? There is no need to switch

Re: [PHP] help out a noob w/ include switch?

2005-09-20 Thread Robert Cummings
On Tue, 2005-09-20 at 19:14, Thorsten Suckow-Homberg wrote: Hi All, My very first post to this group as I'm a freshly spanked new born php baby. Hope I have the correct stop for noob tech questions. Welcome :) [source] First guess: On your live server the ini-value

Re: [PHP] help out a noob w/ include switch?

2005-09-20 Thread jt
Thanks Thorsten and Rob, Sry my bogus code was error filled. This is not the case with the actual code. I was a little quick in removing the large amounts of text that are actually contained in the cases and case 1,2,3: is just to say there are many more cases. Could this be a problem

Re: [PHP] help out a noob w/ include switch?

2005-09-20 Thread Robert Cummings
On Tue, 2005-09-20 at 19:41, jt wrote: Thanks Thorsten and Rob, Sry my bogus code was error filled. This is not the case with the actual code. I was a little quick in removing the large amounts of text that are actually contained in the cases and case 1,2,3: is just to say there are

Re: [PHP] help out a noob w/ include switch?

2005-09-20 Thread Thorsten Suckow-Homberg
[...] Try the following: 1) include() will only trigger a warning if the requested file is not within the include path. Thus, to make sure the file is found, you should use require() which triggers a fatal error and prevends the script from being executed if the given filename as the

[PHP] help me to draw a listview in my website

2005-09-12 Thread Nahalingam N. Kanakavel
hi all, If any scripts available to draw a list view. Plz help me, by giving some links or scripts avilable with you. thanks in advance. -- with regds, Nahalingam.

Re: [PHP] help me to draw a listview in my website

2005-09-12 Thread Burhan Khalid
Nahalingam N. Kanakavel wrote: hi all, If any scripts available to draw a list view. Plz help me, by giving some links or scripts avilable with you. What is a list view? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] help me to draw a listview in my website

2005-09-12 Thread Gustav Wiberg
Hi there! What do you mean with listview? Of what? /G http://www.varupiraten.se/ - Original Message - From: Nahalingam N. Kanakavel [EMAIL PROTECTED] To: PHP php-general@lists.php.net Sent: Monday, September 12, 2005 11:05 AM Subject: [PHP] help me to draw a listview in my website

Re: [PHP] help me to draw a listview in my website

2005-09-12 Thread Nahalingam N. Kanakavel
N. Kanakavel [EMAIL PROTECTED] To: PHP php-general@lists.php.net Sent: Monday, September 12, 2005 11:05 AM Subject: [PHP] help me to draw a listview in my website hi all, If any scripts available to draw a list view. Plz help me, by giving some links or scripts avilable with you

Re: [PHP] help me to draw a listview in my website

2005-09-12 Thread Jesper Gran
Maybe this could be something? I haven't tried it though. http://www.activewidgets.com/grid/ /Jesper -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with Class

2005-09-09 Thread Ryan Creaser
Ian Barnes wrote: Hi Ryan, I am including a different class.inc.php file each time the foreach loops. Each one sits in a different dir. Yes, I do get that error. My understanding of OOP is that I could null the $sdk variable and re-init it when the loop starts again.. You'd be right if

RE: [PHP] Help with Class

2005-09-08 Thread Ian Barnes
Hi Thomas, Thanks for the help. That didn't work though ... Its now set to be $SDK = new sdk; Nothing :( -Original Message- From: Thomas [mailto:[EMAIL PROTECTED] Sent: 08 September 2005 09:08 AM To: 'Ian Barnes' Subject: RE: [PHP] Help with Class Sorry for not explaining ... [code

Re: [PHP] Help with Class

2005-09-08 Thread Ryan Creaser
Ian Barnes wrote: require_once ( $fetchd['path'].'sdk/ipbsdk_class.inc.php' ); What is the above line doing? It looks like you are trying to redeclare the ipbsdk class each time around the loop which is illegal in php. You can't do : class ipbsdk {

RE: [PHP] Help with Class

2005-09-08 Thread Ian Barnes
: Ryan Creaser [mailto:[EMAIL PROTECTED] Sent: 09 September 2005 12:34 AM To: Ian Barnes Cc: PHP General Subject: Re: [PHP] Help with Class Ian Barnes wrote: require_once ( $fetchd['path'].'sdk/ipbsdk_class.inc.php' ); What is the above line doing? It looks

[PHP] Help with Class

2005-09-07 Thread Ian Barnes
Hi, I am writing a site where I need to access multiple classes of the same name located under certain directories. The reason for each directory is because the class under that directory talks only to the files in that directory and cant do multiple (its not my software) I have it so that

Re: [PHP] Help with Class

2005-09-07 Thread Jason Davidson
I would have guessed unset($sqk); to work, but also try $sdk = null; Jason On 9/7/05, Ian Barnes [EMAIL PROTECTED] wrote: Hi, I am writing a site where I need to access multiple classes of the same name located under certain directories. The reason for each directory is because

RE: [PHP] Help with Class

2005-09-07 Thread Ian Barnes
Hi, Thanks for the help, but none of those worked. Anyone else got any suggestions? Or possibly another way of achieving this ? Cheers Ian _ From: Jason Davidson [mailto:[EMAIL PROTECTED] Sent: 07 September 2005 05:47 PM To: Ian Barnes Cc: PHP General Subject: Re: [PHP

RE: [PHP] Help with Class

2005-09-07 Thread Ian Barnes
Hi, Thanks for the help, but none of those worked. Anyone else got any suggestions? Or possibly another way of achieving this ? Cheers Ian _ From: Jason Davidson [mailto:[EMAIL PROTECTED] Sent: 07 September 2005 05:47 PM To: Ian Barnes Cc: PHP General Subject: Re: [PHP

[PHP] Help: Get the value of pi up to 200+ digits?

2005-09-01 Thread Wong HoWang
Dear all, I'm trying to do like this but failed: ?php ini_set('precision',16); echo pi(); ? How can I get more digits after . ? Can anyone help? Thx! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help: Get the value of pi up to 200+ digits?

2005-09-01 Thread Wong HoWang
Dear all, I'm trying to do like this but failed: ?php ini_set('precision',16); echo pi(); ? How can I get more digits after . ? Can anyone help? Thx! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help: Get the value of pi up to 200+ digits?

2005-09-01 Thread Torgny Bjers
Wong HoWang wrote: Dear all, I'm trying to do like this but failed: ?php ini_set('precision',16); echo pi(); ? How can I get more digits after . ? I am fairly sure that you have to use BCMath for this: http://www.php.net/manual/en/ref.bc.php Give it a go and see what happens! :)

Re: [PHP] Help: Get the value of pi up to 200+ digits?

2005-09-01 Thread Wong HoWang
but my server configure don't have bcmath enabled, is there any other way to do so? Torgny Bjers [EMAIL PROTECTED] wrote:[EMAIL PROTECTED] Wong HoWang wrote: Dear all, I'm trying to do like this but failed: ?php ini_set('precision',16); echo pi(); ? How can I get more digits after . ?

Re: [PHP] Help: Get the value of pi up to 200+ digits?

2005-09-01 Thread Oliver Grätz
Wong HoWang schrieb: but my server configure don't have bcmath enabled, is there any other way to do so? Since the internal routines of PHP have limited precision, you these options: - Find a way to activate bcmath (not likely to happen on a shared hosting account) - Find an external program

Re: [PHP] Help: Get the value of pi up to 200+ digits?

2005-09-01 Thread Jordan Miller
http://us3.php.net/manual/en/ini.core.php#ini.precision precision sets the number of significant digits, *NOT* the number of digits displayed after the decimal point. If you want to get pi out to 16 decimal places you need a precision of *17* because the beginning 3 is a significant digit.

Re: [PHP] Help: Get the value of pi up to 200+ digits?

2005-09-01 Thread Wong HoWang
Dear Jordan, I know what you mean. But you may try this one and you will know: ?php ini_set('precision',200); echo pi(); ? the result is the same as 16!!! So that's why I ask this question! I am not stupid like that! Please help, thx! Jordan Miller [EMAIL PROTECTED] wrote:[EMAIL PROTECTED]

Re: [PHP] Help: Get the value of pi up to 200+ digits?

2005-09-01 Thread Steve Edberg
Hi - The 'precision' ini value refers, I believe, only to float numbers, not BC_math numbers (which are stored as strings). I believe the bcmath.scale parameter is the one you need. It can be set via ini_set or bcscale() - http://php.he.net/manual/en/function.bcscale.php Perhaps you

Re: [PHP] Help: Get the value of pi up to 200+ digits? -- oops

2005-09-01 Thread Steve Edberg
Oops...I didn't see the earlier message that BC functions were not enabled on your server. So, I'd have to concur with Oliver Grätz's suggestions, and add some of my own: - can you change hosts? - are you allowed to install software in your own directory? You may be able to

[PHP] Help in upgrade

2005-08-30 Thread PHP
Hi, I am trying to upgrade my server to apache 2 from apache 1, but i am running into a problem in apache 1, i had the following line: AddType application/x-httpd-php .php ..php3 ..phtml.htm .html now if there is a certain directory where i specify to turn the engine off: Directory

[PHP] Help Needed

2005-08-26 Thread David Skyers
I have an annoying problem, I'm trying to write a simple PHP page that says if a record is found in an Oracle database display 'Data Found' else display 'No Data Found' but it does not seem to be working. ?php require(../passit.php); $stmt = OCIParse(select UPI, ORG from WEB_DS where REC_VALUE

Re: [PHP] Help Needed

2005-08-26 Thread Raz
David but it does not seem to be working. Might be helpful for folks if you describe the nature of the fault i.e. what you get back when you run this - at this stage there are a multitude of possibilities... raz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Help Needed

2005-08-26 Thread David Skyers
Hi Raz Good Point. It displays 'No data found' when it should display 'Data found' Thanks David -Original Message- From: Raz [mailto:[EMAIL PROTECTED] Sent: 26 August 2005 12:06 To: David Skyers Cc: php-general@lists.php.net Subject: Re: [PHP] Help Needed David but it does not seem

Re: [PHP] Help Needed

2005-08-26 Thread Raz
Leading back in the code, that would suggest that $nrows is not greater than zero - could be a problem with $nrows then, and anything associated with that, i.e. $stmt, whether there is content in the db where REC_VALUE = 'uczmdsk1' etc. etc. Work back down the chain and see if you can find

Re: [PHP] Help Needed

2005-08-26 Thread Angelo Zanetti
does the actual SQL statement bring back any info if you do it through the oracle interface, perhaps the problem isnt php but the SQL statement. HTH Angelo Raz wrote: Leading back in the code, that would suggest that $nrows is not greater than zero - could be a problem with $nrows then, and

RE: [PHP] Help Needed

2005-08-26 Thread David Skyers
] Sent: 26 August 2005 13:14 To: Raz Cc: David Skyers; php-general@lists.php.net Subject: Re: [PHP] Help Needed does the actual SQL statement bring back any info if you do it through the oracle interface, perhaps the problem isnt php but the SQL statement. HTH Angelo Raz wrote: Leading back

Re: [PHP] Help Needed

2005-08-26 Thread Raz
David, If I change the code to ($nrows = 1) then it displays 'Data found', however if I have a REC_VALUE = 'does not exist' it still displays 'Data found' That would suggest that something is being returned - do you have command line access or some other way to look at what is being

[PHP] Help correcting a form mailer problem...

2005-08-17 Thread zedleon
I previously built a sticky form with dynamic checkbox array's. The form works beautifully thanks to help from Jochem Mass and Kathleen Ballard. I now have a slightly different problem...I have built an email form to send the form data. I copied and used the following code which works

Re: [PHP] Help correcting a form mailer problem...

2005-08-17 Thread Joe Wollard
I would first start out by dumping the values of $_POST['gmev'] by using print_r($_POST['gmev']); Sounds to me like you're not getting the data that your expecting from the form for some reason. Maybe $_POST['gmev'] is an array of null values? -Good Luck On Aug 17, 2005, at 12:15 PM,

Re: [PHP] Help correcting a form mailer problem...

2005-08-17 Thread zedleon
thanks for the reply... after using the print_r($_POST['gmev']); and selecting all the checkboxes to send to the form the return is Array ( [0] = on [1] = on [2] = on [3] = on ). So the values are missing. don't really know how to proceed at this point. any help is appreciated. Joe Wollard

Re: [PHP] Help correcting a form mailer problem...

2005-08-17 Thread Jordan Miller
wherever you think you are adding data to the gmev array, you are merely adding the on string. I would search your script for the string on and you will find the problem. what you need is the value in the HTML form to be the text you want inserted into the array, such as: input

RE: [PHP] Help correcting a form mailer problem...

2005-08-17 Thread php-mail
:[EMAIL PROTECTED] Sent: 17 August 2005 21:30 To: php-general@lists.php.net Subject: Re: [PHP] Help correcting a form mailer problem... thanks for the reply... after using the print_r($_POST['gmev']); and selecting all the checkboxes to send to the form the return is Array ( [0] = on [1] = on [2

<    4   5   6   7   8   9   10   11   12   13   >