Re: [PHP] error messaages - $DOXPath Wrong

2008-12-05 Thread Maciek Sokolewicz
ddg2sailor wrote: Hi Here are the error messages: Warning: move_uploaded_file(C: mpp\htdocs\dox/th_dsc_076.jpg) [function.move-uploaded-file]: failed to open stream: Invalid argument in C:\xampp\htdocs\dox.php on line 40 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to

Re: [PHP] Will not report errors what can I do

2008-12-05 Thread Ashley Sheridan
On Fri, 2008-12-05 at 00:00 -0500, Robert Cummings wrote: On Fri, 2008-12-05 at 17:44 +1300, German Geek wrote: On Fri, Dec 5, 2008 at 4:26 PM, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2008-12-04 at 15:07 -0800, Jim Lucas wrote: Terion Miller wrote:

Re: [PHP] Will not report errors what can I do

2008-12-05 Thread Robert Cummings
On Fri, 2008-12-05 at 08:15 +, Ashley Sheridan wrote: On Fri, 2008-12-05 at 00:00 -0500, Robert Cummings wrote: On Fri, 2008-12-05 at 17:44 +1300, German Geek wrote: On Fri, Dec 5, 2008 at 4:26 PM, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2008-12-04 at 15:07 -0800,

Re: [PHP] IE8 and HTML5

2008-12-05 Thread Per Jessen
Benjamin Hawkes-Lewis wrote: Everyone has their favorite unstandardized feature they'd love IE to support. (Personally I'd be delighted by -ms-border-radius and content:uri() support.) Nope, I don't have a single one. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] PHP - Jasper Report Integeration

2008-12-05 Thread Johny John
Hi Chris, Sorry few days back also I posted the same request. But it did not shown up in my mailing list. That's why I posted it again thinking that my previous email did not reach. Sorry for the trouble. On Fri, Dec 5, 2008 at 11:52 AM, Chris [EMAIL PROTECTED] wrote: Johny John wrote: Dear

Re: [PHP] IE8 and HTML5

2008-12-05 Thread Richard Heyes
Hi, a client reported problems with a web app written by me with IE8. Why on earth would you support a beta browser? -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated November 29th) -- PHP General Mailing List (http://www.php.net/) To

[PHP] Comments in excel

2008-12-05 Thread Erfan Shirazi
Hi, I use the excel spreadsheet writer to export some info to an excel file. When I insert some note with writeNote(), the note/comment works well in open office, but if I open it with ms excel 2003, the note/comment can not show all, just a few lines of the note/comment instead of the whole

RE: [PHP] Help with IF ELSE

2008-12-05 Thread David Stoltz
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:[EMAIL PROTECTED] On

Re: [PHP] Help with IF ELSE

2008-12-05 Thread HostWare Kft.
You should check if php.ini has display_error off. This can prevent all error message to be shown. SanTa - Original Message - From: David Stoltz [EMAIL PROTECTED] To: Richard Heyes [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Friday, December 05, 2008 12:42 PM Subject: RE:

RE: [PHP] Help with IF ELSE

2008-12-05 Thread David Stoltz
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 the query to insert that string - no

Re: [PHP] Help with IF ELSE

2008-12-05 Thread HostWare Kft.
For your original problem: If you're unsure if you've sent something to the browser BEFORE the header(), you should check it with header_sent(). This function returns true if something has been sent to the browser. SanTa - Original Message - From: David Stoltz [EMAIL PROTECTED]

Re: [PHP] Help with IF ELSE

2008-12-05 Thread HostWare Kft.
The solution is addslashes(). This function adds a backslash before special characters in a string. http://php.net/manual/en/function.addslashes.php SanTa - Original Message - From: David Stoltz [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Friday, December 05, 2008 1:19 PM

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] syntax error (stumped)

2008-12-05 Thread Daniel Brown
On Fri, Dec 5, 2008 at 1:31 AM, ddg2sailor [EMAIL PROTECTED] wrote: Its begining to look like this code was written for a newer sql [snip!] Negative. It's either a custom function or was written incorrectly in the first place. There's never been a native PHP function `do_mysql_query`,

Re: [PHP] Will not report errors what can I do

2008-12-05 Thread tedd
At 3:07 PM -0800 12/4/08, Jim Lucas wrote: Terion Miller wrote: $query = SELECT ViewAllWorkOrders FROM admin WHERE AdminID='$AdminID'; $result = mysql_query ($query); Not the best solution, but add this to the above line... $result = mysql_query ($query) or die(mysql_error());

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] IE8 and HTML5

