[PHP] project management php system

2003-08-14 Thread daniel
Hi guys ok i am doing it now, but i'm not asking for you to code something for me, i'm looking for a classy project management system possibly in an open source format in PHP and Mysql. I was wondering who has implemented such a system they could recommend, i am investigation to look into

Re: [PHP] info

2003-08-14 Thread Jason Wong
On Saturday 09 August 2003 06:57, Kevin Stone wrote: domain: asiostudios.com [snip] Thanks. Much appreciated. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development *

[PHP] image button problem

2003-08-14 Thread Abdul-wahid Paterson
Hi, I am trying to create an HTML form that has several image buttons on it and the resulting action depends on which button is pressed. I first tried using input type=image name=test src= but from IE on the PHP side I only get $_POST['test_x'] and $_POST['test_y'] defined. I therefore don't

[PHP] re: Cygwin and Php and PostNuke

2003-08-14 Thread kalmen
Hi, I have installed postnuke on cygwin/ win2k and my question is why my page SOMETIMES hang and I got to everytime restart apache server before it can display properly ? Is it something to do with memory (I read somewhere about php recompiling on IPC memory...,when I try to look for some other

Re: [PHP] Re: fsockopen/ssl

2003-08-14 Thread Scott Fletcher
Great! Glad to hear it is working. Apache conf file can be a haunting task if we try new things as never before. Wendy Reetz [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] AHAH! Thank you for your help. You mentioned that the private key was missing. I didn't realize I was

RE: [PHP] Calling to a page without having to load it

2003-08-14 Thread Martin Towell
You could use a hidden image Or use an external javascript file that's really the php file HTH Martin -Original Message- From: Creative Solutions New Media [mailto:[EMAIL PROTECTED] Sent: Friday, 8 August 2003 1:51 PM To: [EMAIL PROTECTED] Subject: [PHP] Calling to a page without having

Re: [PHP] Restricted access

2003-08-14 Thread Marek Kilimajer
I'm sorry, should be readfile(). Switched keyboard. Ciprian Trofin wrote: What is readfile90 ? I tried google and nothing. MK Yes, put the files outside of web root or protect them using .htaccess MK file. After authorization use readfile90 to serve the file. There are MK lots of tutorials on

Re: [PHP] Restricted access

2003-08-14 Thread Marek Kilimajer
Yes, put the files outside of web root or protect them using .htaccess file. After authorization use readfile90 to serve the file. There are lots of tutorials on authentization and if you are using some CMS you might have all you need. Ciprian Trofin wrote: Hi All, I want to give access to

RE: [PHP] Class Design Question...

2003-08-14 Thread Dan Joseph
Hi, Otherwise, a year down the line, you find yourself stuck with a thing that needs a small modification which will take you hours and hours and hours and probably turn your little project into spaghetti (speaking from experience). That's probably some good advice, and something for

Re: [PHP] Reading mail with PHP?

2003-08-14 Thread Brent Baisley
You might want to look at SquirrelMail (squirrelmail.org). It's a full featured open source webmail client written in PHP. On Thursday, August 14, 2003, at 06:41 AM, Marcus Edvardsson wrote: Hi! * I'd like to connect to a mail server * Confirm the senders email addresses * Download the

RE: [PHP] Problem occurs when included file includes anther file.

2003-08-14 Thread cyz
Thank you for your reply first. Yes I know I could set include_path either in the php.ini or at runtime.But it's a little bit dirty I think.What I am confused about is the fact that require(./inc.php) can not work while require(inc.php); works correctly. How does php determine the

[PHP] HELP strip slashes ???

2003-08-14 Thread Didier McGillis
Everyone, 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 b, br, p a href= a very limited amout of tags. What is the best way to submit and then show this information to make

Re: [PHP] Simple HTTP request, with Range header

2003-08-14 Thread Chris Shiflett
--- Ken [EMAIL PROTECTED] wrote: What I want to do is write something simple in PHP that makes an HTTPrequest, takes the data received, and passes it through. Specifically, I am hoping to retrieve just a part of a file from the web server. If I wanted the whole file I would just do

Re: [PHP] mail() function failure

2003-08-14 Thread Jason Wong
On Thursday 07 August 2003 23:19, Brad Esclavon wrote: I have made a simple script to mail an email to a person on my domain. i have tested the script with different values and i still cannot get the email. when i execute the mail function, it returns true, so i know it gets to the mail

[PHP] Is PHP cable of handling ASCII characters???

2003-08-14 Thread Scott Fletcher
Hi! Is PHP cable of handling the ASCII characters? Back then, I had no problem with it when there are 'a', 'b', 'c' characters as well as 'LF', 'CR', etc. But when there is a 'NUL' character, it tripped up PHP so I am wondering if ASCII characters is fully supported. Thanks, Scott --

Re: [PHP] Validate The Last Day of Month with server's clock????

2003-08-14 Thread CPT John W. Holmes
From: Nicholas Robinson [EMAIL PROTECTED] The 'usual' trick is to set the date to the first day of the month after the one you want and then subtract one day. Along those same lines, this works: ?php $month = 12; $year = 2003; $last_day_of_month = mktime(12,0,0,$month+1,0,$year); echo

Re: [PHP] php conditional loop question

2003-08-14 Thread Randy L Johnson Jr
I am running php as a client and I have the script running 24/7 to download the data from the connection. Is there a function to see if the connection drops. ?? is there a way to keep restart the function in the script. perhaps use a while and exit the function with a number exit(3) and

Re: [PHP] where are my errors?

2003-08-14 Thread David T-G
John -- ...and then John W. Holmes said... % % David T-G wrote: % % 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 %

[PHP] drawing problem

2003-08-14 Thread Marco Moonen
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. Can anyone help me out? Regards, Marco --

[PHP] install

2003-08-14 Thread John Spencer
I have downloaded the win32 binaries 4.3.2 and the installer. When I run the installer I get Could not initialize installation. File size expected=1060020, size returned=90139. I downloaded the two windows files php 4.3.2 zip package [6,107kb] and php 4.3.2 installer [1,035kb] I have tried to run

Re: [PHP] PHP - Interpreted or Compiled Language

2003-08-14 Thread Robert Cummings
While is is true that the opcodes cannot be run as machine code, the opcode (bytecode) can be run on any machine which has the PHP engine (or an opcode reader). Does Java not call itself a compiled language? If so then the simple addition of PHP Accelerator, or Zend Accelerator should be

Re: [PHP] HTML equivalents of accented characters

2003-08-14 Thread Ivo Fokkema
To change é to eacute; you need htmlentities(), not htmlspecialchars as the latter only translates ampersands (), double quotes, less than en greater than characters (Single quotes are not translated by default). If htmlentities does not work, what does a var_dump on your $translationtable send

Re: [PHP] Re: shell script not working with shell_exec

2003-08-14 Thread Curt Zirzow
* Thus wrote Scott Fletcher ([EMAIL PROTECTED]): What you will need to do is to login using the Apache account from the terminal login and execute the command line code. If it doesn't work then you know the problem had nothing to do with Apache and PHP. The apache account shouldn't have a

RE: [PHP] Re: global scope issue

2003-08-14 Thread Ford, Mike [LSS]
-Original Message- From: Ivo Fokkema [mailto:[EMAIL PROTECTED] Sent: 13 August 2003 15:45 Shawn McKenzie [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm having problems using global vars. I have read the docs and all of the notes but it's not helping.

Re: [PHP] cookies and redirection

2003-08-14 Thread Chris Shiflett
--- Joaco [EMAIL PROTECTED] wrote: I set a cookie in my code and then redirect the user using a header function. When I do this, my cookie is not created. If i remove the header function, then it is. Is there a way around this? If you are using IIS, read this:

Re: [PHP] error problem

2003-08-14 Thread Larry E . Ullman
Sorry the second echo Hello world; was meant to have no semi colon Just so you know, PHP allows the last command in a section to not have a semi-colon. Therefore the code ? echo Hello world ? would not cause an error message. If you're trying to purposefully cause an error, you'll need to

RE: [PHP] cookie not setting in IE

2003-08-14 Thread Chris W. Parker
Michael A Smith mailto:[EMAIL PROTECTED] on Wednesday, August 13, 2003 1:36 PM said: In the status bar, at the bottom, are you getting a little red eye or something of the sort? If you are IE is blocking the cookie for you. Gosh don't I sound like a moron (I'm not I promise!!!). Sure

Re: [PHP] PHP- accessing session var

2003-08-14 Thread Chris Shiflett
--- Mignon Hunter [EMAIL PROTECTED] wrote: When I print_r my session vars part of what get is: Do this: print_r($_SESSION); Show us what that outputs. Your output seemed to infer that you are doing something else when you print_r your session vars, as _SESSION was listed as a key within

Re[2]: [PHP] Location referer header

2003-08-14 Thread Uros
Hi, Anybody have any sugestion how to pass this data. My only idea is something like this. redir.php?url=www.somehost.comq=testpos=1 That way i can count click and also send referer with query data. Wednesday, August 13, 2003, 3:27:10 PM, you wrote: DO On Wed, 13 Aug 2003 15:22:42 +0200,

Re: [PHP] Config files

2003-08-14 Thread CPT John W. Holmes
From: Hardik Doshi [EMAIL PROTECTED] I have following options for working with the configuration files with the relatively large web application. 1. Configuration variables using the DEFINE. 2. Array - Each configuration variable as an array element. 3. PHP.INI like config files. A

Re: [PHP] discussion forum from j. meloni's book

2003-08-14 Thread Anthony Ritter
Ford, Mike [LSS] [EMAIL PROTECTED] writes: You have a conceptual misconception. In effect, you need to read that query as: select ft.topic_id, ft.topic_title from ( forum_posts as fp left join forum_topics as ft on fp.topic_id = ft.topic_id )

Re: [PHP] email confirmation script

2003-08-14 Thread Jackson Miller
On Thursday 14 August 2003 12:19, you wrote: Thanks for the reply Jackson. It's non-profit. cool I guess I'm looking for a randomly generated string that would append to the users e-mail address so that it could be matched when the user clicked the link and submitted it back for inclusion

[PHP] cookie not setting in IE

2003-08-14 Thread Chris W. Parker
Hello, I'm just testing out some cookie stuff right now and I've created a VERY basic cookie setting and reading page. It works in Mozilla Firebird and it even works in a friends IE. For some reason my computer won't accept the cookie. Anyone have any ideas? Chris. p.s. Both computers are

Re: [PHP] php conditional loop question

2003-08-14 Thread Curt Zirzow
* Thus wrote Randy L Johnson Jr ([EMAIL PROTECTED]): I have done this but it does not seem to ever get to the end of file, I have it inserting the values into the database, it goes for awhile around 12 to 24 hours and then stops inserting the values into the database and I have to restart the

Re: [PHP] PHP Session Problem!.....urgent!

2003-08-14 Thread Robert Cummings
The root of your problem is that sessions generally do not traverse multiple domains. A possible solution is to embed an image in each of the servers which references a PHP script in the other server, and while doing so passes the sessionID along. On server abc.foo.org you might have the

Re: [PHP] regex causing headache ;-(

2003-08-14 Thread Merlin
nop.. that does not work either. It does not execute for a url like: /test/contact.html The regex should execute for /test/contact.html but not for /partner/test/contact.html where test should be open for any word Any other suggestions? I am sure this is possible. Merlin -- arek Kilimajer

Re: [PHP] PHP - Interpreted or Compiled Language

2003-08-14 Thread Curt Zirzow
* Thus wrote Robert Cummings ([EMAIL PROTECTED]): While is is true that the opcodes cannot be run as machine code, the opcode (bytecode) can be run on any machine which has the PHP engine (or an opcode reader). Does Java not call itself a compiled language? If so then the simple addition of

[PHP] Config files

2003-08-14 Thread Hardik Doshi
Hi Group, I have following options for working with the configuration files with the relatively large web application. 1. Configuration variables using the DEFINE. 2. Array - Each configuration variable as an array element. 3. PHP.INI like config files. Please let me know which one is the

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

2003-08-14 Thread Analysis Solutions
On Wed, Aug 13, 2003 at 08:17:14AM -0700, Chris Shiflett wrote: why do sites such as Google, Amazon, TicketMaster, Yahoo!, and eBay use them? The difficulty with cookies is when a site doesn't work without them. Fortunately, Google works fine when cookies are disabled. Amazon is a great

Re: [PHP] Reading mail with PHP?

2003-08-14 Thread andu
On Thu, 14 Aug 2003 19:35:21 +0600 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, You are certainly on the right track wtih imap_*() Imap_* functions seem like the easy way out but I found them to be extremely slow for retrieving mail (specially headers and stuff). I also found similar

Re: [PHP] counting files, choosing at random

2003-08-14 Thread Adam i Agnieszka Gasiorowski FNORD
David Otton wrote: On Wed, 13 Aug 2003 10:54:58 +0200, you wrote: I want to choose a file at random from a directory which adheres to certain naming scheme. I can't get it to work. It's probably something simple...Here is a relevant snippet: img src=/szukaj/images/i ?

[PHP] Re: global scope issue

2003-08-14 Thread Shawn McKenzie
OK, so what's the use of having the autoglobal $GLOBALS??? This is contrary to the docs. -Shawn Ivo Fokkema [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Shawn McKenzie [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm having problems using global vars. I have read

Re: [PHP] Display variable with spaces -SOLVED

2003-08-14 Thread Pushpinder Singh Garcha
Thank you so much ! it works fine now ;) --Pushpinder On Wednesday, August 13, 2003, at 12:01 PM, Larry E. Ullman wrote: And I try to display it in the table using this : input name=email_1 type=text id=email_1 size=50 value = ? echo $email_1; ? if I try to echo the variable $email_1, I get

Re: [PHP] OPINIONS wanted - xml-DOM-xsl + php

2003-08-14 Thread Analysis Solutions
On Wed, Aug 13, 2003 at 11:44:18PM +0200, Thomas Hochstetter wrote: Are there plans to make the xml-DOM-xsl combination standard in future releases of php (version 5)? The .dlls are there. A person involved with the development recently said that in PHP 5 The DOM, SAX, XPath, Schema and any

[PHP] Validate The Last Day of Month with server's clock????

2003-08-14 Thread Scott Fletcher
Hi! Here's a trick script. We know that some months have the last day which is 30 while other is 31. As for February, it can be either 28 or 29. So, what's the trick in using the php to find out what is the last day of the month if you want to checked it against the server's clock to find

Re: [PHP] Validate The Last Day of Month with server's clock????

2003-08-14 Thread Scott Fletcher
Alright, interesting thought, never thought it would be possible. So, what would the PHP script be when matching it against the clock or something? Perhap mktime(). Anyone know? Scott F. Nicholas Robinson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] The 'usual' trick is to set the

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

2003-08-14 Thread murugesan
Thanks for the message. Actually I tried only html files in the beginning. Let me explain my problem. I want to open a new window in a link with a function as function newwindow() { window.open(/home.php?userid=user1,Homepage); } when I click the link now the address bar has the following

Re: [PHP] cookies and redirection

2003-08-14 Thread Chris Shiflett
--- Chris Boget [EMAIL PROTECTED] wrote: You can't use any functions that send headers to the browser (and that includes setcookie()) before you use: header( 'location: http://blah' ); The browser will choke. I'm not sure what gave you this idea, but this is false. What browser were you

Re: [PHP] Validate The Last Day of Month with server's clock????

2003-08-14 Thread Scott Fletcher
Ah! that seem nicer when just using the script ($month+1)... Cpt John W. Holmes [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] From: Nicholas Robinson [EMAIL PROTECTED] The 'usual' trick is to set the date to the first day of the month after the one you want and then subtract

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

2003-08-14 Thread Chris Shiflett
--- Analysis Solutions [EMAIL PROTECTED] wrote: That's a good guess! Yet further proof that cookies suck, except the ones made with flour, shortening and sugar, of course. That's a pretty harsh description of one of Netscape's greatest contributions to the Web (the other being SSL). With a

Re: [PHP] PHP Session Problem!.....urgent!

2003-08-14 Thread CPT John W. Holmes
From: [EMAIL PROTECTED] Dear Sir, You don't have to call me that unless you're in the military, also. :) I've been using PHP for business and personal use for a while now, and I have to admit, I'm not just a user anymore and I am a fan. but it's been a while I came across a problem : I use

