Re: [PHP] Reoccuring task manager feature enhancement

2007-06-21 Thread Chris
Jason Pruim wrote: Okay, so I don't even have the whole system up and working quite yet that Dan Brown typed out for me in another e-mail and I have people wanting new features... They would like to be able to schedule things to happen every other week, once a month on a certain day, quarterly,

Re: [PHP] undefined symbol:oci8_module_entry

2007-06-24 Thread Chris
jamal taweel wrote: Hi, I have a problem when installing PHP 5 .2.3 with oracle 10.2.0, where as I do the following: · ./configure --prefix=/usr/local/php5 --with-apxs2=/opt/apache2/bin/apxs --with-libxml-dir=/usr/local/lib --with-zlib --with-zlib-dir=/usr/local/lib --with-gd --enabl

Re: [PHP] undefined symbol:oci8_module_entry

2007-06-24 Thread Chris
Turn OFF HTML in your mail program! - Original Message From: Chris <[EMAIL PROTECTED]> To: jamal taweel <[EMAIL PROTECTED]> Cc: php-general@lists.php.net Sent: Monday, June 25, 2007 7:11:34 AM Subject: Re: [PHP] undefined symbol:oci8_module_entry jamal taweel

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

2007-06-29 Thread Chris
-Patrick wrote: I no longer have a need for this list and My mailbox is getting flooded, Can someone assist ? Click the unsubscribe link that appears at the bottom of every email. -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To u

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

2007-06-29 Thread Chris
M. Sokolewicz wrote: Paul Scott wrote: On Fri, 2007-06-29 at 01:59 -0400, -Patrick wrote: I no longer have a need for this list and My mailbox is getting flooded, Can someone assist ? Read the footer on every single mail posted to this list to unsubscribe --Paul --

Re: [PHP] mail function problem

2007-07-01 Thread Chris
[EMAIL PROTECTED] wrote: Hi, I'm running PHP 5.2.3 on Solaris 10 (AMD64). My mail function doesn't send any mail, the return value of mail function is false... But sendmail_path value is OK in php.ini, and I've tried to send a mail with sendmail on console with the same user (the apache user)

Re: [PHP] mail function problem

2007-07-03 Thread Chris
Try this: Note Same result : "NOK /usr/lib/sendmail -t -i" I think the problem is not in the test script. Is that the right path? Normally it's /usr/sbin/sendmail not /usr/lib . -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.ne

Re: [PHP] Re: how PHP is batter?

2007-07-03 Thread Chris
Either phrase can be a good or a bad thing, it all depends on tone - Scottish is very like Japanese in that respect :p with regard to batter - isn't it the scots that have pechant for covering marsbars with the stuff and deepfrying them? The aussies do it too - are we just as crazy as the sc

Re: [PHP] Re: how PHP is batter?

2007-07-03 Thread Chris
Robert Cummings wrote: On Wed, 2007-07-04 at 11:15 +1000, Chris wrote: Either phrase can be a good or a bad thing, it all depends on tone - Scottish is very like Japanese in that respect :p with regard to batter - isn't it the scots that have pechant for covering marsbars with the stuf

Re: [PHP] Selecting Rows Based on Row Values Being in Array

2007-07-03 Thread Chris
kvigor wrote: Jim, Thanks for all you help. Tell me where to mail you the check "seriously". If we get this right I'll owe you. OK, the query string now looks like you said it would. However Query isn't returning a match. //DETAILS=

Re: [PHP] Re: how PHP is batter?

2007-07-04 Thread Chris
Andrew Hutchings wrote: In article <[EMAIL PROTECTED]> [EMAIL PROTECTED] (Chris) wrote: Either phrase can be a good or a bad thing, it all depends on tone - Scottish is very like Japanese in that respect :p with regard to batter - isn't it the scots that have pechant fo

Re: [PHP] mail function problem

2007-07-04 Thread Chris
web2 wrote: Chris a écrit : Try this: Note Same result : "NOK /usr/lib/sendmail -t -i" I think the problem is not in the test script. Is that the right path? Normally it's /usr/sbin/sendmail not /usr/lib . Yes, /usr/sbin/sendmail is a link to /usr/lib/sendmail.

