[PHP] where did my errors go?

2003-08-14 Thread David T-G
Hi, all -- I'll try this again now that I've gotten one question answered... My partner and I have done something that gets rid of our error messages, and we're not quite sure what. The identical code base (I copied it over myself; I'm sure) worked "fine" on another supposedly-identical RH Linux

Re: [PHP] Re: [ERR] DEAD MAILBOX

2003-08-14 Thread andu
On Fri, 08 Aug 2003 02:52:31 -0400 John Manko <[EMAIL PROTECTED]> wrote: > arrg. > > > [EMAIL PROTECTED] wrote: > > >Transmit Report: > > > > To: [EMAIL PROTECTED], 402 Local User Inbox Full ([EMAIL PROTECTED]) > > > > Comes free with the list...;-) -- Andu -- PHP General Mailing Lis

Re: [PHP] Old version of PHP

2003-08-14 Thread Jason Wong
On Friday 08 August 2003 09:43, Justin French wrote: > i think the best reason to keep up-to-date on the versions is that each > new release is "better, more stable, etc etc"... i haven't ever heard > anyone on this list say "i prefer 4.2.3 over 4.2.4" :) But each new release brings new problems

[PHP] problem looping through records

2003-08-14 Thread Huzz
I have a sql statement which brings about 15 records... inside the while loop i am trying to get data from another table by passing an id, the problem is i am only getting the first record .. not the whole 15 records.. any suggestion?? function list_ss_cats(){ global $db; $sql = "SELECT DISTINCT(

[PHP] Image with graduated fill using PHP

2003-08-14 Thread Adrian
Hi all! Is it possible to have PHP creates an image that graduates 1 color to another, such as create and images 100 pixels wide and in height which fades red to green top to bottom? Any help or suggestions would be really helpful. Thanks Adrian [EMAIL PROTECTED]

Re: [PHP] magical file writing truncation

2003-08-14 Thread skate
Let's work backwards then. Instead of $text = urlencode(stripslashes(nl2br($text))); try $text = urlencode(nl2br($text)); echo "$text"; Can you post the first couple of raw lines of text and then the echo'd output? -- okay, the first few lines of raw text are as follows... it's a c

Re: [PHP] suggestion on php-editor?

2003-08-14 Thread Adrian
the tswebeditor ist not bad: http://194.112.147.2/tswebeditor/index/index/en -- Adrian mailto:[EMAIL PROTECTED] www: http://www.planetcoding.net www: http://www.webskyline.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] mail with no sendmail on linux

2003-08-14 Thread andu
Is there a workaround for not having sendmail installed on my linux machine and using instead my isp's mail server. I am practically behind 2 firewalls so I don't even think i could use sendmail even if I wanted to which is not the case. -- Andu -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] AOL Email client

2003-08-14 Thread Mark Roberts
It is being sent from a linux box and php 4.3.1 I do not know the aol version, I will have to check with my customer. Don't know why it is in the headers...I just picked up the code today and trying to make it work for him. Mark Roberts, Roberts Computing Systems eCommerce, yeah, we do that! Grap

Re: [PHP] FDF support in RedHat

2003-08-14 Thread Cesar Cordovez
Jay: You can find the configuration script at the end of this msg. I went to adobe.com (following the instruction at php.net/fdf) and downloaded the stuff you ask for at /usr/local/. I'm ready for step 2. =) Mucho Thanks. Cesar './configure' '--host=i686-pc-linux-gnu' '--build=i686-pc-linux

Re: [PHP] find string

2003-08-14 Thread skate
> > if ($action!='a1' || $action!='a3') //tried == also > { > //do stuff > } > else > { > //do other stuff > } > the logic behind this particular one doesn't work... if it's either not one, or not the other... it'll always be true... unless both are set to exactly the same... the logic if($actio

Re: [PHP] FDF support in RedHat (make error)

2003-08-14 Thread Jason Wong
On Saturday 09 August 2003 03:50, Cesar Cordovez wrote: > It is still giving me problems. I deleted the --with-snmp options and > then I receive a new problem related with apache (something like > apache2module or so) > > I managed to download the apache 2.0.48 source, compile it and install > it,

RE: [PHP] drawing problem

