[PHP] Re: Same Page, Fundamentally Different Behavior OR is Firefox broken?

2009-06-12 Thread Manuel C.
Matt Neimeyer a écrit : I'm at a complete loss... So I'm hoping someone can point me in the right direction to even start looking. We have an application written in PHP that lets users send out emails. The basic process is as follows. 1. Go to start screen. (This resets anything currently in

Re: [PHP] Re: Same Page, Fundamentally Different Behavior OR is Firefox broken?

2009-06-12 Thread Nitsan Bin-Nun
As Manuel said, have you tried to send no-cache headers and meta tags? -- Nitsan On Fri, Jun 12, 2009 at 8:04 AM, Manuel C. hippopotam...@gmail.com wrote: Matt Neimeyer a écrit : I'm at a complete loss... So I'm hoping someone can point me in the right direction to even start looking. We

[PHP] Re: Dynamic Titles

2009-06-12 Thread David Robley
Austin Caudill wrote: Hello, im trying to make the CMS system im using more SEO friendly by giving each page it's own title. Right now, the system assigns all pages the same general title. I would like to use PHP to discertain which page is being viewed and in turn, which title should be

[PHP] 3d image rotating

2009-06-12 Thread דניאל דנון
Hello. I'm looking for way to rotate normal images, but not x/y, but with Z also. I get a source image (png, jpg, gif...) and I want to rotate it. assuming the depth of the image is 1 pixel for example... I'm looking for a way to do it without using imagemagick - only GD. I know it might be

[PHP] Re: Dynamic Titles

2009-06-12 Thread Peter Ford
David Robley wrote: Austin Caudill wrote: Hello, im trying to make the CMS system im using more SEO friendly by giving each page it's own title. Right now, the system assigns all pages the same general title. I would like to use PHP to discertain which page is being viewed and in turn,

Re: [PHP] Field type for american money

2009-06-12 Thread Andrew Ballard
On Thu, Jun 11, 2009 at 4:08 PM, revDAVEc...@hosting4days.com wrote: Php - MySQL - newbie question - Field type for american money - int(11) seems to work fine - but also I tried decimal(10,2) Is one a better choice than another for american money usage? -- Thanks - RevDave Cool @

[PHP] How do I Upload XML file using cUrl?

2009-06-12 Thread Rahul S. Johari
Ave, I have a client who used Lead360.Com to manage their Leads. We have a Leads Management application in place that creates an XML file of the lead which give the client manually to download. What are client is requesting is to POST the XML File directly to their Leads360.Com account.

Re: [PHP] Re: Dynamic Titles

2009-06-12 Thread Martin Scotta
PHP complains (usually) after the error. 1. 2. for( $i=0; $i10; ++$i ) 3. echo $i, \n # missing ; 4. 5. unset( $i ); PHP will complain about unexpected T_UNSET at line 5 Why? Because PHP is expecting a anything different to unset. So, when PHP says that an error was found at line x take

Re: [PHP] [php] read/write error

2009-06-12 Thread HELP!
I can not get the stream_get_contents() to work. it's returning empty. If you have a login details ALOGINPASS 1A cant you just fwrite($ft, ALOGINPASS 1A); or do you need to add other things what is the meaning of this string GET / HTTP/1.0\r\nHost: www.example.com\r\nAccept

[PHP] socket communication programming

2009-06-12 Thread HELP!
hi I can not get the stream_get_contents() to work. it's returning empty. If you have a login details ALOGINPASS 1A cant you just fwrite($ft, ALOGINPASS 1A); or do you need to add other things what is the meaning of this string GET / HTTP/1.0\r\nHost: www.example.com\r\nAccept

[PHP] truncate a mb-string to a given octet length?

2009-06-12 Thread Tom Worster
say a table in the db has a varchar(255) column, 255 being the max number of octets of strings that can go in the column. now say the php script very occasionally has to deal with utf8 input strings with octet length 255 -- it needs to select rows matching the input string or insert the input

Re: [PHP] socket communication programming

2009-06-12 Thread Shawn McKenzie
HELP! wrote: hi I can not get the stream_get_contents() to work. it's returning empty. If you have a login details ALOGINPASS 1A cant you just fwrite($ft, ALOGINPASS 1A); or do you need to add other things Depends upon what the server is expecting. what is the meaning of this string GET

Re: [PHP] truncate a mb-string to a given octet length?

2009-06-12 Thread Eddie Drapkin
Correct me if I'm wrong, but should varchar 255 with a utf8 character set mean 255 unicode characters, not octets? On Fri, Jun 12, 2009 at 11:50 AM, Tom Worster f...@thefsb.org wrote: say a table in the db has a varchar(255) column, 255 being the max number of octets of strings that can go in

Re: [PHP] [php] read/write error

2009-06-12 Thread Robin Vickery
Hello Mr HELP! 2009/6/12 HELP! izod...@gmail.com I can not get the stream_get_contents() to work.  it's returning empty. Is that simply because there's nothing to read from the socket? If you have a login details ALOGINPASS 1A cant you just fwrite($ft, ALOGINPASS 1A); or do you need to add

Re: [PHP] phpMyAdmin, localhost, mysql overhead

2009-06-12 Thread Nitsan Bin-Nun
I haven't read all your mail, I'm sorry for it in advance, but I think that you should know that overheard is just a blasting phrase for something which was made up by phpmyadmin. Basically, when you run a lot of DELETE or UPDATE queries on a table an overhead is created, generally speaking this

[PHP] Re: truncate a mb-string to a given octet length?

2009-06-12 Thread Tom Worster
On 6/12/09 11:50 AM, Tom Worster f...@thefsb.org wrote: say a table in the db has a varchar(255) column, 255 being the max number of octets of strings that can go in the column. now say the php script very occasionally has to deal with utf8 input strings with octet length 255 -- it needs to

RES: [PHP] phpMyAdmin, localhost, mysql overhead

2009-06-12 Thread Jônatas Zechim
I have other tables running but only this give me ‘overhead’. I’d know why this table does this and if is bad for my MySQL Server? Is there anyway to avoid it? Zechim De: nit...@binnun.co.il [mailto:nit...@binnun.co.il] Em nome de Nitsan Bin-Nun Enviada em: sexta-feira, 12 de junho de

Re: [PHP] phpMyAdmin, localhost, mysql overhead

2009-06-12 Thread Nitsan Bin-Nun
There is no way to avoid it since whenever you delete a row in a myisam table you create a space in the order of the rows, this space is expressed by a little bit of extra file size of the database. This extra file size is called in phpmyadmin as overhead, you can kill this over head either by

RES: [PHP] phpMyAdmin, localhost, mysql overhead

2009-06-12 Thread Jônatas Zechim
Thank u Nitsan. I’ll proceed with my app now. Zechim De: nit...@binnun.co.il [mailto:nit...@binnun.co.il] Em nome de Nitsan Bin-Nun Enviada em: sexta-feira, 12 de junho de 2009 15:01 Para: Jônatas Zechim Cc: php-general@lists.php.net Assunto: Re: [PHP] phpMyAdmin, localhost, mysql overhead

RES: [PHP] phpMyAdmin, localhost, mysql overhead

2009-06-12 Thread Jônatas Zechim
I really don’t know the differences betwen MyISAM and InnoDB yet but I’ll google for it right now. Thank u. Zechim De: Eddie Drapkin [mailto:oorza...@gmail.com] Enviada em: sexta-feira, 12 de junho de 2009 15:05 Para: Nitsan Bin-Nun Cc: Jônatas Zechim; php-general@lists.php.net

Re: [PHP] phpMyAdmin, localhost, mysql overhead

2009-06-12 Thread Eddie Drapkin
Some important differences: InnoDB: -row level locking -transactional support -foreign key support MyISAM: -table-level locking -no transactions -no foreign keys If that doesn't sell you, definitely head to google :) On Fri, Jun 12, 2009 at 2:12 PM, Jônatas Zechim zechim@gmail.comwrote:

[PHP] opendir() Question

2009-06-12 Thread Parham Doustdar
Hi there, I need to create a PHP script that will connect to an FTP, get a listing of files/directories from it, and displays them in a table. Now, there is only one problem here. I tried connecting with opendir(), like this: opendir(ftp://...;); but it seems it doesn't work with FTP. Now, is

Re: [PHP] opendir() Question

2009-06-12 Thread Andrew Ballard
2009/6/12 Parham Doustdar parha...@gmail.com: Hi there, I need to create a PHP script that will connect to an  FTP, get a listing of files/directories from it, and displays them in a table. Now, there is only one problem here. I tried connecting with opendir(), like this:

RE: [PHP] Re: Form handling

2009-06-12 Thread Dajve Green
-Original Message- From: Manuel Lemos [mailto:mle...@acm.org] Sent: 11 June 2009 07:21 To: Eddie Drapkin Cc: PHP General Mailing List Subject: [PHP] Re: Form handling Hello, on 06/10/2009 03:10 PM Eddie Drapkin said the following: I've been charged with writing a class that

Re: [PHP] Re: Dynamic Titles

2009-06-12 Thread David Robley
On Sat, 13 Jun 2009, you wrote: Well, im no longer getting any errors now, but its still not working. You can see it here: http://www.newtuts.com. When you go there, it should say Photoshop tutorials, Flash tutorials . . .. This should be the default page. When you click on Support, the title

Re: [PHP] Re: Dynamic Titles

2009-06-12 Thread Austin Caudill
Yes, I corrected this problem. Now, the URL of each page is being displayed as the title. We are making progress! Now I just need to figure out why the URLs are shown as the title, and not whaty I want to be shown. Austin Caudill --- On Fri, 6/12/09, David Robley da...@robley.net.au wrote:

Re: [PHP] opendir() Question

2009-06-12 Thread Parham Doustdar
Hello there Andrew, Thank you very much for your help. I didn't know such an extention existed. :) -- --- Contact info: Skype: parham-d MSN: fire_lizard16 at hotmail dot com email: parham90 at GMail dot com Andrew Ballard aball...@gmail.com wrote in message