Re: [PHP] help installing phpDocumentor

2009-02-23 Thread Jim Lucas
jim white wrote: I have tried to install phpDocumentor, but am having problems getting it to run. Finding install directions has so far eluded me. Are there any installation instructions for this? Jim White searching google for install phpDocumentor first result is this

Re: [PHP] help installing phpDocumentor

2009-02-23 Thread jim white
Jim Lucas wrote: jim white wrote: I have tried to install phpDocumentor, but am having problems getting it to run. Finding install directions has so far eluded me. Are there any installation instructions for this? Jim White searching google for install phpDocumentor first result

Re: [PHP] help installing phpDocumentor

2009-02-23 Thread Jim Lucas
jim white wrote: Jim Lucas wrote: jim white wrote: I have tried to install phpDocumentor, but am having problems getting it to run. Finding install directions has so far eluded me. Are there any installation instructions for this? Jim White searching google for install

Re: [PHP] help installing phpDocumentor

2009-02-23 Thread jim white
Jim Lucas wrote: jim white wrote: Jim Lucas wrote: jim white wrote: I have tried to install phpDocumentor, but am having problems getting it to run. Finding install directions has so far eluded me. Are there any installation instructions for this? Jim White

Re: [PHP] help installing phpDocumentor

2009-02-23 Thread Jim Lucas
Back on the list... jim white wrote: Jim Lucas wrote: jim white wrote: Jim Lucas wrote: jim white wrote: I have tried to install phpDocumentor, but am having problems getting it to run. Finding install directions has so far eluded me. Are there any installation

Re: [PHP] help installing phpDocumentor

2009-02-23 Thread jim white
Jim Lucas wrote: Back on the list... jim white wrote: Jim Lucas wrote: jim white wrote: Jim Lucas wrote: jim white wrote: I have tried to install phpDocumentor, but am having problems getting it to run. Finding install directions has so far

[PHP] Help with MySQL

2009-02-13 Thread James Colannino
Hey everyone. I've been reading the list for a long time, but have only really posted to the mailing list a few times. I just had a quick question about MySQL. I'm not sure if this is exactly relevant to PHP, but it is for a PHP application I'm writing, so hopefully that makes this question

Re: [PHP] Help with MySQL

2009-02-13 Thread Waynn Lue
You can type show create table tablename to see the datatypes. Waynn On 2/13/09, James Colannino ja...@colannino.org wrote: Hey everyone. I've been reading the list for a long time, but have only really posted to the mailing list a few times. I just had a quick question about MySQL. I'm

[PHP] Need to hire some PHP help...

2009-02-12 Thread Brian Dunning
I need probably no more than an hour of two of help from someone better than me at PHP, but have money sitting here ready to pay you. My project is way behind schedule and I'm burning too much time and making no progress trying to solve two problems. (1) Submitting some XML to a web

[PHP] Help on caching an object.

2009-02-11 Thread Yeti
Hello gang, First of all, yes I searched the mailing list's archive. My problem is very simple: I have an object that's definately called with every page request. It's pretty much the same for every unregistered/anonymous user. And it's not small. Alot of attributes are being set from DB queries

Re: [PHP] Help on caching an object.

2009-02-11 Thread Stuart
2009/2/11 Yeti y...@myhich.com: Hello gang, First of all, yes I searched the mailing list's archive. My problem is very simple: I have an object that's definately called with every page request. It's pretty much the same for every unregistered/anonymous user. And it's not small. Alot of

Re: [PHP] Help on caching an object.

2009-02-11 Thread Stuart
Emailing me directly is not cheap, please don't do it again without expecting an invoice. 2009/2/11 faisal murad faisalsa...@gmail.com: how can i unsubscribe from php list. It's really difficult. You follow the instructions shown at the end of each frickin' email!! To unsubscribe, visit:

Re: [PHP] Help on caching an object.

2009-02-11 Thread Virgilio Quilario
My problem is very simple: I have an object that's definately called with every page request. It's pretty much the same for every unregistered/anonymous user. And it's not small. Alot of attributes are being set from DB queries etc. Now my idea was to do some sort of caching with PHP to

[PHP] help with end of line charater

2009-01-30 Thread Adam Williams
I have staff inputting email addresses into a textarea named $list on a form and when they click submit, my php script sorts the email addresses and writes to disk. The problem is, lets say they enter the email addresses b...@mdah.state.ms.usstaff hits enter ama...@mdah.state.ms.usstaff hits

