Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread andu
On Tue, 21 Oct 2003 10:07:28 -0400
Marco Tabini [EMAIL PROTECTED] wrote:

 Hello Everyone--
 
 I wanted to let you know about a new initiative that php|architect has 
 launched: the Searchable PHP Mailing List Archive, which can be found at 
 http://phparch.com/mailinglists.
 
 This is a fully searchable archive of the PHP mailing lists with an 
 attempt to build proper threading, keyword highlight, automatic quoted 
 text indentation and a few other features.
 
 It's still a bit experimental, and some features don't work as best as 
 they could. However, it should be fairly functional, and the full-text 
 search engine can be helpful if you're looking for fast answers to 
 problems that are often asked on the mailing lists. It's there for 
 everyone to try, and please feel free to drop me a note if you think 
 something doesn't quite work the way it should or if you have ideas 
 about possible enhancement. At the present time, one of the things we're 
 working on is filtering the messages trough SpamAssassin and allowing 
 for the possibility to exclude messages marked as spam from the search 
 results.
 
 We built our archive because we found it difficult to find a good search 
 resource dedicated only to the PHP mailing lists. I hope it will help 
 you, as well.
 
 Cheers,
 
 
 Marco Tabini
 php|architect

Nice work, if the list admin would add a link to this archive in the footer (or
the header) it would be even useful for new subscribers who don't know of its
existence.
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 



Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread andu
On Tue, 21 Oct 2003 10:42:25 -0400
Marco Tabini [EMAIL PROTECTED] wrote:

  
  Nice work, if the list admin would add a link to this archive in the footer
  (or the header) it would be even useful for new subscribers who don't know of
  its existence.
  
 
 Well, one of my original ideas was to have a process that would monitor 
 php.general for new messages and send back an e-mail to the list with 
 possible answers based on the message's contents. I'm not sure that 
 would be a good idea, though :-)

I think the idea is splendid (and new, call it DFAQ (dynamic FAQ)) but as a
different service than a mailing list. Challenging?


 
 Cheers,
 
 
 Marco
 
 
 



Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread andu
On Tue, 21 Oct 2003 11:48:18 -0400
Marco Tabini [EMAIL PROTECTED] wrote:

  
  I think the idea is splendid (and new, call it DFAQ (dynamic FAQ)) but as a
  different service than a mailing list. Challenging?
  
 
 What did you have in mind exactly? How is the FAQ served?

Considering the enourmos amount of RTFM-like answers (which BTW should be filtered
out from searches)I came to believe that most issues have already been explored
but lots of questions from new users are more vague or extended for a simple
search engine, so something like what you proposed sounds like it would satisfy
that need except that users would have to subscribe to such a service as opposed
to having dynamically generated answers based on the archive replied automatically
to posts which could be confuzing. As to the protocol it could be either email or
http or both. Not exactly a FAQ but a more extended search engine. 

 
 
 Marco
 
 
 



Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread andu
On Wed, 22 Oct 2003 00:52:53 +0900
- Edwin - [EMAIL PROTECTED] wrote:

 Hi,
 
 On 2003.10.21, at 23:42 Asia/Tokyo, Marco Tabini wrote:
 
  Nice work, if the list admin would add a link to this archive in the 
  footer (or
  the header) it would be even useful for new subscribers who don't 
  know of its
  existence.
 
  Well, one of my original ideas was to have a process that would 
  monitor php.general for new messages and send back an e-mail to the 
  list with possible answers based on the message's contents. I'm not 
  sure that would be a good idea, though :-)
 
 Sort of a PHP-AI eh? :) Hmm... I don't think that's a bad idea at all, 
 but...
 
 I wonder how you'd deal with new messages/posts/questions which:
 1. Real people don't even understand, and
 2. Real posters don't even understand what they're asking.

I think that's exactly where it's needed. At least some posters would get a chance
to figure out their questions and others to have their annoyed ones justified ;-).

 
 ;)
 
 - E -
 
 PS
 Nice work, btw!
 
 __
 Do You Yahoo!?
 Yahoo! BB is Broadband by Yahoo!
 http://bb.yahoo.co.jp/
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
Andu

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread andu
On Tue, 21 Oct 2003 09:16:27 -0700 (PDT)
Chris Shiflett [EMAIL PROTECTED] wrote:

 Perhaps Marco can try an Ask Jeeves type of Web app. Is that the sort of
 thing you are suggesting?
 
 So, as another feature of this mailing list archive, there could be a place
 where people can ask a question, and Ask Marco will try to come up with some
 suggested posts to read. This would give people even fewer excuses to not check
 the archives. :-)

They would do it without knowing  it. Remember, asking a question is an art in
itself and not everyone is an artist ;-).

 
 Chris
 
 =
 My Blog
  http://shiflett.org/
 HTTP Developer's Handbook
  http://httphandbook.org/
 RAMP Training Courses
  http://www.nyphp.org/ramp
 
 


-- 
Andu

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] -OT- Software Fashion

2003-10-06 Thread andu
I'm sure many of you read this on /. but in case you didn't here it is:
http://www.softwarereality.com/soapbox/softwarefashion.jsp


Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] attach file with mail() function??

2003-10-05 Thread andu
On Mon, 6 Oct 2003 04:26:55 +
Curt Zirzow [EMAIL PROTECTED] wrote:


 That being said, I think i'll have this thread grow way off topic,
 and self promote my site.
 
 Now we can visually see how often somone helps people with the
 list:
   http://zirzow.dyndns.org/html/mlists/php_general/search?q=gremlin
   vs.
   http://zirzow.dyndns.org/html/mlists/php_general/search?q=mike%40array-media
 
 
 Now I really have to write that flame awarness patch :)
   Posts: 4
   Flames: 3

I was going to suggest, since you are into list statistics, to count how many of
Mr Wang's replies consist of something more then a reference to the manual and
similar (I counted over 50% in a day I had time to kill). 
It would be also interesting to keep track of how many hours some members spend
with the list each day (and night). Talking about what people do with their time
(and life).
Just curious...

 
 Curt
 -- 
 I used to think I was indecisive, but now I'm not so sure.
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 



Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] attach file with mail() function??

2003-10-05 Thread andu
On Mon, 6 Oct 2003 13:07:36 +0800
Jason Wong [EMAIL PROTECTED] wrote:

 On Monday 06 October 2003 12:42, andu wrote:
 
  I was going to suggest, since you are into list statistics, to count how
  many of Mr Wang's replies consist of something more then a reference to the
  manual and similar (I counted over 50% in a day I had time to kill).
 
 If you are referring to me, the name is Wong, thank you.

Yes, sorry about the typo, you're welcome.

 
 Maybe you should read this:
 
 http://marc.theaimsgroup.com/?l=php-generalm=106497838012812w=2
 
 -- 
 Jason Wong - Gremlins Associates - www.gremlins.biz
 Open Source Software Systems Integrators
 * Web Design  Hosting * Internet  Intranet Applications Development *
 --
 Search the list archives before you post
 http://marc.theaimsgroup.com/?l=php-general
 --
 /*
 When a woman gives me a present I have always two surprises:
 first is the present, and afterward, having to pay for it.
   -- Donnay
 */
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
Andu

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Cleaning up my messy code

2003-09-29 Thread andu
On 29 Sep 2003 19:22:54 -
Chris [EMAIL PROTECTED] wrote:

 I am working on a fairly large scale (for myself anyway) project using PHP 
 and MySQL. I am victim of teaching myself to program, not separating 
 presentation from my code-- all the things that lead to masses of spaghetti 
 code so atrocious even I can't figure out what I was doing an hour ago.
 
 I'm not looking for an IDE or code generator so much as some practical 
 advice for organization and framework when developing a larger app. I know 
 of PHP Fusebox, having programmed with Cold Fusion fusebox for a while, but 
 it seems like that might be too much. Maybe I just need a sensical, 
 practical approach to application layout. What do you all do? How can I 
 learn to be a better PHP programmer in this regard?

So far I haven't heard of any school teaching php or a particularly recommended 
methodology so we are all more or less in the same boat. I used the book by Luke
Wellington and Laura Thomson which aside from being a well written book uses the
same programming approach for all examples. That is: keep all html in one file and
access it as functions, split php code in logical components (build dynamic
content, database access, etc.). Not very different from when I was using cgis.
I looked at Smarty but having to learn almost a new language turned me off.
So far I tried to stay away from OO which IMHO can add unnecessary complexity if
used where functions would do just fine.
If I were to advice someone on the most important thing to look for when choosing
a method of programming that would be: don't trust anybody, don't use something
just because a lot of people use it. Evaluate and judge for yourself.

 
 c
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 



Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Cleaning up my messy code

2003-09-29 Thread andu
On 29 Sep 2003 21:08:40 -0400
Robert Cummings [EMAIL PROTECTED] wrote:


  I like that idea too-- I just don't like having to learn what amounts to a 
  third language to do it. Does one have to have a templating engine in order 
  to achieve this?
  
  I find reusability to be, largely, a theoretical mantra, templates or not. 
  In general, between applications, so much changes that even the same basic 
  idea means that the most reusable part are SQL queries and such, and I 
  already keep THOSE separate.
  
  And I've been looking for good examples of code on the web-- examples that 
  exemplify forethought and reusability. I must be looking in the wrong 
  places :)
 
 Well an example I'm experiencing right now with my template system which
 is making my life so much easier and saving me oodles of time -- is
 creating a PDF version of my site. To do this doing a few things:
 
 1. creating a new site configuration (actually a copy of the
InterJinn site configuration with a few changes)
 
 2. Creating a new set of template patterns for this configuration
(2 to be exact)
 
 3. Creating one new layout template for the PDF version.
 
 4. Creating one master source file which provides a chapter
mechanism for the InterJinn site's sections.
 
 5. extending the original jinnDoc tag compiler to provide support
for a jinnDoc:chapter/ and jinnDoc:subChapter/ tag and to
reduce the h?/ tag ranks for the current jinnDoc:title/,
jinnDoc:subTitle/, etc. tags.
 
 6. Compiling the new site patterns.
 
 7. running htmldoc on the output.
 
 So in 7 fairly easy steps (once you know the framework) 

