php-general Digest 3 Apr 2009 09:10:11 -0000 Issue 6046

2009-04-03 Thread php-general-digest-help
php-general Digest 3 Apr 2009 09:10:11 - Issue 6046 Topics (messages 290983 through 291007): Re: W3C Validator and Post Arrays 290983 by: Ashley Sheridan 290985 by: Paul M Foster 290986 by: Michael A. Peters 290993 by: tedd Re: Java applet clearing session

Re: [PHP] Oracle's dump to MySQL

2009-04-03 Thread 9el
On Fri, Apr 3, 2009 at 3:47 AM, Chris dmag...@gmail.com wrote: 9el wrote: I found this command from one guy for importing Oracle's dump to MySQL Shell mysql -uroot db_name -vvf oracle_dump.dmp But, v is for verbose and f is for force continuation. Anyone worked with Oracle and MySQL?

Re: [PHP] [php] scheduled task in php

2009-04-03 Thread Jan G.B.
2009/4/3 Chris dmag...@gmail.com: Andrew Williams wrote: I want to created a window schedule a task that will run every 2 minutes and run my php script(www.domain.com/script.php).  But I need to know how to create a php.exe that I can select as a window schedule a task so that the php.exe

Re: [PHP] Button id's - firefox and IE different ?

2009-04-03 Thread Jan G.B.
Igor, what are you doing here? You say I'm arguing to show how big I am, but that's not true. I corrected your misleading tipps like using JSCRIPT to have form essentials and using xhtml in an html context. no reason to get personal and/or offending. bye. 2009/4/2 Igor Escobar

Re: [PHP] syntax woes

2009-04-03 Thread Michael A. Peters
Jan G.B. wrote: you don't need the ugly . . string . merging. um, I guess most of my code is ugly ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] syntax woes

2009-04-03 Thread Jan G.B.
2009/4/3 aurfal...@gmail.com: Hi all, For any one following this thread, here is how I worked around the apache/php/chown limitation. script snippet (and if any one has a more elegant style, please share as I am an amateur script kiddie). $path = /homes.$username; $chowncmd =

[PHP] Re: Java applet clearing session variables?

2009-04-03 Thread Peter Ford
Dan King wrote: It seems that our java applet is clearing our php session variables. I have an html form that saves user information as session variables. These session variables are used to create folders, where uploaded files can be saved. I've tested my php script that uses the session

Re: [PHP] Oracle's dump to MySQL

2009-04-03 Thread Phpster
Extract to csv/XML? Bastien Sent from my iPod On Apr 3, 2009, at 5:10, 9el le...@phpxperts.net wrote: On Fri, Apr 3, 2009 at 3:47 AM, Chris dmag...@gmail.com wrote: 9el wrote: I found this command from one guy for importing Oracle's dump to MySQL Shell mysql -uroot db_name -vvf

Re: [PHP] [php] scheduled task in php

2009-04-03 Thread Andrew Williams
does anyone knows the the following is not working: C:\PHP\php.exe D:\DEMO\index.php?action=runrun=1 On Thu, Apr 2, 2009 at 2:06 PM, Virgilio Quilario virgilio.quila...@gmail.com wrote: Please how can you run a timed php script file via window scheduled task. or how can u execute a php

Re: [PHP] [php] scheduled task in php

2009-04-03 Thread j's php general
On Fri, Apr 3, 2009 at 7:49 PM, Andrew Williams andrew4willi...@gmail.com wrote: does anyone knows the the following is not working: C:\PHP\php.exe  D:\DEMO\index.php?action=runrun=1 The querystring does not have an effect from the command line, it is part of the HTTP protocol. Use console

[PHP]scheduled task in php IN FIREFOX

2009-04-03 Thread Andrew Williams
HOW DO YOU CONFIGURE scheduled task to use firefox instead of Internet Explorer

Re: [PHP]scheduled task in php IN FIREFOX

2009-04-03 Thread Michael A. Peters
Andrew Williams wrote: HOW DO YOU CONFIGURE scheduled task to use firefox instead of Internet Explorer Install Linux ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP]scheduled task in php IN FIREFOX

2009-04-03 Thread Bastien Koert
On Fri, Apr 3, 2009 at 9:02 AM, Michael A. Peters mpet...@mac.com wrote: Andrew Williams wrote: HOW DO YOU CONFIGURE scheduled task to use firefox instead of Internet Explorer Install Linux ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP]scheduled task in php IN FIREFOX

