Re: [PHP] Oracle's dump to MySQL

2009-04-03 Thread 9el
On Fri, Apr 3, 2009 at 3:47 AM, Chris 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 : > 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 file c

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 : > I'm sorry, you

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 : > 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 = "/usr/bin/sudo /bi

[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 sess

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 wrote: On Fri, Apr 3, 2009 at 3:47 AM, Chris 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 a

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=run&run=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

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 wrote: > does anyone knows the the following is not working: > > C:\PHP\php.exe  D:\DEMO\index.php?action=run&run=1 > The querystring does not have an effect from the command line, it is part of the HTTP protocol. Use console options instead and use

[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 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: http://www.php.net/un

Re: [PHP]scheduled task in php IN FIREFOX

2009-04-03 Thread Stuart
2009/4/3 Andrew Williams : > 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 unsubscribe, visit: http://ww

Re: [PHP]scheduled task in php IN FIREFOX

2009-04-03 Thread Stuart
Please include the list when replying. 2009/4/3 Andrew Williams : > 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 > On Fri, Apr 3, 2009 at

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 wrote: > Please include the list when replying. > > 2009/4/3 Andrew Williams : > > interval update > > I'm sorry, and that means what exactly? > > Assum

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 O

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 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 > to

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

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 : > 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. > > >

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. wrote: > http://www.stimpco.com/carpix/arguingOnTheInt

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 : > Better then READ is UNDERSTAND. > >> >> >> 2009/4/2 Igor Escobar : >> >>

Re: [PHP] Oracle's dump to MySQL

2009-04-03 Thread 9el
On Fri, Apr 3, 2009 at 5:21 PM, Phpster 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, 200

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 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. If it is s

Re: [PHP] Oracle's dump to MySQL

2009-04-03 Thread 9el
On Fri, Apr 3, 2009 at 8:56 PM, Bob McConnell 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 is more >

Re: [PHP]scheduled task in php IN FIREFOX

2009-04-03 Thread Stuart
2009/4/3 Andrew Williams : > 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 wrote: >> >> Please include the list when replying. >> >> 2009/4/3 A

[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: Mid Term 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 can I do to fix it?

[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? If you can see this, it's an anti-spam measure. Please don't fill in the address field. Address Name:

Re: [PHP] What is wrong with this code

2009-04-03 Thread Igor Escobar
You forgot to mention the "method" of the 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 wrote: > This is driving me nuts. I

Re: [PHP] What is wrong with this code

2009-04-03 Thread Gary
Its there... "Igor Escobar" wrote in message news:1f5251d50904031212o6fcc3e43q5c60b7ae373e9...@mail.gmail.com... > You forgot to mention the "method" of the form. > > ... > > Regards, > Igor Escoar > Systems Analyst & Interface Designer > > -- > > Personal Blog > ~ blog.igorescobar.com > Onli

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] S

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 o

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, 20

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? > > > >If you can see this, it's an anti-spam measure. Please don't

Re: [PHP] What is wrong with this code

2009-04-03 Thread Gary
Um, I dont understand that? "Igor Escobar" 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 Analyst & Int

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. * N

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 thi

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" 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 happeni

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 something

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 -- On

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" 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 exampl

[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 and if I do not select any languages in my Webbrowser, it show correctly english in the "Siteindex" (topmost block). Now selecting "de" as prefe

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: > > Mid Term > > 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

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

[PHP] filter in phpself()

2009-04-03 Thread Michael A. Peters
I was looking over the output of phpfilter() and say the following: Input Validation and Filtering enabled Revision$Revision: 1.52.2.45 $ I did recently (very recently) upgrade from php 5.2.5 to 5.2.9 and also upgraded my php pear to 1.7.2 (from whatever CentOS 5.2 had)

Re: [PHP] filter in phpself()

2009-04-03 Thread Michael A. Peters
Michael A. Peters wrote: I was looking over the output of phpfilter() and say the following: Input Validation and Filteringenabled Revision$Revision: 1.52.2.45 $ I did recently (very recently) upgrade from php 5.2.5 to 5.2.9 and also upgraded my php pear to 1.7.2 (from whatever