That's the key, what better way then rolling your own. I think frameworks develop
on their own with experience. That's not to say that looking at other people's
solutions isn't part of the experience.

I've converted
 my InterJinn site into an easily downloadable PDF for offline reading.
 Total time invested: 3 hours. later I'll add support for
 jinnDoc:pdfOnly/ and jinnDoc:webOnly/ tags to properly separate out
 content that makes no sense in the website or vice versa.
 
 The nice thing about this was I hadn't even planned on doing a PDF till
 someone requested it via a comment on the website. I'll probably release
 interJinn-0.9.2 next weekend, so you can see the code then if you want
 since I include the InterJinn site as it's own example :) As is you can
 see the non PDF stuff if you download the current version.
 
 Cheers,
 Rob.
 -- 
 ..
 | InterJinn Application Framework - http://www.interjinn.com |
 ::
 | An application and templating framework for PHP. Boasting  |
 | a powerful, scalable system for accessing system services  |
 | such as forms, properties, sessions, and caches. InterJinn |
 | also provides an extremely flexible architecture for   |
 | creating re-usable components quickly and easily.  |
 `'
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 



Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Fw: Am stuck

2003-09-25 Thread andu
On Thu, 25 Sep 2003 15:17:26 +0200
Chris Grigor [EMAIL PROTECTED] wrote:

 Sorry maybe I should elaborate
 
 
 ?php
 
 $name = Chris;
 
 $b = '5';   /* this is the value count of $name; */
 
 for ($a=$b; $a=40; $a++)
 {
   add a space to the end of $name; /* this then makes $name 40 charecters long
   (but what function do I use to add on spaces?? */
 }
 ?
 
 Good day all
 
 I have a txt file that has values from various strings written to it.
 
 What Im looking for is the following
 
 $name = Chris';
 
 I need to do a count on $name so that it returns 5 letters. Then before writing
 it to the output file I know that it has to be 40 charecters long before it gets
 written.
 
 So I know its 5 now I need automatically add another 35 empty spaces to it to
 make it 40 so that it makes the $name like this 
 
 $name = Chris;    if I do a count
 on this it should be 40 charecters long
 
 
 Can anyone help out here???

Look up str_pad().

 
 Chris
 



Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Editor - which to use?

2003-09-24 Thread andu
On Wed, 24 Sep 2003 10:34:33 -0400
Kevin Bruce [EMAIL PROTECTED] wrote:

 FYI- New to this list but have been a php coder for 2 years.
 
 I know a lot of you out there are going to groan inwardly, but I use
 Dreamweaver, mainly because that's what I used since it's inception when I
 was writing static sites. I use OSX for my writing platform and occasionally
 use BBedit as well. If someone could point out a better PHP editor for the
 Mac, please speak up:) BTW- Dreamweaver has pretty decent PHP highlighting.

I use Nedit on both Mac and Linux. Syntax hiliting and most features can be
customised since they are based on macros. On OS X it needs XFree86. There is
also the more limited SubEthaEdit (native), new but promising.




Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] processing post requests

2003-09-21 Thread andu
On Sun, 21 Sep 2003 08:00:56 -0700
Vadim Bendebury [EMAIL PROTECTED] wrote:

 Andu,
 
 thank you and James Johnson, who sent me an email, so much.

Don't mention it.

 
 You guys are gentlmen and scholars, as opposed to some others who would 
 lecture you wasting your (and their own!) time, stating the obvious, 
 saying nothing of value, but enjoying their litte egos.

Don't expect things to change soon though.

 
 thanks again,
 /vb
 
 Andu wrote:
  On Sat, 20 Sep 2003 17:28:45 -0700
  Vadim Bendebury [EMAIL PROTECTED] wrote:
  
  
 The web page has a form with a following element in it:
 
 select multiple size=4 name=city
option selected value=0no preference/option
option value=2Paris/option
option value=1London/option
option value=3Madrid/option
 /select
  
  
   select multiple size=4 name=city[]
 option selected value=0no preference/option
 option value=2Paris/option
  option value=1London/option
  option value=3Madrid/option
   /select
  
 The intention is to be able to pick multiple cities. However, when the 
 request arrives on the server, the $_POST array includes just the one 
 last pick, no matter how many options are highligted when the submit 
 button is hit.
 
 What's the deal - is the an HTML code problem or PHP problem? Is it at 
 all possible to have multiple choices derived from this kind of form 
 element?
 
 Thanks in advance!
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
  
  
  
  
  Regards, Andu Novac
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 



Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] non-php issue

2003-09-21 Thread andu
On Monday, September 22, 2003, at 12:34  AM, Raditha Dissanayake wrote:

You can fix all of your problems by formatting your computer and 
installing a linux distribution.
I'm getting all these security patches in my email from Microsoft 
Corporation lately, maybe you want to use them since I run linux and 
have no use for them :).

Wang Feng wrote:

hi everyone, could someone recommend a security mailing list, please?

or you may like to answer my question below:

i'm currently using outlook express 6 on WinXP Pro, and something 
strange happened:

everytime when i start the computer, some messages pop up and 
attempts to sending the replies of the emails (in the
inbox) in behalf of me.

my anti-virus software doesn't work at all. what's the problem. how 
can i fix it?

please help

cheers,

feng





--
http://www.radinks.com/upload
Drag and Drop File Uploader.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Trying to View php.ini

2003-09-20 Thread andu
On Sat, 20 Sep 2003 18:19:25 -0400
Stephen Tiano [EMAIL PROTECTED] wrote:

 I'm on a Mac PowerBook. I'm able to locate the php.ini file. But when I 
 open it with BBEdit, it's a blank page. I just want to open it and 
 either view it, or make a copy to view. But all I have is the blank. Any 
 suggestions?

Put a file phpinfo.php with 
?php
phpinfo();
?
in your server's root and call it with the browser, it will tell you where the
php.ini is, don't think it can be empty. 

 
 Thank you.
 
 Steve Tiano
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 



Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] processing post requests

2003-09-20 Thread andu
On Sat, 20 Sep 2003 17:28:45 -0700
Vadim Bendebury [EMAIL PROTECTED] wrote:

 The web page has a form with a following element in it:
 
 select multiple size=4 name=city
option selected value=0no preference/option
option value=2Paris/option
option value=1London/option
option value=3Madrid/option
 /select

 select multiple size=4 name=city[]
   option selected value=0no preference/option
   option value=2Paris/option
option value=1London/option
option value=3Madrid/option
 /select

 
 The intention is to be able to pick multiple cities. However, when the 
 request arrives on the server, the $_POST array includes just the one 
 last pick, no matter how many options are highligted when the submit 
 button is hit.
 
 What's the deal - is the an HTML code problem or PHP problem? Is it at 
 all possible to have multiple choices derived from this kind of form 
 element?
 
 Thanks in advance!
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 



Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread andu
On Fri, 19 Sep 2003 17:05:47 -0700
CF High [EMAIL PROTECTED] wrote:

 Hm..
 
 Looks like I was deluding myself.  The only data returned by setting a var =
 include $include_path, is 0 or 1.  I'm looking for a few hundred lines of
 evaluated text.  Back to the drawing board.  Christ, this is a pain in
 the.

Why do you need to set the $var, why not just include $include_path when/where
you need it in your script.

 
 --Noah
 
 
 Jay Blanchard [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
 [snip]
 was able to use an absolute reference on my local machine to execute
 read
 file contents; e.g. fopen('http://www.mysite.com/index.php', 'a'), but
 on
 the host webserver no such luck.  Administrator said I can only use
 relative
 paths.  Problem is, when I use a relative path, I just get plain text;
 i.e.
 the read file doesn't get executed as php.
 
 eval()'s not an option either, as the read file(s) has apostrophes,
 quotes
 top-to-bottom.
 
 Basically, I just need the file-to-be-read to have the queries within it
 run
 as if it were run in the web browser.
 
 All clues appreciated as I'm at my wits end here -- can't find didly on
 this
 subject on the net.
 [/snip]
 
 Is the file PHP code? If so, why not include()?
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 



Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread andu
On Fri, 19 Sep 2003 18:20:01 -0700
CF High [EMAIL PROTECTED] wrote:

 Because I need to write $include_path content to file; not display it in the
 browser...

So you want to read from a file and write back to it? I don't understand what
you're trying to accomplish, execute a script and write the result to file?

 
 --Noah
 
 
 Andu [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  On Fri, 19 Sep 2003 17:05:47 -0700
  CF High [EMAIL PROTECTED] wrote:
 
   Hm..
  
   Looks like I was deluding myself.  The only data returned by setting a
 var =
   include $include_path, is 0 or 1.  I'm looking for a few hundred lines
 of
   evaluated text.  Back to the drawing board.  Christ, this is a pain in
   the.
 
  Why do you need to set the $var, why not just include $include_path
 when/where
  you need it in your script.
 
  
   --Noah
  
  
   Jay Blanchard [EMAIL PROTECTED] wrote in message
   news:[EMAIL PROTECTED]
   [snip]
   was able to use an absolute reference on my local machine to execute
   read
   file contents; e.g. fopen('http://www.mysite.com/index.php', 'a'), but
   on
   the host webserver no such luck.  Administrator said I can only use
   relative
   paths.  Problem is, when I use a relative path, I just get plain text;
   i.e.
   the read file doesn't get executed as php.
  
   eval()'s not an option either, as the read file(s) has apostrophes,
   quotes
   top-to-bottom.
  
   Basically, I just need the file-to-be-read to have the queries within it
   run
   as if it were run in the web browser.
  
   All clues appreciated as I'm at my wits end here -- can't find didly on
   this
   subject on the net.
   [/snip]
  
   Is the file PHP code? If so, why not include()?
  
  
   --
   PHP General Mailing List (http://www.php.net/)
   To unsubscribe, visit: http://www.php.net/unsub.php
  
  
  
 
 
  
  Regards, Andu Novac
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 



Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Reading URL is changed

2003-09-19 Thread andu
On Fri, 19 Sep 2003 19:10:46 -0500
Dan J. Rychlik [EMAIL PROTECTED] wrote:

 I am trying to figure out the best way to accomplish this task.  I have one file
 that performs a certain amount of functions based on a user link choice.  All
 the links point to the same document.  I know I need a control structure that
 reads what link was read but Im not sure how to do this.  
 
 for ex.
 a href = this.phpFirst Link/a
 a href= this.phpSecond Link/a
 
 Im cant figure out how to read First Link in php so that I can execute the
 needed function.  Has anyone accomplished this?
 
 Thanks so much in advance,
 
 -Dan

a href = this.php?action=first_linkFirst Link/a
a href= this.php?action=second_linkSecond Link/a

... and then switch $_GET['action'].

Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] fopen() || Execute read file as php page; not plain text

2003-09-19 Thread andu
On Fri, 19 Sep 2003 21:29:50 -0700
CF High [EMAIL PROTECTED] wrote:

 Re: So you want to read from a file and write back to it? I don't
 understand what you're trying to accomplish, execute a script and write the
 result to file?
 
 Yes, the read file is a nested set of queries that populates a js pop up
 menu, the site navigational structure.  That's why I need the read file to
 be executed.

So what was wrong with include $include_path? The fact that you include it doesn't
mean you have to display it, just that you have access to its script. You can call
a function from the file and use the result for whatever purpose you may chose
without displaying a thing.

 
 Got help from a PHP guru -- he suggested shell access
 
 --Noah
 
 
 Andu [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  On Fri, 19 Sep 2003 18:20:01 -0700
  CF High [EMAIL PROTECTED] wrote:
 
   Because I need to write $include_path content to file; not display it in
 the
   browser...
 
  So you want to read from a file and write back to it? I don't understand
 what
  you're trying to accomplish, execute a script and write the result to
 file?
 
  
   --Noah
  
  
   Andu [EMAIL PROTECTED] wrote in message
   news:[EMAIL PROTECTED]
On Fri, 19 Sep 2003 17:05:47 -0700
CF High [EMAIL PROTECTED] wrote:
   
 Hm..

 Looks like I was deluding myself.  The only data returned by setting
 a
   var =
 include $include_path, is 0 or 1.  I'm looking for a few hundred
 lines
   of
 evaluated text.  Back to the drawing board.  Christ, this is a pain
 in
 the.
   
Why do you need to set the $var, why not just include $include_path
   when/where
you need it in your script.
   

 --Noah


 Jay Blanchard [EMAIL PROTECTED] wrote in
 message
 news:[EMAIL PROTECTED]
 [snip]
 was able to use an absolute reference on my local machine to execute
 read
 file contents; e.g. fopen('http://www.mysite.com/index.php', 'a'),
 but
 on
 the host webserver no such luck.  Administrator said I can only use
 relative
 paths.  Problem is, when I use a relative path, I just get plain
 text;
 i.e.
 the read file doesn't get executed as php.

 eval()'s not an option either, as the read file(s) has apostrophes,
 quotes
 top-to-bottom.

 Basically, I just need the file-to-be-read to have the queries
 within it
 run
 as if it were run in the web browser.

 All clues appreciated as I'm at my wits end here -- can't find didly
 on
 this
 subject on the net.
 [/snip]

 Is the file PHP code? If so, why not include()?


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



   
   

Regards, Andu Novac
  
   --
   PHP General Mailing List (http://www.php.net/)
   To unsubscribe, visit: http://www.php.net/unsub.php
  
  
  
 
 
  
  Regards, Andu Novac
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
Andu

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: PHP|Con insane pricing

2003-09-16 Thread andu
On 16 Sep 2003 03:45:15 -0400
John Coggeshall [EMAIL PROTECTED] wrote:

  These gatherings are most likely for people sponsored by their employers,
  don't imagine participants come out of it $500 smarter then they went in. If
  it makes you feel good to hang out for 5 minutes with the big guys then
  borrow money and go, if learning is your goal, a good book and mostly practice
  will get you there.
 
 Consider that many of these good books you speak of are written by
 people whom are speaking at the conference :)

I know what you mean but if the guy doesn't have the $500 the written word can't
be much worse then the spoken one, by the same author;-).

 
 John
 
 -- 
 -~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-
 John Coggeshall http://www.coggeshall.org/
 john at coggeshall dot org 
 
 The PHP Developer's Handbook
 The definitive PHP5 developer's guide http://www.php-handbook.com/
 -~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
Andu

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: PHP|Con insane pricing

2003-09-15 Thread andu
On Mon, 15 Sep 2003 18:22:05 -0700
Jeremy Brand, B.S. [EMAIL PROTECTED] wrote:

 Thanks to everyone for their responses, though I still have not 
 found a way to get to the conference at a reasonable price (what I 
 consider reasonable).
 
 If anyone has any comments other than justifying the price of the 
 conference, like a friends of php list I can get on so I can 
 attend it would be greatly appreciated.  I feel like I would 
 actually add value by being there, not only in supporting my 
 friends who are doing speaking at the conference, but also in 
 helping to evangelize php and help newbies with questions/fud/etc.

These gatherings are most likely for people sponsored by their employers, don't
imagine participants come out of it $500 smarter then they went in. If it makes
you feel good to hang out for 5 minutes with the big guys then borrow money and
go, if learning is your goal, a good book and mostly practice will get you there.
I used to read about these RedHat certification 2-3 days sessions for around
$2000, does anyone in his/hers right mind believe he/she can become a Linux system
administrator in 3 days?

 
 Thanks.
 Jeremy
 
 
 Jeremy Brand, B.S. wrote:
  Does anyone know a way to attend the PHP|con west as an observer in 
  Santa Clara, CA, US on Oct. 23rd without spending tons of ca$h?
  
  The pricing seems insane, and geared towards people with lots of spare 
  money...
  
  I would love to hear specifically the Advanced track on Oct. 23 (Michael 
  Radwin, Sterling, Thies, George Schlossnagle and JimW), but I'm not going 
  to shell out $495 (the cheapest non-student rate) for it.
  
  Thanks,
  Jeremy
  
 
 
 -- 
 Prediction is very difficult, especially of the future.
 Niels Bohr
 http://www.nirvani.net
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
Andu

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] MySql temporary tables

2003-09-15 Thread andu
I did this blog where I create a temporary table to store entries while editing
them (spell checking, preview, etc). The problem I was having is that sometimes
the temporary table is created sometimes not. For every transaction with MySql I
used mysql_pconnect(). Since I changed to using mysql_connect and regular tables
instead of temporary tables everything seems to work fine, has anyone experienced
problems with temporary tables with MySql?


Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] MySql temporary tables

2003-09-15 Thread andu
On Mon, 15 Sep 2003 22:31:08 -0500
Jackson Miller [EMAIL PROTECTED] wrote:

 On Monday 15 September 2003 10:26, andu wrote:
  I did this blog where I create a temporary table to store entries while
  editing them (spell checking, preview, etc). The problem I was having is
  that sometimes the temporary table is created sometimes not. For every
  transaction with MySql I used mysql_pconnect(). Since I changed to using
  mysql_connect and regular tables instead of temporary tables everything
  seems to work fine, has anyone experienced problems with temporary tables
  with MySql?
 
 Temporary tables are only accessible from the MySQL connection that created 
 them.  Using pconnect it was a crap shoot as to whether you would get the 
 same connection on the next page load.
 
 Temporary tables should only be used (from within PHP) for the current page 
 view.

Thanks.

 
 -Jackson
 
 
  
  Regards, Andu Novac
 
 -- 
 jackson miller
  
 cold feet creative
 615.321.3300 / 800.595.4401
 [EMAIL PROTECTED]
  
  
 cold feet presents Emma
 the world's easiest email marketing
 Learn more @  http://www.myemma.com
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 



Regards, Andu Novac

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php editor

2003-09-11 Thread andu
On Thu, 11 Sep 2003 08:54:06 -0800
Chris Hubbard [EMAIL PROTECTED] wrote:

 I think the BEST php editor out there is Microsoft's Visual Studio.

You should've posted this before I got all invested with Nedit, Linux and the
like...

 Here's some of the reasons I think Visual Studio is the BEST
 1.  None of that annoying syntax highlighting that you find in many other
 editors
 2.  Unlimited technical support (at only $245 per call)
 3.  At $1000 - $2500 per copy it's has substantially more features than
 other cheaper editors.
 4.  It uses far more memory, so it remembers more stuff.
 5.  I can seamlessly integrate .NET into my PHP code
 6.  I don't have to waste my time with integrated debuggers
 7.  It automatically generates obfuscated code
 8.  I don't have to worry about those annoying GPL or LGPL licenses
 9.  Runs great on SuSE
 10. When it crashes I know I need to take my ergonomic break
 11. When loading large projects I have plenty of time to make myself a cup
 of tea, or if I'm out of tea, to drive to the store to buy some tea, return,
 brew a cup, read slashdot, take a shower
 12. The outstanding support of PHP at Microsoft.
 
 Read about Microsoft's support of PHP here:  www.microsoft.com/php
 Read about Microsoft's integration of PHP and Visual Studio here:
 www.microsoft.com/vstudio/support/php
 
 --
 Now if you're serious.  Do us all a favor.  Do a little research first.
 This question has been answered on so many sites/newsgroups.
 
 -alternatively-
 
 the best php editor out there is the one that you use.
 
 --
 
 I do like my first answer the best.
 heh.
 
 --
 
 If you made it this far, try this page:
 http://www.php-editors.com/result.php?showall=y
 
 Ironically Yours,
 Chris
 
 
 
 -Original Message-
 From: STONE Steven [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, September 03, 2003 3:21 AM
 To: php mailing list
 Subject: [PHP] php editor
 
 
 What's the best php editor out there?
 
 Thanks in advance for nay replies!
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 



Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Beta Testers Needed - Free software opportunity

2003-09-08 Thread andu
On Tue, 09 Sep 2003 00:58:07 +0300
Bogdan Stancescu [EMAIL PROTECTED] wrote:

 I think you could adjust your business model a bit, there are quite a 
 few GPL projects offering a lot more than what you do, in a better 
 groupware environment. For instance you could check out 
 http://www.guydavis.ca/opt/ for a demo of a GPL project at least a few 
 orders of magnitude above the one you propose.
 
 Just my 2c, obviously,
 Bogdan

Experience proves that his business model has worked in the past as well as
present (not that I support or practice it), just count the number of people
still buying and using Windows (or OSX for that matter) when Linux has been around
for all these years. And that is just for day to day basic desktop and
development.

 
 Matt Palermo wrote:
 
  First, I would like to thank all of you who have helped me with my questions
  in the past.  I am going to return the favor by giving you an opportunity to
  receive a free copy of the latest version of a calendar program, called
  TotalCalendar.  SweetPHP.com will be giving out free copies of this software
  to the first 5 people who agree to help with the beta testing and half-price
  copies to anyone else who helps beta test.  After the beta testing phase is
  complete, all beta testers will receive the full, final version at no
  additional cost. If you would like to know more about this software, please
  visit:
  
  
  
  http://sweetphp.com/
  
  
  
  There, you will find all the information, as well as a running demo of the
  software. If you would like to sign up and become a beta testing, please
  contact us at:
  
  
  
  [EMAIL PROTECTED]
  
  
  
  and we will send you the necessary information needed.  Thanks again to
  everyone who has helped me out.
  
  
  
  Matt Palermo
  
  [EMAIL PROTECTED]
  
  http://sweetphp.com
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 



Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Beta Testers Needed - Free software opportunity

2003-09-08 Thread andu
On Mon, 8 Sep 2003 16:48:24 -0700 (PDT)
Chris Shiflett [EMAIL PROTECTED] wrote:

 --- andu [EMAIL PROTECTED] wrote:
  Experience proves that his business model has worked in the past as
  well as present (not that I support or practice it), just count the
  number of people still buying and using Windows (or OSX for that
  matter) when Linux has been around for all these years.
 
 That's not quite the same. Windows didn't have to penetrate the market while
 Linux was around as a viable (better?) alternative. At the time, Windows was
 the best choice for a desktop OS for many people. Now that it has such a
 dominant market position, it no longer has to prove itself to remain on top.
 That job is left to Linux, Mac OS X, etc.
 
 In this case, the PHP application being advertised must penetrate an existing
 market, which means the competition is heavier. This is why the first responder
 was pointing out some of the that competition.

It is and it isn't the same, people buy because they don't know better, which was
my point. 

 
 Chris
 
 =
 Become a better Web developer with the HTTP Developer's Handbook
 http://httphandbook.org/
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 



Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Cpanel or Plesk

2003-09-06 Thread andu
On Sat, 06 Sep 2003 23:58:39 +0530
Dasmeet [EMAIL PROTECTED] wrote:

 Hi!
 I guess many of you must have used both CPanel and Plesk. Can you tell 
 me which one is better and what are the basic differences between them? 
 Also can accounts hosted on WHM/CPanel moved to Plesk?
 Any information would be of great help.
 Thanks in advance!
 Dasmeet

Didn't use Plesk but i found CPanel to be pretty good for what it's supposed to
do. Has nothing to do with how accounts are set up though, that depends on
the distro/administrator and CPanel is configured accordingly.

 
 -- 
 --
 Domainwala.com
 Domain Names from Rs. $7.99 at http://www.domainwala.com
 http://www.domainwala.com/headlines/index.php
 http://www.domainwala.com/links
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
Andu

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Linux Issues

2003-09-06 Thread andu
On Sat, 6 Sep 2003 22:41:29 -0500
Stephen Craton [EMAIL PROTECTED] wrote:

 Thanks for the replies.
 
 I've tried both 8.1 and 9.1 versions of Mandrake Linux with no luck (I
 bought the 8.1 CDs a while back)
 
 I've also tried making a floppy disk but still no luck with 8.1. In 9.1, I
 can't get the autorun screen to make the floppy disk.

Try another distro, I recommend Slackware or Debian. Another option is to get one
of the distros which run from the cd with the option to copy it to hard drive like
Knoppix, they have more advanced auto-configuration software.

 
 Thanks,
 Stephen Craton
 
 - Original Message - 
 From: Dan Anderson [EMAIL PROTECTED]
 To: Stephen Craton [EMAIL PROTECTED]
 Cc: PHP List [EMAIL PROTECTED]
 Sent: Saturday, September 06, 2003 10:09 PM
 Subject: Re: [PHP] Linux Issues
 
 
  Oh also make sure you are using /9.1/ and NOT /9.2 RC1/!
 
  -Dan
 
  On Sat, 2003-09-06 at 22:51, Stephen Craton wrote:
   Hello,
  
   This isn't really a PHP issue but I have no where else to go to get help
 really. Hopefully someone here can still help me.
  
   I am running Windows XP and have decided to install Mandrake Linux on
 top of it just for the heck of it. So, Friday I downloaded the latest ISO
 files from an FTP server and today I put in the burnt CDs and it takes me to
 the boot screen for it. I push enter (as it says to enter the setup) and it
 takes me to a blank screen and just sits there, doing nothing except
 flashing the Caps Lock and Scroll Lock lights on my keyboard.
  
   I went to the online manual for Mandrake and it said to add the text
 noauto which I did for the boot sequence. Same error. Any ideas what's
 going on and how to fix it?
  
   Thanks,
   Stephen Craton
 
  -- 
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 



Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] anyone using sqlite raise your hand

2003-09-02 Thread andu
Are people on this list using the sqlite extension with php? 
I  was unable to subscribe to pear-php or get an answer from its
webmaster (or the developer of the extension) and would like some
feedback on a problem I have.

-- 
Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Session var read by form C++ CGI prog ?

2003-09-02 Thread andu
On Tue, 2 Sep 2003 15:48:46 -0700 (PDT)
Chris Shiflett [EMAIL PROTECTED] wrote:

 --- John Bryan [EMAIL PROTECTED] wrote:
  Was/am thinking I could use php to set 'session' variable(s) that
  would also be visible to an existing cpp prog currently invoked
  from a form.
 
 I missed most of this thread, since it appeared to be off-topic, but you might
 consider changing the action attribute of your form to point to a PHP script
 that can call your CGI as needed. It's worth trying anyway, and PHP should
 already have the right privileges to execute it.
 
 This PHP script could conveniently access the PHP session (which your CGI could
 do also, but with much more hassle) as well as all GET and POST data, and you
 could use it as a wrapper to your CGI. This would also make future transitions
 easier, if you forsee taking that path.

Something I used in the past was a php script communicating with a long running
application via sockets: the script would collect data, send it to the app for
processing which would pass it back to the php script which fpassthru() back to
the client. It was very fast too.

 
 Hope that helps.
 
 Chris
 
 =
 Become a better Web developer with the HTTP Developer's Handbook
 http://httphandbook.org/
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 



Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Table format needs php correction

2003-08-30 Thread andu
On Sat, 30 Aug 2003 10:23:49 -0700
Gloria L. McMillan [EMAIL PROTECTED] wrote:

 Hi!
 
 This is a problem of the table formatting on a form in MySQL and PHP.
 It may be in the HTML table code.
 
 The problem is one that must be frequent.  I have a mixture of one
 character and long fill-in text items.
 
 My table now looks awkward. Somebody gave me a complex table that puts
 colors as backgrounds behind the headers.  Could that be the problem? 
 -Gloria

The SQL has nothing to do with it (though make sure the query returns
what you expect), it's just how you format the table with the data you
have. My advice is to start it simple with no colors or stuff like that
and work on it until you get the proper table (html). Forget about using
other people's code in something like this and try to understand the
logic before you get to beautifying your output. I just spent the last
couple of days with tables formating, css, etc
 
 
 
 Here is the URL to view PHP HTML table as it appears on screen:
 http://DakotaCom.net/~glomc/forms/CAT.php
 
 Here is the mysql create table structure file:
 
 #
 # Table structure for table 'CAT'
 #
 
 CREATE TABLE CAT (
id int(10) unsigned DEFAULT '0' NOT NULL auto_increment,
added datetime DEFAULT '-00-00 00:00:00' NOT NULL,
name varchar(50) NOT NULL,
course varchar(50) NOT NULL,
unit varchar(50) NOT NULL,
q1 text NOT NULL,
q2 text NOT NULL,
q3 text NOT NULL,
q4 text NOT NULL,
q5 varchar(10) NOT NULL,
q6 varchar(10) NOT NULL,
q7 varchar(10) NOT NULL,
PRIMARY KEY (id)
 );
 
 
 Here is the table HTML part of the PHP file:
 
 print table\n;
 while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) {
  print \ttr\n;
  foreach ($line as $col_value) {
   print \t\ttd$col_value/td\n;
  }
  print \t/tr\n;
 }
 print /table\n;
 */
 while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
  printf(
 div class=\colorfield\
 table
  trthDate/ththName/ththCourse/ththUnit/th\n
 
 trtd%s/tdtd%s/tdtd%s/tdtd%s/td/tr\n
 
  trth = colspan = 4 Q1 /th\n
  trtd%s/td\n
 
  trth = colspan = 4 Q2 /th\n
  trtd%s/td\n
 
  trth = colspan = 4 Q3 /th\n
  trtd%s/td\n
 
  trth = colspan = 4 Q4 /th\n
  trtd%s/td\n
 
  trthQ5/ththQ6/ththQ7/th\n
 
  trtd%s/tdtd%s/tdtd%s/td\n
 /table
 
 
 /div\n,
$row['added'],
$row['name'],
$row['course'],
$row['unit'],
$row['q1'],
$row['q2'],
$row['q3'],
$row['q4'],
$row['q5'],
$row['q6'],
$row['q7']);
 
 }
 
 /* Free resultset */
  mysql_free_result($result);
 
 /* Close the database connection */
 mysql_close($link);
 
 ?
 /body
 /html
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] post v get

2003-08-29 Thread andu
On Fri, 29 Aug 2003 02:06:55 +0100
David Otton [EMAIL PROTECTED] wrote:

 On Thu, 28 Aug 2003 18:50:55 -0400, you wrote:
 
  When you POST a form to the server the server replies with a new
  page. if you click the Back button in the browser the server wants
 to re-POST the form. Short of using GET is there a way to prevent
  re-submitting the previous form?
 
 One technique is to use a middle-man page that processes your POST 
 data and inserts it into the database or file or whatever. Then you
 use header() to send the user to another page.
 
 Here's a quick fragment to illustrate the technique. It requires a
 file called list.txt to exist.
 
 ?
   if (isset ($item)) {
   $fp = fopen(list.txt, a);
   fputs ($fp, trtd$item/td/tr\r\n);
   header (Location: $PHP_SELF);
   exit();
   }
 ?
 table border=1 cellspacing=2
   ?
   readfile(list.txt);
   ?
 /table
 brbr
 form method=post action=? echo ($PHP_SELF); ?
   pAdd Item: input type=text name=item/p
   pinput type=submit name=Add value=Add/p
 /form
 

Thanks David.


-- 
Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] post v get

2003-08-28 Thread andu
When you POST a form to the server the server replies with a new
page. if you click the Back button in the browser the server wants to
re-POST the form. Short of using GET is there a way to prevent
re-submitting the previous form?

-- 
Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] webserver for mac

2003-08-26 Thread andu
On Tue, 26 Aug 2003 13:50:27 -0400
[EMAIL PROTECTED] (Edward Peloke) wrote:

 Hello all,
 
 I am doing some php work for a local company who uses a mac.  I was
 telling them that I use apache as my webserver and they want to know
 what they can use as their webserver.  I know nothing about Macs and
 don't think you an run apache but I may be all wrong...what do mac
 owners use for a webserver?

MacOS X runs Apache PHP MYSQL and probably anything else that you can
run on Linux/BSD. Actually it comes with Apache as default server.

 
 Thanks,
 Eddie
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
Andu

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] sqlite

2003-08-24 Thread andu
On Sun, 24 Aug 2003 13:09:55 +1000
Kevin Waterson [EMAIL PROTECTED] wrote:

 I am writing an admin for sqlite but have struck a 
 problem with exporting data. I wish to simply 
 get a dump of the current sql database. from
 the commandline this would be done with .dump
 however this causes an error when used with
 sqlite_query()
 
 Is there any other method to get a sqlite dump?

I just installed the sqlite extension today myself and was looking for
all those dot commands but I don't think they are supported by the
extension unfortunately. My suggestion is to call sqlite with exec() in
order to get the .dump.

$command=sqlite db_name  '.dump';
exec($command,$result);
print_r( $result);// shows the dump array

 
 Kind regards
 kevin
 
 -- 
  __  
 (_ \ 
  _) )            
 |  /  / _  ) / _  | / ___) / _  )
 | |  ( (/ / ( ( | |( (___ ( (/ / 
 |_|   \) \_||_| \) \)
 Kevin Waterson
 Port Macquarie, Australia
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
Andu

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] sqlite

2003-08-24 Thread andu
On Sun, 24 Aug 2003 14:44:19 +1000
Kevin Waterson [EMAIL PROTECTED] wrote:

 This one time, at band camp, andu [EMAIL PROTECTED] wrote:
 
  $command=sqlite db_name  '.dump';
  exec($command,$result);
  print_r( $result);// shows the dump array
 
 As sqlite is bundled with php5, I guess command line type commands
 are not available because it is compiled in.

Something like that, I use it as a separately compiled dynamic library
with php4 though.

 
 Kevin
 
 
 -- 
  __  
 (_ \ 
  _) )            
 |  /  / _  ) / _  | / ___) / _  )
 | |  ( (/ / ( ( | |( (___ ( (/ / 
 |_|   \) \_||_| \) \)
 Kevin Waterson
 Port Macquarie, Australia
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
Andu

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] loading extension in script

2003-08-23 Thread andu
Ok, I learned I can load extensions in script using ld(), is there a way
to load extensions from a different directory (i.e.$HOME) in a
case where I don't have access to /php/extensions/?

-- 
Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] OT-Re: worm on th list

2003-08-20 Thread andu
Is this worm/virus windows specific?


-- 
Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] This is getting ridiculous

2003-08-20 Thread andu
On Wed, 20 Aug 2003 20:18:54 +
Curt Zirzow [EMAIL PROTECTED] wrote:
 
 Eventually there will be 10 returned emails for each posts and that
 will mean that that there will be around 2000 needless emails being
 sent around, a day. This is complete nonsense and must be fixed.

The issue seems to be that no one is in charge of this list in any way.
I'm getting lots of random 'errors' from the server besides all the
other garbage it was talked about. Since there is no way to fix all
these maybe the solution is to start a new list (sqlite list runs fine
on yahoo) have some volunteer admins and move all traffic there.
Unless the majority is willing to put up with what we have now and what
might come in the future.

 
 
 
 Curt
 -- 
 I used to think I was indecisive, but now I'm not so sure.
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] pop3 functions

2003-08-19 Thread andu
On Tue, 19 Aug 2003 12:49:43 +0600
raditha dissanayake [EMAIL PROTECTED] wrote:

 
 andu wrote:
  On Mon, 18 Aug 2003 15:40:31 -0500
  Ken [EMAIL PROTECTED] wrote:
  
  
 Those weird function names are taken straight from C.  Blame the
 inventors of C.  PHP is partly intended to be easy to learn for C
 programmers.
  
  
  I'm wondering how many php users are C programmers...
  Can only blame the php inventors for using a bad model.
 
 Just because you cannot understand something does not mean it's bad. 

Sounds like you're talking about yourself, I never said C was
a 'bad' language, I was complaining about the functions names in php, if
you care to read more carefully. My point was that when creating a
language you have the freedom to shape the 'vocabulary' any way you
want (more or less) and it is common sense to do it so that it's easily
usable by a variety of users.

 Your mail arrived to this mailing list through several mail nodes 
 writted purely in C.


 
  
  
 - Ken
 
 At 02:15 PM 8/16/2003 -0400, andu wrote:
 
 I take the opportunity to express my 2 major problems I found with
 php in the 2 months I've been using it. 
 First is the naming of functions (whoever was the illiterate one
 whoinvented them) definitely not meant to be remembered or to
 representwhat they actually do. It's a shame to have to fill our
 minds withsuch garbage: strcasecmp, strchr, strcmp, strcoll,
 strcspn, stripos,stristr, strspn, strstr, to take just a few. A
 programming languagehas already its problems for not being natural,
 no need to make iteven more so. Second, it the array overkill.
 Nevertheless, I love it.
 
 
 
  
  
 
 
 -- 
 
 Raditha Dissanayake
 -
 http://www.radinks.com/sftp/
 Lean and mean Secure FTP applet with Graphical User Inteface.
 just 150 Kilo Bytes
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
Andu

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] pop3 functions

2003-08-19 Thread andu
On Tue, 19 Aug 2003 07:14:19 -0500
Jay Blanchard [EMAIL PROTECTED] wrote:

 [snip]
  Those weird function names are taken straight from C.  Blame the
  inventors of C.  PHP is partly intended to be easy to learn for C
  programmers.
 
 I'm wondering how many php users are C programmers...
 Can only blame the php inventors for using a bad model.
 [/snip]
 
 Hey andu, since you say this what do you think would make a better
 model? Or were you just being sarcastic?

Hard to say since php is used all over the world but English would be
fine with me. I'm very familiar with metatalk which is based on
hypercard and the syntax and vocabulary are almost plain English with no
performance penalties, that is, it's very fast.
Take 'strstr()', could've easily been 'find_string()', 'strcmp()'-
binary_compare,  and so on so that if one doesn't remember or doesn't
know a function knows what to look for.

 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
Andu

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] pop3 functions

2003-08-19 Thread andu
On Tue, 19 Aug 2003 22:10:25 +0600
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Nopes i read you correctly, yours was a complaint against c.

Good thing you didn't take it as a complaint against you...

 
 
 andu wrote:
 
 On Tue, 19 Aug 2003 12:49:43 +0600
 raditha dissanayake [EMAIL PROTECTED] wrote:
 
   
 
 andu wrote:
 
 
 On Mon, 18 Aug 2003 15:40:31 -0500
 Ken [EMAIL PROTECTED] wrote:
 
 
   
 
 Those weird function names are taken straight from C.  Blame the
 inventors of C.  PHP is partly intended to be easy to learn for C
 programmers.
 
 
 I'm wondering how many php users are C programmers...
 Can only blame the php inventors for using a bad model.
   
 
 Just because you cannot understand something does not mean it's bad.
 
 
 
 Sounds like you're talking about yourself, I never said C was
 a 'bad' language, I was complaining about the functions names in php,
 if you care to read more carefully. My point was that when creating a
 language you have the freedom to shape the 'vocabulary' any way you
 want (more or less) and it is common sense to do it so that it's
 easily usable by a variety of users.
 
   
 
 Your mail arrived to this mailing list through several mail nodes 
 writted purely in C.
 
 
 
 
   
 
   
 
 - Ken
 
 At 02:15 PM 8/16/2003 -0400, andu wrote:
 
 
 
 I take the opportunity to express my 2 major problems I found
 withphp in the 2 months I've been using it. 
 First is the naming of functions (whoever was the illiterate one
   
 
 whoinvented them) definitely not meant to be remembered or to
 representwhat they actually do. It's a shame to have to fill our
 minds withsuch garbage: strcasecmp, strchr, strcmp, strcoll,
 strcspn, stripos,stristr, strspn, strstr, to take just a few. A
 programming languagehas already its problems for not being
 natural,no need to make iteven more so. Second, it the array
 overkill.  
 
 Nevertheless, I love it.
   
 
 
 
 
   
 
 -- 
 
 Raditha Dissanayake
 -
 http://www.radinks.com/sftp/
 Lean and mean Secure FTP applet with Graphical User Inteface.
 just 150 Kilo Bytes
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
 
 
 
 
   
 
 
 
 -- 
 
 Raditha Dissanayake
 -
 http://www.radinks.com/sftp/
 Lean and mean Secure FTP applet with Graphical User Inteface.
 just 150 Kilo Bytes
 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
Andu

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] pop3 functions

2003-08-19 Thread andu
On Tue, 19 Aug 2003 11:18:29 -0500
Jay Blanchard [EMAIL PROTECTED] wrote:

 [snip]
 First is the naming of functions (whoever was the illiterate one who
 invented them).
 [/snip]
 
 I remeber when andu got upset about RTFM, STFW, STFA...calling it
 insulting. Truth is andu complains a lot. I wonder about andu's
 age...well not really. 

Nothing to do with age, I never took things for granted like I'm getting
2 identical messages instead of one (forgot to mention that, Jay!).

 
 Have a productive and pleasant day!
 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
Andu

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] in the middle of shift and pop

2003-08-19 Thread andu
On Wed, 20 Aug 2003 00:25:32 +0200
Decapode Azur [EMAIL PROTECTED] wrote:

 is it possible to remove an element of an indexed array such as this
 exemple
   $A = array('a', 'b', 'c', 'd', 'e', 'f');
 in a way that we can optain this result :
   $A = array('a', 'b', 'd', 'e', 'f');
 
 something like that perhaps ?
 array_remove($A, 2);
 
 If such a function does not exists, what would be the more efficient
 way to do so a lot of time on very big arrays ?

unset(array[x]);

 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
Andu

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] pop3 functions

2003-08-18 Thread andu
On Mon, 18 Aug 2003 15:40:31 -0500
Ken [EMAIL PROTECTED] wrote:

 Those weird function names are taken straight from C.  Blame the
 inventors of C.  PHP is partly intended to be easy to learn for C
 programmers.

I'm wondering how many php users are C programmers...
Can only blame the php inventors for using a bad model.

 
 - Ken
 
 At 02:15 PM 8/16/2003 -0400, andu wrote:
 I take the opportunity to express my 2 major problems I found with
 php in the 2 months I've been using it. 
 First is the naming of functions (whoever was the illiterate one who
 invented them) definitely not meant to be remembered or to represent
 what they actually do. It's a shame to have to fill our minds with
 such garbage: strcasecmp, strchr, strcmp, strcoll, strcspn, stripos,
 stristr, strspn, strstr, to take just a few. A programming language
 has already its problems for not being natural, no need to make it
 even more so. Second, it the array overkill.
 Nevertheless, I love it.
 
 
 


-- 
Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] pop3 functions

2003-08-16 Thread andu
Someone asked for the pop3 functions I put togather (lost your message),
please contact me off list, It works fine with my server but no
guaranties though there should be no problems.

I take the opportunity to express my 2 major problems I found with php
in the 2 months I've been using it. 
First is the naming of functions (whoever was the illiterate one who
invented them) definitely not meant to be remembered or to represent
what they actually do. It's a shame to have to fill our minds with such
garbage: strcasecmp, strchr, strcmp, strcoll, strcspn, stripos, stristr,
strspn, strstr, to take just a few. A programming language has already
its problems for not being natural, no need to make it even more so.
Second, it the array overkill.
Nevertheless, I love it.

-- 
Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Reading mail with PHP?

2003-08-14 Thread andu
On Thu, 14 Aug 2003 19:35:21 +0600
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hi,
 
 You are certainly on the right track wtih imap_*()

Imap_* functions seem like the easy way out but I found them to be
extremely slow for retrieving mail (specially headers and stuff). I also
found similar complaints on the net. My solution was to write my own
pop3 functions which prove much faster. I don't blame the functions per
se but I believe they use the pop3 directive TOP which is painfully slow
in returning data specially if done repetitively, retrieving all
messages and and chopping out the needed header parts is many times
faster.

 
 The same set of functions can be used for checking both POP3 and IMAP
 4 accounts. With POP3 however you will either have to leave mail on
 server or store them in db or maildir. Else you lose the mail after
 you read it!
 
 PHP happens to be one of the most popular languages when it comes to 
 creating web based mail systems. You will find a classic at
 http://www.squirrelmail.org/ which happens to be open source as well.
 
 all the best
 
 Marcus Edvardsson wrote:
 
 Hi!
 
  * I'd like to connect to a mail server
  * Confirm the senders email addresses
  * Download the attached file from a speciall email
  * Read the message body
 
 How can I do this?
 Someone who have tried this?
 
 I found some functions for IMAP built in PHP,
 do you recommend that I dig deeper in those
 or should I use PEARs classes like
 http://pear.php.net/packages.php?catpid=14catname=Mail
 
 Marcus - Sweden
 
 
 
   
 
 
 
 -- 
 
 Raditha Dissanayake
 -
 http://www.radinks.com/sftp/
 Lean and mean Secure FTP applet with Graphical User Inteface.
 just 150 Kilo Bytes
 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Stop neurotic posting

2003-08-14 Thread andu


--On Wednesday, August 06, 2003 00:39:13 -0400 John W. Holmes 
[EMAIL PROTECTED] wrote:

andu wrote:

This is a very busy list, over 100 message in a quiet day and most
people are helpful and decent, don't mind reading and learning.
Unfortunately there are some who mostly post stuff like 'read the
manual' and other shit like that. Stuffing e-mailboxes with such garbage
day after day doesn't do anybody any good even if the manual is  not
being read as much as it should be. Is it too difficult to not answer
the post at all if you disagree with the content?
Please search the archives... this argument has been made before.
Not surprising, bad habits are hard to rid of. Hopefully if the interested 
parties are reminded once in a while it might stick.

--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

PHP|Architect: A magazine for PHP Professionals – www.phparch.com









Andu

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] find string

2003-08-14 Thread andu
On Sun, 10 Aug 2003 19:27:12 -0400
Carl Furst [EMAIL PROTECTED] wrote:

 Isn't there an in_array function you can use?
 
 If (in_array($action, array(a1,a2,a3,a4)) {
 // do something
 }
 else {
 // do something else
 }
 
 
 Carl.

Thanks Carl, if there is no string function for the job  I'll have to
use the array.

 
 -Original Message-
 From: andu [mailto:[EMAIL PROTECTED]
 Sent: Sunday, August 10, 2003 7:15 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] find string
 
 Here's the problem I have:
 I have $action which can be anyone of a1, a2, a3, a4.
 I tried
 
 if ($action!='a1' || $action!='a3') //tried == also
 {
 //do stuff
 }
 else
 {
 //do other stuff
 }
 
 Problem is that if() only seems to take one option so my construct
 above doesn't work.
 What function can I use to do something like:
 if ($action is among the items of 'a2,a4') kind of construct?
 I tried strpos('a1a2a3',$action) but with the same results.
 TIA
 
 --
 Regards, Andu Novac
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Stop neurotic posting

2003-08-14 Thread andu


--On Wednesday, August 06, 2003 06:26:34 + Curt Zirzow 
[EMAIL PROTECTED] wrote:

* Thus wrote andu ([EMAIL PROTECTED]):
This is a very busy list, over 100 message in a quiet day and most
people  are helpful and decent, don't mind reading and learning.
Unfortunately  there are some who mostly post stuff like 'read the
manual' and other shit  like that. Stuffing e-mailboxes with such
garbage day after day doesn't do  anybody any good even if the manual is
not being read as much as it should


Yes it is a busy list, I have 1000+ messages for 7 days worth.

I'm not sure the noisyness of the list is entirely on the ones that
are helping.  There does seem to be a problem of people posting
questions that are plain as day in the manual, or have been
repeatedly answered here on the list (thus the joke, has it been 4
days already, being so funny :)
Agreed.

if more people would read the manual or know how to find commonly
asked and solved quetions this list would probaly drop in 20% (very
rough estimate) of posts.  Getting that information to the people
who arn't reading the manual is a difficult task, cause if they
arn't reading the manual, why would they even bother with reading
the information on how to find the answer.
Now noisyness from the 'helpers'...  I have noticed at times that a
question is answered the same way like 10 times by 10 different
people; this I consider more noisy than a RTFM post.
Agreed again.



be. Is it too difficult to not answer the post at all if you disagree
with  the content?
Now, I kinda wondered at first if I should not respond to this
cause it's rather in a disagreement tone :)
Nevermind the tone, you have a point. My post was about people who 
chronically answer with an attitude (half of their posts have to do with 
the manual). As far as I can tell you always take the time to help, I'm 
surprised you picked on this.
People are sometimes lazy or simply they just don't know what to look for, 
to look up a function you must know the name of it, what's the big deal to 
reply with a function name as opposed to RTFM, you do it anyway. I'll tell 
you what the difference is, you are bored to death for hearing the same 
question for the millionth time and feel vindictive. You're shooting the 
messenger though. If you are at the point where you can't deal with newbies 
it's understandable (been there, done that), but it's not their fault.

I think this shouldn't be considered a bad thing to do.  If you
find something you disagree with and have (legit) arguments, I
would insist that the person reply to it. Of course this only helps
if it was in a constructive manor, which I hope this reply was
done.
Cheers,

Curt
--
I used to think I was indecisive, but now I'm not so sure.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





Andu

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] find string

2003-08-14 Thread andu
On Mon, 11 Aug 2003 10:00:57 +1000 (EST)
[EMAIL PROTECTED] wrote:

 what exactly is action ?
 
 i usually use a action setup like follows
 
 ?action=update
 
 switch ($_GET['action']) {
case 'update':
   //do stuff here
break;
case 'insert':
   //do stuff here
break;
 
 }
 
 very clean

Action is exactly what you imagine and at some point in the scrip I use
what you suggest, why I didn't do it here is because I didn't have
enough coffee today ;-). Nevertheless the previously suggested solution
using in_array() seems cleaner in this case.

 
  Here's the problem I have:
  I have $action which can be anyone of a1, a2, a3, a4.
  I tried
 
  if ($action!='a1' || $action!='a3') //tried == also
  {
  //do stuff
  }
  else
  {
  //do other stuff
  }
 
  Problem is that if() only seems to take one option so my construct
  above doesn't work.
  What function can I use to do something like:
  if ($action is among the items of 'a2,a4') kind of construct?
  I tried strpos('a1a2a3',$action) but with the same results.
  TIA
 
  --
  Regards, Andu Novac
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] mail with no sendmail on linux

2003-08-14 Thread andu
On Fri, 8 Aug 2003 13:49:41 +1000 (EST)
[EMAIL PROTECTED] wrote:

 i have a class that can sewnd through smtp , but i think there i a
 package setup in php classes there is also a pear class to do this

The Pear class did it, thanks. 

 
  Is there a workaround for not having sendmail installed on my linux
  machine and using instead my isp's mail server. I am practically
  behind 2 firewalls so I don't even think i could use sendmail even
  if I wanted to which is not the case.
 
  --
  Andu
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
Andu

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Stop neurotic posting

2003-08-14 Thread andu


--On Wednesday, August 06, 2003 14:38:11 +0800 Jason Wong 
[EMAIL PROTECTED] wrote:

On Wednesday 06 August 2003 14:26, Curt Zirzow wrote:

Now noisyness from the 'helpers'...  I have noticed at times that a
question is answered the same way like 10 times by 10 different
people; this I consider more noisy than a RTFM post.
And what I find really annoying is that some helpers being really
'helpful'  copy and paste whole chunks from the manual.
Read the subject again.

--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
filibuster, n.:
Throwing your wait around.
*/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





Andu

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Stop neurotic posting

2003-08-14 Thread andu


--On Wednesday, August 06, 2003 12:04:57 -0400 Step Schwarz 
[EMAIL PROTECTED] wrote:

Hi Amanda,

Yeah, terminology is definitely tough to get a handle on at the start --
it was for me.  I tried a couple of different books but had no luck until
I picked up Larry Ullman's PHP Visual QuickStart Guide.  Then it all kind
of clicked into place.  I highly recommend it -- it's like a big index.
If you have a question about databases, just turn to the database chapter
and chances are the answer will jump right out at you.  And I believe the
retail is only like $20.  The two books I tried before that were $50 each.
Talking about books, I highly recommend 'PHP and MySql Web Development' by 
Luke Welling and Laura Thomson second edition. Best thing about it is it 
has a number of 'useful' projects which are very well taken apart and 
explained.
It comes with a cd containing scripts for each chapter/example in the book.

Andu

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] imap slow

2003-08-14 Thread andu
Why are imap(pop3) functions so slow? I am working on a webmail and it
takes foreer to get 12 headers. I also looked at other php webmails and
they are just as bad. I tested a pop3 function library I found on the
net and it retrievs all 12 messages in no time.

-- 
Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] find string

2003-08-14 Thread andu
Here's the problem I have:
I have $action which can be anyone of a1, a2, a3, a4.
I tried

if ($action!='a1' || $action!='a3') //tried == also
{
//do stuff
}
else
{
//do other stuff
}

Problem is that if() only seems to take one option so my construct
above doesn't work. 
What function can I use to do something like:
if ($action is among the items of 'a2,a4') kind of construct?
I tried strpos('a1a2a3',$action) but with the same results.
TIA

-- 
Regards, Andu Novac

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Configuring PHP to use aspell

2003-08-14 Thread andu
On Sat, 9 Aug 2003 10:29:58 -0400
Jeff Lewis [EMAIL PROTECTED] wrote:

 I have the following set up...
 
 RH Linux version 7.3
 
 PHP 4.3.2
 
 Aspell installed on the server
 
 I have NEVER configured PHP and am looking for some assistance in
 configuring PHP to use Aspell so I can take advantage of this great
 feature that (as I can see from my searches) is not as well
 documented.

You are supposed to use pspell (see manual) and do:
configure --with-pspell[=dir].

 
 I'm not sure of the path to my Aspell either...
 
 Jeff
 
 


-- 
Andu

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] mail with no sendmail on linux

2003-08-14 Thread andu
Is there a workaround for not having sendmail installed on my linux
machine and using instead my isp's mail server. I am practically behind
2 firewalls so I don't even think i could use sendmail even if I wanted
to which is not the case.

-- 
Andu

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: [ERR] DEAD MAILBOX

2003-08-14 Thread andu
On Fri, 08 Aug 2003 02:52:31 -0400
John Manko [EMAIL PROTECTED] wrote:

 arrg.
 
 
 [EMAIL PROTECTED] wrote:
 
 Transmit Report:
 
  To: [EMAIL PROTECTED], 402 Local User Inbox Full ([EMAIL PROTECTED])
   
 

Comes free with the list...;-)

-- 
Andu

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Stop neurotic posting

2003-08-14 Thread andu


--On Wednesday, August 06, 2003 10:09:06 -0500 Jay Blanchard 
[EMAIL PROTECTED] wrote:


neurotic

\Neu*rotic\, a. [Gr. ? nerve.] 1. Of or pertaining to the nerves;
seated in the nerves; nervous; as, a neurotic disease. 2. Uself in
disorders of, or affecting, the nerves.
I am being a smart-arse now, but I believe that dictionaries and Xanax
are in order for some of you. Get over it! RTFM, STFW, and STFA are NOT
PERSONAL ATTACKS! Those are reserved for off-list replies unless the
flame is warranted on list. Here we go ...
Neurotic as in having an inferiority complex and trying too hard to prove 
the contrary when given a chance.

Andu

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Stop neurotic posting

2003-08-14 Thread andu
This is a very busy list, over 100 message in a quiet day and most people 
are helpful and decent, don't mind reading and learning. Unfortunately 
there are some who mostly post stuff like 'read the manual' and other shit 
like that. Stuffing e-mailboxes with such garbage day after day doesn't do 
anybody any good even if the manual is  not being read as much as it should 
be. Is it too difficult to not answer the post at all if you disagree with 
the content?

Andu

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Stop neurotic posting

2003-08-14 Thread andu


--On Wednesday, August 06, 2003 14:40:35 +0800 Jason Wong 
[EMAIL PROTECTED] wrote:

On Wednesday 06 August 2003 14:35, John Manko wrote:

perhaps there should be two lists (novice and advanced), and the
advanced listed shouldn't
answer questions if it's considered trivial enough for the novice list
to answer.
On many lists you get this kind of suggestion. Almost always the rebuttal
is  that the people who are in a position to help would then mostly
congregate to  the 'advanced' list leaving the helpless to fend for
themselves on the  'beginners' list.
In other words its usually a BAD idea.
I guess a better idea is if you are on a list to help others to just do it 
not moralize them. Forgot how it is as a newbie, start learning a new 
language.

--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
Do not seek death; death will find you.  But seek the road which makes
death a fulfillment.
-- Dag Hammarskjold
*/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





Andu

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] checking the return value of member function with empty

2003-08-09 Thread andu
On Sat, 09 Aug 2003 20:00:57 -0500
Edward Rudd [EMAIL PROTECTED] wrote:

 I am having this rather annoying syntax problem.
 
 I have this..
 if (!empty($this-GetParam('someparameter')) {
   // OK do something since the parameter is set.
 }

 if (!empty($this-GetParam('someparameter'))) {
   // OK do something since the parameter is set.
 }

 However that fails with this parse error
 
 parse error, expecting `')''
 
 Why???
 
 If I do this
 $var = $this-GetParam('someparameter'));
 if (!empty($var)) {
   // same thing as before
 }
 it works fine with no error..
 
 This *SHOULD* be syntactically correct, but php doesn't think so.
 Should I file a bug on this one?
 Oh yeah, normal information about running environment.
 PHP version 4.3.2
 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