2009-04-03 Thread Stuart
2009/4/3 Andrew Williams andrew4willi...@gmail.com: HOW DO YOU CONFIGURE scheduled task to use firefox instead of Internet Explorer Why is a scheduled task using a browser at all? What is the task doing? -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP]scheduled task in php IN FIREFOX

2009-04-03 Thread Stuart
Please include the list when replying. 2009/4/3 Andrew Williams andrew4willi...@gmail.com: interval update I'm sorry, and that means what exactly? Assuming you just need to hit a certain URL periodically you just need to use curl or similar. There's no need to get a browser involved. -Stuart

Re: [PHP]scheduled task in php IN FIREFOX

2009-04-03 Thread Andrew Williams
That is a better idea but the program needs about five minutes to complete. Would that not be a problem? On Fri, Apr 3, 2009 at 2:44 PM, Stuart stut...@gmail.com wrote: Please include the list when replying. 2009/4/3 Andrew Williams andrew4willi...@gmail.com: interval update I'm sorry,

Re: [PHP] Button id's - firefox and IE different ?

2009-04-03 Thread Igor Escobar
If you read my email you can see that i just give a solution to him and not a TIP. IF you DONT want change your form But if i were doing, i be doing by the right way...can be sure that. Regards, Igor Escoar Systems Analyst Interface Designer -- Personal Blog ~ blog.igorescobar.com

Re: [PHP] PHP LDAP over SSL problems

2009-04-03 Thread Keith Lawson
On Thu, Apr 2, 2009 at 5:51 PM, in message 49d53344.7040...@gmail.com, Chris dmag...@gmail.com wrote: Keith Lawson wrote: Hello, I have been working on this problem for some time now and I can't seem to resolve it. Everything I have found on google and php.net says I can connect

Re: [PHP] syntax woes

2009-04-03 Thread Shawn McKenzie
Chris wrote: Shawn McKenzie wrote: Chris wrote: Wow, it does chown and chmod as well, thats friggen cool. chown will only work if the script is running as root which I doubt your drupal site will be. Or if the script is running as a user/group that has write permissions to the dir/file

Re: [PHP] Button id's - firefox and IE different ?

2009-04-03 Thread Jan G.B.
http://www.stimpco.com/carpix/arguingOnTheInternet.gif byebye 2009/4/3 Igor Escobar titiolin...@gmail.com: If you read my email you can see that i just give a solution to him and not a TIP. IF you DONT want change your form But if i were doing, i be doing by the right way...can be sure

Re: [PHP] Button id's - firefox and IE different ?

2009-04-03 Thread Igor Escobar
Better then READ is UNDERSTAND. Regards, Igor Escoar Systems Analyst Interface Designer -- Personal Blog ~ blog.igorescobar.com Online Portifolio ~ www.igorescobar.com Twitter ~ @igorescobar On Fri, Apr 3, 2009 at 11:30 AM, Jan G.B. ro0ot.w...@googlemail.com wrote:

Re: [PHP] Button id's - firefox and IE different ?

2009-04-03 Thread Jan G.B.
Is it mandatory to annoy the whole list with your crap? If you want to keep on informing me or insulting me or feel free to send it directly to me. I'll add you to my killfile in no time. get a life 2009/4/3 Igor Escobar titiolin...@gmail.com: Better then READ is UNDERSTAND. 2009/4/2 Igor

Re: [PHP] Oracle's dump to MySQL

2009-04-03 Thread 9el
On Fri, Apr 3, 2009 at 5:21 PM, Phpster phps...@gmail.com wrote: Extract to csv/XML? My main goal is to import the data from Oracle DB to mySQL for a live site I wrote in php. I dont know a better way to do that.

Re: [PHP] Button id's - firefox and IE different ?

2009-04-03 Thread Igor Escobar
ZZzz. What what ? oh sorry, i fell in sleep. Whatever, end of discussion. Regards, Igor Escoar Systems Analyst Interface Designer -- Personal Blog ~ blog.igorescobar.com Online Portifolio ~ www.igorescobar.com Twitter ~ @igorescobar On Fri, Apr 3,

RE: [PHP] Oracle's dump to MySQL

2009-04-03 Thread Bob McConnell
On Behalf Of 9el On Fri, Apr 3, 2009 at 5:21 PM, Phpster phps...@gmail.com wrote: Extract to csv/XML? My main goal is to import the data from Oracle DB to mySQL for a live site I wrote in php. I dont know a better way to do that. The strategy depends on how complicated the database is.

