Re: [PHP] Delete

2006-06-03 Thread Larry Garfield
Make each button a separate form, with the id as a hidden value. Like so: My first entry My second entry Obviously you'd want something better formatted, but you get the idea. Then on the receiving end, you'd simply "DELETE FROM entries where id=$id;". That is, AFTER you process

Re: [PHP] Delete

2006-06-03 Thread George Babichev
Thank you for the help guys, but the I guess I kinda have another question. So I do assign an id to each blog post, and it is auto_increment, so in my blog delete page, it would display all the blog title's and a delete button nex to it. So lets say I click delete on the third entry. How would my

Re: [PHP] php java intregration

2006-06-03 Thread Rabin Vincent
On 6/4/06, Vedanta Barooah <[EMAIL PROTECTED]> wrote: the pecl snapshots have the dll php_java.dll, but does not have the jar php_java.jar which is also required? I don't know about the snapshots, but the PECL zip on the download page does have the jar you are looking for. Rabin -- PHP Genera

Re: [PHP] Delete

2006-06-03 Thread Rabin Vincent
On 6/4/06, George Babichev <[EMAIL PROTECTED]> wrote: Hello everyone! I wrote a blog application, but now for the admin panel, i am trying to add a feature to delete blog posts. It would show the title of the post next to it, and have a delete link which would delete it. How would I do this? I me

Re: [PHP] Delete

2006-06-03 Thread benifactor
when you insert each blog into your database, im assuming your not doing this by hand each and every time, assign each blog an id. in the place you want to delete the blog entries, list all of the blogs titles and ids. and then use mysql(delete); example: You Need To Choose a post to delete";

Re: [PHP] php java intregration

2006-06-03 Thread Vedanta Barooah
the pecl snapshots have the dll php_java.dll, but does not have the jar php_java.jar which is also required? - vedanta On 6/3/06, Rabin Vincent <[EMAIL PROTECTED]> wrote: On 6/2/06, Vedanta Barooah <[EMAIL PROTECTED]> wrote: > i am setting up php_java.dll extension under windows/iis, my php > ve

Re: [PHP] .htaccess - change index.php to index.abc

2006-06-03 Thread Joe Wollard
If you don't want to change the names of the files themselve from .php to .abc then you'd need to use something like mod_rewrite for apache's HTTPD. I'm not entirely certain as to how you'd do this, but I've included what I normally use to hide index.php in the url. If possible I'd put this in htt

[PHP] Delete

2006-06-03 Thread George Babichev
Hello everyone! I wrote a blog application, but now for the admin panel, i am trying to add a feature to delete blog posts. It would show the title of the post next to it, and have a delete link which would delete it. How would I do this? I mean if I have multiple blog entry's, how would I delete

[PHP] .htaccess - change index.php to index.abc

2006-06-03 Thread Labunski
Hello, What should I change in .htaccess, so that visitors will see index.abc instead of index.php. I just wanna hide file's extension. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ASCII Chars Only

2006-06-03 Thread Richard Collyer
Rabin Vincent wrote: On 6/3/06, Richard Collyer <[EMAIL PROTECTED]> wrote: Hello, Trying to get the following working. I am trynig to select only ASCII characters (not extended ASCII) so that if the string contains characters outside the 32 - 126 range of "good" characters then $Discard is retu

Re: [PHP] ASCII Chars Only

2006-06-03 Thread Rabin Vincent
On 6/3/06, Richard Collyer <[EMAIL PROTECTED]> wrote: Hello, Trying to get the following working. I am trynig to select only ASCII characters (not extended ASCII) so that if the string contains characters outside the 32 - 126 range of "good" characters then $Discard is returned as > 0. But it i

[PHP] ASCII Chars Only

2006-06-03 Thread Richard Collyer
Hello, Trying to get the following working. I am trynig to select only ASCII characters (not extended ASCII) so that if the string contains characters outside the 32 - 126 range of "good" characters then $Discard is returned as > 0. But it is going overboard telling me that every character i

Re: [PHP] Re: Retrieving Content

2006-06-03 Thread chris smith
On 6/3/06, Adam Zey <[EMAIL PROTECTED]> wrote: Rodrigo de Oliveira Costa wrote: > I just discovered the problem I have to retrieve the output of the > site and not the url since its dynamic. Ca I do it like retrieve the > output of this url: > > www.tryout.com/1/2/ > > And of course store it on a

[PHP] New release of phpEditIni Ver 1.0 Beta4 is now available

2006-06-03 Thread Jeremy O'Connor
New release of phpEditIni Ver 1.0 Beta4 is now available at http://phpeditini.net .. Now handles Windows and Linux/*nix line ends correctly. Use phpEditIni to edit your PHP.INI files in a browser. -- [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

Re: [PHP] php java intregration

2006-06-03 Thread Rabin Vincent
On 6/2/06, Vedanta Barooah <[EMAIL PROTECTED]> wrote: i am setting up php_java.dll extension under windows/iis, my php version is 5.1.2. can any one point me to the download location of php_java.jar which is needed for the setup. Download "Collection of PECL modules for PHP" from the Windows bi

Re: [PHP] OO purism sucks - this is a rant for anyone who is allergic to that kind of thing...

2006-06-03 Thread Jochem Maas
Rasmus Lerdorf wrote: Jochem Maas wrote: I understand the point you made below - you have made this argument before and I, for one, accepted it as valid when I first read the discussion on internals - which is why I avoided ranting about that (and changes like it) But you didn't avoid it,

Re: [PHP] HTTP HEADERS

2006-06-03 Thread Joe Wollard
(sorry for the dup kartikay, forgot to hit reply to all;-) So is the file going from server to server or from a client machine to the server? It sounds like server to server - which if that's the case you can use headers_list() to see what your server is going to be sending out to the other server

Re: [PHP] HTTP HEADERS

2006-06-03 Thread David Tulloh
kartikay malhotra wrote: > Hi all! > > I use HTTP POST to upload a file. I've a PHP script running on the server. > Are HTTP headers passed with this request? How can I see the headers passed > to the server? Headers are passed by the client and server with every request. The Firefox Tamper Data