Andu

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Still can't pass variable through url

2003-08-08 Thread andu
On Fri, 8 Aug 2003 14:30:22 +0800
Jack [EMAIL PROTECTED] wrote:

 Dear all
 I had set the register_global=on and magic_quotes_runtime=off
 already,

You don't need register_global=on for this, use

$year = $_GET['year'];
$month = $_GET['month'];

...and  you want to try page.php?year=$yearmonth=$month.

 but when i click my hyperlink page.php?year=$year?month=$month, it
 doesn't pass the variable for
 ?year and ?month to the destination page page.php
 I'm using php 5.0 above , if the same case apply to php4.04, then
 there is no problem at all!
 Can anyone please give me more help on this?
 
 Thx alot
 Jack
 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 


-- 
Andu

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Stop neurotic posting

2003-08-06 Thread andu
--On Wednesday, August 06, 2003 13:11:52 -0700 Chris W. Parker 
[EMAIL PROTECTED] wrote:

Aside from the fact that $example1 != $example2, they are different in
ATTITUDE.
Which was the original issue of this thread. Seems like few (with a 
temporary advantage of knowledge) would consider not to have an attitude 
(don't like to answer, don't do it) and if there is a choice, the nasty one 
seems to prevail. I guess it's a reflection of the times/place we are 
living or a huge lack of imagination.
My last word on this...