Re: [PHP] Oracle's dump to MySQL

2009-04-03 Thread 9el
On Fri, Apr 3, 2009 at 8:56 PM, Bob McConnell r...@cbord.com wrote: On Behalf Of 9el The strategy depends on how complicated the database is. If it is single table, then Oracle can export that to a CSV file which MySQL can import. You simply have to make sure the column types match. If it

Re: [PHP]scheduled task in php IN FIREFOX

2009-04-03 Thread Stuart
2009/4/3 Andrew Williams andrew4willi...@gmail.com: That is a better idea but the program needs about five minutes to complete. Would that not be a problem? No more so that it would be in a browser. -Stuart On Fri, Apr 3, 2009 at 2:44 PM, Stuart stut...@gmail.com wrote: Please include the

[PHP] rft file problems

2009-04-03 Thread tedd
Hi gang: I'm trying to provide an .rft file via a link on one of my sites, like so: a href=MT_Exam.rftMid Term/a but clicking the link results in a Not Found error. However, if I change the suffix to .txt, then the file is found, but not presented correctly. What's up with that and what

[PHP] PHP class or functions to manipulate PDF metadata?

2009-04-03 Thread O. Lavell
Hi group, I am looking for an easy way to manipulate (read, write) the metadata (title, subject, keywords, author) in PDF files through PHP. Most PHP/PDF solutions I have found so far (through Google) are aimed at constructing PDFs from text and graphics, with lots of fancy features, but most

[PHP] concat and join stuff

2009-04-03 Thread PJ
Here some code that works fine, but... SELECT b.*, c.publisher, CONCAT_WS(' ', first_name, last_name) AS Author FROM book AS b LEFT JOIN book_publisher as abc ON b.id = abc.bookID LEFT JOIN publishers AS c ON abc.publishers_id = c.id LEFT JOIN book_author AS

[PHP] What is wrong with this code

2009-04-03 Thread Gary
This is driving me nuts. I am getting blank emails and the only information that is being passed to MySQL is the IP address. Can someone tell me what is wrong with this? form method=post action=?php echo $_SERVER['PHP_SELF']; ? div id=important style=visibility:hidden; pIf you can see

Re: [PHP] What is wrong with this code

2009-04-03 Thread Igor Escobar
You forgot to mention the method of the form. form action=... method=post ... /form Regards, Igor Escoar Systems Analyst Interface Designer -- Personal Blog ~ blog.igorescobar.com Online Portifolio ~ www.igorescobar.com Twitter ~ @igorescobar On Fri, Apr 3, 2009 at 4:08 PM, Gary

Re: [PHP] What is wrong with this code

2009-04-03 Thread Gary
Its there... Igor Escobar titiolin...@gmail.com wrote in message news:1f5251d50904031212o6fcc3e43q5c60b7ae373e9...@mail.gmail.com... You forgot to mention the method of the form. form action=... method=post ... /form Regards, Igor Escoar Systems Analyst Interface Designer --

RE: [PHP] What is wrong with this code

2009-04-03 Thread kyle.smith
Try something like print_r on $_POST to see if it contains *anything*, seems like it's empty?! Also, when you say blank emails I assume you mean they have the template you made but the variables are empty and not zero-length emails. -Original Message- From: Gary [mailto:gwp...@ptd.net]

Re: [PHP] What is wrong with this code

2009-04-03 Thread Gary
I recieve an email, it will contain the ip address, it will also contain the name:, email: , comments: but not the information from the form of the name or email or comments. The database also recieves only the ip address. So I assume those parts are working, but I cant seem to find why the

Re: [PHP] What is wrong with this code

2009-04-03 Thread Igor Escobar
If method POST is there and the information still empty...maybe you should call to someone like a warlock... :D Regards, Igor Escoar Systems Analyst Interface Designer -- Personal Blog ~ blog.igorescobar.com Online Portifolio ~ www.igorescobar.com Twitter ~ @igorescobar On Fri, Apr 3,

RE: [PHP] What is wrong with this code

2009-04-03 Thread kyle.smith
Well you're specifically missing anything that's in $_POST, which is why I suggested getting yourself the exact contents of $_POST displayed to the page. -Original Message- From: Gary [mailto:gwp...@ptd.net] Sent: Friday, April 03, 2009 3:23 PM To: php-general@lists.php.net Subject: Re:

Re: [PHP] What is wrong with this code