Re: [PHP] Memory_limit higher than 256MB

2007-07-04 Thread Chris
Tobias Vollmer wrote: Hello group. I have a debian etch install with PHP5.2.0-8. For a backup Script of a Typo3-Database I need to temporarily increase the memory_limit to, say, 512MB. Unfortunatly I still get an Error-Message --- Fatal error: Allowed memory size of 268435456 bytes exhausted [

Re: [PHP] Question re virtual and scope of definitions

2007-07-04 Thread Chris
(Karl Pflästerer) wrote: Hi, today I wanted to use virtual (an `include' wasn't an option) to get the output from another PHP script. I got errors about functions being already defined, which is true since in both scripts are functions of the same name. I always thought virtual makes an Apache s

Re: [PHP] HTML in database

2007-07-04 Thread Chris
Bruce Cowin wrote: I am writing code to store a bunch of email files, in MIME format, into a database. The body of some of these emails, but not all, are in HTML format. If I use addslashes (after checking get_magic_quotes_gpc()), the database record won't get saved. There's no error messag

Re: [PHP] HTML in database

2007-07-04 Thread Chris
Bruce Cowin wrote: Thanks. Sorry, I should have mentioned I'm using MS Sql Server and I don't see a mssql equivalent to that function. Ahh - sorry, missed that in your original post. -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Inserting single quotes

2007-07-06 Thread Chris
The ini setting is magic_quotes_gpc ( http://www.php.net/ref.info#ini.magic-quotes-gpc ). If that doesn't work the it's mostly like an issue in your code, make sure there aren't any differences. Chris skip evans wrote: I'm sorry, I totally misnamed the subject of

Re: [PHP] A very strange loop!

2007-07-09 Thread Chris
Xell Zhang wrote: Hello all, I met a very strange problem today. Take a look at the codes below: for ($i = 'A'; $i < 'Z'; $i++) { echo $i . ' '; } If you think the output is A-Z, please run it on your server and try. Who can tell me why the result is not A-Z? Try foreach (range('a', 'z') as $

Re: [PHP] ftp_ssl_connect

2007-07-09 Thread Chris
Daniel Novotny wrote: Hello, I am running PHP 5.2.0 on a RHEL4 server with FTP and OpenSSL enabled: ftp FTP support => enabled openssl OpenSSL support => enabled OpenSSL Version => OpenSSL 0.9.7a Feb 19 2003 I am aware of the issue of ftp_ssl_connect() silently failing to ftp_connect()

Re: [PHP] ftp_ssl_connect

2007-07-10 Thread Chris
Daniel Novotny wrote: When I tried to connect through a telnet session I got the following message: Connection failed: The certificate chain was issued by an authority that is not trusted. Get a proper certificate and you'll be right to go then I guess. -- Postgresql & php tutorials http://

Re: [PHP] Checking Post Data against DB Data

2007-07-10 Thread Chris
kvigor wrote: /*Good Morning to All, I am having an issue with the following code. I'm trying to match $newRegistrant(which is concatenated form data) with $oldRegistrant(which is concatenated DB data). First thing I'd suggest is making the code clearer about what's going on. Doing it the

Re: [PHP] Editing Files with PHP

2007-07-10 Thread Chris
David Wonderly wrote: I am trying to create a small script to open a file and edit it. However, when I open a file with PHP in it the PHP is stripped out. It open as if I was viewing the page source. How do I fix this? Here is the code I am using. include actually processes the php file, i

Re: [PHP] How to pass connection as global variable ?

2007-07-11 Thread Chris
C.R.Vegelin wrote: I have various PHP scripts that use the same database. The startup script default.php sets the connection once for all the scripts. This connection is set in $_SESSION to make it a global variable for all scripts. When switching from page default to page faq, I get errors I ca

Re: [PHP] How to pass connection as global variable ?

2007-07-11 Thread Chris
C.R.Vegelin wrote: - Original Message - From: "Chris" <[EMAIL PROTECTED]> To: "C.R.Vegelin" <[EMAIL PROTECTED]> Cc: "[EMAIL PROTECTED]" Sent: Wednesday, July 11, 2007 8:56 AM Subject: Re: [PHP] How to pass connection as global variable ? C.R.

Re: [PHP] Checking Post Data against DB Data

2007-07-11 Thread Chris
kvigor wrote: OK Chris, I understand that we're checking checking the form data and escaping it, but can explain what's going on in the WHERE clause and 1=1 tad bit more. Instead of looking at all records in your original attempt (which will work fine for 10 records), you limi

Re: [PHP] getting the "next" element of an associative array

2007-07-11 Thread Chris
Olav Mørkrid wrote: let's say we have the following associative array: $array = array( "red" => "ferrari", "yellow" => "volkswagen", "green" => "mercedes", "blue" => "volvo" ); then we have a current index into the array: $index = "yellow"; $current = $array[$index]; now: how do i get the

Re: [PHP] getting the "next" element of an associative array

2007-07-12 Thread Chris
Olav Mørkrid wrote: chris for your suggestion to work, the internal array pointer of $array would first have to be set to point to the current element ($index). but how do you do this? this may seem like childs play, but i actually can't find any documented php function for this. it wou

Re: [PHP] PHP short tags: Questions

2007-07-12 Thread Chris
"it had to do with the server settings... The short_open_tag directive in php.ini was set to 0." Do you think that is an ok way to describe the problem to a technically literate non php coder? Sure. Additionally, is there a good reference on the net that explains the differences between s

Re: [PHP] PHP short tags: Questions

2007-07-12 Thread Chris
Micky Hulse wrote: Hi Chris, thanks for the quick reply. I appreciate your help. Chris wrote: Sure. Thanks. :) 1 & 3 definitely. No idea how it's a security risk. Ah, great. Thanks for clarification. I probably mis-read the info about it being a security risk. I should have

Re: [PHP] mail function from and reply to address problem

2007-07-12 Thread Chris
Richard Lynch wrote: On Thu, July 12, 2007 6:33 pm, Tanner Postert wrote: I am currently running PHP 5.1.4 Fedora Core 5 i'm trying to exectute the following test script. You really ought to be getting the return value from mail() and checking it for success... Error-checking is good. :-)

[PHP] Unlink file older then 7 days

2007-07-14 Thread chris
I have a directory with .txt and .txt.asc files. What I want to do is.. Check the age of all files ending in .txt.asc and if the file *.txt.asc is older then 7 days delete thatfile.txt.asc and also thatfile.txt Thanks Chris -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] PHP mail with attachment

2007-07-15 Thread Chris
Vanessa Vega wrote: Hello to everyone!..I had problems with attaching a document to an email using PHP..can somebody share some ideas on how to properly do it? Use something like http://phpmailer.sf.net/ which handles everything for you already :) -- Postgresql & php tutorials http://www.de

Re: [PHP] Time formatting issues

2007-07-16 Thread Chris
Melissa wrote: I have a DB with a field type DATE (called TideDATE) and a field type TIME (one of which is called highFIRST) How can I format the time fields from displaying 00:00:00 (a 24 hour clock) to HH:MM am/pm format? $time = '13:05:00'; list($hr, $min, $sec) = explode(':', $time);

Re: [PHP] Unlink file older then 7 days

2007-07-16 Thread chris
How would I use fileatime to check if the file is older then 7 days? I have a directory with .txt and .txt.asc files. What I want to do is.. Check the age of all files ending in .txt.asc and if the file *.txt.asc is older then 7 days delete thatfile.txt.asc and also thatfile.txt -- PH

[PHP] multiple random items

2007-07-16 Thread chris
Hi I have this script which pulls 1 random item from a txt file. How would I modify it to pull 10 random items. $delim = "\n"; $quotefile = "names.txt"; $fp = fopen($quotefile, "r"); $contents = fread($fp, filesize($quotefile)); $quote_arr = explode($delim,$contents); fclose($fp); // genera

Re: [PHP] acerca de extensiones SQL Server

2007-07-16 Thread Chris
Lic. Eduardo R. Hernández Osorio wrote: Exactly, I use Microsoft SQL Server as db Server and it i son another machine. I need to configure my php to connect with that server. On Windows with appserv that work fine but on Linux the php code doesn't work. Could you help me to configure that? http

Re: [PHP] Sessions Lose Form Field Data When Back Button Used?

2007-07-16 Thread Chris
Instruct ICC wrote: I have an old PHP page without sessions. When the user submits the form, and then clicks the browser back button, the prior form data is retained. If I now have that PHP page require another page that uses session_start, when the user submits the form, and then clicks the

Re: [PHP] Creating a text file

2007-07-17 Thread Chris
Ryan Lao wrote: i made a simple PHP form that would ask for the users complete name, a button that would browse to a file that the user wants to upload, a text area for additional comments, and a submit button. This form works just fine. what i want to achieve next is for my form to also create

Re: [PHP] Unlink file older then 7 days

2007-07-17 Thread chris
Ok thanks everyone... I need to throw in a wildcard, how would I do that.. I have this so far. which dont work. Thankyou - Original Message - From: "Richard Lynch" <[EMAIL PROTECTED]> To: "Stut" <[EMAIL PROTECTED]> Cc: "Suhas Pharkute" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;

Re: [PHP] repetition of tedious references

2007-07-19 Thread Chris
tedd wrote: At 5:41 PM -0400 7/19/07, Eric Butera wrote: On 7/19/07, tedd <[EMAIL PROTECTED]> wrote: But, Rasmus gave me this: $action = isset($_GET['action']) ? $_GET['action'] : null; Since you're responding to someone else asking about such things where there is the chance someone can j

Re: [PHP] PHP/MYSQL/XML Conversion

2007-07-23 Thread Chris
Kelvin Park wrote: I'm trying to convert joined multiple database table to one xml file. Is it more efficient to initially, join multiple (more that 4 tables) together to produce XML file, or convert every table in to XML file and use those XML files to relate data? I'd make the database do a

Re: [PHP] Problem compile 5.2.3 souce under SUSE 10.1

2007-07-23 Thread Chris
Jeff Lanzarotta wrote: Hello, I am not sure if this is the right mailing list or not, but here goes... I am attempting to compile php 5.2.3 from source under SUSE 10.1. The compile is fine, it is the 'make test' that is failing... When I run 'make test' I am getting:

Re: [PHP] About One To Many MYSQL TO XML WITH PHP

2007-07-24 Thread Chris
Kelvin Park wrote: I am keep running in to a dead end with trying to convert mysql databse tables (more than 4) to XML with PHP. Initially I tried to convert two tables with the code that's attached to this email, however it's limited to printing out just a table row "WHERE column='value'". I c

Re: [PHP] How can I install GD support for a php rpm

2007-07-24 Thread Chris
Davis Chan wrote: Hi! My php was installed as a module (libphp5.so) when I install Fedora Core 6. However, when I run phpinfo(), I found that it is -without-gd. I would like to ask how can add GD support without rebuilding the whole thing from source? Thanks. install the php-gd rpm. -- Postg

Re: [PHP] HELP: Text editor that deals with BOM very well

2007-07-26 Thread Chris
Ryan Lao wrote: Hello everyone, Just need to ask a simple question, where can a find a text editor that deals with byte order mark very well? I've been using dreamweaver for a few years now but im not impressed by how it deals with BOM. i need a text editor that can view a bom and can remove

Re: [PHP] Malformed Email Date Header

2007-07-26 Thread Chris
X-Amavis-Alert: BAD HEADER Non-encoded 8-bit data (char B8 hex): Date: Wed, 04 Jul 2007 10:11:39 \2701000\n Looks like a problem when you're building the headers. Are you doing this manually (building the headers)? What's the code look like to do this? -- Postgresql & php tutorials

Re: [PHP] HTML Email Composing Problem.

2007-07-27 Thread Chris
Richard Lynch wrote: On Thu, July 26, 2007 2:46 pm, Tom Ray [Lists] wrote: I'm trying to use PHP to compose an HTML formatted email Don't do that... 3) Spam Assassin doesn't like it either way and tags the email as SPAM for the following reasons: 0.6 HTML_SHORT_LENGTH BODY: HTML is ex

Re: [PHP] HTML Email Composing Problem.

2007-07-29 Thread Chris
Tom Ray [Lists] wrote: Chris wrote: Richard Lynch wrote: On Thu, July 26, 2007 2:46 pm, Tom Ray [Lists] wrote: I'm trying to use PHP to compose an HTML formatted email Don't do that... 3) Spam Assassin doesn't like it either way and tags the email as SPAM for the following

[PHP] Output Buffering and zlib Compression Issue

2007-08-03 Thread Chris
d I've read the documentation. Did I miss something? htaccess file code: php_flag output_buffering Off php_flag zlib.output_compression On php_value zlib.output_compression_level "-1" PHP Code: 0) { ob_end_clean(); } ob_start(); echo "You SHOULD see this."; ob_en

[PHP] Re: Output Buffering and zlib Compression Issue

2007-08-03 Thread Chris
nd_clean()); } And the issue is solved. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problems with file_get_contents() and local PHP file

2007-08-05 Thread Chris
Jan Reiter wrote: Nice to hear that! If you expect heavy traffic on the site using that script you might want try to save some DNS and http connection overhead by stating the url with http://localhost/ and so on. Which will most likely point to a different virtual host and cause you even more

Re: [PHP] import Excel file into PostgreSQL

2007-08-06 Thread Chris
Alain Roger wrote: HI, I would like to know the best and fastest way how to import some colums contents from Excel file to PostgreSQL database. how can i do that ? I mean some columns of Excel should be imported into a particular table and some others into another table. If it's a proper exce

Re: [PHP] need mysql_ping when using mysql_pconnect?

2007-08-07 Thread Chris
Just becasue you create a persistent connection it can still go down, can't it? Of course. The connection type doesn't affect the server. -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/uns

Re: [PHP] Articles or News Management Systems

2007-08-07 Thread Chris
Sancar Saran wrote: Hello List, I'm going to add some kind of articles system into my cms. General aim of this articles system have unlimited branches (or sub categories), each branch may own editors or writers. I'm looking for current imlementations of this kind of systems. Does anyone sug

Re: [PHP] include_path issue

2007-08-08 Thread Chris
Steve Finkelstein wrote: Hi all, I have rudimentary application which has an index.php that looks like this: ini_set( 'display_errors', true ); require_once'include/Model.php'; Immediately after that include/Model.php is processed, Model.php consists of this: require_once

Re: [PHP] Sorting files in a directory

2007-08-08 Thread Chris
Steve Marquez wrote: Greetings, I have some code that opens a directory and displays the files. I want to display the files in Alphabetical order. I know this code does not work, but I was curious if someone can take a look and tell me what is wrong? Thank you so much. [ I hope the indenting

Re: [PHP] (macOSX,camino) problem : access denied to a file setup.php

2007-08-08 Thread Chris
olivier SAINT-EVE wrote: Hello, a file named setup.php is in the root folder of my hard disk, and I wanted to open it from camino, with the address: "http://localhost/setup.php";. But I have an error 403:"access forbidden". Check permissions on the file. Check the webserver error logs to se

Re: [PHP] magic quotes

2007-08-08 Thread Chris
k3cheese wrote: Thanks, Met javascript not ajax. I had AJAX on the brain do to a project I'm working on. So I'm assuming there is a library of functions to use with the .htaccess file? Cause it looks like you can use UNIX and PHP to edit this file? htaccess files can do lots of things. http:

Re: [PHP] Articles or News Management Systems

2007-08-08 Thread Chris
Sancar Saran wrote: Thanks :) It was helpfull, very intersting cms design plus it gives lots of idea bout document management. Also, I had my own cms design alredy, and it was very capable. Probably I ask wrong question. Maybe I ask is there any standarts or examples for document management

Re: [PHP] php problems

2007-08-08 Thread Chris
a.) PHP Fatal error: main() [href='function.require'>function.require]: Failed opening required 'DB.php' (include_path='C:\php\pear') in C:\sambar64\docs\BondMovies.php on line 11 require_once('DB.php'); Isn't the pear db class DB/DB.php ? > b.)PHP Parse error: syntax error, unexpected

Re: [PHP] permissions for include()

2007-08-08 Thread Chris
jekillen wrote: Hello again; I have a question about including php files that are outside of the web server document root. What permission does Apache use to access files outside of the document root? Same as inside the document root afaik. I want to store sensitive data such as login/pw data

Re: [PHP] PEAR

2007-08-08 Thread Chris
racol wrote: If I have the "PEAR" directory in my C:\php directory and my php.ini has a line which reads: include_path = ".;C:\php\pear" why can't my program find DB.php? The pear guys would be able to help you out more: http://pear.php.net/support/lists.php -- Postgresql & php tutorials htt

Re: [PHP] phpinfo problem

2007-08-12 Thread Chris
You probably just have short_open_tags set to Off in your php.ini file. If so, either turn it On, or change the file to be: Chris Rick Knight wrote: I have just installed PHP-5.2.3 on my Kubuntu Feisty box. I removed all the debian php first and then compiled php with the options I needed

Re: [PHP] uploading...

2006-06-26 Thread Chris
BBC wrote: OK John I'm sorry if my question was not specific - The out put error was: "Fatal error: call to a member function an o non object in /url/data.php on line 34" - And the lines are: 34. $db->query("INSERT INTO `products` $db isn't an object. Does it connect to the database w

Re: [PHP] Fatal error: Call to a member function fetchRow() on a non-object in C:\Xampp\xampp\htdocs...

2006-06-26 Thread Chris
[EMAIL PROTECTED] wrote: Hello I am pleased if someone could explain me the behaviour since is wrong the following function call: ($row = & $result->fetchRow(DB_FETCHMODE_ASSOC, $_SESSION["searchFormVars"]["offset"]+$rowCounter)); as you will find them on the bottom of the email. By the way,

Re: [PHP] Fatal error: Call to a member function fetchRow() on a non-object in C:\Xampp\xampp\htdocs...

2006-06-27 Thread Chris
Hmm. I wonder if his mail server is stuffed. Can we get this guy removed from the list? This is getting annoying :/ -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] FTP Problems

2006-06-27 Thread Chris
James Nunnerley wrote: Thanks for the reply Chris. How would you suggest displaying the current "home" directory for the user? I've tried / and indeed the "real" directory name on that particular server. Funnily enough, I've also just tried a generic php/ftp

Re: [PHP] php 4.4.2 spec

2006-06-27 Thread Chris
Paul Aviles wrote: Does anyone have a 4.4.2 spec file that works for creating an rpm? There should be one in the tarball from the php site. It's called "php4.spec.in" -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] PHP 5, Windows, and MySQL

2006-06-27 Thread Chris
Beauford wrote: I have done everything that everyone has suggested here, and 1000 other variations that I have found along the way. So if I'm doing something wrong - please let me know, 'cause I don't see it. MySQL 4.1 has been working great for 4 years and PHP4.4 gives me no problems. Anything

Re: [PHP] uploading...

2006-06-27 Thread Chris
n object. Does it connect to the database without any problems? Yes it does. I use it in other page and it can connect to the database properly. Are you suggesting me to change $db, Chris? No, I'm suggesting you work out why it's not an object. Put this randomly through the page:

Re: [PHP] php 4.4.2 spec

2006-06-28 Thread Chris
Paul Aviles wrote: Chris thanks. Yes the file is there but only generates the srpm and not the actual end rpm file. Ask your linux user group how to use srpms or look it up on google. Took me 10 seconds to find this: http://www.grape-info.com/doc/linux/config/rpm-4.0.3-1.03.html Look for

Re: [PHP] Programming question - New to PHP

2006-06-28 Thread Chris
Russbucket wrote: I took an example of a script from the PHP documentation and try to connect to my database. If I leave in the or die part of line 3, I get nothing, if I comment out that part I get the echo message on line 4. $conn = mysql_connect ('localhost', 'finemanruss', 'XXXl')

Re: [PHP] running system()

2006-06-28 Thread Chris
Mark Steudel wrote: So I'm trying to run some system commands on the windows box I am working on. And I am getting "Unable to fork" errors. So after some googling I see that its because the internet guest user needs access to cmd.exe, my question is how safe is it to enable this on a production/s

Re: [PHP] RE: modify xml before parse

2006-06-28 Thread Chris
Yeo Wee Tat wrote: Hi Adam, I can modify the xml file without any error , however when I tried to unserializer the xml file using PEAR:XML , it gave the error message below. Ask the pear list. -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://ww

Re: [PHP] How should we use PHPunit2

2006-06-28 Thread Chris
suma parakala wrote: Hi Can anyone please tell me one simple tutorial to learn phpunit2. I have down loaded phpunit2 . There are many things in that. I am new to testing and oo. Do you know how to use a search engine? http://www.phpunit.de/wiki/Presentations -- Postgresql & php tutorials h

Re: [PHP] running number in paging

2006-06-29 Thread Chris
weetat wrote: Hi all , I have using PEAR:Pager , to do paging . If you have a pear question, ask on the pear mailing list. http://pear.php.net/support/ We do not know their code or how to use it. -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http:

Re: [PHP] [NEWBIE] PHP General List Guide & Other Good Stuff

2006-06-29 Thread Chris
Jay Blanchard wrote: Recommended reading http://zirzow.dyndns.org/php-general/NEWBIE Should we add a link to the pear support page for pear related questions? Something as simple as: "If you have a question about any of the pear packages, join the appropriate list here: http://pear.php.

Re: [PHP] Functions

2006-06-29 Thread Chris
[EMAIL PROTECTED] wrote: I am trying to create a function to clean up variables that are user inputted from a form. I am not getting this script to work. Can anyone help. ---Start Script--- function cleaner($var) { trim(strip_tags(ucfirst(addslashes($var; } $var = "abc's"; echo $var;

Re: [PHP] [JS question] : I want to block onChange event in Firefox...

2006-06-30 Thread Chris
David BERCOT wrote: Hi, I am blocked on this problem since so a long time that I prefer asking here my question... I'd like, if the data isn't correct, that the user stay in the input zone. Everything is ok with IE but not with Firefox. Search for "javascript mailing list" in your favourite

Re: [PHP] IMAGECOPYRESIZED(); DOESN'T WORK...

2006-07-02 Thread Chris
BBC wrote: Did you check if you had the required "gd" extension? I believe someone already told you and how to check. Sorry I resent my question unintentionally I believe no one did. Then you didn't look hard enough. btw, what is GD extension, and how to install or load it? I have read my '

Re: [PHP] global class instance

2006-07-02 Thread Chris
sempsteen wrote: yes i'm calling a lot. actually i have a class that handles mysql queries named "database". what i want was call a database method from a method of another function. class function ...$database->execute_query(... Always CC the list. What's wrong with this being a glo

Re: [PHP] Update or add?

2006-07-02 Thread Chris
Brian Dunning wrote: I have a table where I want to update each record with today's date as it's hit, or add the record if it's not in there: +--+-++ | id | creation_date | last_hit | +--+-++ I'm trying to do this with a min

Re: [PHP] ONE PAGE CONNECTS MANY DATABASE

2006-07-02 Thread Chris
BBC wrote: Yes I'm using MySQL and the DataBases I mean are in different servers but the problem is I don't know how to set the host. All input will be very helpful... Maybe this was an accidental duplicate post, but you've done this with a few of your questions. Sending the same question o

Re: [PHP] Printing in php

2006-07-03 Thread Chris
weetat wrote: Hi all , I am using PHP 4.3.2 and MYSQL . I need to do printing function in php . Basically , in my client web page , it will display the list of items on the html page. And i have a print button , so that the user can print the html page to their local printer. Any way how

Re: [PHP] Problems installing 5.1.4

2006-07-03 Thread Chris
Ashley M. Kirchner wrote: I'm trying to get v5.1.4 installed on my server and running into something of a mystery. I can configure and run make with no problem. When I run 'make install' however, it starts the process, installing the dynamic modules, PHP SAPI module, make the necessary c

Re: [PHP] running multiple updates on a single line

2006-07-03 Thread Chris
Ryan A wrote: Hi, in phpmyadmin, in the SQL part where you can write a query if I have a double update such as this: it works without a problem as I am ending each sql statement with a simicolon, but in my scripts when I try to run multiple updates in a single line eg: $xyz="update xyz set i

Re: [PHP] READING LDIF FILES

2006-07-04 Thread Chris
how can I read LDIF files using PHP?? http://www.php.net/file_get_contents http://www.php.net/fopen -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's the regex for this...?

2006-07-04 Thread Chris
Brian Dunning wrote: I have the source of a web page stored in $here and I want to set $this to whatever appears between '' and ''. Example: $here contains (amid tons of other stuff): This is a statement. I want to set $this to "This is a statement." What code do you have so far? if it'

Re: [PHP] uploading and extracting zip files

2006-07-04 Thread Chris
Schalk wrote: Greetings All, Can someone please point me to a tutorial or open source 'library' that will explain how one can upload a .zip file and then extract it's contents and store this on the server and/or database using PHP. This will unzip a file: http://pear.php.net/package/Archiv

Re: [PHP] uploading and extracting zip files

2006-07-04 Thread Chris
nicolas figaro wrote: Chris a écrit : Schalk wrote: Greetings All, Can someone please point me to a tutorial or open source 'library' that will explain how one can upload a .zip file and then extract it's contents and store this on the server and/or database using PHP. Th

Re: [PHP] About GD Version 2 or above..

2006-07-05 Thread Chris
; or something. So I got the conclusion that I need to upgrade my GD version, I visited this page http://www.php.net/manual/en/install.windows.extensions.php as Chris told me. But I couldn't find the 'GD' version 2 or above. I got only explanation about GD but not the GD it self. Huh..

Re: [PHP] require_once and E_WARNING?

2006-07-05 Thread Chris
[EMAIL PROTECTED] wrote: Hello all, According to the PHP Manual, when require or require_once failes, an E_ERROR is triggered: "require() and include() are identical in every way except how they handle failure. include() produces a Warning while require() results in a Fatal Error." (With 'Fata

Re: [PHP] "page expired" - problem

2006-07-06 Thread Chris
cajbecu wrote: Hello there, I have an website, with a lot of buttons with onClick statement. (onclick="document.location='page.php'") The problem is that this page is result of a search criteria (for example filtering the products with POST method) .. Then I chose a product, click on button, and

Re: [PHP] php_mysql.dll

2006-07-09 Thread Chris
João Cândido de Souza Neto wrote: Hi everyone. I'm having some troubles in php5 on windows trying to load php_mysql.dll. When i try to run a page that just has it gives me the follow error: PHP Warning: PHP Startup: Unable to load dynamic library './ext/php_mysql.dll' - Não foi possível en

Re: [PHP] php_mysql.dll

2006-07-09 Thread Chris
João Cândido de Souza Neto wrote: Excuse me. PHP Warning: PHP Startup: Unable to load dynamic library './ext/php_mysql.dll' - The especified module was not found. in Unknown on line 0 Thanks for the translation.. Does the php_mysql.dll file exist in the php/ext folder? Note that mysql isn'

Re: [PHP] RE: [PHP-WIN] Dynamic HTML table sort with PHP

2006-07-09 Thread Chris
1,000 records by "name" or whatever other fields you specify. If I have: Albert Alex Chris Fred Henry Joe Trevor in the list, and I show 3 per page, it would be: Albert Alex Chris and I sort descending, it would show Chris Alex Albert which isn't right, it should be Trevor Joe

Re: [PHP] Randomly rotate image on page load? File under: Image Manipulation

2006-07-10 Thread Chris
Micky Hulse wrote: Hi, I have not done much Googling yet... thought I would ask here before I spend a bunch of time searching for some guidance... What would be the best function set for on-the-fly image manipulation (specifically image rotation?) Is it easily done? Possible? Worth the trou

Re: [PHP] Randomly rotate image on page load? File under: Image Manipulation

2006-07-10 Thread Chris
David Robley wrote: Chris wrote: Micky Hulse wrote: Hi, I have not done much Googling yet... thought I would ask here before I spend a bunch of time searching for some guidance... What would be the best function set for on-the-fly image manipulation (specifically image rotation?) Is it

Re: [PHP] php_mysql.dll

2006-07-10 Thread Chris
João Cândido de Souza Neto wrote: I add c:\php and c:\php\ext in path but nothing work. That wasn't the suggestion. Where is the libmysql.dll file located? -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

[PHP] Zend Platform, is it good?

2006-07-10 Thread Chris
le to relate some experiences with it (good or bad). Any help would be appreciated. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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