Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread -Patrick
Simon wrote: Don't be jackasses - I specifically stated I have tried to unsubscribe What does that mean to you? That I just 'said i did' and didn't actually try it??? I used the official unsubscribe link at the bottom . IT DIDNT WORK FOR ME! Call an ambulance too, just in case! Wow, have

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread -Patrick
Yes, I am still having a problem,after trying to unsubscribe AGAIN, it sends me a confirm message. I reply to it then it sends me back the confirm-identity message, I reply with the text block it requires and still no positive result. I must mention that in the past when I have tried to do

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread -Patrick
this message below should not have gone through as I tried to unsubscribe shortly before this reply -Patrick wrote: Yes, I am still having a problem,after trying to unsubscribe AGAIN, it sends me a confirm message. I reply to it then it sends me back the confirm-identity message, I reply with

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread Stut
-Patrick wrote: this message below should not have gone through as I tried to unsubscribe shortly before this reply You do not need to be subscribed to post to this list. -Patrick wrote: Yes, I am still having a problem,after trying to unsubscribe AGAIN, it sends me a confirm message. I

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread Edward Krack
To remove your address from the list, just send a message to the address in the ``List-Unsubscribe'' header of any list message. If you haven't changed addresses since subscribing, you can also send a message to: [EMAIL PROTECTED] I'm done with you -- Edward Krack

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread -Patrick
Stut wrote: I've never known an unsubscribe request to need identity confirmation. Are you sure you're asking the system to unsubscribe you not subscribe you? I'm really not sure how, or even if it's possible, to escalate this to the next level. I've subscribed and unsubscribed to PHP

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread -Patrick
Edward Krack wrote: To remove your address from the list, just send a message to the address in the ``List-Unsubscribe'' header of any list message. If you haven't changed addresses since subscribing, you can also send a message to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] I'm done with

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread Janet Valade
Here's a page with more info about unsubscribing and problems. Have you seen this? http://www.php.net/unsub.php Janet -Patrick wrote: Stut wrote: I've never known an unsubscribe request to need identity confirmation. Are you sure you're asking the system to unsubscribe you not subscribe

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread Jim Lucas
-Patrick wrote: Stut wrote: I've never known an unsubscribe request to need identity confirmation. Are you sure you're asking the system to unsubscribe you not subscribe you? I'm really not sure how, or even if it's possible, to escalate this to the next level. I've subscribed and

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread -Patrick
Yes, I've seen that page on php.net And no Jim, I'm not sure this is the 'exact' same problem. I understand what you are saying and it's not working. Ok, I am done for now with this list. Thanks for trying anyways. -Patrick Jim Lucas wrote: -Patrick wrote: Stut wrote: I've never known an

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread David Wonderly
-Patrick wrote: Yes, I've seen that page on php.net And no Jim, I'm not sure this is the 'exact' same problem. I understand what you are saying and it's not working. Ok, I am done for now with this list. Thanks for trying anyways. -Patrick Jim Lucas wrote: -Patrick wrote: Stut wrote:

Re: [PHP] help curl followlocation

2007-06-27 Thread Gowranga
From the PHP docs: CURLOPT_FOLLOWLOCATION (integer) This constant is not available when opendbase_dir or safe_mode are enabled. Do you have openbase_dir or safe_mode on? Cheers, Rob. -- Thanks Robert, for your mail. Both these settings are Off in my php.ini file. Kindly let

Re: [PHP] help curl followlocation

2007-06-27 Thread Tijnema
On 6/27/07, Gowranga [EMAIL PROTECTED] wrote: From the PHP docs: CURLOPT_FOLLOWLOCATION (integer) This constant is not available when opendbase_dir or safe_mode are enabled. Do you have openbase_dir or safe_mode on? Cheers, Rob. -- Thanks Robert, for your mail. Both these

Re: [PHP] help curl followlocation

2007-06-27 Thread Gowranga
You can better check it through phpinfo(), because it might be changed through httpd.conf or maybe you're looking at the wrong php.ini... Just to be sure :) Tijnema -- safe_mode entry shows it is put Off and opendbase_dir shows no value in phpinfo(). Confirmed I have only one php.ini.

Re: [PHP] help with multi dimensional arrays