2009-04-03 Thread Ray
On Friday 03 April 2009 13:08:45 Gary wrote: This is driving me nuts. I am getting blank emails and the only information that is being passed to MySQL is the IP address. Can someone tell me what is wrong with this? form method=post action=?php echo $_SERVER['PHP_SELF']; ? div id=important

Re: [PHP] What is wrong with this code

2009-04-03 Thread Gary
Um, I dont understand that? Igor Escobar titiolin...@gmail.com wrote in message news:1f5251d50904031228rfab0ec3rf8d9dd248b57e...@mail.gmail.com... If method POST is there and the information still empty...maybe you should call to someone like a warlock... :D Regards, Igor Escoar Systems

Re: [PHP] What is wrong with this code

2009-04-03 Thread 9el
*Note:* It is worth noting that the mail() function is not suitable for larger volumes of email in a loop. This function opens and closes an SMTP socket for each email, which is not very efficient. For the sending of large amounts of email, see the » PEAR::Mail, and » PEAR::Mail_Queue packages. *

RE: [PHP] What is wrong with this code

2009-04-03 Thread kyle.smith
This is unrelated, the email sends fine. And it's one per submission. -Original Message- From: doctortomor...@gmail.com [mailto:doctortomor...@gmail.com] On Behalf Of 9el Sent: Friday, April 03, 2009 3:37 PM To: Gary Cc: php-general@lists.php.net Subject: Re: [PHP] What is wrong with

Re: [PHP] What is wrong with this code

2009-04-03 Thread Peter van der Does
On Fri, 3 Apr 2009 15:08:45 -0400 Gary gwp...@ptd.net wrote: This is driving me nuts. I am getting blank emails and the only information that is being passed to MySQL is the IP address. Can someone tell me what is wrong with this? If this is in one file, as I assume it is, here's what is

Re: [PHP] What is wrong with this code

2009-04-03 Thread Gary
Peter I had the if ( isset( $_POST['submit'] ) ) { in there and it did not work. I have used this on several sites, the only difference is that I was tyring to contain it in one file. I also created a file just to process the POST, but it still did not work. I was thinkning it was

Re: [PHP] What is wrong with this code

2009-04-03 Thread 9el
--- Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get a Free CD of Ubuntu mailed to your door without any cost. Visit : www.ubuntu.com --

Re: [PHP] What is wrong with this code

2009-04-03 Thread Gary
That was it, but Im sorry, I did not see that Ray had already pointed that out, so apologies to Ray and many thanks to everyone... gary 9el le...@phpxperts.net wrote in message news:79d892150904031305j6e1b00d4qed0d9fbf13437...@mail.gmail.com...

RE: [PHP] What is wrong with this code

2009-04-03 Thread kyle.smith
Wow can't believe I missed that. I also was wondering why Ray mailed an empty message... :) -Original Message- From: doctortomor...@gmail.com [mailto:doctortomor...@gmail.com] On Behalf Of 9el Sent: Friday, April 03, 2009 4:05 PM To: Gary Cc: php-general@lists.php.net Subject: Re: [PHP]

[PHP] problem with PHP simplexml and doxygen generated XML

2009-04-03 Thread hessiess
I have bean trying to right a PHP script to generate XHTML code from the class documentation xml files created by Doxygen(the HTML it outputs is invalid, messy and virtually imposable to integrate into another web page). One thing has bean causing problems, the tags which start with `@', for

[PHP] Weird problem with T_gettext()

2009-04-03 Thread Michelle Konzack
Hello, I need some help from german coders since I have a weird encoding problem. Currently I am coding the new website http://www.tdwave.net/ and if I do not select any languages in my Webbrowser, it show correctly english in the Siteindex (topmost block). Now selecting de as prefered

Re: [PHP] rft file problems

2009-04-03 Thread Paul M Foster
On Fri, Apr 03, 2009 at 01:18:08PM -0400, tedd wrote: Hi gang: I'm trying to provide an .rft file via a link on one of my sites, like so: a href=MT_Exam.rftMid Term/a but clicking the link results in a Not Found error. However, if I change the suffix to .txt, then the file is found,

Re: [PHP] problem with PHP simplexml and doxygen generated XML

2009-04-03 Thread Phpster
On Apr 3, 2009, at 17:52, hessi...@hessiess.com wrote: I have bean trying to right a PHP script to generate XHTML code from the class documentation xml files created by Doxygen(the HTML it outputs is invalid, messy and virtually imposable to integrate into another web page). One thing has