2008-12-05 Thread Andrew Ballard
On Fri, Dec 5, 2008 at 5:03 AM, Richard Heyes [EMAIL PROTECTED] wrote: Hi, a client reported problems with a web app written by me with IE8. Why on earth would you support a beta browser? -- Richard Heyes Agreed. Test your site in the beta if you have time so you can anticipate (and

Re: [PHP] How to fetch .DOC or .DOCX file in php

2008-12-05 Thread tedd
At 10:59 AM -0800 12/4/08, Jim Lucas wrote: Ah, not true about the MS requirement. If all you want is the clear/clean text (without any formatting), then I can do it with php on any platform. If this is what is needed, here is the code to do it. ?php -snip- code ? Hope this helps. -- Jim

Re: [PHP] How to fetch .DOC or .DOCX file in php

2008-12-05 Thread tedd
At 6:39 PM -0600 12/4/08, Shawn McKenzie wrote: Jim Lucas wrote: Hope this helps. I am working on a set of php classes that will be able to read the text with the formatting included and convert it to a standard document format. The standard format that it will end up in has yet

Re: [PHP] How to fetch .DOC or .DOCX file in php

2008-12-05 Thread tedd
At 7:35 PM -0800 12/4/08, Jim Lucas wrote: A question to all then. How would you like to see the text, with formating, stored? All suggestions welcome! -- Jim Lucas Jim: What's wrong with .txt? Cheers, tedd -- --- http://sperling.com http://ancientstones.com

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 the

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.
In fact, if I have to redirect, and I am not sure about headers are sent or not, I usually do: print('SCRIPTwindow.location=somewhere.php/SCRIPT'); That way I can always do the redirection. SanTa - Original Message - From: Andrew Ballard [EMAIL PROTECTED] To: David Stoltz [EMAIL

Re: [PHP] How to fetch .DOC or .DOCX file in php

2008-12-05 Thread Andrew Ballard
On Thu, Dec 4, 2008 at 10:35 PM, Jim Lucas [EMAIL PROTECTED] wrote: I was going to say that I haven't yet decided on what the final output format is going to be. Probably either rtf or OpenXML. How about I ask for suggestions on what would be the best format to store the final copy. I

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] Will not report errors what can I do

2008-12-05 Thread ceo
$result = mysql_query($query) or die(report($query,__LINE__ ,__FILE__)); // to show dB errors == function report($query, $line, $file) { echo($query . 'br' .$line . 'br/' . $file . 'br/' . mysql_error()); } This does two

Re: [PHP] Will not report errors what can I do

2008-12-05 Thread tedd
At 3:19 PM + 12/5/08, [EMAIL PROTECTED] wrote: $result = mysql_query($query) or die(report($query,__LINE__ ,__FILE__)); // to show dB errors == function report($query, $line, $file) { echo($query . 'br' .$line . 'br/' . $file . 'br/'

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

Re: [PHP] How to fetch .DOC or .DOCX file in php

2008-12-05 Thread Jim Lucas
Andrew Ballard wrote: On Thu, Dec 4, 2008 at 10:35 PM, Jim Lucas [EMAIL PROTECTED] wrote: I was going to say that I haven't yet decided on what the final output format is going to be. Probably either rtf or OpenXML. How about I ask for suggestions on what would be the best format to store

Re: [PHP] How to fetch .DOC or .DOCX file in php

2008-12-05 Thread Eric Butera
On Thu, Dec 4, 2008 at 10:35 PM, Jim Lucas [EMAIL PROTECTED] wrote: Shawn McKenzie wrote: Jim Lucas wrote: Boyd, Todd M. wrote: -Original Message- From: Jagdeep Singh [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 8:39 AM To: php-general@lists.php.net Subject: [PHP]

RE: [PHP] error messaages - $DOXPath Wrong

2008-12-05 Thread Boyd, Todd M.
-Original Message- From: Maciek Sokolewicz [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2008 2:07 AM To: php-general@lists.php.net; [EMAIL PROTECTED] Subject: Re: [PHP] error messaages - $DOXPath Wrong ddg2sailor wrote: Hi Here are the error messages: Warning:

[PHP] How to fetch .DOC or .DOCX file in php

2008-12-05 Thread Boyd, Todd M.
-Original Message- From: Andrew Ballard [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2008 9:11 AM To: Jim Lucas Cc: Shawn McKenzie; php-general@lists.php.net Subject: Re: [PHP] How to fetch .DOC or .DOCX file in php On Thu, Dec 4, 2008 at 10:35 PM, Jim Lucas [EMAIL

[PHP] Downloading file from local network machine

2008-12-05 Thread Mayer, Jonathan
Hiya everyone, I would like to present users to our internal intranet with a link to download a file from a folder on a different machine on our local network (such as \\computername\folder\file) The file may be an HTML file, in which case the page should show in the browser, or a file

Re: [PHP] Downloading file from local network machine

2008-12-05 Thread Wolf
!-- SNIP -- I would like to present users to our internal intranet with a link to download a file from a folder on a different machine on our local network (such as \\computername\folder\file) !-- SNIP -- Map the drive to the server so that it is accessible as /folder/file on the website.

RE: [PHP] Downloading file from local network machine

2008-12-05 Thread Mayer, Jonathan
Thanks Wolf :) Yup, I had considered that, although there could be up to 8 different servers so that's 8 seperately mapped drives. If that's the simplest/neatest way, I'll do that, although I did wonder whether there was some other clever another way around it. -Original Message-

Re: [PHP] Will not report errors what can I do

2008-12-05 Thread Robert Cummings
On Fri, 2008-12-05 at 10:40 -0500, tedd wrote: At 3:19 PM + 12/5/08, [EMAIL PROTECTED] wrote: $result = mysql_query($query) or die(report($query,__LINE__ ,__FILE__)); // to show dB errors == function report($query, $line, $file) {

Re: [PHP] Will not report errors what can I do

2008-12-05 Thread Terion Miller
On Fri, Dec 5, 2008 at 12:08 PM, Robert Cummings [EMAIL PROTECTED]wrote: On Fri, 2008-12-05 at 10:40 -0500, tedd wrote: At 3:19 PM + 12/5/08, [EMAIL PROTECTED] wrote: $result = mysql_query($query) or die(report($query,__LINE__ ,__FILE__)); // to show dB

[PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-05 Thread Terion Miller
I have a huge form to validate and wonder which is better javascript validation or php, the page is a php page, I actually put js validation on it but then it stopped working (stopped inserting into the db) not sure if that had anything to do with it What does everyone prefer? Terion who is

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-05 Thread Stut
On 5 Dec 2008, at 18:28, Terion Miller wrote: I have a huge form to validate and wonder which is better javascript validation or php, the page is a php page, I actually put js validation on it but then it stopped working (stopped inserting into the db) not sure if that had anything to do

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-05 Thread Andrew Ballard
On Fri, Dec 5, 2008 at 1:28 PM, Terion Miller [EMAIL PROTECTED] wrote: I have a huge form to validate and wonder which is better javascript validation or php, the page is a php page, I actually put js validation on it but then it stopped working (stopped inserting into the db) not sure if that

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-05 Thread Wolf
Terion Miller [EMAIL PROTECTED] wrote: I have a huge form to validate and wonder which is better javascript validation or php, the page is a php page, I actually put js validation on it but then it stopped working (stopped inserting into the db) not sure if that had anything to do with

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-05 Thread Yeti
Java Script should always be an option, unless you write the validation for yourself or people you personally know only. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-05 Thread Ashley Sheridan
On Fri, 2008-12-05 at 12:08 -0800, Yeti wrote: Java Script should always be an option, unless you write the validation for yourself or people you personally know only. JavaScript is client-side, ergo untrusted. Javascript can be nice as an addition, but only that. Ash

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-05 Thread Bastien Koert
On Fri, Dec 5, 2008 at 3:18 PM, Ashley Sheridan [EMAIL PROTECTED]wrote: On Fri, 2008-12-05 at 12:08 -0800, Yeti wrote: Java Script should always be an option, unless you write the validation for yourself or people you personally know only. JavaScript is client-side, ergo untrusted.

RE: [PHP] Downloading file from local network machine

2008-12-05 Thread Ashley Sheridan
On Fri, 2008-12-05 at 17:32 +, Mayer, Jonathan wrote: Thanks Wolf :) Yup, I had considered that, although there could be up to 8 different servers so that's 8 seperately mapped drives. If that's the simplest/neatest way, I'll do that, although I did wonder whether there was some

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-05 Thread Ashley Sheridan
On Fri, 2008-12-05 at 15:16 -0500, Bastien Koert wrote: On Fri, Dec 5, 2008 at 3:18 PM, Ashley Sheridan [EMAIL PROTECTED]wrote: On Fri, 2008-12-05 at 12:08 -0800, Yeti wrote: Java Script should always be an option, unless you write the validation for yourself or people you personally

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-05 Thread Yeti
Nuclear power plants got the MCA [1] Developers got the MCA [2] [1] maximum credible accident [2] maximum credible addlebrained Both of them are what nobody likes to think of, but they can (and do?) happen. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] PEAR Help

2008-12-05 Thread Jason Todd Slack-Moehrle
Hi All, I installed PEAR fine. How I need to install OLE and Spreadsheet_Excel_Writer and I dont see how pear install . fails every time with channel errors and not found errors. I have downloaded the .tgz files, but I dont know where to put the contents. Any thoughts? -Jason

Re: [PHP] PEAR Help

2008-12-05 Thread ceo
I found the PEAR tarballs to be corrupt a day or two ago... The PEAR bug report captcha continually rejected my correct answers to simple math questions. :-( I snagged a re-packaged version from: http://pizzaseo.com/ ymmv -- PHP General Mailing List (http://www.php.net/) To

[PHP] Job opportunity in Denver, CO - Jr. PHP developer needed

2008-12-05 Thread Nick Gasparro
Hello Group Seasons Greetings, I have an immediate opportunity available for a Jr. PHP developer with the following skill set. Please contact me directly if you are interested. The perfect candidate will possess the following skills: * Serious OO design background * PHP5 (this will be

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-05 Thread Clancy
On Fri, 05 Dec 2008 20:24:07 +, [EMAIL PROTECTED] (Ashley Sheridan) wrote: On Fri, 2008-12-05 at 15:16 -0500, Bastien Koert wrote: On Fri, Dec 5, 2008 at 3:18 PM, Ashley Sheridan [EMAIL PROTECTED]wrote: On Fri, 2008-12-05 at 12:08 -0800, Yeti wrote: Java Script should always be an

[PHP] SQL syntax?

2008-12-05 Thread Terion Miller
Hi I am having problems (yep me again) with my sql, I have looked and tried different things (ASC, DESC, etc) but it same error: Here is the error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY

Re: [PHP] SQL syntax?

2008-12-05 Thread Allan Arguelles
$sql = SELECT WorkOrderID AS Work_Order_ID, DATE_FORMAT(StartDate, '%b. %e, %Y %l:%i %p') AS Start_Date, DATE_FORMAT(EndDate, '%b. %e, %Y %l:%i %p') AS End_Date, ; $sql .= Advertiser AS Advertiser_Name,AccountNum AS Account_Number, Impressions AS Ad_Impressions, ; $sql .=

Re: [PHP] Downloading file from local network machine

2008-12-05 Thread Bastien Koert
On Fri, Dec 5, 2008 at 3:22 PM, Ashley Sheridan [EMAIL PROTECTED]wrote: On Fri, 2008-12-05 at 17:32 +, Mayer, Jonathan wrote: Thanks Wolf :) Yup, I had considered that, although there could be up to 8 different servers so that's 8 seperately mapped drives. If that's the

Re: [PHP] SQL syntax?

2008-12-05 Thread Terion Miller
On Fri, Dec 5, 2008 at 3:57 PM, Allan Arguelles [EMAIL PROTECTED]wrote: $sql = SELECT WorkOrderID AS Work_Order_ID, DATE_FORMAT(StartDate, '%b. %e, %Y %l:%i %p') AS Start_Date, DATE_FORMAT(EndDate, '%b. %e, %Y %l:%i %p') AS End_Date, ; $sql .= Advertiser AS

[PHP] File Uploads Help!!!

2008-12-05 Thread Jason Todd Slack-Moehrle
Hi All, I am uploading a file and it says it worked, but I dont see it in the directory Here is my code so far: $allowed_ext = array('csv','xls'); $ext = end(explode('.',$_FILES['uploadedfile']['name'])); $ran2 = rand()..; $target = tempUploads/;

Re: [PHP] File Uploads Help!!! --Forgot

2008-12-05 Thread Jason Todd Slack-Moehrle
Here is the output I am printing: 'tempUploads/1425182872.xlsUploaded The File.' What is the issue? -Jason On Dec 5, 2008, at 2:11 PM, Jason Todd Slack-Moehrle wrote: Hi All, I am uploading a file and it says it worked, but I dont see it in the directory Here is my code so far:

Re: [PHP] SQL syntax?

2008-12-05 Thread Allan Arguelles
Umm.. I meant you need to put $sql .= FROM workorderform ; between these: $sql .= AdSize AS Ad_Size, CPM AS CPM_Rate, ; $sql .= ORDER BY StartDate DESC; :) Terion Miller wrote: On Fri, Dec 5, 2008 at 3:57 PM, Allan Arguelles [EMAIL PROTECTED]wrote: $sql = SELECT WorkOrderID AS

Re: [PHP] SQL syntax?

2008-12-05 Thread Terion Miller
ah...I also though it was because I didn't have a statement like where adsize = adsize or something but I tried that and got the same error I have been getting ... You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near

Re: [PHP] SQL syntax?

2008-12-05 Thread Allan Arguelles
Try this: $sql = SELECT WorkOrderID AS Work_Order_ID, DATE_FORMAT(StartDate, '%b. %e, %Y %l:%i %p') AS Start_Date, DATE_FORMAT(EndDate, '%b. %e, %Y %l:%i %p') AS End_Date, ; $sql .= Advertiser AS Advertiser_Name,AccountNum AS Account_Number, Impressions AS Ad_Impressions, ; $sql .=

Re: [PHP] File Uploads Help!!! --Forgot

2008-12-05 Thread Eric Butera
On Fri, Dec 5, 2008 at 5:13 PM, Jason Todd Slack-Moehrle [EMAIL PROTECTED] wrote: Here is the output I am printing: 'tempUploads/1425182872.xlsUploaded The File.' What is the issue? -Jason On Dec 5, 2008, at 2:11 PM, Jason Todd Slack-Moehrle wrote: Hi All, I am uploading a file and

Re: [PHP] File Uploads Help!!! --Forgot

2008-12-05 Thread Jason Todd Slack-Moehrle
Hi Eric, 'tempUploads/1425182872.xlsUploaded The File.' http://us2.php.net/manual/en/function.is-uploaded-file.php http://us2.php.net/manual/en/features.file-upload.errors.php So do I still use move_uploaded_file? -Jason

Re: [PHP] SQL syntax?

2008-12-05 Thread Terion Miller
Excellent Allan thanks so much, sometimes I think php is causing me blindness!! Terion On Fri, Dec 5, 2008 at 4:26 PM, Allan Arguelles [EMAIL PROTECTED]wrote: Try this: $sql = SELECT WorkOrderID AS Work_Order_ID, DATE_FORMAT(StartDate, '%b. %e, %Y %l:%i %p') AS Start_Date,

Re: [PHP] File Uploads Help!!! --Forgot

2008-12-05 Thread Eric Butera
On Fri, Dec 5, 2008 at 5:40 PM, Jason Todd Slack-Moehrle [EMAIL PROTECTED] wrote: Hi Eric, 'tempUploads/1425182872.xlsUploaded The File.' http://us2.php.net/manual/en/function.is-uploaded-file.php http://us2.php.net/manual/en/features.file-upload.errors.php So do I still use

Re: [PHP] File Uploads Help!!! --Forgot

2008-12-05 Thread Jason Todd Slack-Moehrle
Hi Eric, So do I still use move_uploaded_file? Absolutely. I just didn't see anywhere in your code where you were checking for an error with the file upload itself or that it did exist on the server before moving it. Got it, thanks!! -Jason -- PHP General Mailing List

[PHP] PHP5 DOM Problem

2008-12-05 Thread Craig Whitmore
Hi there. I don't kno id this is the correct place to post but... I am using the PHP5 DOM to make up RSS Feeds .. A Problem I have is I want to make this up for itunes.. ?xml version=1.0 encoding=UTF-8? rss version=2.00 xmlns:itunes=http://www.itunes.com/dtds/podcast-1.0.dtd; etc.. I

[PHP] Parsing Strings

2008-12-05 Thread Jason Todd Slack-Moehrle
OK, making good learning progress today. I have a string that is: Jason Slack and I want it broken at the space so i get Jason and then Slack I am looking at parse_str, but I dont get how to do it with a space. The example is using []=. Then I want to assign like: $fname = Jason; $lname =

RE: [PHP] Downloading file from local network machine

2008-12-05 Thread Manuel Lemos
Hello Jonathan, On Fri, 2008-12-05 at 17:32 +, Mayer, Jonathan wrote: Thanks Wolf :) Yup, I had considered that, although there could be up to 8 different servers so that's 8 seperately mapped drives. If that's the simplest/neatest way, I'll do that, although I did wonder whether

Re: [PHP] Parsing Strings

2008-12-05 Thread Jason Todd Slack-Moehrle
How might I also parse and address like: SCOTTSDALE, AZ 85254 It has a comma and a space -Jason On Dec 5, 2008, at 4:02 PM, Jason Todd Slack-Moehrle wrote: OK, making good learning progress today. I have a string that is: Jason Slack and I want it broken at the space so i get Jason and

AW: [PHP] Parsing Strings

2008-12-05 Thread Konrad Priemer
und Pferd __ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 3667 (20081205) __ E-Mail wurde geprüft mit ESET NOD32 Antivirus. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: AW: [PHP] Parsing Strings

2008-12-05 Thread Jason Todd Slack-Moehrle
Konrad, On Dec 5, 2008, at 4:22 PM, Konrad Priemer wrote: $array = explode( , Jason Slack); Awesome, thanks, yup that does it. Can you explain how to do an address now into City, State, Zip Like: cortland, ny 13045 It has a comma and a space! -Jason -- PHP General Mailing List

AW: AW: [PHP] Parsing Strings

2008-12-05 Thread Konrad Priemer
PS: Sorry about my perfect english __ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 3667 (20081205) __ E-Mail wurde gepruft mit ESET NOD32 Antivirus. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: AW: [PHP] Parsing Strings

2008-12-05 Thread Jason Todd Slack-Moehrle
Conny, Can you explain how to do an address now into City, State, Zip Like: cortland, ny 13045 $string = cortland, ny 13045; $search = array(, , ,); $replace = array( , ); $newString = str_replace($search, $replace, $string); $array = explode( , $newString); Ah ha! Nice that makes sense,

AW: [PHP] Parsing Strings

2008-12-05 Thread Konrad Priemer
Oups, sorry mistake by copy paste ;-) On Sa 06.12.2008 01:30 Jason wrote: Can you explain how to do an address now into City, State, Zip Like: cortland, ny 13045 $string = cortland, ny 13045; $search = array(, , ,); $replace = array( , ); $newString =

Re: [PHP] Downloading file from local network machine

2008-12-05 Thread Ashley Sheridan
On Fri, 2008-12-05 at 16:59 -0500, Bastien Koert wrote: On Fri, Dec 5, 2008 at 3:22 PM, Ashley Sheridan [EMAIL PROTECTED]wrote: On Fri, 2008-12-05 at 17:32 +, Mayer, Jonathan wrote: Thanks Wolf :) Yup, I had considered that, although there could be up to 8 different servers so

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-05 Thread Ashley Sheridan
On Sat, 2008-12-06 at 08:38 +1100, Clancy wrote: On Fri, 05 Dec 2008 20:24:07 +, [EMAIL PROTECTED] (Ashley Sheridan) wrote: On Fri, 2008-12-05 at 15:16 -0500, Bastien Koert wrote: On Fri, Dec 5, 2008 at 3:18 PM, Ashley Sheridan [EMAIL PROTECTED]wrote: On Fri, 2008-12-05 at 12:08