Andu

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] headline news retriever

2003-07-31 Thread andu
Does anyone know any headline news retrieving script/library specially 
something able to check with several news sites? I'm planing to roll my own 
but I want to see different approaches.

Andu

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Using link to submit a form

2003-07-30 Thread andu


--On Wednesday, July 30, 2003 14:32:11 -0500 Tyler Longren 
[EMAIL PROTECTED] wrote:

Hi everyone,

Can I replace Submit buttons on forms with a text button?
I need to be able to click on a link:
a href=index.php?option=editEdit/a
Something like:
a href=javascript: document.your_form_name.submit();Edit/a
and have it submit the form.  The form only contains one field...does
anyone know how to do this?  I've been searching google for an answer,
but couldn't find any info that really applies to my question.  This
isn't exactly a PHP related question, but php is hugely involved in this
project.
Thanks!
Tyler Longren


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





Andu

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Re: classes v. functions

2003-07-20 Thread Andu


--On Sunday, July 20, 2003 07:53:20 +0200 Simon Fredriksson 
[EMAIL PROTECTED] wrote:

I've been working like that for about two years and just recently I got
enlighted in the use of classes.
The main reason I started this thread is that since I'm just beginning with 
php I thought I might as well start with a good methodology. I've seen on 
the net whole collections of classes some going as far as almost inventing 
a new language but having some experience I know everything comes at a 
price.
Classes seem to provide advantages to plain functions but only sometimes, 
striking the right balance I guess, is what I'm after.
One shouldn't apply industrial theories to just everything.