2003-08-14 Thread Jay Blanchard
[snip] I'm able to draw simple figures like squares and circles using ImageCreate(), gd_lib is installed properly as far as I know. But sometimes the result is a little square with a red cross instead of a generated jpg or png. No error messages are shown. [/snip] You may have to refresh your bro

[PHP] send group of files at once to website administrator

2003-08-14 Thread anders thoresson
Hi, I have the following code which I use to make regular backups of my databases. Is there a way to have all backup files sent at once after they are created, istead of presenting the list of files available for download? db_connect($dbuser, $dbpassword, $dbdatabase); // Lock and flush tabl

Re: [PHP] config tests

2003-08-14 Thread Curt Zirzow
* Thus wrote Uros Gruber ([EMAIL PROTECTED]): > Hello! > > I just made some speed tests getting configuration from DB. > > For now I figured 2 ways doing this. > > 1. One value in each row > > 2. using serialize($config) and saving this in one row. >$config is predefined array of configurat

Re: [PHP] Simple cookie question

2003-08-14 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Sun, 10 Aug 2003 at 00:24, lines prefixed by '>' were originally written by you. > This may be a stupid question, but I'm trying to set up a system where > I can > take a poll from visitors to my website and then set a cookie so that > they > c

Re: [PHP] Old version of PHP

2003-08-14 Thread Jason Wong
On Saturday 09 August 2003 01:46, Dan Phiffer wrote: > I appreciate the (rather indirect) pointer to the PHP bug tracking site - I > didn't know about that. Errata, it seems to me anyway, perform a different > purpose. I don't mind RTFM-style responses, but please at least read my > question more c

RE: [PHP] FDF support in RedHat

2003-08-14 Thread Jay Blanchard
[snip] configure: error: Fdftk.h not found, please install it again. [/snip] I am proud of you! Now type "locate fdftk.h" When you locate it move it to /usr/local and go again -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] callback function in class

2003-08-14 Thread Evan Nemerson
Never mind. I can create an anonymous function w/ create_function(), and use that as the callback. It's not pretty, but it works. Sorry about wasting everyone's time w/ a brain fart. -Evan On Friday 08 August 2003 06:16 pm, Evan Nemerson wrote: > Basic problem: > > I need to use preg_replace

RE: [PHP] Reading excel files

2003-08-14 Thread Jay Blanchard
[snip] Is there a way to read excel files for parsing with PHP? I see there is a PEAR package for writing excel files, but I want to be able to parse .xls files. (Please no comments about comma-delimited or tab-delimited exports, I am doing that too). [/snip] A quick trip through Googleland re

Re: [PHP] Generate Dates

2003-08-14 Thread John W. Holmes
Ralph Guzman wrote: I have to generate a menu for all months in a year, with each month broken down into two periods. For example: January 01-15 January 15-31 February 01-15 February 15-28 March 01-15 March 15-31 Etc... How can generate a list of all 12 months using the above format? Well, seeing a

[PHP] Re: Associative to Numeric

2003-08-14 Thread Greg Beaver
$num = array_values($assoc); Regards, Greg -- phpDocumentor http://www.phpdoc.org Gerard Samuel wrote: What would be the quickest, most reliable means to convert an associative array to a numeric array. Running an implode()/explode() combination comes to mind, but reliablity can be questioned wh

Re: [PHP] Spam bast@rds -0-t-

2003-08-14 Thread Curt Zirzow
* Thus wrote Ryan A ([EMAIL PROTECTED]): > Hi all, > ... > This was the message i got: > > Do not forward or sell my information. Remove me from your distribution > list. If anymore emails come from this address they will be forwarded to > the FTC and to the department that deals with these type

Re: [PHP] trying to match the front and end...

2003-08-14 Thread John W. Holmes
Dan Joseph wrote: From John: $new_number = preg_replace('/^'.$this->start_num.'([0-9]+)'.$this->end_num.'$/', '\\1',$old _number); The one that Mike gave didn't seem to do anything, John's will work if it can match the beginning and the end successfully. I should probably explain myself

Re: [PHP] segmentation faults

2003-08-14 Thread Martin Peck
- Original Message - From: "Tom Rogers" <[EMAIL PROTECTED]> > Most programs will crash with null pointers so I operate with error > reporting set to E_ALL and it helps when these sort of things happen. > A function should never trust what it is being fed :) so your solution > is the right w