2007-05-24 Thread Zoltán Németh
2007. 05. 23, szerda keltezéssel 22.59-kor James Lockie ezt írta: I get a syntax error on strlen. $newTypes = array(); $newTypes[0] = array(); $newTypes[0][0] = Starting with you missed the ending ; on that line greets Zoltán Németh $newTypes[0][1] = strlen(

Re: [PHP] help with multi dimensional arrays

2007-05-24 Thread Richard Lynch
On Wed, May 23, 2007 9:59 pm, James Lockie wrote: I get a syntax error on strlen. $newTypes = array(); $newTypes[0] = array(); $newTypes[0][0] = Starting with $newTypes[0][1] = strlen( $newTypes[0][0] ); If you are missing the ; in the line before, PHP gets pretty

Re: [PHP] help with multi dimensional arrays

2007-05-24 Thread Micky Hulse
Micky Hulse wrote: Looks like you are missing a comma on line 3. Doi, meant semi-colon, not comma... Lol. Also, when I get PHP errors, if not obvious, I check the previous line also... If says something like error on line 7 I will look at both line six and seven. Of course, depends on

Re: [PHP] Help with php server and sockets

2007-05-23 Thread Robert Cummings
On Wed, 2007-05-23 at 16:24 -0700, Adz07 wrote: i want to set up a php server that can communicate with a client (CLI PHP Script). I can setup the server socket fine. What i need to know is whether it is possible for the client to call a function in the servers php code and the server return

Re: [PHP] help with multi dimensional arrays

2007-05-23 Thread Micky Hulse
Looks like you are missing a comma on line 3. James Lockie wrote: I get a syntax error on strlen. $newTypes = array(); $newTypes[0] = array(); $newTypes[0][0] = Starting with $newTypes[0][1] = strlen( $newTypes[0][0] ); -- Wishlists: http://snipurl.com/1gqpj Switch:

Re: [PHP] help with multi dimensional arrays

2007-05-23 Thread Paul Novitski
Looks like you are missing a comma on line 3. James Lockie wrote: I get a syntax error on strlen. $newTypes = array(); $newTypes[0] = array(); $newTypes[0][0] = Starting with $newTypes[0][1] = strlen( $newTypes[0][0] ); Missing semicolon; Paul -- PHP General Mailing List

Re: [PHP] help with multi dimensional arrays

2007-05-23 Thread James Lockie
Paul Novitski wrote: Looks like you are missing a comma on line 3. James Lockie wrote: I get a syntax error on strlen. $newTypes = array(); $newTypes[0] = array(); $newTypes[0][0] = Starting with $newTypes[0][1] = strlen( $newTypes[0][0] ); Missing semicolon; Paul Argh,

Re: [PHP] help with multi dimensional arrays

2007-05-23 Thread Greg Donald
On 5/23/07, James Lockie [EMAIL PROTECTED] wrote: Argh, that is the worst error. :-( The error messages in PHP suck. When I run your code it says: Parse error: syntax error, unexpected T_VARIABLE in /opt/local/apache2/htdocs/missing.php on line 5 If you did not get a similar error you may

Re: [PHP] help with multi dimensional arrays

2007-05-23 Thread Steve Finkelstein
Might I suggest using an IDE to develop your code in. It would be able to spot simple oversights such as syntax errors. I personally use Zend Studio, however if you aren't looking to invest in a license, there are plenty of open source solutions out there. Cheers, - sf James Lockie wrote: Paul

Re: [PHP] Help with CURL please

2007-05-11 Thread Greg Donald
On 5/11/07, ray [EMAIL PROTECTED] wrote: I'm having a problem getting Curl to work properly...and I know its because of this unique situation, so I'm hoping a CURL expert can help me out. I'm trying to access this URL (public search form) using CURL and grab the HTML contents

Re: [PHP] Help with CURL please!

2007-05-11 Thread Robert Cummings
On Fri, 2007-05-11 at 14:13 -0700, ray wrote: I'm having a problem getting Curl to work properly...and I know its because of this unique situation, so I'm hoping a CURL expert can help me out. That's not very unique. More unique is when you have to rip out JavaScript cookie stuff and process

Re: [PHP] Help me put this into phpinesse!

2007-04-29 Thread Tijnema !
On 4/29/07, Brad Sumrall [EMAIL PROTECTED] wrote: ?php ob_start(); session_start(); header(Cache-control: private); require(includes/configure.php); $conn=mysql_connect(DB_SERVER,DB_SERVER_USERNAME,DB_SERVER_PASSWORD);

RE: [PHP] Help me put this into phpinesse!

2007-04-29 Thread Brad Sumrall
- From: Tijnema ! [mailto:[EMAIL PROTECTED] Sent: Sunday, April 29, 2007 5:03 AM To: Brad Sumrall Cc: php-general@lists.php.net; [EMAIL PROTECTED] Subject: Re: [PHP] Help me put this into phpinesse! On 4/29/07, Brad Sumrall [EMAIL PROTECTED] wrote: ?php ob_start

Re: [PHP] help needed to write an installation script for my php application

2007-04-24 Thread Tijnema !
On 4/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi There, Could you please help me to write an installation script to install a php based application in Windows. 1. I have WAMP5.0 running my my IBM T43 laptop. 2. I have created a php application. 3. I would like to know how to create

Re: [PHP] help needed to write an installation script for my php application

2007-04-24 Thread Richard Lynch
On Mon, April 23, 2007 7:36 am, [EMAIL PROTECTED] wrote: Could you please help me to write an installation script to install a php based application in Windows. 1. I have WAMP5.0 running my my IBM T43 laptop. 2. I have created a php application. 3. I would like to know how to create an

Re: [PHP] help needed to write an installation script for my php application

2007-04-23 Thread Ed Oceo
On Mon, April 23, 2007 5:36 am, [EMAIL PROTECTED] wrote: Hi There, Could you please help me to write an installation script to install a php based application in Windows. NSIS, nullsoft installer is a nice installer to use for Windows applications. http://nsis.sourceforge.net/Main_Page --

Re: [PHP] Help with table in database and login scripts.

2007-04-11 Thread Chris
Karl James wrote: Team, I want to know if my table is setup correctly. I am creating a site where team owners control fantasy football teams. Imaginary teams. They can trade players, add and drop them as long as they are under the salary cap at all times. if not they are given a warning to

Re: [PHP] HELP with mail()

2007-04-06 Thread Tijnema !
On 4/6/07, Zhimmy Kanata [EMAIL PROTECTED] wrote: I created the following email program from a email function that I know works in another program. When I create a simple form page listed below and submit it. It echos the $email and the $username and it writes it to the page. So it is

Re: [PHP] help me to solve this math maze

2007-04-04 Thread Zoltán Németh
2007. 04. 4, szerda keltezéssel 12.44-kor Faisal Murad ezt írta: i am making a program to give money to a group of people lets say that i have to distribute 3000 among 12 people 6 of them are adult and will get 100% 6 them are children those will get 75% from the overall amount. a

Re: [PHP] help me to solve this math maze

2007-04-04 Thread Satyam
You'll give 100 'units' to 6 of them, and 75 to 6, thus: 6 * 100 + 6 * 75 == 1050 units Each 'unit' is valued at: 3000 / 1050 == 2.8571 Thus, you give: 6 * 285.71 + 6 * 214.28 == 2999.94, and you may keep the change ;-) Satyam - Original Message - From: Faisal Murad [EMAIL

Re: [PHP] help me to solve this math maze

2007-04-04 Thread Jochem Maas
Satyam wrote: You'll give 100 'units' to 6 of them, and 75 to 6, thus: 6 * 100 + 6 * 75 == 1050 units Each 'unit' is valued at: 3000 / 1050 == 2.8571 Thus, you give: 6 * 285.71 + 6 * 214.28 == 2999.94, and you may keep the change ;-) pity you don't work as bank director Satyam

Re: [PHP] help me to solve this math maze

2007-04-04 Thread tedd
At 12:44 PM +0300 4/4/07, Faisal Murad wrote: i am making a program to give money to a group of people lets say that i have to distribute 3000 among 12 people 6 of them are adult and will get 100% 6 them are children those will get 75% from the overall amount. a common solution might appear as

Re: [PHP] Help me specify/develop a feature! (cluster web sessions management)

2007-03-14 Thread markw
On Tue, March 13, 2007 7:27 pm, Mark wrote: I have a web session management server that makes PHP clustering easy and fast. I have been getting a number of requests for some level of redundancy. As it is, I can save to an NFS or GFS file system, and be redundant that way. Talk to Jason

Re: [PHP] help with script needed

2007-03-13 Thread Stut
Richard Lynch wrote: You could also just use: if (($i % 15) === 0) echo FooBar; elseif (($i % 3) === 0) echo Foo; elseif (($i % 5) === 0) echo Bar; 15 works because 3 and 5 are mutually prime or whatever it's called. Good point, missed that one. A minimalist might not even bother with the

Re: [PHP] Help me specify/develop a feature! (cluster web sessions management)

2007-03-13 Thread Richard Lynch
On Tue, March 13, 2007 7:27 pm, Mark wrote: I have a web session management server that makes PHP clustering easy and fast. I have been getting a number of requests for some level of redundancy. As it is, I can save to an NFS or GFS file system, and be redundant that way. Talk to Jason at

Re: [PHP] help with script needed

2007-03-12 Thread Richard Lynch
You could also just use: if (($i % 15) === 0) echo FooBar; elseif (($i % 3) === 0) echo Foo; elseif (($i % 5) === 0) echo Bar; 15 works because 3 and 5 are mutually prime or whatever it's called. The order matters, though, as moving the 15 after the other if tests would fail, as 3 and/or 5 would

Re: [PHP] Help with captcha

2007-03-09 Thread Tijnema !
I'm not sure but i think that you need to place your javascript inside the head tags, which you (i guess) output in header.php Tijnema On 3/9/07, Joker7 [EMAIL PROTECTED] wrote: Im trying to use a captcha script from : http://www.boutell.com/newfaq/creating/captcha.html I can get it to work

Re: [PHP] Help with the php bug in the Squirrelmail plugin's script

2007-03-09 Thread Tijnema !
If there are no people willing to, i am, but i don't have a lot of time. I hope it isn't urgent. Tijnema On 3/9/07, Jevos, Peter [EMAIL PROTECTED] wrote: Hi I'd like to ask you for the help I'm using Squirellmail with plugin Shared calendar. This is simple nice plugin written by Paul

Re: [PHP] help with script needed

2007-03-08 Thread Jochem Maas
Stut wrote: Bruce Gilbert wrote: Thanks for the responses so far. This is what I have come up with [php] ?php for( $i=1; $i=100; $i++ ) { echo $i; echo br; if ($i%3 == 0) echo Foo ; elseif ($i%5 == 0) echo Bar; } ? [/php] and the results can be seen here

Re: [PHP] help with script needed

2007-03-07 Thread Tijnema !
On 3/7/07, Bruce Gilbert [EMAIL PROTECTED] wrote: I have a little script that prints a number out from 1 to 100 [php] ?php for( $i=1; $i=100; $i++ ) { echo $i; echo br; } ? [/php] I just need to add code to print something different, say foo if the output is a multiple of 5 or 10 for example.

Re: [PHP] help with script needed

2007-03-07 Thread afan
try this if ($i%5 == 0) echo foobr; -afan I have a little script that prints a number out from 1 to 100 [php] ?php for( $i=1; $i=100; $i++ ) { echo $i; echo br; } ? [/php] I just need to add code to print something different, say foo if the output is a multiple of 5 or 10 for

Re: [PHP] help with script needed

2007-03-07 Thread Tijnema !
oops, ofcourse whe have the modular :) On 3/7/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: try this if ($i%5 == 0) echo foobr; -afan I have a little script that prints a number out from 1 to 100 [php] ?php for( $i=1; $i=100; $i++ ) { echo $i; echo br; } ? [/php] I just need to

Re: [PHP] help with script needed

2007-03-07 Thread Martin Marques
Tijnema ! escribió: On 3/7/07, Bruce Gilbert [EMAIL PROTECTED] wrote: I just need to add code to print something different, say foo if the output is a multiple of 5 or 10 for example. How do I go about doing this? I've seen that question a lot, what i use is fairly simple if( intval($number

Re: [PHP] help with script needed

2007-03-07 Thread Bruce Gilbert
Thanks for the responses so far. This is what I have come up with [php] ?php for( $i=1; $i=100; $i++ ) { echo $i; echo br; if ($i%3 == 0) echo Foo ; elseif ($i%5 == 0) echo Bar; } ? [/php] and the results can be seen here http://www.inspired-evolution.com/image_test/numbers_output.php I

Re: [PHP] help with script needed

2007-03-07 Thread Jake McHenry
Marques martin@bugs.unl.edu.ar Cc: Tijnema ! [EMAIL PROTECTED]; PHP-General php-general@lists.php.net Sent: Wednesday, March 07, 2007 4:00 PM Subject: Re: [PHP] help with script needed Thanks for the responses so far. This is what I have come up with [php] ?php for( $i=1; $i=100; $i++ ) { echo $i

Re: [PHP] help with script needed

2007-03-07 Thread Stut
Bruce Gilbert wrote: Thanks for the responses so far. This is what I have come up with [php] ?php for( $i=1; $i=100; $i++ ) { echo $i; echo br; if ($i%3 == 0) echo Foo ; elseif ($i%5 == 0) echo Bar; } ? [/php] and the results can be seen here

Re: [PHP] help with script needed

2007-03-07 Thread Jake McHenry
LOL I told'ya I rememberd it from my 2nd semester :) Ok, this is commonly known as the FizzBuzz problem and is used a lot as a university project or interview question. If you can't do it, be afraid!! http://dev.stut.net/php/fizzbuzz.php -Stut -- PHP General Mailing List

RE: [PHP] Help with a within week function

2007-03-05 Thread Jim Moseby
I have been trying to find a way to search a DB and match a range within a week ( php mysql ). This doesn't make sense, so I will describe it in more detail. Hi everyone, I need help with a search, lets say a record has a date of 2/5/2007 and if someone visits the website

Re: [PHP] Help with a within week function

2007-03-05 Thread David Giragosian
On 3/5/07, Jim Moseby [EMAIL PROTECTED] wrote: I have been trying to find a way to search a DB and match a range within a week ( php mysql ). This doesn't make sense, so I will describe it in more detail. Hi everyone, I need help with a search, lets say a record has a date of

Re: [PHP] Help! I cannot send e-mail to your mail groups

2007-03-02 Thread Haydar Tuna
-general@lists.php.net Sent: Friday, March 02, 2007 12:19 PM Subject: Re: [PHP] Help! I cannot send e-mail to your mail groups 2007. 03. 2, péntek keltezéssel 09.57-kor Haydar Tuna ezt írta: Hello, I have been Linux user for 7 years and I have been membership of Linux Community group for 3

Re: [PHP] Help with directory listing code

2007-02-23 Thread Richard Lynch
On Wed, February 21, 2007 10:41 am, Joker7 wrote: Hi - I'm having a bit of a problem with this directory listing code, found it some time ago and have been modifying it.I have run up against one or two problems. 1\ How can I make it not list its self 2\ Is there away to specify what files

Re: [PHP] Help with matching numbers 0-100

2007-02-07 Thread Jochem Maas
Richard Lynch wrote: On Sat, February 3, 2007 10:55 am, Chilling Lounge Admin wrote: I need help with matching a variable. The variable would be e.g. 0-15 , 16-30 etc. and when the variable is equal to a certain range, it would echo an image. Does anyone know what function I should use?

Re: [PHP] Help with matching numbers 0-100

2007-02-04 Thread Richard Lynch
On Sat, February 3, 2007 10:55 am, Chilling Lounge Admin wrote: I need help with matching a variable. The variable would be e.g. 0-15 , 16-30 etc. and when the variable is equal to a certain range, it would echo an image. Does anyone know what function I should use? preg_match? The code

Re: [PHP] Help with matching numbers 0-100

2007-02-03 Thread Myron Turner
Chilling Lounge Admin wrote: Hi. I need help with matching a variable. The variable would be e.g. 0-15 , 16-30 etc. and when the variable is equal to a certain range, it would echo an image. Does anyone know what function I should use? preg_match? The code would be something like

Re: [PHP] Help wtih a query?

2007-01-31 Thread Satyam
- Original Message - From: Jon Anderson [EMAIL PROTECTED] To: Skip Evans [EMAIL PROTECTED] Cc: PHP-General php-general@lists.php.net Sent: Tuesday, January 30, 2007 11:46 PM Subject: Re: [PHP] Help wtih a query? Wrong list. Putting $sql=... in there doesn't make it a PHP question

Re: [PHP] Help wtih a query?

2007-01-30 Thread Jon Anderson
Wrong list. Putting $sql=... in there doesn't make it a PHP question. ;-) Skip Evans wrote: Is that what the left/right joins do??? Yea. LEFT JOIN will give you NULL entries in the left joined table, so you'd just have to say WHERE ISNULL(left joined table.some field in that table). Of

Re: [PHP] Help wtih a query?

2007-01-30 Thread Brad Bonkoski
Skip Evans wrote: Hey all, I have the following query: $sql=SELECT count(*) AS count,votes.storyID,stories.title,stories.storyID as sID,stories.approved, stories.story,stories.userID, fname, lname FROM `bsp_story_votes` as votes, bsp_story_stories AS stories, users AS usr

Re: [PHP] Help wtih a query?

2007-01-30 Thread Philip Thompson
On Jan 30, 2007, at 4:33 PM, Skip Evans wrote: Hey all, I have the following query: $sql=SELECT count(*) AS count,votes.storyID,stories.title,stories.storyID as sID,stories.approved, stories.story,stories.userID, fname, lname FROM `bsp_story_votes` as votes,

Re: [PHP] Help With Inventory

2007-01-23 Thread Jim Lucas
Brandon Bearden wrote: What I WANT to see is something like this DVD ID | TITLE | GENRE 1 | GENRE 2 | GENRE 3 | ACT | QTY BCK |HLD | INC | OG USR | OUT DATE | OUT USR | IN DATE | IN USR CY GENRE: ACTION - 1 TITLES 20860023 | Movie name | ACTION | | | 1

Re: [PHP] [HELP] Fatal error when uploading large files!

2007-01-23 Thread Jay Paulson
Hi everyone, Hopefully you all can help! I¹m at a loss as to what to do next. I¹m running PHP 5.1.2 with Apache 2.0.55 on RedHat ES4 and I keep getting the following PHP error when trying to upload a larger file. I have AllowOverride turned on in the httpd.conf file so my .htaccess file

Re: [PHP] [HELP] Fatal error when uploading large files!

2007-01-23 Thread Jay Paulson
Hi everyone, Hopefully you all can help! I¹m at a loss as to what to do next. I¹m running PHP 5.1.2 with Apache 2.0.55 on RedHat ES4 and I keep getting the following PHP error when trying to upload a larger file. I have AllowOverride turned on in the httpd.conf file so my .htaccess file

Re: [PHP] [HELP] Fatal error when uploading large files!

2007-01-23 Thread Richard Lynch
On Tue, January 23, 2007 1:48 pm, Jay Paulson wrote: php_value memory_limit 40M php_value post_max_size 30M php_value upload_max_filesize 30M php_value display_errors On php_value max_execution_time 300 php_value max_input_time 300 I *think* PHP (used to?) take the MINIMUM of the php.ini

Re: [PHP] Help With Inventory

2007-01-22 Thread Jim Lucas
Here is my rendition of your script. Give it a shot... Let me know if you have any question about what is going on. I was curious, what is the point of having the alternating column colors? Was that your intention? ?php function invlistONE(){ dbconnect('connect'); $invlist

Re: [PHP] [HELP] Fatal error when uploading large files!

2007-01-22 Thread Jim Lucas
Jay Paulson wrote: Hi everyone, Hopefully you all can help! I¹m at a loss as to what to do next. I¹m running PHP 5.1.2 with Apache 2.0.55 on RedHat ES4 and I keep getting the following PHP error when trying to upload a larger file. I have AllowOverride turned on in the httpd.conf file so my

Re: [PHP] [HELP] Fatal error when uploading large files!

2007-01-22 Thread Jochem Maas
Jay Paulson wrote: Hi everyone, Hopefully you all can help! I¹m at a loss as to what to do next. I¹m running PHP 5.1.2 with Apache 2.0.55 on RedHat ES4 and I keep getting the following PHP error when trying to upload a larger file. I have AllowOverride turned on in the httpd.conf file so

Re: [PHP] Help With Inventory

2007-01-22 Thread Brandon Bearden
Thank you for your help. I see what you are doing different. I don't understand how the quotient works there. I will sometime. I also don't understand the HEREDOC concept. I wanted colors alternating to allow for a better read. I still have not solved the problem with listing the genre in its

Re: [PHP] Help With Inventory

2007-01-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-22 22:55:50 -0800: Jim Lucas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] $count = 0; while ( $row = mysql_fetch_array( $invlist ) ) { if ( $count % 1 ) { $rowColor = '#c1c1c1'; } else { $rowColor = ''; } echo HEREDOC tr

Re: [PHP] Help With Inventory

2007-01-22 Thread Brandon Bearden
What I WANT to see is something like this DVD ID | TITLE | GENRE 1 | GENRE 2 | GENRE 3 | ACT | QTY BCK |HLD | INC | OG USR | OUT DATE | OUT USR | IN DATE | IN USR CY GENRE: ACTION - 1 TITLES 20860023 | Movie name | ACTION | | | 1 | 1 | 0 |

Re: [PHP] Help me about using php with tomcat server.

2007-01-04 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-04 15:05:54 +0700: I have two web application running on php and jsp. But i don't know how can to use php and jsp on tomcat server. Please help me. Find an implementation of PHP in Java (tough luck) or the official library wrapped in a JNI interface. But you'll

Re: [PHP] Help me about using php with tomcat server.

2007-01-04 Thread Iqbal Naved
Hi, The Tomcat server now includes the php javabridge, its a war file called JavaBridge.war. Also, you can find this war file in php-java-bridge.sourceforge.net . The instllation is pretty easy just copy the war file in the root directory (e.g webapps/) and then run it from the browser (eg.

Re: [PHP] Help me about detect client screen resolution!!!

2007-01-03 Thread Strong Cypher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just remember in web context is a server-side language ... so you couldn't have more information than client would want to send to you in web context, the navigator send some information to the server (like what navigator, address, proxy, ...) so

Re: [PHP] Help me about detect client screen resolution!!!

2007-01-02 Thread Stut
Le Phuoc Canh wrote: Can we use php to detect client screen resolution? Please help me ? No we can't. You need Javascript or another client-side technology for that. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help me about detect client screen resolution!!!

2007-01-02 Thread David Giragosian
On 1/2/07, Stut [EMAIL PROTECTED] wrote: Le Phuoc Canh wrote: Can we use php to detect client screen resolution? Please help me ? No we can't. You need Javascript or another client-side technology for that. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Help me about detect client screen resolution!!!

2007-01-02 Thread Paul Novitski
At 1/2/2007 12:24 AM, Le Phuoc Canh wrote: Can we use php to detect client screen resolution? Please help me ? Do you really want screen resolution or do you want browser window size? Not every PC user keeps their windows maximized, and I have yet to meet a Mac user who attempts to do so.

Re: [PHP] help with \n\r in strings

2006-12-29 Thread Robert Cummings
On Fri, 2006-12-29 at 11:42 +0200, Angelo Zanetti wrote: Hi all, I receive a text file with a whole bunch of strings. and each line is terminated by what I presume is \n\r however when I read the string into PHP, it seems that the last column of the row and the first column of the next

RE: [PHP] help with \n\r in strings

2006-12-29 Thread Peter Lauri
Try: $string_as_array = explode(\n, $string); echo pre; print_r($string_as_array); echo /pre; The array that you get will contain segments of the string that is separated with \n. Let me know if that helps. Best regards, Peter Lauri www.dwsasia.com - company web site www.lauri.se -

Re: [PHP] help with \n\r in strings

2006-12-29 Thread Frank Arensmeier
If you just want to test for \n\r - if ( substr ( -2, $my_string ) == \n\r ) { // substr with the negative value of 2 will give you the last two characters of your string // do some stuff } I think it would be a good idea to explain a little bit more what you are trying to

Re: [PHP] help with \n\r in strings

2006-12-29 Thread Robert Cummings
On Fri, 2006-12-29 at 11:17 +0100, Frank Arensmeier wrote: If you just want to test for \n\r - if ( substr ( -2, $my_string ) == \n\r ) { // substr with the negative value of 2 will give you the last two characters of your string // do some stuff } You have your substr() parameters

Re: [PHP] help with \n\r in strings

2006-12-29 Thread Arpad Ray
Angelo Zanetti wrote: So is there a way to test for \r\n? or what else can I use to delimit these two values (last column of row and first column of next row)? Since it's coming from a file, you might as well just read it with file(), which will split

Re: [PHP] help with \n\r in strings

2006-12-29 Thread Manolet Gmail
2006/12/29, Arpad Ray [EMAIL PROTECTED]: Angelo Zanetti wrote: So is there a way to test for \r\n? or what else can I use to delimit these two values (last column of row and first column of next row)? mmm what about open the file with and hex editor?.. or mmm notepad++ have a option to see

Re: [PHP] help with curlSOLVED

2006-12-24 Thread Angelo Zanetti
it appears the problem with the port and not the timeout. Angelo Zanetti wrote: Dear All, I have a script that uses curl to execute an http request now I use the same code for two different servers. And it works on the first server but not the second. I have stored the URL that it

Re: [PHP] Help with strange include problem in PHP 5.2.0

2006-12-06 Thread Markus Mayer
Hi Richard, I think I've identified the problem. It appears to be a problem with PHPMyAdmin rather than PHP itself. The directory permissions we have are the minimum we need, usually 710, file permissions are 640. The group part of the permissions is how the apache gets to the files in the

Re: [PHP] Help me about audio stream...

2006-12-05 Thread Richard Lynch
On Mon, December 4, 2006 1:37 am, Le Phuoc Canh wrote: Dears, I want to make a web app about music online. But i don't know how to use streaming in PHP to load a music file for playing. Please help me for the best direction. Thanks alot and best regard. You are making this too complicated.

Re: [PHP] Help with strange include problem in PHP 5.2.0

2006-12-01 Thread Markus Mayer
Hi Richard, Hi all, The include path is correct. That was one of the first things I played around with. At the moment, it's include_path = .. I also tried renaming the php.ini file to php.ini.off so that it wasn't found and took all the defaults, but with no success. Last night I built

Re: [PHP] Help with strange include problem in PHP 5.2.0

2006-12-01 Thread Markus Mayer
On Thursday 30 November 2006 19:04, Richard Lynch wrote: [snip...] And of course I forgot to put in the configure arguments './configure' \ '--without-pear' \ '--with-apxs2=/usr/local/apache2/bin/apxs' \ '--enable-mm=shared' \

Re: [PHP] Help with strange include problem in PHP 5.2.0

2006-12-01 Thread Richard Lynch
Try running it under some kind of debugger and see if you can figure out what directories it's even checking when it doesn't find the file... I dunno if Zend IDE (or whatever it's called now) or Komodo or XDebug or whatnot will do that, but it's definitely sounding very odd if your include_path

Re: [PHP] Help with strange include problem in PHP 5.2.0

2006-11-30 Thread Richard Lynch
On Thu, November 30, 2006 6:49 am, Markus Mayer wrote: I have a strange problem including files in PHP 5.2.0 running on Unix. If I try to include a file using include 'filename.inc';, everything is fine. As soon as I try to put a . in front of the file name, for example include

Re: [PHP] Help! PRINTF Function

2006-11-06 Thread Dotan Cohen
On 06/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, The following examples don't work printf([%10s]\n, $s); // justification à droite avec des espaces printf([%-10s]\n, $s); // justification à gauche avec des espaces but this one: printf([%'#10s]\n, $s); //

Re: [PHP] Help! PRINTF Function

2006-11-06 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-11-06 12:46:14 +0100: Hello, The following examples don't work printf([%10s]\n,    $s); // justification ? droite avec des espaces printf([%-10s]\n,  $s); // justification ? gauche avec

Re: [PHP] help confirming a PDO_SQLITE bug

2006-10-30 Thread Rick Fletcher
Thanks to anyone who entertained my previous email, but I've solved my own problem. It looks like the bug is in PDO_SQLITE 1.0.1. I've just compiled from that extension from CVS, changing nothing else, and the bug is gone. --rick Rick Fletcher wrote: I've just upgraded to Fedora Core 6 and

Re: [PHP] Help on objects

2006-10-06 Thread Richard Lynch
On Thu, October 5, 2006 2:55 pm, Satyam wrote: - Original Message - From: Martin Alterisio To: Satyam Cc: Deckard ; php-general@lists.php.net You're wrong, partially: I am sure you could have stated that in a more courteous way. So, this Argentinian, Italian, and European

Re: [PHP] Help on objects

2006-10-05 Thread John Wells
On 10/5/06, Deckard [EMAIL PROTECTED] wrote: Hi, I'm trying to lay my hands on PHP OOP, but it's not easy :( I've read several examples in the web, but cannot transpose to may case. I'm trying to set a class to make SQL inserts in mysql. I commend you on trying to build an OOP class for

Re: [PHP] Help on objects

2006-10-05 Thread Robert Cummings
On Thu, 2006-10-05 at 07:04 +0200, Satyam wrote: I've seen you already had a good answer on the errors in the code so I won't go on that. As for OOP, the one design error you have is that you are asking for an action, not an object. You want to make SQL inserts, that is your purpose, and

Re: [PHP] Help on objects

2006-10-05 Thread benifactor
- Original Message - From: Robert Cummings [EMAIL PROTECTED] To: Satyam [EMAIL PROTECTED] Cc: Deckard [EMAIL PROTECTED]; php-general@lists.php.net Sent: Thursday, October 05, 2006 2:16 AM Subject: Re: [PHP] Help on objects On Thu, 2006-10-05 at 07:04 +0200, Satyam wrote: I've seen

Re: [PHP] Help on objects [with reply]

2006-10-05 Thread benifactor
PROTECTED]; php-general@lists.php.net Sent: Thursday, October 05, 2006 2:16 AM Subject: Re: [PHP] Help on objects On Thu, 2006-10-05 at 07:04 +0200, Satyam wrote: I've seen you already had a good answer on the errors in the code so I won't go on that. As for OOP, the one design error you have

Re: [PHP] Help on objects [with reply]

2006-10-05 Thread Dave Goodchild
Re the last suggestion, ensure you keep those database details outside the web root (ie in a file called connect.inc for example) or if have to keep it there add a .htaccess file that prevents download of *.inc files. Also, avoid use of the error suppression operator (@). You need to see your

<    1   2   3   4   5   6   7   8   9   10   >