Re: [PHP] Need help calling PHP page from another server.

2006-05-18 Thread John Hicks
Robert Filipovich wrote: I am using a chat program and trying to call the status page from another server and the graphic that the page returns does not show up. It works if you are calling from the webserver that the chat program is working so i feel it is some type of config problem or

Re: [PHP] Need help calling PHP page from another server.

2006-05-18 Thread John Hicks
John Hicks wrote: Robert Filipovich wrote: I am using a chat program and trying to call the status page from another server and the graphic that the page returns does not show up. It works if you are calling from the webserver that the chat program is working so i feel it is some type of

Re: [PHP] Need help calling PHP page from another server.

2006-05-18 Thread John Hicks
Please reply to the list. Robert Filipovich wrote: I got this in the event viewer when I enabled suslogging. The description for Event ID ( 2000 ) in Source ( php ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages

Re: [PHP] Need help calling PHP page from another server.

2006-05-18 Thread Robert Filipovich
Looks like all of these are happening. The description for Event ID ( 2000 ) in Source ( php ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event:

Re: [PHP] Need help calling PHP page from another server.

2006-05-18 Thread John Hicks
Robert Filipovich wrote: Looks like all of these are happening. The description for Event ID ( 2000 ) in Source ( php ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following

Re: [PHP] Need help calling PHP page from another server.

2006-05-18 Thread Stut
John Hicks wrote: Robert Filipovich wrote: Looks like all of these are happening. The description for Event ID ( 2000 ) in Source ( php ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer.

Re: [PHP] Need help calling PHP page from another server.

2006-05-18 Thread Richard Lynch
You could claim that your error_reporting including E_NOTICE is the problem... But it would be FAR more correct to say that your code has errors of level E_NOTICE, and you've never fixed them before. Fix them. On Thu, May 18, 2006 2:09 pm, Robert Filipovich wrote: Looks like all of these are

Re: [PHP] Need help calling PHP page from another server.

2006-05-18 Thread John Hicks
Stut wrote: John Hicks wrote: Robert Filipovich wrote: Looks like all of these are happening. The description for Event ID ( 2000 ) in Source ( php ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote

Re: [PHP] Need help calling PHP page from another server.

2006-05-18 Thread Robert Filipovich
This worked. Thanks, Robert On 5/18/06, Stut [EMAIL PROTECTED] wrote: John Hicks wrote: Robert Filipovich wrote: Looks like all of these are happening. The description for Event ID ( 2000 ) in Source ( php ) cannot be found. The local computer may not have the necessary registry

Re: [PHP] Need help in identifying a PHP application.

2006-04-28 Thread Ananth Kesari
Hi, Thanks a lot for all the inputs. I will take it further from here. Thanks, Ananth. Richard Lynch [EMAIL PROTECTED] 4/27/2006 4:06:03 pm On Thu, April 27, 2006 4:21 am, Ananth Kesari wrote: I have a need for an idea management PHP application that gives me an UI with multiple fields

Re: [PHP] Need help in identifying a PHP application.

2006-04-27 Thread Jochem Maas
STFW and if it doesn't exist then write it, thats generaly how one goes about fulfilling a need with php. Ananth Kesari wrote: Hi, I have a need for an idea management PHP application that gives me an UI with multiple fields (text boxes, radio buttons etc.) which correspond to different

Re: [PHP] Need help in identifying a PHP application.

2006-04-27 Thread Richard Lynch
On Thu, April 27, 2006 4:21 am, Ananth Kesari wrote: I have a need for an idea management PHP application that gives me an UI with multiple fields (text boxes, radio buttons etc.) which correspond to different columns of a MySQL database. An user initiates this by clicking on an URL, fills in

Re: [PHP] need help to put input text value into url

2006-04-26 Thread Richard Lynch
On Tue, April 25, 2006 6:19 pm, Patrick Aljord wrote: I have a form like this: form action=search.php method=post target=_self input type=text name=search_text cols=20 rows=10/input input type=submit name=submit_search value=search / /form while this is working fine, I would like the url of

RE: [PHP] need help to put input text value into url

2006-04-25 Thread Ing. Edwin Cruz
Only chage method=post for method=get Regards! -Mensaje original- De: Patrick Aljord [mailto:[EMAIL PROTECTED] Enviado el: Martes, 25 de Abril de 2006 06:19 p.m. Para: php-general@lists.php.net Asunto: [PHP] need help to put input text value into url I have a form like this: form

Re: [PHP] Need help with an if statement

2006-04-24 Thread admin
Kinda depends on how you build the list of links i guess. What you need is a unique identifier. But would be more easy if you show some code. item 1 cart.php?item=1 item 2 cart.php?item=2 Then when you make the links. Use a loop foreach($links as $link) { if ($link[id] == $_GET[item]) {

Re: [PHP] Need help with an if statement

2006-04-24 Thread Anthony Ettinger
Yikes...font? that's been deprecated since the turn of the century! do it with css... html ul liitem 1/li li class=selecteditem 2/li liitem 3/li /ul css: ul li { background-image: url(/img/arrow-off.png); color: gray; } ul .selected { background-image: url(/img/arrow-on.png); color: red; }

Re: [PHP] Need help with an if statement

2006-04-24 Thread Richard Lynch
On Mon, April 24, 2006 12:24 am, Pub wrote: I am really new to all this and I am really hoping I can get some help PLEASE... I am making a website with x-cart which uses PHP and Smarty templates. I need to make an if statement that puts a little arrow gif in front of the link that is

Re: [PHP] need help to update a mysql table from dynamic form

2006-02-05 Thread Patrick Aljord
On 2/4/06, Sumeet [EMAIL PROTECTED] wrote: Patrick Aljord wrote: could someone please help me on that one? http://hashphp.org/pastebin?pid=6156 basically this is how I do: I display a mysql table in an html table and I put each value in an input text box. At the bottom I put a

Re: [PHP] need help to update a mysql table from dynamic form

2006-02-04 Thread Sumeet
Patrick Aljord wrote: could someone please help me on that one? http://hashphp.org/pastebin?pid=6156 basically this is how I do: I display a mysql table in an html table and I put each value in an input text box. At the bottom I put a submit button to update changes. My question is how do I

Re: [PHP] need help arranging files!

2006-01-17 Thread tedd
Hmm, I just set-it-up on my server: http://www.ambiguism.com/php/readDirSort.php Seems to work for me. Code: -snip- Hth! Cheers, Micky Micky: Worked great for me -- no problems whatsoever! Thanks. tedd --

Re: [PHP] need help arranging files!

2006-01-17 Thread Richard Correia
You can locate a good directory reading script at http://www.weberdev.com/get_example-1456.html Thanks, Richard On 1/17/06, Nicholas Couloute [EMAIL PROTECTED] wrote: I need to know how to arrange files alphabetically in my directory when I display it on the browser! I have it display the

Re: [PHP] need help arranging files!

2006-01-17 Thread Michael Hulse
On Jan 17, 2006, at 7:09 AM, tedd wrote: Worked great for me -- no problems whatsoever! Sweet, thanks for checking... glad someone got it working. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] need help arranging files!

2006-01-17 Thread Nicholas Couloute
Weberdev.com is a nice site! On Tue, 17 Jan 2006 11:34 am, Richard Correia wrote: You can locate a good directory reading script at http://www.weberdev.com/get_example-1456.html Thanks, Richard On 1/17/06, Nicholas Couloute [EMAIL PROTECTED] wrote: I need to know how to arrange files

Re: [PHP] need help arranging files!

2006-01-16 Thread Michael Hulse
On Jan 16, 2006, at 5:21 PM, Nicholas Couloute wrote: I need to know how to arrange files alphabetically in my directory when I display it on the browser! I have it display the filename foreach that exist is there a way to arrange by alphabet? I would read the contents of the directory into

Re: [PHP] need help arranging files!

2006-01-16 Thread Michael Hulse
On Jan 16, 2006, at 6:10 PM, Nicholas Couloute wrote: I tried the script but it keeps saying it is not an array! Hmm, I just set-it-up on my server: http://www.ambiguism.com/php/readDirSort.php Seems to work for me. Code: $file_path = $_SERVER['DOCUMENT_ROOT'].'/php/test/'; $the_dir =

Re: [PHP] need help arranging files!

2006-01-16 Thread Nicholas Couloute
can any one help me out? plz ~Nick Couloute co-owner/web Designer SiDEkiCk2MuSiC.CoM -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] need help arranging files!

2006-01-16 Thread Nicholas Couloute
I figured it out! it runs on my pc but not on the web! $fileroot = amrs/$cat/; foreach ($author = scandir($fileroot); as $author){ echo $author; } ??? ~Nick Couloute co-owner/web Designer SiDEkiCk2MuSiC.CoM -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Need help with modifying values

2005-12-18 Thread Matt Stone
There's a big difference between the first and second scripts your using. The second one isn't using a while loop so will only return the first row in the recordset. See below. HTH Cheers Matt - Original Message - From: Anasta [EMAIL PROTECTED] To: php-general@lists.php.net Sent:

Re: [PHP] Need help with modifying values

2005-12-18 Thread programmerdelhi
[EMAIL PROTECTED] To: php-general@lists.php.net Sent: 18 December 2005 2:49 Subject: Re: [PHP] Need help with modifying values There's a big difference between the first and second scripts your using. The second one isn't using a while loop so will only return the first row in the recordset

Re: [PHP] Need help with for loop, pulling MySQL data, completely lost

2005-08-21 Thread Evan Priestley
Dan, When you run the second query ($query1), its results overwrite the results of your first query ($query0). `mysql_fetch_assoc()' returns results from the _most recent_ query, so after the first iteration, the call to `mysql_fetch_assoc()' is returning results from `query1', not from

Re: [PHP] Need help with for loop, pulling MySQL data, completely lost

2005-08-21 Thread Dan Trainor
Evan Priestley wrote: Dan, When you run the second query ($query1), its results overwrite the results of your first query ($query0). `mysql_fetch_assoc()' returns results from the _most recent_ query, so after the first iteration, the call to `mysql_fetch_assoc()' is returning results

Re: [PHP] Need help with PHP / MySQL connect problem

2005-07-17 Thread Matt Darby
Using this at the top of your script will allow PHP and MySQL to interact. $_POST['dbconn']=mysql_select_db(database_name, mysql_connect(server_name,user_name,password)); It does sound like you have notices and warnings turned off in php.ini: Find php.ini (not sure where it installs to in

Re: [PHP] Need help with PHP / MySQL connect problem

2005-07-17 Thread Mikey
Matt Darby wrote: Using this at the top of your script will allow PHP and MySQL to interact. $_POST['dbconn']=mysql_select_db(database_name, mysql_connect(server_name,user_name,password)); It does sound like you have notices and warnings turned off in php.ini: Find php.ini (not sure where it

Re: [PHP] need help/sample code for php/apache/imagemagick

2005-06-17 Thread Rory Browne
For the determining what part of the picture the user is refering to I'd use image maps - which depending on your situation can be serverside, or clientside. I wouldn't bother with imagemagick, in this case, and just stick to gd. On 6/17/05, bruce [EMAIL PROTECTED] wrote: hi... i'm

Re: [PHP] need help on .htaccess

2005-05-05 Thread Greg Donald
On 5/5/05, Mathieu Dumoulin [EMAIL PROTECTED] wrote: We have here at work a simple .htaccess that redirects all requests to an index page which works fine so far. I'll show you the code of the .htaccess you can use it if you can't to, it works perfectly fine. AddType application/x-httpd-php

Re: [PHP] Need help with file permissions for PHP files

2005-04-17 Thread Rory Browne
Two things Rory a. You only replied to me, instead of the list. You have to probably click on reply to all in your mail client. I have included the lists address for this reply, so that it will appear there. Yeah sorry about that mailing you only thing. All the other lists I'm

Re: [PHP] Need help with file permissions for PHP files

2005-04-17 Thread Ryan A
PLEASE lets not start on the. 2. Because it reads out of order. Why? Top posting is bad. III. Trimming is good, because it gets right to the point. .top posting / bottom posting thing again. -Ryan -- No virus found in this outgoing message. Checked by AVG

Re: [PHP] Need help with file permissions for PHP files

2005-04-17 Thread Rory Browne
Because now it's out of order. On 4/18/05, Ryan A [EMAIL PROTECTED] wrote: PLEASE lets not start on the. Only Joking. 2. Because it reads out of order. Why? Why? Top posting is bad. III. Trimming is good, because it gets right to the point. .top posting

Re: [PHP] Need help: change a string in a file

2005-04-08 Thread Saswat Praharaj
Richard, Thanks for the answer. I understand that I can't do it the way I wanted . I have changed my design. Thanks ALL who answered. -Saswat On Apr 7, 2005 8:18 AM, Richard Lynch [EMAIL PROTECTED] wrote: On Wed, April 6, 2005 10:07 am, Saswat Praharaj said: I need some help in searching

Re: [PHP] Need help: change a string in a file

2005-04-06 Thread Philip Hallstrom
I need some help in searching string in a file. My requirement is to search the string,append something to the string . Write the string back to the file without changing other parts of the file. e.g Suppose I have the following string in a file Set-Cookie: T_COOKIE=127.0.0.1-saswat-9; path=/ The

Re: [PHP] Need help: change a string in a file

2005-04-06 Thread Richard Lynch
On Wed, April 6, 2005 10:07 am, Saswat Praharaj said: I need some help in searching string in a file. My requirement is to search the string,append something to the string . Write the string back to the file without changing other parts of the file. e.g Suppose I have the following string

RE: [PHP] Need help with file permissions for PHP files

2005-03-10 Thread Jay Blanchard
[snip] The problem is that, in order for PHP to be able to access *.php files, the files must in a directory with execute permission, and files themselves must have read permission. This makes my files open to reading by anyone, that is, anyone can look at my PHP source code, which I do not

Re: [PHP] Need help with file permissions for PHP files

2005-03-10 Thread John Nichel
Kresimir Cosic wrote: snip Additional information (if that helps): The website is located in directory home/vriho/public_html/ The mysql database is in home/vriho/db/mysql/ (not shared to other users) The local socket file for mysql is at home/vriho/db/socket/ The parts of website that are hidden,

RE: [PHP] Need help with file permissions for PHP files

2005-03-10 Thread Jay Blanchard
[snip] I think you have to face facts. There is no way you're going to have your code secure against other users so long as it has to be readable by apache. One _PARTIAL_ solution: If like most linux distros, you have a group called users, which contains every human user on the system, but

Re: [PHP] need help parsing named.conf file

2005-02-13 Thread Robby Russell
On Sun, 2005-02-13 at 16:46 +0100, Torsten Rosenberger wrote: Hello is there a way to parse the named.conf file with preg_match_all to get back an array which looks like [options][directory] = '/var/lib/named' [options][forwoarder] = '192.168.0.2' [zone][mydomain.com][type] = 'master'

Re: [PHP] need help parsing named.conf file

2005-02-13 Thread Burhan Khalid
Torsten Rosenberger wrote: Hello is there a way to parse the named.conf file with preg_match_all to get back an array which looks like [options][directory] = '/var/lib/named' [options][forwoarder] = '192.168.0.2' [zone][mydomain.com][type] = 'master' [zone][mydomain.com][notify] = 'yes'

Re: [PHP] Need help with ereg regular expression

2005-02-03 Thread Jochem Maas
John Nichel wrote: Argghhhreturn receipts indeed - I believe there was an informal decision that everyone should actually return the requested reciept - the idea being that 1000+ reciepts will probably make said person change their ways. I notice that KHS (the OP) didn't

Re: [PHP] Need help with ereg regular expression

2005-02-03 Thread Jochem Maas
Mikey wrote: Argghhhreturn receipts I just mailed the guy and gave him a friendly nod - they are off now :-) damn ;-) I was hoping a barrage of RRs would be what made him turn them off. oh well on to the next victim ;-) Mikey -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Need help with ereg regular expression

2005-02-03 Thread Jochem Maas
Jason Wong wrote: On Thursday 03 February 2005 02:18, John Nichel wrote: Argghhhreturn receipts Use a *real* mail client -- one that ignores those stupid things. Jason, I use Thunderbird - AFAICT its pretty real, BUT I have to have allow return reciepts because of other

Re: [PHP] Need help with ereg regular expression

2005-02-03 Thread Jason Wong
On Thursday 03 February 2005 18:08, Jochem Maas wrote: Jason, I use Thunderbird - AFAICT its pretty real, BUT I have to have allow return reciepts because of other things/work I do - turning them off is not an option for me I can understand it if it's to enable scheduling features. However if

Re: [PHP] Need help with ereg regular expression

2005-02-03 Thread Jochem Maas
Jason Wong wrote: On Thursday 03 February 2005 18:08, Jochem Maas wrote: Jason, I use Thunderbird - AFAICT its pretty real, BUT I have to have allow return reciepts because of other things/work I do - turning them off is not an option for me I can understand it if it's to enable scheduling

Re: [PHP] Need help with ereg regular expression

2005-02-03 Thread John Nichel
Jason Wong wrote: On Thursday 03 February 2005 02:18, John Nichel wrote: Argghhhreturn receipts Use a *real* mail client -- one that ignores those stupid things. I'm using Thunderbird on a RHEL AS 3 box. About as real as it gets. Unfortunately, here at work, I need to have

Re: [PHP] Need help with ereg regular expression

2005-02-02 Thread John Nichel
Argghhhreturn receipts -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Need help with ereg regular expression

2005-02-02 Thread Mikey
Argghhhreturn receipts I just mailed the guy and gave him a friendly nod - they are off now :-) Mikey -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Need help with ereg regular expression

2005-02-02 Thread Richard Lynch
KHS wrote: Here is an example of the input: #include FT_FREETYPE_H #include stdio.h #include freetype/freetype.h Here is a snip of my code: $line = fgets($fp); $line = trim($line); $regexp = '^#include(:? | | )([^ ]+)[ ]'; //$regexp = '^#include( | | )[^ ]+[ ]'; //Same result as above

Re: [PHP] Need help with ereg regular expression

2005-02-02 Thread KHS
Richard Lynch wrote: KHS wrote: Here is an example of the input: #include FT_FREETYPE_H #include stdio.h #include freetype/freetype.h Here is a snip of my code: $line = fgets($fp); $line = trim($line); $regexp = '^#include(:? | | )([^ ]+)[ ]'; //$regexp = '^#include( | | )[^ ]+[ ]'; //Same

Re: [PHP] Need help with ereg regular expression

2005-02-02 Thread Richard Lynch
KHS wrote: Richard Lynch wrote: KHS wrote: Here is an example of the input: #include FT_FREETYPE_H #include stdio.h #include freetype/freetype.h Perhaps: ?php $text = trim(str_replace(#include, , $text)); preg_match('[]?(.*)[]?', $text, $answer); echo $answer[1]; ? -- Like Music?

Re: [PHP] Need help with ereg regular expression

2005-02-02 Thread Jason Wong
On Thursday 03 February 2005 02:18, John Nichel wrote: Argghhhreturn receipts Use a *real* mail client -- one that ignores those stupid things. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet

Re: [PHP] Need help with ereg regular expression

2005-02-02 Thread Jason Wong
On Thursday 03 February 2005 03:44, KHS wrote: On the other hand, I think you could safely do: $regex = ^#include(.*)$; and get what you want by using trim on the captured expression. no this would leave me with , , and marks. Then string replace those characters. Or am I missing

Re: [PHP] Need help with array/foreach

2005-01-15 Thread Jochem Maas
Collin Davis wrote: Hi, Long time reader, first time poster. I've been using Dreamweaver to generate my PHP (I know - but I'm a designer... most of this makes absolutely zero sense to me), but I've run into something that I know could be done better. If you look here: http://pastebin.com/228804

Re: [PHP] Need Help

2004-12-02 Thread GH
Basically They are the same... some servers might not have ? enabled... all the demos I have seen and tutorials use ?PHP ? That seems to be the standard On Fri, 3 Dec 2004 09:32:34 +0530, suneel [EMAIL PROTECTED] wrote: Hi to all any one Could tell me any diffrence between

Re: [PHP] Need Help

2004-12-02 Thread Thomas Goyne
On Fri, 3 Dec 2004 09:32:34 +0530, suneel [EMAIL PROTECTED] wrote: Hi to all any one Could tell me any diffrence between ?php ? and ? ?. And which one is better to use and in which situations. Byee ? ? is the older syntax, and it can cause problems with xml (as the xml

Re: [PHP] Need help with a string

2004-10-08 Thread Greg Donald
On Fri, 8 Oct 2004 11:38:23 -0500, Brent Clements [EMAIL PROTECTED] wrote: Given the following string: $textString = Share A Dream Come True Parade 3:00 SpectroMagic Parade 9:00, 11:00 Wishes? nighttime spectacular 10:00 I need to break the string up into pieces where as $string[1] =

Re: [PHP] Need help with a string

2004-10-08 Thread Jason Davidson
prolly already mentioned, but what about explode using the commas $strings = explode(',', $textString); Greg Donald [EMAIL PROTECTED] wrote: On Fri, 8 Oct 2004 11:38:23 -0500, Brent Clements [EMAIL PROTECTED] wrote: Given the following string: $textString = Share A Dream Come True

Re: [PHP] Need help with a string

2004-10-08 Thread Tim Van Wassenhove
In article [EMAIL PROTECTED], Greg Donald wrote: On Fri, 8 Oct 2004 11:38:23 -0500, Brent Clements [EMAIL PROTECTED] wrote: Given the following string: $textString = Share A Dream Come True Parade 3:00 SpectroMagic Parade 9:00, 11:00 Wishes? nighttime spectacular 10:00 I need to break

Re: [PHP] Need help with a string

2004-10-08 Thread Andrew Kreps
On 8 Oct 2004 17:27:10 -, Tim Van Wassenhove [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], Greg Donald wrote: On Fri, 8 Oct 2004 11:38:23 -0500, Brent Clements [EMAIL PROTECTED] wrote: Given the following string: $textString = Share A Dream Come True Parade 3:00 SpectroMagic

Re: [PHP] Need help with a regular expression

2004-09-30 Thread Jason Wong
On Friday 01 October 2004 05:22, Alex Hogan wrote: if($key == ereg(^Q4_.[0-9]$, $key)){ ^Q4_[0-9]$ -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development *

Re: [PHP] Need help with a regular expression

2004-09-30 Thread Ryan Dingman
On Sep 30, 2004, at 2:22 PM, Alex Hogan wrote: Is my ereg() wrong? My understanding is ereg(^Q4_.[0-9]$, $key) should look for a $key starting with 'Q4_' followed by a single number and place those values into an array named $Q4scores. Yes, your understanding of ^Q4_.[0-9]$ is wrong. This says

Re: [PHP] Need help with a regular expression

2004-09-30 Thread Alex Hogan
[snip] ^Q4_[0-9]$ Yes, your understanding of ^Q4_.[0-9]$ is wrong. [/snip] Thanks guys.., I did take the '.' out of the expression, but I also had to change the way I was using it. I replaced; if($key == ereg( ^Q4_.[0-9]$, $key)){ with if(ereg( ^Q4_.[0-9]$, $key)){ alex hogan -- PHP General

Re: [PHP] Need help in implementing Payment Gatewaydetails

2004-09-28 Thread Burhan Khalid
suneel wrote: Hi. Any one could tell me about how to implement VeriSign Payment Gateway. I mean I want to know how to implement the AVS and CSC filter settings in test mode and how to convert them in to live mode. Its Very Important Thanks in advance...

Re: [PHP] Need help... getting information from external xml document

2004-09-23 Thread Matt M.
?xml version=1.0 encoding=UTF-8 ? THREAT_ADVISORY CONDITION=ELEVATED / can anyone help? start looking here http://us2.php.net/xml -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread John Holmes
From: Al [EMAIL PROTECTED] I need to active php error level Warning and log the errors in a file for my whole Apache virtual website. It is clear how to do everything on a script-by-script basis; but, I need to do it across the site. http://us2.php.net/manual/en/configuration.changes.php

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread Al
Thanks, that has me started. Per the documentation, error_reporting must use the bitmask values form. And, that works great. However, I can't get the errors to log in a special file. They insist on being logged in the system's error log file. I've tried: php_value error_log errors.txt with

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread John Holmes
From: Al [EMAIL PROTECTED] Per the documentation, error_reporting must use the bitmask values form. And, that works great. However, I can't get the errors to log in a special file. They insist on being logged in the system's error log file. There is a log_errors setting and a error_log

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread Jason Wong
On Tuesday 24 August 2004 23:15, John Holmes wrote: There is a log_errors setting and a error_log setting. Try setting the log_errors value. To be absolutely clear, you need both, enable log_errors and specify error_log. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread Al
The php.ini is already set to log errors and it works; but, they are appended to the system log. Just for the heck of it I tried; but it doesn't work. php_value error_reporting 2047 php_value log_errors TRUE php_value error_log ./errors.txt[and the full path string] John Holmes wrote:

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread Jason Wong
On Tuesday 24 August 2004 23:37, Al wrote: The php.ini is already set to log errors and it works; but, they are appended to the system log. Just for the heck of it I tried; but it doesn't work. php_value error_reporting 2047 php_value log_errors TRUE php_value error_log ./errors.txt

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread Al
Here is what I having working so far: php_value error_reporting 2# Just warnings, which is what I want php_flag log_errors 1 #this turns logging on and off in the syslog php_flag display_errors 1 #this turns error display at client's

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread Al
Here is what I having working so far: php_value error_reporting 2# Just warnings, which is what I want php_flag log_errors 1 #this turns logging on and off in the syslog php_flag display_errors 1 #this turns error display at client's

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread Al
Here is what I having working so far: php_value error_reporting 2# Just warnings, which is what I want php_flag log_errors 1 #this turns logging on and off in the syslog php_flag display_errors 1 #this turns error display at client's

Re: [PHP] Need help with using htaccess to override php.ini error

2004-08-24 Thread Al
test Al wrote: The php.ini is already set to log errors and it works; but, they are appended to the system log. Just for the heck of it I tried; but it doesn't work. php_value error_reporting 2047 php_value log_errors TRUE php_value error_log ./errors.txt[and the full path string] John

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread John Holmes
From: Al [EMAIL PROTECTED] php_value error_log /home/jones/public_html/AutoSch/errors.txt #This doesn't work either. Anyone know how to write the errors to a file? The documentation says it should work. It should. What are the permissions on the above file? Does the apache/php user have

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread Al
Everything is working, thanks to you and Jason. The key was that I had to provide a seed file since error_log only appends messages to an existing file and doesn't create one if it does not exist. Al John Holmes wrote: From: Al [EMAIL PROTECTED] php_value error_log

Re: [PHP] Need Help for Session

2004-08-23 Thread Tom Rogers
Hi, Make sure that ?php is on the first line and is the first thing on the line of your code page. That error can be caused by a space or a carriage return before php starts. -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Need help with some logic and how to do it in PHP

2004-08-15 Thread Jason Wong
On Sunday 15 August 2004 22:44, Brent Clements wrote: I have 7 string values, if any number of them are the same, I need to ouput that value, if they are all different, I need to output a blank string . How would I do this in php outside of writing a huge if/then statement? This is a

Re: [PHP] Need help with some logic and how to do it in PHP

2004-08-15 Thread Brent Clements
Sweet, that solves my problem. Thanks for the help. -Brent - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, August 15, 2004 9:53 AM Subject: Re: [PHP] Need help with some logic and how to do it in PHP On Sunday 15 August 2004 22:44, Brent

Re: [PHP] need help with $HTTP_RAW_POST_DATA

2004-08-05 Thread raditha dissanayake
Everything was working fine until i wanted to try to update to PHP5, but there aren't any officially unstable/experiment PHP5 from Debian. So i got mine from DotDeb.org. You could always copmpile from source. Everything worked but then $HTTP_RAW_POST_DATA suddenly is not receiving any data. I

Re: [PHP] need help with $HTTP_RAW_POST_DATA

2004-08-05 Thread Curt Zirzow
* Thus wrote PHPDiscuss - PHP Newsgroups and mailing lists: I noticed php://input but that's going to be changed to php://filter, but i have never tried using that before either. So i have no idea how it works. The only time php://input will have the data sent from the client is if php

Re: [PHP] Need help with line breaks in a textarea form

2004-07-16 Thread John W. Holmes
PHP User wrote: Hi, I have been trying to format the textarea output and have come across some code that almost does what I need, but I still have one small problem. Look at the text below that was input into my textarea: Now is the time for all young men to come to the aid of the party. Now is

RE: [PHP] Need help with line breaks in a textarea form

2004-07-16 Thread PHP User
- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: July 16, 2004 2:00 AM To: PHP User Cc: PHP Subject: Re: [PHP] Need help with line breaks in a textarea form PHP User wrote: Hi, I have been trying to format the textarea output and have come across some code that almost does what I need

RE: [PHP] Need help with line breaks in a textarea form

2004-07-16 Thread PHP User
); Thanks for your input CR -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: July 16, 2004 2:00 AM To: PHP User Cc: PHP Subject: Re: [PHP] Need help with line breaks in a textarea form PHP User wrote: Hi, I have been trying to format the textarea output

Re: [PHP] Need help with line breaks in a textarea form

2004-07-16 Thread John W. Holmes
PHP User wrote: Something came to mind as soon as I sent my last email, and it seems to work. Not sure it will work in every circumstance but the few tests I tried seemed ok. This is what I did. I added the two following lines to my script. $text=str_replace(\n,br,$text); $text=str_replace(br

RE: [PHP] Need help with line breaks in a textarea form

2004-07-16 Thread PHP User
in a web based group you were having with another person, but none of your suggestions there worked. Suggestions Thanks again... -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: July 16, 2004 12:14 PM To: PHP User Cc: PHP Subject: Re: [PHP] Need help with line

Re: [PHP] Need help

2004-04-09 Thread Daniel Clark
www.phpbuilder.com has some wonderful articles for beginners and advanced. Hi, Am working through a PHP Book (I am a noob), and it appears to fall over on the first tutorial. Any ideas where I can get help? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Need help

2004-04-09 Thread Burhan Khalid
Strogg wrote: Hi, Am working through a PHP Book (I am a noob), and it appears to fall over on the first tutorial. Any ideas where I can get help? Try the book/author/publisher website? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Need Help in shoppin cart

2004-03-08 Thread Chris W. Parker
New Session mailto:[EMAIL PROTECTED] on Thursday, February 22, 2001 2:58 AM said: Sir, I am a web developer, I had made many sites like shooping cart, mangement leads etc. you *had* made? what happened to them? did they walk away or something? Iam comfortable in PHP as well as in ASP

RE: [PHP] Need Help in shoppin cart

2004-03-08 Thread Ryan A
Sir, I am a web developer, I had made many sites like shooping cart, mangement leads etc. you *had* made? what happened to them? did they walk away or something? Iam comfortable in PHP as well as in ASP iam ready to make sites in just $500. you can make a website in $500? wow.

Re: [PHP] Need Help in shoppin cart

2004-03-06 Thread Ryan A
This is sooo low down I think he has to look up to see the snakes belly. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Need Help in shoppin cart

2004-03-06 Thread John Nichel
New Session wrote: Sir, I am a web developer, I had made many sites like shooping cart, mangement leads etc. major snip Perhaps you can design me an application that will eliminate stupid email? -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List

Re: [PHP] Need help with output from form to .txt file

2004-02-15 Thread Adam Bregenzer
On Sun, 2004-02-15 at 05:59, Kristers hotmail wrote: I'm sendeing hello from the form The result I get in my gb.txt file is \hello\ You need to check out magic_quotes[1]. If you do not have access to php.ini, or want a way to disable it without changing php.ini see my previous post[2]. [1]

<    1   2   3   4   >