Regards, Andu Novac

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] list server problem

2003-07-20 Thread Andu
Is it just me getting some messages 3 times?
I also noticed that there is no Reply-To in the headers so every time I 
want to reply to the list I have to copy/paste the list's address, clicking 
the Reply button would send my message to the poster, not the list.
I guess others are having the same problem for which reason they reply to 
all or cc to the list, all of us ending up with a couple copies of the 
message.
Is this something that can be fixed?

Regards, Andu Novac

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] list server problem

2003-07-20 Thread Andu


--On Sunday, July 20, 2003 16:35:46 +0800 Jason Wong 
[EMAIL PROTECTED] wrote:

On Sunday 20 July 2003 14:42, Andu wrote:
Is it just me getting some messages 3 times?
I also noticed that there is no Reply-To in the headers so every time I
want to reply to the list I have to copy/paste the list's address,
clicking the Reply button would send my message to the poster, not the
list. I guess others are having the same problem for which reason they
reply to all or cc to the list, all of us ending up with a couple
copies of the message.
Is this something that can be fixed?
There is nothing wrong with the headers that the list messages use. This
was  discussed fairly extensive about two weeks ago. Refer to archive for
details.
The executive summary is that there is nothing to be fixed. If you're
using a  less than adequate mail client which does not understand the
mailing list  info contained in the headers then you should either change
clients or, even  easier, just add the mailing list address into your
address book.
Nonsense, all clients understand reply-to if it's there and that is the 
obligation of the sender which in this case is the list server not my 
client.