[PHP] POST Method

2003-08-14 Thread Esteban Fernandez
Hi there Someone know how to capture the vars and values from the POST method, such like a Matts' FormMail, i want to do somethink like that, and i need know how to do it. Thanks in advanced Regards, Esteban. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

RE: [PHP] Max script size

2003-08-14 Thread Jay Blanchard
[snip] Sorry, in terms of PHP error no. I get a page cannot be displayed/DNS error. It happens instantly...in fact, not 1 line of script exe. [/snip] So, is the URL path to the script correct? What is the server path to the file? Let's just double check. A DNS error has nothing to do with the scr

[PHP] xml-rpc compile problems - 4.3.2 - libexpat

2003-08-14 Thread Garth Gillespie
Trying to compile PHP 4.3.2 with xmlrpc. The xmlrpc manual page says no external libraries are needed yet configure complains with checking whether to enable XML support... yes checking external libexpat install dir... no checking for XMLRPC-EPI support... yes checking libexpat dir for XMLRPC-EP

[PHP] suggestion on php-editor?

2003-08-14 Thread Louie Miranda
I currently used Dev-PHP IDE. But i was wondering if you guys have any other suggestions? -- Thank you, Louie Miranda ([EMAIL PROTECTED]) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Configuring PHP to use aspell

2003-08-14 Thread andu
On Sat, 9 Aug 2003 10:29:58 -0400 "Jeff Lewis" <[EMAIL PROTECTED]> wrote: > I have the following set up... > > RH Linux version 7.3 > > PHP 4.3.2 > > Aspell installed on the server > > I have NEVER configured PHP and am looking for some assistance in > configuring PHP to use Aspell so I can ta

RE: [PHP] PHP Counter on HTML Page

2003-08-14 Thread PHPSpooky
Astrum! I've never used GD or ImageMagick before.. can you guide me to any tutorial, script, reference.. something upon the same that can help me out? Thanks, Dominor! PHPSpooky > Write a PHP script that makes the image for you using GD or Imagemagick, > then just include it like any other ima

[PHP] Array to List