RE: [PHP] Validate The Last Day of Month with server's clock????

2003-08-14 Thread Ford, Mike [LSS]
On 14 August 2003 16:01, Scott Fletcher wrote: Mike Ford [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On 13 August 2003 20:05, Nicholas Robinson wrote: On Wednesday 13 Aug 2003 8:00 pm, Scott Fletcher wrote: Hi! Here's a trick script. We know that some

RE: [PHP] PHP- accessing session var

2003-08-14 Thread Ford, Mike [LSS]
On 13 August 2003 23:00, Mignon Hunter wrote: Hi This will be real simple for you guys. When I print_r my session vars part of what get is: [_SESSION] = Array ( [cart] = shoppingcart Object ( [contents] = Array

Re: [PHP] HTML equivalents of accented characters

2003-08-14 Thread Ivo Fokkema
Liam Gibbs [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I bet they do, did you check the HTML source as well? My guess is that the source is reading the actual expected output, but your browser views é, as it should of course. Sorry, should have mentioned. The source code

RE: [PHP] Unzipping Files

2003-08-14 Thread Matt Palermo
Yes, I do read the replies. I'm looking to get MORE information. This topic is very new to me, and I am just trying to find out all I can. So far people on the mailing list have been very generous with sharing information, but I am looking for the most details possible, since I am not very

[PHP] XMl Parsing within PHP

2003-08-14 Thread Donald Tyler
Hi, I am trying to create a Class that will parse an XML document. It all works fine as individual functions but I cant get it to work as a class. For example, when I do the following in my class: xml_set_element_handler($this-xml_parser, '$this-startElement',

RE: [PHP] PHP Counter on HTML Page

2003-08-14 Thread PHPSpooky
Astrum! Once in a while.. Sure. Dominor! PHPSpooky 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+tutorial -

Re: [PHP] Correct Coding

2003-08-14 Thread Robert Cummings
That can generate an error if $Task was never assigned a value. Cheers, Rob. On Thu, 2003-08-07 at 13:17, Juan Nin wrote: Is this the best way to do this? if(isset($Task) $Task == Add) { Do something } I want to check if the variable is set and if so, if it is Add. why don't just do:

[PHP] Passing database resource to object (OO)

2003-08-14 Thread Ben Edwards
Wan I insatiate an object I want to pass a database resource that can be used throughout the object. The below code should indicate what I want but I get the error mysql_query(): supplied argument is not a valid MySQL-Link resource. I guess this is because $this-$db = $db is wrong. Ben

RE: [PHP] Correct Coding

2003-08-14 Thread Roger B.A. Klorese
Could you explain a little better why this would make things better? I don't understand how this would improve things. Concerning the $Task == Add, I'd like to make a comment. It can be a wise decision to compare your variables with strings like: if (Add == $Task) This can help

[PHP] openssl errors and failure

2003-08-14 Thread Shaun McIntyre
Hello - I'm seeing odd behavior with some openssl function in php. Versions: php 4.3.2 ./configure' '--with-mysql' '--with-apxs=/usr/local/apache/bin/apxs' '--with-openssl' OpenSSL 0.9.7a I've seen almost this exact question posted on the openssl mailing list but no one answered and a

[PHP] Re: detecting referer

2003-08-14 Thread Comex
Do not depend on the referrer, it can easily and is commonly turned off. Creative Solutions New Media [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, Bit of a newbie question I guess. What is the best way, using php, to detect information about the referrer to a page. Is

RE: [PHP] Building an XML Parser Class

2003-08-14 Thread Donald Tyler
I did read the other thread, and I tried that. It didn't work... -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 2:46 PM To: Donald Tyler; [EMAIL PROTECTED] Subject: RE: [PHP] Building an XML Parser Class [snip]

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

2003-08-14 Thread Pete James
Check out http://php.net/session_set_save_handler, and save your session data in a database, or leave it as is and access the session file directly. Here's an example of sharing php sessions with perl... it may provide some ideas.

RE: [PHP] strtotime()

2003-08-14 Thread Jennifer Goodie
strtotime( '+1 month', mktime( 0, 0, 0, 1, 1, 2003 )); I get back the timestamp for 1/31/2003 and not 2/1/2003. Are you sure? Yeah, but I missed something in my above example. If I did this: strtotime( '+1 month GMT', mktime( 0, 0, 0, 1, 1, 2003 )); It came back with 1/31/2003 and

Re: [PHP] Is PHP cable of handling ASCII characters???

2003-08-14 Thread Scott Fletcher
Yea, cURL can handle ASCII characters. It been working for a couple of years. The first clipping is a sample PHP code. The 2nd clipping is the result of the data in ASCII characters, most of the data inside the CDATA is removed for security reason. The 3rd clipping is the result of a PHP array

Re: [PHP] mail() usage in for loops

2003-08-14 Thread John W. Holmes
Mohanaraj wrote: What would be the best way to handle this ? Go get a program that's made to send out emails like this. Odds are it'll be faster and less of a strain on your server. PHP is great, but there are other solutions out there. My $0.02, of course. :) -- ---John Holmes... Amazon

[PHP] setting function variables

2003-08-14 Thread Micah Montoy
I am trying to specify a single php file to contain all the variables and I just call this file where necessary. What I am running into is that I want to do this for all the built in functions (i.e. mssql_query) as well. I've tried numerous attempts but can't get it to operate without wanting to

Re: [PHP] dev style guide

2003-08-14 Thread jsWalter
Curt Zirzow [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] * Thus wrote jsWalter ([EMAIL PROTECTED]): Is there a style guide for coding practices used when creating code to be shared with the community? The rule is to code they way the community has been coding. Thanks, I was

Re: [PHP] How to point at a spot and get relevant information?

2003-08-14 Thread David Otton
On Thu, 7 Aug 2003 10:59:01 -0500 , you wrote: Thank you for your reponses. The problem is there are thousands of spots on the plot. The locations are random. This may be one of those you can't get there from here problems, and you'll have to rethink the presentation of your data. What's the

Re: [PHP] Associative to Numeric

2003-08-14 Thread olinux
http://www.php.net/array_values http://www.php.net/array_keys --- Gerard Samuel [EMAIL PROTECTED] 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

Re: [PHP] mysql_error() problem?

2003-08-14 Thread Curt Zirzow
* Thus wrote Tyler Longren ([EMAIL PROTECTED]): hmmm...perhaps that was it. When I had this issue before, someone told me to check mysql_affected_rows() when using issuing an UPDATE query. I'll give that a shot. Correct, mysql_affected_rows() on a query that doesn't return rows (insert,

Re: [PHP] setting function variables

2003-08-14 Thread Mark
--- CPT John W. Holmes [EMAIL PROTECTED] wrote: A good suggestion, since this is what your creating, basically. Anyhow, if you really want to do it your way, it'd be like this: $runQuery = 'mssql_query'; $getRow = 'mssql_fetch_row'; Then you'd use them like this: $result =

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

2003-08-14 Thread Stephen Toutonghi
Hi, I'm looking for a product that will help me create a documentation system. I'd like to be able to post individual articles on an intranet, and have user's create comments on the articles that become part of the article. And editor could then review the comments and add to the article where

Re: [PHP] PHP Fusebox

2003-08-14 Thread Joona Kulmala
Ralph Guzman wrote: I am trying to standardize my development process and have been looking at the different frameworks out there. One of the philosophies I like is that of Fusebox, although originally developed for ColdFusion it is now available for PHP: http://bombusbee.com/ Anybody have any

[PHP] Installer Software

2003-08-14 Thread Joe Harman
Hello, I am making an application in PHP, but I want it to run on a user's local computer... but I need to find someway to bundle this so that when it is distributed, the installer installs PHP for windows... then copys the PHP files to the correct directory, then puts a short cut on the

Re: [PHP] Installer Software

2003-08-14 Thread John W. Holmes
Joe Harman wrote: I am making an application in PHP, but I want it to run on a user's local computer... but I need to find someway to bundle this so that when it is distributed, the installer installs PHP for windows... then copys the PHP files to the correct directory, then puts a short cut on

Re: [PHP] FDF support in RedHat

2003-08-14 Thread Cesar Cordovez
Now I have 4 versions: FDFTK.H, fdftk.h, FdfTk.h, Fdftk.h. Same problem. Cesar Cordovez wrote: Weird. Is the file Fdftk.h or fdftk.h? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] does PHP have a equivalent to the C++ #ifndef #define?

2003-08-14 Thread Miles Thompson
Not quite, but have a look at the function handling functions: http://www.php.net/manual/en/ref.funchand.php particularly http://www.php.net/manual/en/function.function-exists.php May not be what you want, but might get you close. Miles At 10:42 AM 8/10/2003 -0400, Dan Anderson wrote: I'm coding

[PHP] mail() function failure

2003-08-14 Thread Brad Esclavon
I have made a simple script to mail an email to a person on my domain. i have tested the script with different values and i still cannot get the email. when i execute the mail function, it returns true, so i know it gets to the mail server, but the mail server doesnt actually send it. i am being

Re: [PHP] 4.3.3RC download mirror sites?

2003-08-14 Thread Jason Wong
On Wednesday 06 August 2003 14:11, Jean-Christian IMbeault wrote: I am trying to download php-4.3.3RC2 from the PHP site but my connection keeps timing out even before the download starts. I'm guessing the main server is too busy? Does anyone know of any mirror sites? When you go to the

RE: [PHP] Max script size

2003-08-14 Thread Jay Blanchard
[snip] Yes. PHP versions differnt. Ini's Diffiernt, don't want to to match those. I assmue the reason is because of a differnt ini setting...I just can't find it. [/snip] How identical are the servers themselves? We may need to see some code (PLEASE do not post the entire thing here, just the

[PHP] Re: Best PHP CMS

2003-08-14 Thread Shawn McKenzie
I prefer and use PostNuke. Great community, stable platform, many modules/themes, sensible API for development and AutoTheme HTML theme system for templating, with another system on the way. HTH -Shawn Anthony [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm just looking for some

[PHP] running scripts

2003-08-14 Thread BrianS
I am sure this has been asked dozens of times so please forgive if this is repetitive. I have an application from which I would like to incorporate running scripts. I saw that I can pass files to php.exe but this is more for a batch process and so my application wouldn't have access to any script

Re: [PHP] Attention everyone 0-t

2003-08-14 Thread Ryan A
Hi, for some reason over 90% of all posters to this list has been blacklisted by spamcop... And how do you know this? I use mailwasher pro which queries spamcop for all mail i recieve and automatically blacklists it so i wont have to bother looking at itI was just surprised to see my

Re: [PHP] Sum a column of values from a MySQL query

2003-08-14 Thread CPT John W. Holmes
Sorry, Jay, but that's a horrible method. You could just run one query with a GROUP BY clause to get the sum for each invoiceID, instead of running multiple queries like you've mentioned... $query = SELECT invoiceid, SUM(partpaidamount) AS partpaid FROM $tb_name GROUP BY invoiceid; $rs =

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

2003-08-14 Thread Cesar Cordovez
I didn't read the fine manual. Where in the manual says: [move fdftk.h to /usr/local/includes and libfdftk.so to /usr/local/lib]? Huh? The manual only says: manual source=php.net/fdf Note: If you run into problems configuring PHP with fdftk support, check whether the header file fdftk.h and

Re: [PHP] mail() usage in for loops

2003-08-14 Thread Joel Rees
When you say batches of 500 , would that mean you put pauses between each batch ? Or do you prepare each email as a file and then send them out in batches of 500? Whats the time space between each batch? Assuming I was stuck with sendmail, what would you recommend ? Well, I don't know

RE: [PHP] Building an XML Parser Class

2003-08-14 Thread Donald Tyler
Three ways I tried using the :: syntax: 1. With either double OR single and with OR without () (Tried all 4 combinations) quotes: xml_set_element_handler($this-xml_parser, xmlTranslator::startElement, xmlTranslator::endElement); Gives me the following error message: Warning: xml_parse():

[PHP] Problem occurs when included file includes anther file.

2003-08-14 Thread CaiYongzhou
The directory structure is as follows: / |-- demo.php |-- inc/ |-- inc1.php |-- inc2.php === file demo.php == ?php require 'inc/inc1.php'; ? === file inc/inc1.php == ?php require 'inc2.php'; ? == file inc/inc2.php == this is a test The above inc/inc1.php is ok for testing.And this

[PHP] Mail

2003-08-14 Thread Sean
I cannot get mail() to work any idea's I get a server error. Windows 2000 the SMTP port is 25. No default values have being changed from the original PHP installation. In it's simplest form mail([EMAIL PROTECTED], My Subject, Test); Gives the error as do more complicated scripts that I copied.

Re: [PHP] Stop neurotic posting

2003-08-14 Thread Step Schwarz
The manual (especially user comments) and Google are invaluable to me as a PHP coder. As fast as this list is to respond to a very basic question, the manual and Google are faster. And more in-depth. So no offense but the replies you consider to be neurotic I consider to be helpful. -Step

Re: [PHP] error problem

2003-08-14 Thread Randy L Johnson Jr
there is something in the php.ini file that turnsthe display errors in browser on and off... Randy ---Original Message--- From: Kris Reid Date: Wednesday, August 13, 2003 10:36:59 PM To: PHP List Subject: Re: [PHP] error problem Sorry the second "echo "Hello world";" was meant

Re: [PHP] greedy preg

2003-08-14 Thread CPT John W. Holmes
From: skate [EMAIL PROTECTED] $contents = preg_replace( |item.*?.$file..*?/item|si, , $contents ); okay, so i figured out that it's matching the first occurence of item which will always be the first record and then going on to match the $file and deleting everything between. obviously not

[PHP] Re: Sum a column of values from a MySQL query

2003-08-14 Thread Jim Lucas
What are you expecting back from the sql statement? And what are you getting? From what I can tell, if you are getting all your amounts from the select statement then you are already totalling them up inside the select statements by using the sum() function call. if you are wanting, or

RE: [PHP] AOL Email client

2003-08-14 Thread Chris Shiflett
--- Mark Roberts [EMAIL PROTECTED] wrote: $headers .= From: .$name. .$email.\r\n; My guess is that this line is what is causing your problems. Try this instead: $headers .= From: \$name\ $email\r\n; The difference is (aside from not using concatenation) that the name is quoted, which is proper

RE: [PHP] Stop neurotic posting

2003-08-14 Thread Ralph Guzman
This will help: http://catb.org/~esr/faqs/smart-questions.html This has got to be the longest thread I've seen. -Original Message- From: andu [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 9:32 PM To: [EMAIL PROTECTED] Subject: [PHP] Stop neurotic posting This is a very

[PHP] REQ: Password storage system

2003-08-14 Thread Daevid Vincent
I'm in search of an 'enterprise level' password storage system. I have looked at phpMyPass and it looks promising, but the demo doesn't seem to have everything I want. http://freshmeat.net/releases/127316/ While this one says v2.0 http://www.phpmypass.paniris.com/ Says 1.0 ?? I need it to be

Re: [PHP] Stop neurotic posting

2003-08-14 Thread daniel
obviously our asp windoze counterparts look over us as inferior, but i dont see it that way, but how about java , looking into the future how inferior or superior comparing php and java ? I tend to think that PHP will take over the world Just my $0.02. Robert Cummings wrote: Hitler

Re: [PHP] PHP P2P File sharing

2003-08-14 Thread Chris Shiflett
--- Joe Harman [EMAIL PROTECTED] wrote: I curious if anyone knows of a PHP based Peer-to-Peer file sharing program out there! I have a friend that wants to implement this with his web server.. P2P isn't exactly something you do with PHP anymore than you would write a Web server with PHP (which

  1   2   3   4   5   6   7   8   9   10   >