Regards, Andu Novac

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] list server problem

2003-07-20 Thread Andu


--On Monday, July 21, 2003 01:34:11 +0800 Jason Wong 
[EMAIL PROTECTED] wrote:

On Monday 21 July 2003 00:39, Andu wrote:

 The executive summary is that there is nothing to be fixed. If you're
 using a  less than adequate mail client which does not understand the
 mailing list  info contained in the headers then you should either
 change clients or, even  easier, just add the mailing list address
 into your address book.
Nonsense, all clients understand reply-to if it's there and that is the
obligation of the sender which in this case is the list server not my
client.
Please read the archives.
There's several thousand emails in there, give me a subject or something. I 
already attempted to do that but the search only takes 2 words, it looks 
like and chances I use the relevant ones are low, just spent some time 
without any relevant success.

The list is not the originator/sender of any particular message and hence
should not be the subject of any reply or reply-to. Therefore it follows
that  it is not the list's responsibility to set a reply-to header
pointing to  itself.
So what you're saying is that all the lists i've been on in the past 7-8 
years were doing it wrong but this one doesn't. The list is not the 
originator of my message but an inteligent list server knows that the vast 
majority of the clients want to reply to the list not the originator of the 
message.

It is the mail client's job (or the list subscriber to be more precise)
to  direct a reply to the appropriate place and not the list's
responsibility to  second-guess where a reply should be directed.
So what do I do if I have one account only? Should I keep changing the 
Reply-To for each email I send so that replies to other unrelated mail 
don't end up on php list? The list should second-guess members of the list 
want to reply to the list 99% of the time without being wrong.