[PHP] help with require/includes pathing frustration

2009-01-28 Thread Daevid Vincent
At the very top of my login.php page I have this: ?php require_once('./includes/gui/gui_setup.inc.php'); ... ? (I've tried with and without the ./ prefix as if that might make a difference) When I try to load the URL: https://example.com/vincentd/mydart/login.php I get this error: Warning:

Re: [PHP] help with require/includes pathing frustration

2009-01-28 Thread Edmund Hertle
2009/1/29 Daevid Vincent dae...@daevid.com At the very top of my login.php page I have this: ?php require_once('./includes/gui/gui_setup.inc.php'); ... ? (I've tried with and without the ./ prefix as if that might make a difference) When I try to load the URL:

Re: [PHP] help with require/includes pathing frustration [SOLVED]

2009-01-28 Thread Daevid Vincent
OMFG! I'm an idiot. This is what happens when you work long hours and refactor code without eating/sleeping properly.. so... it's gui_setup.inc.php I'm trying to include, yet the file is named gui_setup.php. What a newb mistake!!! UGH. Sorry for wasting everyone's bandwidth. Is there a way to

Re: [PHP] help with require/includes pathing frustration

2009-01-28 Thread Daniel Brown
On Wed, Jan 28, 2009 at 22:15, Daevid Vincent dae...@daevid.com wrote: At the very top of my login.php page I have this: ?php require_once('./includes/gui/gui_setup.inc.php'); ... ? (I've tried with and without the ./ prefix as if that might make a difference) Not that it will make a

Re: [PHP] help with require/includes pathing frustration [SOLVED]

2009-01-28 Thread Daniel Brown
On Wed, Jan 28, 2009 at 22:23, Daevid Vincent dae...@daevid.com wrote: What a newb mistake!!! UGH. Sorry for wasting everyone's bandwidth. Is there a way to have this email deleted from the archives -- I am embarrassed by it! HAHAH! You wish. Just be glad the PostTrack isn't running

[PHP] Help me understand unit testing?

2009-01-21 Thread Murray
Hi All, I'd like to understand unit testing better (or, in fact, at all). I understand the broad idea that testing Is A Very Good Thing, but when I have tried to look into it further (for example, have just been looking through the PHPUnit site), I always end up thinking 'This looks like more

Re: [PHP] Help me understand unit testing?

2009-01-21 Thread Eric Butera
On Wed, Jan 21, 2009 at 7:01 PM, Murray planetthought...@gmail.com wrote: Hi All, I'd like to understand unit testing better (or, in fact, at all). I understand the broad idea that testing Is A Very Good Thing, but when I have tried to look into it further (for example, have just been looking

Re: [PHP] Help me understand unit testing?

2009-01-21 Thread Murray
I think this is my problem -- basically to know how to get some benefit from it. If I have a function in a class that is supposed to return some rows, how would I go about performing a useful unit test on it? In theory (and in my current practice), I can simply dump the array or object, or step

Re: [PHP] Help me understand unit testing?

2009-01-21 Thread Eric Butera
On Wed, Jan 21, 2009 at 7:24 PM, Murray planetthought...@gmail.com wrote: I think this is my problem -- basically to know how to get some benefit from it. If I have a function in a class that is supposed to return some rows, how would I go about performing a useful unit test on it? In theory

Re: [PHP] Help me understand unit testing?

2009-01-21 Thread Eric Butera
On Wed, Jan 21, 2009 at 7:31 PM, Eric Butera eric.but...@gmail.com wrote: On Wed, Jan 21, 2009 at 7:24 PM, Murray planetthought...@gmail.com wrote: I think this is my problem -- basically to know how to get some benefit from it. If I have a function in a class that is supposed to return some

[PHP] Help debugging a file upload on IIS

2008-12-29 Thread Brian Dunning
Hi - I have a file upload that returns no error, but the file does not appear on the server. Here is the result of $_FILES: Array ( [f] = Array ( [name] = Elephants.pdf [type] = application/pdf [tmp_name] = C:\WINDOWS\Temp\php3133.tmp

Re: [PHP] Help debugging a file upload on IIS

2008-12-29 Thread Ashley Sheridan
On Mon, 2008-12-29 at 11:54 -0800, Brian Dunning wrote: Hi - I have a file upload that returns no error, but the file does not appear on the server. Here is the result of $_FILES: Array ( [f] = Array ( [name] = Elephants.pdf [type] = application/pdf

Re: [PHP] Help debugging a file upload on IIS

2008-12-29 Thread Ashley Sheridan
On Mon, 2008-12-29 at 20:34 +, Ashley Sheridan wrote: On Mon, 2008-12-29 at 11:54 -0800, Brian Dunning wrote: Hi - I have a file upload that returns no error, but the file does not appear on the server. Here is the result of $_FILES: Array ( [f] = Array ( [name]

Re: [PHP] Help debugging a file upload on IIS

2008-12-29 Thread Brian Dunning
The one thing I was doing was: move_uploaded_file($_FILES['upload_file']['tmp_name'], $new_path); but nothing was happening, no new file appearing where it was supposed to, and no error returned, left me scratching my head. (Later the same script logs the upload to MySQL using data from

Re: [PHP] Help debugging a file upload on IIS

2008-12-29 Thread Ashley Sheridan
On Mon, 2008-12-29 at 13:29 -0800, Brian Dunning wrote: The one thing I was doing was: move_uploaded_file($_FILES['upload_file']['tmp_name'], $new_path); but nothing was happening, no new file appearing where it was supposed to, and no error returned, left me scratching my head. (Later the

[PHP] PHP Help Needed

2008-12-27 Thread Ayemowa Toyin
Hi, I am new to PHP and require your help regarding a PHP Script.  Below is what I am tryin to achieve 1.  I have created a FILE UPLOAD page that lets users Upload a FIle to the site.  This and other details regarding the file stored in a MySQL Database. 2.  I need to create a FILE DOWNLOAD

Re: [PHP] PHP Help Needed

2008-12-27 Thread Ashley Sheridan
On Sat, 2008-12-27 at 07:47 -0800, Ayemowa Toyin wrote: Hi, I am new to PHP and require your help regarding a PHP Script. Below is what I am tryin to achieve 1. I have created a FILE UPLOAD page that lets users Upload a FIle to the site. This and other details regarding the file

Re: [PHP] PHP Help Needed

2008-12-27 Thread Dotan Cohen
2008/12/27 Ashley Sheridan a...@ashleysheridan.co.uk: RTFM http://www.php.net Or STFW http://justfuckinggoogleit.com/search?q=php%20mysql%20file%20download%20script -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

Re: [PHP] PHP Help Needed

2008-12-27 Thread Daniel Brown
On Sat, Dec 27, 2008 at 10:47, Ayemowa Toyin ayemowa_to...@yahoo.co.uk wrote: Hi, I am new to PHP and require your help regarding a PHP Script. Below is what I am tryin to achieve You require an RTFM and STFW session. * http://php.net/ * http://google.com/ 1. I have

Re: [PHP] PHP Help Needed

2008-12-27 Thread Dotan Cohen
2008/12/27 Daniel Brown danbr...@php.net: If you've already created the UPLOAD page, then the more difficult of the two tasks is done. Chances are, you (or whomever wrote the code for you) should know how to do #2 if you (or another) already did #1, but if not:

Re: [PHP] PHP Help Needed

2008-12-27 Thread John Corry
lol, Ashley! Ayemowa, http://www.google.com/search?q=becoming+a+programmerie=utf-8oe=utf-8aq=trls=org.mozilla:en-US:officialclient=firefox-a You need to take your 2 steps below and break them down into smaller steps...and smaller steps...and still smaller steps. What PHP files will your

Re: [PHP] Help with a Search Function

2008-12-25 Thread Vicente
Terion wrote: Hey Everyone, been steaming right along for a couple days but now I'm stuck on writing a search function, could you all take a look at it and see what it could be, I will mark the line throwing the error in red, I did try just commenting out that line and searching for a record

Re: [PHP] Help with a Search Function

2008-12-24 Thread Jim Lucas
Terion Miller wrote: Hey Everyone, been steaming right along for a couple days but now I'm stuck on writing a search function, could you all take a look at it and see what it could be, I will mark the line throwing the error in red, I did try just commenting out that line and searching for a

[PHP] Help with a Search Function

2008-12-23 Thread Terion Miller
Hey Everyone, been steaming right along for a couple days but now I'm stuck on writing a search function, could you all take a look at it and see what it could be, I will mark the line throwing the error in red, I did try just commenting out that line and searching for a record by OrderID that I

Re: [PHP] Help with a Search Function

2008-12-23 Thread Ashley Sheridan
On Tue, 2008-12-23 at 16:14 -0600, Terion Miller wrote: Hey Everyone, been steaming right along for a couple days but now I'm stuck on writing a search function, could you all take a look at it and see what it could be, I will mark the line throwing the error in red, I did try just commenting

RE: [PHP] Help with IF ELSE

2008-12-05 Thread David Stoltz
] On Behalf Of Richard Heyes Sent: Thursday, December 04, 2008 3:17 PM To: David Stoltz Cc: php-general@lists.php.net Subject: Re: [PHP] Help with IF ELSE I'm new to PHP - I'm trying to figure out what is wrong with a simple IF ELSE block I have...if the recordset $rs is empty (login fails), the 1st

Re: [PHP] Help with IF ELSE

2008-12-05 Thread HostWare Kft.
: [PHP] Help with IF ELSE I turned on error reporting (ALL) as you suggested. Nothing is being sent to the browserstill doesn't work if the recordset isn't empty. I'm wondering, is there any other way to do a redirect in PHP? Thanks -Original Message- From: [EMAIL PROTECTED] [mailto

RE: [PHP] Help with IF ELSE

2008-12-05 Thread David Stoltz
(HostWare Kft.) [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2008 6:59 AM To: php-general@lists.php.net Subject: Re: [PHP] Help with IF ELSE You should check if php.ini has display_error off. This can prevent all error message to be shown. SanTa - Original Message - From: David

Re: [PHP] Help with IF ELSE

2008-12-05 Thread HostWare Kft.
] To: Richard Heyes [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Friday, December 05, 2008 12:42 PM Subject: RE: [PHP] Help with IF ELSE I turned on error reporting (ALL) as you suggested. Nothing is being sent to the browserstill doesn't work if the recordset isn't empty. I'm wondering

Re: [PHP] Help with IF ELSE

2008-12-05 Thread HostWare Kft.
Subject: RE: [PHP] Help with IF ELSE The problem turned out to be, since I'm using the MCRYPT function to encrypt the password, once in a while the encrypted password will have a bad character: ßt¦?rDþž’Q…ß±– For example, the above has ’ This stops the PHP processing cold when executing

RE: [PHP] Help with IF ELSE

2008-12-05 Thread David Stoltz
WOO HOO - addslashes baby! Thank you! -Original Message- From: Sándor Tamás (HostWare Kft.) [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2008 7:26 AM To: php-general@lists.php.net Subject: Re: [PHP] Help with IF ELSE The solution is addslashes(). This function adds a backslash

RE: [PHP] Help with IF ELSE

2008-12-05 Thread tedd
At 7:19 AM -0500 12/5/08, David Stoltz wrote: The problem turned out to be, since I'm using the MCRYPT function to encrypt the password, once in a while the encrypted password will have a bad character: --snip-- So then, how does one store this type of string? I can't do a string

Re: [PHP] Help with IF ELSE

2008-12-05 Thread Andrew Ballard
- Original Message - From: David Stoltz [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Friday, December 05, 2008 1:19 PM Subject: RE: [PHP] Help with IF ELSE The problem turned out to be, since I'm using the MCRYPT function to encrypt the password, once in a while

Re: [PHP] Help with IF ELSE

2008-12-05 Thread Andrew Ballard
On Fri, Dec 5, 2008 at 6:42 AM, David Stoltz [EMAIL PROTECTED] wrote: I turned on error reporting (ALL) as you suggested. Nothing is being sent to the browserstill doesn't work if the recordset isn't empty. I'm wondering, is there any other way to do a redirect in PHP? Thanks That is

Re: [PHP] Help with IF ELSE

2008-12-05 Thread HostWare Kft.
PROTECTED] Cc: php-general@lists.php.net Sent: Friday, December 05, 2008 3:52 PM Subject: Re: [PHP] Help with IF ELSE On Fri, Dec 5, 2008 at 6:42 AM, David Stoltz [EMAIL PROTECTED] wrote: I turned on error reporting (ALL) as you suggested. Nothing is being sent to the browserstill doesn't work

RE: [PHP] Help with IF ELSE

2008-12-05 Thread ceo
Please do NOT use addslashes. Replace it with this: http://php.net/mysql_real_escape_string It is CRUCIAL if your database might maybe ever consider going international and having charset other than ISO-8856-1 or Latin1 [or the MySQL default of Monty's native language, which is very

RE: [PHP] Help with IF ELSE

2008-12-05 Thread Chrome
-Original Message- From: Sándor Tamás (HostWare Kft.) [mailto:[EMAIL PROTECTED] Sent: 05 December 2008 14:58 To: php-general@lists.php.net Subject: Re: [PHP] Help with IF ELSE In fact, if I have to redirect, and I am not sure about headers are sent or not, I usually do

Re: [PHP] Help with IF ELSE

2008-12-05 Thread Bastien Koert
On Fri, Dec 5, 2008 at 9:17 AM, tedd [EMAIL PROTECTED] wrote: At 7:19 AM -0500 12/5/08, David Stoltz wrote: The problem turned out to be, since I'm using the MCRYPT function to encrypt the password, once in a while the encrypted password will have a bad character: --snip-- So then, how

[PHP] Help with IF ELSE

2008-12-04 Thread David Stoltz
Hi All, I'm new to PHP - I'm trying to figure out what is wrong with a simple IF ELSE block I have...if the recordset $rs is empty (login fails), the 1st part of the block works, and redirects the user to default.php - but if the login works, and $rs is not empty, the 2nd else part does not work,

Re: [PHP] Help with IF ELSE

2008-12-04 Thread Richard Heyes
I'm new to PHP - I'm trying to figure out what is wrong with a simple IF ELSE block I have...if the recordset $rs is empty (login fails), the 1st part of the block works, and redirects the user to default.php - but if the login works, and $rs is not empty, the 2nd else part does not work, and

[PHP] Help with understanding an error

2008-11-24 Thread Terion Miller
Can anyone help explain what I need to do to fix this: Error: *Warning*: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in * C:\Inetpub\wwwroot\WorkOrderSystem\ViewWorkOrder.php* on line *57* *Warning*: mysql_num_rows(): supplied argument is not a valid MySQL result

Re: [PHP] Help with understanding an error

2008-11-24 Thread Wolf
Terion Miller [EMAIL PROTECTED] wrote: Can anyone help explain what I need to do to fix this: Error: *Warning*: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in * C:\Inetpub\wwwroot\WorkOrderSystem\ViewWorkOrder.php* on line *57* *Warning*:

Re: [PHP] Help with understanding an error

2008-11-24 Thread Terion Miller
I added an echo and got this: Query failed: Unknown column 'WorkOrderNumber' in 'field list' Actual query: but the actual query is blank and as I have stated before when I have had questions on this list, I am NOT a php programmer, just learning and inherited a job with tons of php already in

Re: [PHP] Help with understanding an error

2008-11-24 Thread Stut
On 24 Nov 2008, at 17:28, Terion Miller wrote: Can anyone help explain what I need to do to fix this: Error: *Warning*: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in * C:\Inetpub\wwwroot\WorkOrderSystem\ViewWorkOrder.php* on line *57* *Warning*:

Re: [PHP] Help with understanding an error

2008-11-24 Thread Terion Miller
this was the code I posted that accidentally only went to Wolf: what does STFW mean? ?php include(inc/dbconn_open.php); if (empty($_SESSION['AdminLogin']) OR $_SESSION['AdminLogin'] 'OK' ){ ? script language=javascript window.close(); /script ?php exit(); } if

Re: [PHP] Help with understanding an error

2008-11-24 Thread Wolf
Bottom POST when mailing the list. My responses inline and at the bottom Terion Miller [EMAIL PROTECTED] wrote: this was the code I posted that accidentally only went to Wolf: what does STFW mean?

Re: [PHP] Help insert not working, implode errors....

2008-11-18 Thread Ashley Sheridan
On Tue, 2008-11-18 at 16:52 -0600, Terion Miller wrote: I changed the implode to : if (isset($_POST['BannerSize'])){$BannerSize = implode(',', $_POST['BannerSize']);} else {$BannerSize = ;} now it says Invalid Arguement whereas when it was the other way it didn't On Tue, Nov 18, 2008

Re: [PHP] Help insert not working, implode errors....

2008-11-18 Thread Terion Miller
I changed the implode to : if (isset($_POST['BannerSize'])){$BannerSize = implode(',', $_POST['BannerSize']);} else {$BannerSize = ;} now it says Invalid Arguement whereas when it was the other way it didn't On Tue, Nov 18, 2008 at 12:38 AM, Jim Lucas [EMAIL PROTECTED] wrote: Terion Miller

Re: [PHP] Help insert not working, implode errors....

2008-11-18 Thread Jim Lucas
Terion Miller wrote: I changed the implode to : if (isset($_POST['BannerSize'])){$BannerSize = implode(',', $_POST['BannerSize']);} else {$BannerSize = ;} now it says Invalid Arguement whereas when it was the other way it didn't Invalid Argument. Then $_POST['BannerSize'] is not what

[PHP] Help insert not working, implode errors....

2008-11-17 Thread Terion Miller
Help I inherited this script and just found that its not inserting anything into the workorderform table in the db, and I'm getting implode() errors for the 'bannersize' isset line New and need help in over my head: here is the code: ?php include(inc/dbconn_open.php); if

Re: [PHP] Help insert not working, implode errors....

2008-11-17 Thread Ashley Sheridan
My eyes are bleeding! Did you ever see it working before? Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help insert not working, implode errors....

2008-11-17 Thread Jim Lucas
Terion Miller wrote: Help I inherited this script and just found that its not inserting anything into the workorderform table in the db, and I'm getting implode() errors for the 'bannersize' isset line New and need help in over my head: here is the code: First off, I would argue that this

[PHP] -help

2008-10-21 Thread devta singh
-- - Devta Singh http://yogakundalini.com/ http://devta.wordpress.com/ Nada hay como ver despertar a otros y verles expandir su conciencia, salvo hacerlo uno mismo.

[PHP] help - php script - no interaction

2008-10-16 Thread John Smtih
http://www.site1.com http://www.site2.com http://www.site3.com I have 3 sites above in a html. I do not want to create click each site, one at a time to see 1 page info. I want to write a script to go get all 3 sites, and bring it back into 1 page (the content of 3 pages concatinated). Is

Re: [PHP] help - php script - no interaction

2008-10-16 Thread Dan Joseph
On Thu, Oct 16, 2008 at 1:10 PM, John Smtih [EMAIL PROTECTED] wrote: http://www.site1.com http://www.site2.com http://www.site3.com I have 3 sites above in a html. I do not want to create click each site, one at a time to see 1 page info. I want to write a script to go get all 3

Re: [PHP] Help and Advice needed please.

2008-08-24 Thread Byron
Yep, a mysql database seems like the way to go. Thanks to all who have offered to help on this project. Perhaps we could get together and figure out what needs doing, assign jobs etc. I have hosting already sorted. Cheers guys. On Sun, Aug 24, 2008 at 5:05 AM, sean greenslade [EMAIL

Re: [PHP] Help and Advice needed please.

2008-08-24 Thread Jochem Maas
Byron schreef: Yep, a mysql database seems like the way to go. Thanks to all who have offered to help on this project. Perhaps we could get together and figure out what needs doing, assign jobs etc. I have hosting already sorted. Cheers guys. great, take it offlist please. this is not a forum

[PHP] Help and Advice needed please.

2008-08-23 Thread Byron
Hey. I do some part-time IT work for a voluntary paramilitary youth organisation, and we're loooking for a system to digitize the personell files of our members. Here's a features list, all advice on how to implement will be a great help. * Web-accesable via login * Rank, Name, Phone Number,

Re: [PHP] Help and Advice needed please.

2008-08-23 Thread sean greenslade
I would be willing to help with this project. Because of all the different requirements of this, I would recommend a totally custom set of scripts, and a mysql database to hold all the data. On Sat, Aug 23, 2008 at 7:22 AM, Byron [EMAIL PROTECTED] wrote: Hey. I do some part-time IT work for a

Re: [PHP] Help and Advice needed please.

2008-08-23 Thread Luke
I'm up for helping too. Also, a big agree to Sean too, MySQL seems the best way to go here. 2008/8/23 sean greenslade [EMAIL PROTECTED] I would be willing to help with this project. Because of all the different requirements of this, I would recommend a totally custom set of scripts, and a

Re: [PHP] Help and Advice needed please.

2008-08-23 Thread sean greenslade
So Byron, what do you think? Do you like the idea of a mysql database? On Sat, Aug 23, 2008 at 11:57 AM, Luke [EMAIL PROTECTED] wrote: I'm up for helping too. Also, a big agree to Sean too, MySQL seems the best way to go here. 2008/8/23 sean greenslade [EMAIL PROTECTED] I would be willing

[PHP] Php Help

2008-07-30 Thread birdloww.ctr
I cannot get Php to run on Solaris 10... Here is the error I am getting Trying to run php outside of apache ld.so.1: php: fatal: libldap-2.3.so.0: open failed: No such file or directory With ApacheApache will not load when

[PHP] Re: Php Help

2008-07-30 Thread Shawn McKenzie
[EMAIL PROTECTED] wrote: I cannot get Php to run on Solaris 10... Here is the error I am getting Trying to run php outside of apache ld.so.1: php: fatal: libldap-2.3.so.0: open failed: No such file or directory With

Re: [PHP] Help with an error...

2008-07-25 Thread Payne
Jim Lucas wrote: Payne wrote: Jim Lucas wrote: So, to summarize everything said, with my own added notes. [EMAIL PROTECTED] wrote: Hi, I am currently working on a php script that will be called by cron. But I have an error that keeps coming up. Parse error: syntax error, unexpected

Re: [PHP] Help with an error...

2008-07-25 Thread Philip Thompson
On Jul 24, 2008, at 12:40 PM, Micah Gersten wrote: You cannot have commands in the middle of a string. Technically you can. ?php $str = Hi, my name is . $this-getName(); // or $str = Hi, my name is $this-getName(); echo $str; ? ~Philip Try building a string first, or use output

Re: [PHP] Help with an error...

2008-07-25 Thread Philip Thompson
Ooop! Didn't read the whole thread before I sent this. Disregard what I said earlier 'cuz others ripped before I did. ;) ~Phil On Jul 25, 2008, at 3:59 PM, Philip Thompson wrote: On Jul 24, 2008, at 12:40 PM, Micah Gersten wrote: You cannot have commands in the middle of a string.

Re: [PHP] Help with an error...

2008-07-25 Thread Micah Gersten
Philip Thompson wrote: On Jul 24, 2008, at 12:40 PM, Micah Gersten wrote: You cannot have commands in the middle of a string. Technically you can. ?php $str = Hi, my name is . $this-getName(); This is correct, but is not in the middle of the string. // or $str = Hi, my name is

[PHP] Help with an error...

2008-07-24 Thread payne
Hi, I am currently working on a php script that will be called by cron. But I have an error that keeps coming up. Parse error: syntax error, unexpected T_VARIABLE inmail_report.php on What I am trying to do is a simple php script to send me a report everynight. Any clues as to why? Also does

Re: [PHP] Help with an error...

2008-07-24 Thread Daniel Brown
On Thu, Jul 24, 2008 at 1:52 PM, [EMAIL PROTECTED] wrote: Hi, I am currently working on a php script that will be called by cron. But I have an error that keeps coming up. Parse error: syntax error, unexpected T_VARIABLE inmail_report.php on You didn't include the line number in the

Re: [PHP] Help with an error...

2008-07-24 Thread Micah Gersten
You cannot have commands in the middle of a string. Try building a string first, or use output buffering and then capture the buffer and use that as the string for the mail function. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com [EMAIL PROTECTED] wrote:

Re: [PHP] Help with an error...

2008-07-24 Thread Bastien Koert
On Thu, Jul 24, 2008 at 1:52 PM, [EMAIL PROTECTED] wrote: Hi, I am currently working on a php script that will be called by cron. But I have an error that keeps coming up. Parse error: syntax error, unexpected T_VARIABLE inmail_report.php on What I am trying to do is a simple php script

Re: [PHP] Help with an error...

2008-07-24 Thread Thorsten Suckow-Homberg
Daniel already answerd regarding your error, but... ?php $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']); ... if you call the script via cron I'm pretty sure $_SERVER won't be available since the script is not used in a running webserver process context. -- PHP General Mailing List

Re: [PHP] Help with an error...

2008-07-24 Thread Ted Wood
Micah, Please provide an example of what your response was referring to in the original message. And it is possible to have commands in the middle of a string by using concatenation. $str = My name is .strtoupper($name).', but you can call me Sam.; ~Ted On 24-Jul-08, at

Re: [PHP] Help with an error...

2008-07-24 Thread Brady Mitchell
On Jul 24, 2008, at 1052AM, [EMAIL PROTECTED] wrote: $result = mysql_query($query) Missing a ; at the end of the line. $mailsend = mail([EMAIL PROTECTED],The IP's that Attacked $hostname, The following are ip's that have try to attack your system.\r\n\r\ You can't execute code

Re: [PHP] Help with an error...

2008-07-24 Thread Stut
On 24 Jul 2008, at 18:43, Thorsten Suckow-Homberg wrote: Daniel already answerd regarding your error, but... ?php $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']); ... if you call the script via cron I'm pretty sure $_SERVER won't be available since the script is not used in a running

Re: [PHP] Help with an error...

2008-07-24 Thread Daniel Brown
On Thu, Jul 24, 2008 at 1:45 PM, Ted Wood [EMAIL PROTECTED] wrote: $str = My name is .strtoupper($name).', but you can call me Sam.; Though ucfirst() would be preferred. ;-P -- /Daniel P. Brown Better prices on dedicated servers: Intel 2.4GHz/60GB/512MB/2TB $49.99/mo. Intel

Re: [PHP] Help with an error...

2008-07-24 Thread payne
Thanks guys. I will take everything that as been stated to heart. Thanks for the insight. I haven't don't much with mail. Payne On Jul 24, 2008, at 1052AM, [EMAIL PROTECTED] wrote: $result = mysql_query($query) Missing a ; at the end of the line. $mailsend = mail([EMAIL

Re: [PHP] Help with an error...

2008-07-24 Thread Micah Gersten
He had code blocks in the middle of a string. That's what I was referring to. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Ted Wood wrote: Micah, Please provide an example of what your response was referring to in the original message. And it is

Re: [PHP] Help with an error...

2008-07-24 Thread payne
Well all the insight were great, I am not getting and errors but I am not getting mail. I am looking but php -e isn't telling me anything, and php -l says there no syntax. What else can I do for debugged. Payne Thanks guys. I will take everything that as been stated to heart. Thanks for the

Re: [PHP] Help with an error...

2008-07-24 Thread Dan Shirah
Have you set your SMTP server/port in your php.ini file? Have you checked your mail logs to make sure it is routing through? Have you verified it is sending from and to a valid email address?

Re: [PHP] Help with an error...

2008-07-24 Thread payne
Have you set your SMTP server/port in your php.ini file? Checking Have you checked your mail logs to make sure it is routing through? Tailing the log as I run it. Have you verified it is sending from and to a valid email address? Yes, those are valid. -- PHP General Mailing List

Re: [PHP] Help with an error...

2008-07-24 Thread Wolf
[EMAIL PROTECTED] wrote: Well all the insight were great, I am not getting and errors but I am not getting mail. I am looking but php -e isn't telling me anything, and php -l says there no syntax. What else can I do for debugged. Payne !-- SNip -- 1. BOTTOM POST 2. mailq - this

Re: [PHP] Help with an error...

2008-07-24 Thread Jim Lucas
So, to summarize everything said, with my own added notes. [EMAIL PROTECTED] wrote: Hi, I am currently working on a php script that will be called by cron. But I have an error that keeps coming up. Parse error: syntax error, unexpected T_VARIABLE inmail_report.php on What I am trying to do

Re: [PHP] Help with an error...

2008-07-24 Thread Payne
Jim Lucas wrote: So, to summarize everything said, with my own added notes. [EMAIL PROTECTED] wrote: Hi, I am currently working on a php script that will be called by cron. But I have an error that keeps coming up. Parse error: syntax error, unexpected T_VARIABLE inmail_report.php on

Re: [PHP] Help with an error...

2008-07-24 Thread Micah Gersten
It seems like you're still calling functions inside the string. Instead of concatenating, try the output buffering like was mentioned before. Also, if you want HTML tags in your PHP code, you need to end and start the PHP tags again, or print them as output in quotes. Thank you, Micah Gersten

Re: [PHP] Help with an error...

2008-07-24 Thread Jim Lucas
Payne wrote: Jim Lucas wrote: So, to summarize everything said, with my own added notes. [EMAIL PROTECTED] wrote: Hi, I am currently working on a php script that will be called by cron. But I have an error that keeps coming up. Parse error: syntax error, unexpected T_VARIABLE

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