Re: [PHP] SQL syntax?

2008-12-05 Thread Ashley Sheridan
On Fri, 2008-12-05 at 16:51 -0600, Terion Miller wrote: Excellent Allan thanks so much, sometimes I think php is causing me blindness!! Terion On Fri, Dec 5, 2008 at 4:26 PM, Allan Arguelles [EMAIL PROTECTED]wrote: Try this: $sql = SELECT WorkOrderID AS Work_Order_ID,

Re: [PHP] Job opportunity in Denver, CO - Jr. PHP developer needed

2008-12-05 Thread Kevin Waterson
This one time, at band camp, Nick Gasparro [EMAIL PROTECTED] wrote: The perfect candidate will possess the following skills: * Serious OO design background * PHP5 (this will be your primary language, though you can learn it on the job ) * Strong database design skills (MySql

Re: [PHP] error messaages - $DOXPath Wrong

2008-12-05 Thread ddg2sailor
First I would like to thank everyone who reponded to this thread. Your all Great! I took your advice and made these changes //Just the relevant lines not in order $DOXPATH = 'C:\\xampp\\htdocs\\dox\\' // New DOXPATH if (!move_uploaded_file($file['tmp_name'], '$DOXPATH\$file[name]'))

[PHP] Convert .docx /.pdf file to .txt

2008-12-05 Thread Jagdeep Singh
Hi! I need a function to fetch text from docx file, but it is showing formated characters in output. I was using fopen, fgets etc function . I want to fetch text from .docx and save it to .txt file Without special characters (Microsoft formated characters) Is there any function or an example??

Re: [PHP] Job opportunity in Denver, CO - Jr. PHP developer needed

2008-12-05 Thread VamVan
telecommute?? On Fri, Dec 5, 2008 at 9:43 PM, Kevin Waterson [EMAIL PROTECTED] wrote: This one time, at band camp, Nick Gasparro [EMAIL PROTECTED] wrote: The perfect candidate will possess the following skills: * Serious OO design background * PHP5 (this will be your primary

Re: [PHP] Job opportunity in Denver, CO - Jr. PHP developer needed

2008-12-05 Thread mike
If you're interested for a telecommuting job I am pretty sure mysql's position supports it - php and mysql for mysql itself! http://www.sun.com/corp_emp/search.cgi?keyword=561790jpp=50 (Sorry for stealing the thread) On Fri, Dec 5, 2008 at 11:22 PM, VamVan [EMAIL PROTECTED] wrote:

[PHP] How to Insert ?xml-stylesheet .....? into DOMDocument

2008-12-05 Thread Shanon Swafford
I have the following code: #!/usr/bin/php -q ?PHP error_reporting(E_ALL); ini_set('display_errors', '1'); $doc = new DOMDocument(); $doc-formatOutput = true; $foo = $doc-createElement(foo); $doc-appendChild($foo); $bar = $doc-createElement(bar); $foo-appendChild($bar);