--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
Delta: The kids will love our inflatable slides.-- David Letterman
*/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





Regards, Andu Novac

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] classes v. functions

2003-07-19 Thread Andu
Thanks to all for your input.

Regards, Andu Novac

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] TESTERS Needed!

2003-07-19 Thread Andu


--On Saturday, July 19, 2003 20:02:52 +0100 Mark Clarkstone 
[EMAIL PROTECTED] wrote:

Hey Guys I need People to test out My Program, Mini serve  to find out
more go to www.mini-networks.uni.cc
The black text on dark-blue background is really inviting, did you try 
black on black??

Thanks



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





Regards, Andu Novac

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] TESTERS Needed!

2003-07-19 Thread Andu


--On Saturday, July 19, 2003 15:23:31 -0400 Andu [EMAIL PROTECTED] 
wrote:



--On Saturday, July 19, 2003 20:02:52 +0100 Mark Clarkstone
[EMAIL PROTECTED] wrote:
Hey Guys I need People to test out My Program, Mini serve  to find out
more go to www.mini-networks.uni.cc
The black text on dark-blue background is really inviting, did you try
black on black??
Never mind, for windows programs is good enough.


Thanks



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





Regards, Andu Novac

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





Regards, Andu Novac

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] nedit - previw html/php in browser