2003-08-14 Thread James Johnson
Hello, Coming from ColdFusion, this is difficult. CF has an ArrayToList() function. I can't find anything similar in PHP. I'm building a list from an array with the following code, but it puts a trailing "," and I need to remove it. $campusList = ""; foreach ($_PO

[PHP] Spam bast@rds -0-t-

2003-08-14 Thread Ryan A
Hi all, as most of you know nearly all of us were blacklisted by spamcop a few days back, some of our mail was undeliverable to a lot of people as their ISPs use these spam databases...and today i got this email and i am pretty sure quite a few must have gotten something simular or will be getting,

Re: [PHP] POST Method

2003-08-14 Thread Chris Shiflett
--- Esteban Fernandez <[EMAIL PROTECTED]> wrote: > Someone know how to capture the vars and values from the POST method Use $_POST['name_of_variable']. Chris = Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/ -- PHP General Mailing List (http://www.

Re: [PHP] config tests

2003-08-14 Thread John W. Holmes
Uros Gruber wrote: Hello! I just made some speed tests getting configuration from DB. For now I figured 2 ways doing this. 1. One value in each row id | name| val -- 1| name1 | value1 2. using serialize($config) and saving this in one row. $confi

[PHP] Sharing PHP(Apache) session with JSP session (Tomcat)

2003-08-14 Thread Raja TTM
I am running apache2 integrated with tomcat4.1.24 through j2k_mod.so under Linux Redhat 7.2. I do have some requirement in which i need to create session variable in PHP using session_register() method and i need to refer the same session variable from JSP page running in the same instance.

RE: [PHP] Configuring PHP to use aspell

2003-08-14 Thread Chris W. Parker
[EMAIL PROTECTED] on Saturday, August 09, 2003 6:20 PM said: > talking of aspell how could i intergrate this into a search engine, > so i could correct typos in a search ? Well actually I did this with a shopping cart application I'm building right now. But the code

Re: [PHP] PHP vs ASP.NET "formal opinions" request

2003-08-14 Thread Justin French
You could start by searching the list archives or google for something like "big sites PHP", since it's been discussed many many times. The one that instantly springs to mind for me is Yahoo. http://news.com.com/2100-1023-963937.html?tag=lh But maybe there's very little point evangelising PHP in

[PHP] ignore_user_abort()

2003-08-14 Thread Zygimantas Berziunas
Are there any disadvantages to turn on this feature? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reformatting phone number string from user input

2003-08-14 Thread John W. Holmes
Verdon vaillancourt wrote: I haven't completely decided if it's better to store 1234567890 and format it on retrieval or to format it first and store 123-456-7890. I guess unless I plan to do math or something with the raw data later (not too likely for a phone number), it probably doesn't make muc

[PHP] what is %s %d

2003-08-14 Thread pehepe php
what is %s and %d I see these in php tutorials. These are used in printing data from database but I don't know why we use %s and %d. And is there any expressions like this? Thank you for your answers. _ MSN 8 with e-mail virus p

RE: [PHP] Max script size

2003-08-14 Thread Jay Blanchard
[snip] Let's be clear -- a DNS error has nothing to do with the script (whether it is there or not). In fact it has nothing to do with your webserver at all. [/snip] Well said Jason, I rushed in too quickly. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP] PHP vs ASP.NET "formal opinions" request

2003-08-14 Thread Dan Anderson
I hate to be the one to break it to you but in the real world if a client or the boss says "program in ASP .NET" you program in ASP.NET because, well, that's where the money is. That doesn't mean there isn't room for using better products, but sometimes you don't get an option. -Dan On Sun, 2003

RE: [PHP] find string

2003-08-14 Thread Carl Furst
Isn't there an in_array function you can use? If (in_array($action, array(a1,a2,a3,a4)) { // do something } else { // do something else } Carl. -Original Message- From: andu [mailto:[EMAIL PROTECTED] Sent: Sunday, August 10, 2003 7:15 PM To: [EMAIL PROTECTED] Subject: [PHP] find string

Re: [PHP] HELP strip slashes ???

2003-08-14 Thread Chris Shiflett
--- Didier McGillis <[EMAIL PROTECTED]> wrote: > I am doing an admin site for a person and their small site. > I need to allow them to put in paragraphs of information. I > am allowing them to put in some HTML like , , > a very limited amout of tags. What is the best > way to submit and then show

[PHP] find string

2003-08-14 Thread andu
Here's the problem I have: I have $action which can be anyone of a1, a2, a3, a4. I tried if ($action!='a1' || $action!='a3') //tried == also { //do stuff } else { //do other stuff } Problem is that if() only seems to take one option so my construct above doesn't work. What function can I use to

RE: [PHP] Freelance code optimizations

2003-08-14 Thread Chris W. Parker
Robert Cummings on Monday, August 11, 2003 10:55 AM said: > Or are you mistaken in assuming the > following works when perhaps you use this style as part of an echo > statement normally. I apologize. I did not copy and paste my the code I used in my test file into

[PHP] PHP Counter on HTML Page

2003-08-14 Thread PHPSpooky
Astrum Et Securis! I don't want to use iFrames.. is there any other way? I want to use my own php counter with lil information.. which updates the database on page load incrementing the counter and catching the few Server Variables.. and just display the Hits on that page. However.. that page is

RE: [PHP] Array to List

2003-08-14 Thread James Johnson
Actually, I'm using $campusList for a SQL statement: SELECT name FROM campuses WHERE inst_id IN ('$campusList'); It wasn't working until I found out that $campusList needs to look like '1','2','3'. $campusList = implode( ', ', $_POST['campus'] ); Returns 4,2,3 (whatever was selected) I've look

Re: [PHP] PHP & MSSQL Images

2003-08-14 Thread Curt Zirzow
* Thus wrote [EMAIL PROTECTED] ([EMAIL PROTECTED]): > ... > > The following is the tag inserted to my webpage: > > View the source of this image to see if any php errors are being displayed. Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (

Re: [PHP] getting images?? Help!!

2003-08-14 Thread Micah Montoy
Thanks everyone. That's what I figured. Fortunately I know Flash, so I'll just whip something up and integrate it with my current form. "Justin French" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > On Tuesday, August 12, 2003, at 11:26 AM, Micah Montoy wrote: > > > I have cre

Re: [PHP] what is %s and %d

2003-08-14 Thread Leif K-Brooks
pehepe php wrote: what is %s and %d I see these in php tutorials. These are used in printing data from database but I don't know why we use %s and %d. And is there any expressions like this? Thank you for your answers. www.php.net/sprintf -- The above message is encrypted with double rot13

Re: [PHP] [PROBLEM] Killed sshd, want to start it via PHP script.

2003-08-14 Thread Jason Wong
On Monday 11 August 2003 21:14, Simon Fredriksson wrote: > Yeah, but as it is, I can't start those things :P > I must be root to do so. Apache is not running as root. What I'm saying is apache/php has little part to play in system maintenance. Those solutions I proposed are started by root, once

Re: [PHP] send group of files at once to website administrator

2003-08-14 Thread skate
> Hi, > > I have the following code which I use to make regular backups of my > databases. Is there a way to have all backup files sent at once after they > are created, istead of presenting the list of files available for download? > send an email... there should be plenty of mime mailers aro

php-general Digest 10 Aug 2003 17:07:36 -0000 Issue 2228

2003-08-14 Thread php-general-digest-help
php-general Digest 10 Aug 2003 17:07:36 - Issue 2228 Topics (messages 159018 through 159036): Re: Simple cookie question 159018 by: Chris Shiflett 159020 by: Justin French Re: checking the return value of member function with empty 159019 by: Justin French config te

[PHP] Server-side script identified as IE

2003-08-14 Thread Vchat20
no, I dont know how to do this, but I would like to know how. basically its a php script running on the server side. it is actually a parser script pulling info off of a seperate site. i need to make it so the other site its pulling info from see's it as Internet Explorer and not what it is shown n

RE: [PHP] OO function overloading?

2003-08-14 Thread Andy Crain
Or, if you'd rather not use an experimental extension, there's this hack (learned from http://www.phpbuilder.com/columns/luis2420.php3): class MyClass{ function MyClass(){ $name = 'MyClass' . func_num_args(); $this->$name(); } function

Re: [PHP] [PROBLEM] Killed sshd, want to start it via PHP script.

2003-08-14 Thread mdg
Apache not running as root is a good thing, but probably is... Since it appears you are not the admin of the box, ask them to install Webmin (http://www.webmin.org/webmin) and to give your userid access to the ssh component. - Original Message - From: "Simon Fredriksson" <[EMAIL PROTECTED

Re: [PHP] files being downloaded when a 404 occurs

2003-08-14 Thread Mukul Sabharwal
Look at this bug file : http://bugs.php.net/bug.php?id=25009 It's been fixed in the CVS snapshots, anything after the 11PM GMT on the 10th of August works. hth. --- Rigi Toney <[EMAIL PROTECTED]> wrote: > Hello, > > I'm using Apache 2.0.47 (Unix) with PHP 4.3.3RC2. > > My httpd.conf file rea

[PHP] "Games People Play" Aug. 21 presented by Intermingo!

2003-08-14 Thread Intermingo
Intermingo presents: "Games People Play" Date: Thursday, August 21, 2003 Time: 7 - 10pm Place: 1/5, Star Street, Wanchai Ready for a night of fun and games, while getting a chance to meet new people? That's exactly what Intermingo has planned for this evening. We've reserved an ex

[PHP] getting images?? Help!!

2003-08-14 Thread Micah Montoy
I have created a little image manager. Mainly for personal usage but I have a few friends that would like it as well. Anyway, the problem that I've run into is that I can only select one file at a time using the form attribute that I want to upload. Does anyone know of a way to select multiple

Re: [PHP] partly imploding an array...possible?

2003-08-14 Thread Curt Zirzow
* Thus wrote Ryan A ([EMAIL PROTECTED]): > Hi, Hello Ryan, > $xxx=0; > foreach ($_GET as $a => $v) { >print "Current value of \$a:$a and \$v $v.\n "; >$test=$a."=".$v; >$test1[$xxx]="".$test; >$xxx++; > } > > $someVar = implode( "&", $test1); > I'm not sure why your looping thr

[PHP] Re: Associative to Numeric

2003-08-14 Thread Gerard Samuel
Excellent. Thanks. Greg Beaver wrote: $num = array_values($assoc); Regards, Greg -- phpDocumentor http://www.phpdoc.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Half solved (was foreach in search)

2003-08-14 Thread skate
> > $someVar=$test[0]. "&" .$test[1]. "&" .$test[2].etc > $someVar = implode( "&", $test ); ... should do the trick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Container functions....

2003-08-14 Thread Justin French
Mike, developer_execute() { execute this code only } declare it in an include file or something: execute it anywhere you like: So, the above will execute if your ip address is the same as the one in the function, which seems to be what you want, although I don't like the idea of code relyin

Re: [PHP] POST/GET - if there is a dot in the name it's changes to "_"

2003-08-14 Thread CPT John W. Holmes
From: "Arnau Rebassa" <[EMAIL PROTECTED]> > I'm having the same problem as the bug report > http://bugs.php.net/bug.php?id=7987. They say that's not a bug it's a > feature... Anybody knows where I can find which characters are changed and > by which character? Spaces are also converted to unders

[PHP] ldap_list + Novell eDirectory

2003-08-14 Thread Daniel Bray
I am trying to list out some printers in our Novell tree. The server that I am hitting is a Netware 6 server, running eDirectory 8. Here is the code I am using (simplified): begin code-- $printer_dn = "ou=$facility_selected, $basedn"; $printer_list = ldap_

RE: [PHP] Screen Resoultion

2003-08-14 Thread daniel
how is it possible to send a jscript variable to php thats impossible > You can do so with JavaScript and have that pass the information onto > your PHP scripts to do whatever it is that you want. > > -M > > -Original Message- > From: Uma Shankari T. [mailto:[EMAIL PROTECTED] > Sent: Tuesd

RE: [PHP] setting file_uploads on a per-directory basis

2003-08-14 Thread Ford, Mike [LSS]
On 12 August 2003 09:07, Demian Turner wrote: > In an effort to improve security on a server that has many sites, I > was hoping to disable http_uploads in php.ini then enable it in one > site with either an .htaccess: > > php_value http_uploads on > > or in httpd.conf with > > > php_val

[PHP] Re: [PEAR-DOC] standardize @throws for phpdocumentor 2.0?

2003-08-14 Thread Greg Beaver
Alexander Merz wrote: Greg Beaver wrote: We are thinking of standardizing the format of @throws for phpDocumentor 2.0. The possible format we'd like to use is: @throws constant|classname [description] @throws error_class::constant description ie @throws PEAR_Error::NOT_FOUND Right on

RE: [PHP] PHP Counter on HTML Page

2003-08-14 Thread Mike Migurski
>I've never used GD or ImageMagick before.. can you guide me to any >tutorial, script, reference.. something upon the same that can help me >out? Can you -please- do some of your own legwork once in a while? http://www.google.com/search?q=imagemagick+tutorial http://www.google.com/search?q=gd+php

[PHP] Re: Cannot add header information - headers already sent

2003-08-14 Thread Fabio Rotondo
Frederik Feys wrote: Hi Frederik, Warning: Cannot add header information - headers already sent by (output started at /usr/local/www/vhosts/aurelis.org/htdocs/header_aurelis.php:95) in /usr/local/www/vhosts/aurelis.org/htdocs/store/includes/functions/get_ca rtID.php on line 14 Can anyone shed so

RE: [PHP] How to loop?

2003-08-14 Thread Chris W. Parker
John Taylor-Johnston on Monday, August 11, 2003 3:08 PM said: > I understand the principle of mail. What I want to do is use a > as a mailing list, something like this. How do I loop it? I would... $addresses = explode("\n",$_GET['addresses']); foreach($addresse

[PHP] Generate Dates

2003-08-14 Thread Ralph Guzman
I have to generate a menu for all months in a year, with each month broken down into two periods. For example: January 01-15 January 15-31 February 01-15 February 15-28 March 01-15 March 15-31 Etc... How can generate a list of all 12 months using the above format? -- PHP General Mailing List

[PHP] Re: Pls Help-Looking for PHP Product for Articles

2003-08-14 Thread Alexandru COSTIN
Hello Steve, > I've been reading about KompleteLite, but it looks like you have to install the > Kyrsalis Enterprise server before being able to use KompleteLite, This is not true - (where have you read this?). You just have to install Krysalis Foundation (open) to be able to install Kompl

[PHP] what is %s and %d

2003-08-14 Thread pehepe php
what is %s and %d I see these in php tutorials. These are used in printing data from database but I don't know why we use %s and %d. And is there any expressions like this? Thank you for your answers. _ MSN 8 with e-mail virus p

Re: [PHP] [PROBLEM] Killed sshd, want to start it via PHP script.

2003-08-14 Thread Comex
<[EMAIL PROTECTED]> Jason Wong: > What I'm saying is apache/php has little part to play in system > maintenance. Those solutions I proposed are started by root, once > they've started they will (hopefully) ensure that sshd would be > running, and auto-restarted whenever it is stopped (or in the cas

Re: [PHP] Regex help appreciated

2003-08-14 Thread Mukul Sabharwal
Firstly, If your text spans more than one line you should use \n, rather than just doing something like : ...(.*) because that will mess up, depending on what text editor you use, eg. notepad will put \r\n, but it should only be \n. Though I'm not sure about it. So the best solution is : ...(.

Re: [PHP] [PROBLEM] Killed sshd, want to start it via PHP script.

2003-08-14 Thread Simon Fredriksson
Apache not running as root is a good thing, but probably is... Since it appears you are not the admin of the box, ask them to install Webmin (http://www.webmin.org/webmin) and to give your userid access to the ssh component. Webmin is installed, it's just not turned on. I am the administrator o

Re: [PHP] POST/GET - if there is a dot in the name it's changes to "_"

2003-08-14 Thread Analysis & Solutions
Arnau: On Tue, Aug 12, 2003 at 05:28:54PM +, Arnau Rebassa wrote: > I'm having the same problem as the bug report > http://bugs.php.net/bug.php?id=7987. They say that's not a bug it's a > feature... Anybody knows where I can find which characters are changed and > by which character? You

Re: [PHP] Quick question - Warnings

2003-08-14 Thread Shena Delian O'Brien
Try using in your PHP page: error_reporting (E_ALL ^ E_NOTICE); Ryan A wrote: Hi John, Thanks for replying, I already tried that and thought i might be mistaken because i am still getting stuff like this: Notice: Undefined index: facility24 in /home/bestweb/public_html/add_co_location.php on lin

Re: [PHP] Mail

2003-08-14 Thread Curt Zirzow
* Thus wrote Sean ([EMAIL PROTECTED]): > Got it if anyone else has trouble. > In the IIS SMTP properties go to the Access Tab. > Click the Relay button at the bottom and change the selection from "Only the > list below" to "All except the list below" I have no idea if this is a > security risk it w

Re: [PHP] dbx

2003-08-14 Thread Ray Hunter
Not sure i understand fully the question...however, you can set up your own error handling and that will allow you to do what you like with all errors. You can also trigger your own errors (however, this is limited to a certain type). http://us2.php.net/manual/en/ref.errorfunc.php -- BigDog On

Re: [PHP] libxml in PHP 5

2003-08-14 Thread Analysis & Solutions
Hey Folks: Adam replied to my message on another mailing list. I'm reposting it here for public edification and education, with a disclaimer from him that what he knows is from discussions on the php-dev mailing list, not first hand experience... From: Adam Maccabee Trachtenbe

[PHP] Adding days to a date

2003-08-14 Thread Donpro
I have a piece of code like so: $today =- getdate(); I am looking for a function that will add a variable number of days and return a valid date, i.e., the array elements for "mday", "mon" and "year" are reset as needed. Is this possible? Thanks, Don --- Outgoing mail is certified Virus F

Re: [PHP] Quick question - Warnings

2003-08-14 Thread Ryan A
Hi John, Thanks for replying, I already tried that and thought i might be mistaken because i am still getting stuff like this: Notice: Undefined index: facility24 in /home/bestweb/public_html/add_co_location.php on line 12 Plenty of notices I tried: php_value error_reporting 0 (and) php_valu

Re: [PHP] Re: Pls Help-Looking for PHP Product for Articles

2003-08-14 Thread Stephen Toutonghi
After thinking this over and talking with a couple of people, doing this looks pretty simple. I'm just not up to the task at the moment and was hoping to fine something already built that would be ready to install. I think I need to talk with our IT people a little more before pursuing this further

RE: [PHP] help with email problem

2003-08-14 Thread Roger B.A. Klorese
> and how will this be enforced. waste of legislation imo. The same way any law is: by filing criminal charges after the fact. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Counter on HTML Page

2003-08-14 Thread John W. Holmes
PHPSpooky wrote: Astrum Et Securis! I don't want to use iFrames.. is there any other way? I want to use my own php counter with lil information.. which updates the database on page load incrementing the counter and catching the few Server Variables.. and just display the Hits on that page. Howe

[PHP] How do I manipulate a date variable to a specific date array?

2003-08-14 Thread Donpro
Hi, I use the getdate() function to return today's date in an array. I do this as I need to separate the day/month/year as to display them in a drop down combo box in my form. I would like to manipulate my array as such. 1) Find the next Monday (if not already Monday); set the array to this d

Re: [PHP] how to change index.php?passwd to index.php in the address bar

2003-08-14 Thread Peter James
Use the post method? -- Peter James Editor-in-Chief, php|architect Magazine [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals http://www.phparch.com - Original Message - From: "murugesan" <[EMAIL PROTECTED]> To: "Robert Cummings" <[EMAIL PROTECTED]>; "Kris Reid" <[EMAI

RE: [PHP] help with email problem

2003-08-14 Thread Roger B.A. Klorese
> Be real - the legislation is a waste of time and money and will never be > enforced or enforcable. Too many 'anonymous' countries willing to take > money for server hosting in the world. Yes, but they're taking money *from* American companies, for the most part. You don't have to punish the re

Re: [PHP] how do I spoof a get request

2003-08-14 Thread Dan Anderson
> It should work. You said sometimes. What are the times it doesn't work? I have a script to grab various info from web pages. Insert a web page address and it outputs the results. It's useful for different things. But some web pages when I cut and paste the URLs don't work. Like when I sear

Re: [PHP] Reading remote, script-generated files

2003-08-14 Thread Matt Daleo
"Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hey Matt: > > On Tue, Aug 12, 2003 at 10:07:10AM -0700, Matt Daleo wrote: > > I'm attempting to read a remote file and parse it for data. The problem I've > > having is that the file seems to be generated by Perl >

Re: [PHP] image button problem

2003-08-14 Thread Jackson Miller
On Tuesday 12 August 2003 8:45, Abdul-wahid Paterson wrote: [snip] > Is there are a better way of doing this? All I want is to know which > button has been clicked on the form. (The form has to be method=POST) Then on the form processing script: if ($test1_x > -1 && $test1_y > -1) { // the t

Re: [PHP] what's going on with the hanmir.com guy?

2003-08-14 Thread daniel
i didnt undertstand a word you said , is he off the list yet > On Tue, Aug 12, 2003 at 03:58:19PM -0700, Chris W. Parker wrote: >> >> I'm surprised the email address hasn't been taken off the list yet. >> [EMAIL PROTECTED] you are my arch-nemesis!! > > [EMAIL PROTECTED] is the place to kvetch abo

[PHP] Cache Question

2003-08-14 Thread Tony Tzankoff
I have a webpage written in the latest version of PHP and need a little bit of help with a rather pesky cache issue. Part of the source code is as follows: page.php "; echo ""; . . . echo ""; ?> The page does not cache (which is good), but the MP3 file does (which is b

Re: [PHP] Forms

2003-08-14 Thread Robert Cummings
As I mentioned already you would be best not using Javascript and performing the submission via PHP. I wrote the following snippet in the past to do something similar to what you are asking. Study it and see if you can adapt it to your own needs. You should be able to loop on the form submission bu

php-general@lists.php.net

2003-08-14 Thread Mukul Sabharwal
You cannot pass NULL, where a 'reference' was exptected, it is not legal. Just as any other constant. NULL is a constant. function myfunc(&$p) { ... } $v = NULL; // passing NULL myfunc($x); Mukul Sabharwal http://www.devhome.org - Original Message - From: "Mirek Novak" <[EMAIL PROTECTE

RE: [PHP] help with email problem

2003-08-14 Thread Roger B.A. Klorese
> From: Mike Morton [mailto:[EMAIL PROTECTED] > > How does the legislation prevent that? As long as people publish their > email addresses - they are public domain and will be treated as such - do > you want to stop mass snail mailings mailings as well? As long as people > publish their informat

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