2003-07-19 Thread Andu
For those using Nedit with php/html here's a macro which will open a 
browser window and previw your script (Linux):

file = $file_path $file_name
file = replace_in_string(file, /path_to_your_server_root/htdocs/, )
in_browser=mozilla -remote 'openURL(localhost/ file  ,new-window)'   
/dev/null 
shell_command(in_browser ,)

It implies you run Apache/php locally, obviously and you may need to adjust 
the server root path and/or mozilla location if not standard.

Regards, Andu Novac

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] classes v. functions

2003-07-18 Thread Andu
This may show my ignorance or my refusal to take for granted something I 
don't fully understand but I have a hard time figuring out the advantage of 
using classes as opposed to just functions. I am certainly new to php and 
at first sight classes seemed to cut a lot of corners but so do functions 
(with which I have more experience). The more I read about classes the 
deeper the confusion. Anyone can enlighten me?

Regards, Andu Novac

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] classes v. functions

2003-07-18 Thread Andu


--On Friday, July 18, 2003 14:28:02 -0700 Chris Shiflett [EMAIL PROTECTED] 
wrote:

--- Andu [EMAIL PROTECTED] wrote:
This may show my ignorance or my refusal to take for granted
something I don't fully understand but I have a hard time
figuring out the advantage of using classes as opposed to just
functions.
They are entirely different. While OO fans will find my
over-simplification disgusting, a class is basically a way to associate
data with the functions that manipulate that data.
Say I have a database class with all kinds of functions for connection, 
data manipulation, errors, etc:

$db = new db_sql;
$db-connect();
$db-do_this();
$db-do_that();
How would that be different from an include file with a bunch of functions 
doing the same thing?
Is there any performance benefit one way or the other?
I used EZ_Sql which is cool but didn't seem to speed things up in 
comparison to the said include file.
Still don't see the beef.

Brad recommended I spend even more time with google looking for OOP, maybe 
that's why I'm so confused:).

Chris



Regards, Andu Novac

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] just testing

2003-07-18 Thread Andu


Regards, Andu Novac

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] OnClick problem

2003-07-10 Thread andu
Here's something I cant explain:
I have a page with a form on it (checkboxes) and a hyperlink which is 
supposed to send the form to the server using:
a href=# onClick=document.del.submit();
Trouble is that the link always points to the name of the previous page I 
came from. All pages are php generated on-the-fly.
Is this a php problem? Anyone has a clue?
I really don't want to use a submit button in this case.

Regards, Andu Novac

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] OnClick problem (fwd)

2003-07-10 Thread andu
I may be wrong but to me the behavior is correct: calling a php script with 
echo $_SERVER['PHP_SELF']; should return the name of that script.

-- Forwarded Message --
Date: Thursday, July 10, 2003 16:16:24 -0400
From: Dan Joseph [EMAIL PROTECTED]
To: andu [EMAIL PROTECTED], Dan Joseph [EMAIL PROTECTED]
Subject: RE: [PHP] OnClick problem
= Hi,
=
=   Wow, you've got me stumped, that shouldn't be printing the previous at
= all. Could you forward tihs to the php list?  I'm stumped.
=
= -Dan Joseph
=
= -Original Message-
= From: andu [mailto:[EMAIL PROTECTED]
= Sent: Thursday, July 10, 2003 3:58 PM
= To: Dan Joseph
= Subject: RE: [PHP] OnClick problem
=
=
=
=
= --On Thursday, July 10, 2003 15:40:16 -0400 Dan Joseph [EMAIL PROTECTED]
= wrote:
=
=   Yeah, it would be:
= 
=   a href=? echo $_SERVER['PHP_SELF']; ?
= 
=   If that doesn't work, could you paste in a few lines of code?
= 
=  -Dan Joseph
= 
= Thanks for helping me Dan. Here's the html created from bits and pieces
= with php. The ? echo $_SERVER['PHP_SELF']; ? simply inserts the name
= of previous page I came from, makes sense.
=
= html
= head
= titleEntries list/title
= meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
= link rel=stylesheet href=style.css type=text/css
= /head
= div id=head style=position:absolute; left:12px; top:13px;
= width:659px;
= height:87px; z-index:1; overflow: hidden class=headaddress
=   book /div
= div id=Layer1 style=position:absolute; left:245px; top:187px;
= z-index:1; width: 278px; height: 197px; overflow: auto class=border
=  form name=del method=get action=del_entry2.php
= table cellpadding=0 cellspacing=0 border=0
= tr
=td class=cel2
=input type=checkbox name=delete_me value=andu|novac
=
= /td
= td class=cel2a
= href=show_me.php?firstname=andulastname=novacandu novac/a/td
=   /trtr
=td class=cel2
=input type=checkbox name=delete_me value=roberto|busto
= /td
= td class=cel2a
= href=show_me.php?firstname=robertolastname=bustoroberto
= busto/a/td /tr/table
=   /form
=
= /divdiv id=Layer1 style=position:absolute; left:10px; top:439px;
= width:666px; height:25px; z-index:1
=   table cellpadding=0 cellspacing=4 border=0  align=center
= tr
=   td class=cel width=122a href=login.phplogin/a/td
=   td class=cel width=122a href=add_acc.phpnew
= account/a/td
=   td class=cel width=122a href=add_addr.phpadd
= address/a/td
=   td class=cel width=122
=
= !--this is the problem part. When I click this link I want to send the
= form above. Notice the target is the name of the page which
= generated this
= one--
= a href=show_list.php onClick=document.del.submit();delete
= address/a/td
= !--end problem part--
=
=   td class=cel width=122a href=show_list.phpshow
= addresses/a/td
=
=   td class=cel width=122a href=lost_pass.phplost
= password/a/td
= /tr
=   /table
= /div
= /body
= /html
=
= Regards, Andu Novac
=
=
=
-- End Forwarded Message --



Regards, Andu Novac

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php