[PHP] Do I need to recompile Apache2 "--with-apxs" for PayPal PHP SDK?

2005-07-29 Thread John Hicks
I'm trying to install and configure PayPal Website Payments Pro using the PayPal PHP SDK. The first step in the SDK Quickstart instructions is: Enable Apache modules and APXS (Apache Extension Tool) In your Apache root directory, run: ../configure ?enable-mod=so --with-apxs /usr/local/apache/bin/

Re: [PHP] PHP noobie

2005-07-29 Thread Bob Stia
On Friday 29 July 2005 02:55, Jochem Maas wrote: > Bob Stia wrote: > > Hello PHP list > > > > First allow me to apologize if this is the wrong place for this and > > direct me to the proper place. (be nice now!) > > this list is really for people who are programmning in php. > as you describe it yo

Re: [PHP] Re: Automated Numerical Filenames for Directory

2005-07-29 Thread Kevin Waterson
This one time, at band camp, "Smittie" <[EMAIL PROTECTED]> wrote: > Okay - figured it out and have it working now What was your solution? Kevin -- "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote." -- PHP General Mailing

Re: [PHP] exec / shell_exec issues

2005-07-29 Thread leonski
Robert Cummings wrote: On Fri, 2005-07-29 at 22:45, leonski wrote: Robert Cummings wrote: On Fri, 2005-07-29 at 22:17, leonski wrote: Jason Wong wrote: On Saturday 30 July 2005 08:49, leonski wrote: sh: line 1: /usr/local/bin/mogrify /tmp/phpS1KCen -resize 320x240! : No such file o

Re: [PHP] exec / shell_exec issues

2005-07-29 Thread leonski
WAIT - DISREGARD THAT LAST POST - I forgot to // some other debug lines - the output is inconsistent with what I was testing (Robert's code) - I'll do better. leonski wrote: Robert Cummings wrote: On Fri, 2005-07-29 at 22:17, leonski wrote: Jason Wong wrote: On Saturday 30 July 2005

Re: [PHP] exec / shell_exec issues

2005-07-29 Thread Robert Cummings
On Fri, 2005-07-29 at 22:45, leonski wrote: > Robert Cummings wrote: > > On Fri, 2005-07-29 at 22:17, leonski wrote: > > > >>Jason Wong wrote: > >> > >>>On Saturday 30 July 2005 08:49, leonski wrote: > >>> > >>> > >>> > sh: line 1: /usr/local/bin/mogrify /tmp/phpS1KCen -resize 320x240! : > >>

Re: [PHP] exec / shell_exec issues

2005-07-29 Thread Jason Wong
On Saturday 30 July 2005 10:17, leonski wrote: > Jason Wong wrote: > > On Saturday 30 July 2005 08:49, leonski wrote: > >> sh: line 1: /usr/local/bin/mogrify /tmp/phpS1KCen -resize 320x240! > >> : No such file or directory sh: line 1: /usr/local/bin/mogrify > >> /tmp/phpS1KCen -resize 95x72! : No

[PHP] Re: Automated Numerical Filenames for Directory

2005-07-29 Thread Smittie
Okay - figured it out and have it working now Thanks - Original Message - From: "Smittie" <[EMAIL PROTECTED]> To: Sent: 28 July 2005 10:29 Subject: Automated Numerical Filenames for Directory > Hi everybody > > Have this headache and hope there is someone that can help: > > I need to g

Re: [PHP] exec / shell_exec issues

2005-07-29 Thread leonski
Robert Cummings wrote: On Fri, 2005-07-29 at 22:17, leonski wrote: Jason Wong wrote: On Saturday 30 July 2005 08:49, leonski wrote: sh: line 1: /usr/local/bin/mogrify /tmp/phpS1KCen -resize 320x240! : No such file or directory sh: line 1: /usr/local/bin/mogrify /tmp/phpS1KCen -resize 95x7

Re: [PHP] exec / shell_exec issues

2005-07-29 Thread Robert Cummings
On Fri, 2005-07-29 at 22:17, leonski wrote: > Jason Wong wrote: > > On Saturday 30 July 2005 08:49, leonski wrote: > > > > > >> sh: line 1: /usr/local/bin/mogrify /tmp/phpS1KCen -resize 320x240! : > >>No such file or directory sh: line 1: /usr/local/bin/mogrify > >>/tmp/phpS1KCen -resize 95x72!

Re: [PHP] exec / shell_exec issues

2005-07-29 Thread leonski
Jason Wong wrote: On Saturday 30 July 2005 08:49, leonski wrote: sh: line 1: /usr/local/bin/mogrify /tmp/phpS1KCen -resize 320x240! : No such file or directory sh: line 1: /usr/local/bin/mogrify /tmp/phpS1KCen -resize 95x72! : No such file or directory beats me how it gets inside the if, if

Re: [PHP] exec / shell_exec issues

2005-07-29 Thread Jason Wong
On Saturday 30 July 2005 08:49, leonski wrote: > sh: line 1: /usr/local/bin/mogrify /tmp/phpS1KCen -resize 320x240! : > No such file or directory sh: line 1: /usr/local/bin/mogrify > /tmp/phpS1KCen -resize 95x72! : No such file or directory > > beats me how it gets inside the if, if it doesn't e

Re: [PHP] exec / shell_exec issues

2005-07-29 Thread leonski
Robert Cummings wrote: On Fri, 2005-07-29 at 20:49, leonski wrote: Greetings. I've practically worn my eyeballs out trying to figure out a problem and in desperation am posting here in the hope for familiar eyes to guide me, so thanks in advance. check out this code section: if (file_exis

Re: [PHP] exec / shell_exec issues

2005-07-29 Thread Robert Cummings
On Fri, 2005-07-29 at 20:49, leonski wrote: > Greetings. > > I've practically worn my eyeballs out trying to figure out a problem and > in desperation am posting here in the hope for familiar eyes to guide > me, so thanks in advance. > > check out this code section: > > if (file_exists($imagef

[PHP] exec / shell_exec issues

2005-07-29 Thread leonski
Greetings. I've practically worn my eyeballs out trying to figure out a problem and in desperation am posting here in the hope for familiar eyes to guide me, so thanks in advance. check out this code section: if (file_exists($imagefile)) { $execstring = escapeshellarg("/usr/local/bin/mog

[PHP] exec nor shell_exec not doing as expected.

2005-07-29 Thread leonski
Greetings. I've practically worn my eyeballs out trying to figure out a problem and in desperation am posting here in the hope for familiar eyes to guide me, so thanks in advance. check out this code section: if (file_exists($imagefile)) { $execstring = escapeshellarg("/usr/local/bin/mog

RE: [PHP] How to generate MD5 passwords

2005-07-29 Thread Martin B. Nielsen
Are you maybe looking for something like this: The above will output: 098f6bcd4621d373cade4e832627b4f6 as MD5 hash value. For more info, http://se2.php.net/manual/en/function.md5.php Best regards, Martin -Original Message- From: Michelle Konzack [mailto:[EMAIL PROTECTED] Sent: 30. jul

[PHP] How to generate MD5 passwords

2005-07-29 Thread Michelle Konzack
Hello *, I like to generate md5 password but I have not found a command or something like this to generate it. Curently I am using $PASSMD5=exec("echo $PASSCLEAR" |md5sum") Is there a better way ? Greetings Michelle -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ Mic

Re: [PHP] PHP code in a MySQL record

2005-07-29 Thread André Medeiros
Either what Kris says, or you can use a templating engine. See Smarty (http://smarty.php.net) On 7/29/05, Kristen G. Thorson <[EMAIL PROTECTED]> wrote: > Is there a particular reason you need *PHP* in the database? If not, > then use a placeholder system of some sort ( like #var# ) and str_repla

[PHP] Automated Numerical Filenames for Directory

2005-07-29 Thread Smittie
Hi everybody Have this headache and hope there is someone that can help: I need to generate numerical filenames in a directory, first filename being 20001.php The next filename should be 20002.php etc.- no problem and easy enough BUT, if you have files in the directory ; 20001.php 20002.php 20

Re: [PHP] Dropdown Building Function

2005-07-29 Thread Jack Jackson
Kristen G. Thorson wrote: I'm not 100% sure where you're saying you're stuck, but I think you're trying to do with one query what you will probably find is best to do with several. Hopefully the following will help some: //first get all the questions $sql = "select * from questions"; $resu

Re: [PHP] Dropdown Building Function

2005-07-29 Thread David Christensen
On Fri, 2005-07-29 at 15:58 -0400, Jack Jackson wrote: > Hi, can anyone even point me in a *direction*? I suppose this is the > most complex thing I've ever tried to do and I have been at it for tens > of hours and am still completely baffled. > > > Jack Jackson wrote: > > Hi, > > because that

Re: [PHP] Dropdown Building Function

2005-07-29 Thread Jack Jackson
Aaron, Thanks for showing me this it is very cool indeed. However maybe I am being dumb and obdurate but what I am really trying to do is build some of these things myself (with, thankfully, help) so that I understand enough that when I see a great tool like yours I'll actually appreciate what

Re: [PHP] Dropdown Building Function

2005-07-29 Thread Aaron Greenspan
Jay, This is why I think frameworks are helpful Here's how I'd do it with Lampshade in one line of code with my own hypothetical field names: dropdownBox('answerid', "SELECT answerid, CONCAT(questions.description,' - ',answers.description) AS display FROM questions LEFT JOIN answers ON quest

Re: [PHP] Dropdown Building Function

2005-07-29 Thread Jack Jackson
And of course, I am finding that this way of yours is the easiest!! Thanks, again, Kristen JJ Kristen G. Thorson wrote: I'm not 100% sure where you're saying you're stuck, but I think you're trying to do with one query what you will probably find is best to do with several. Hopefully the fol

Re: [PHP] is it possible.

2005-07-29 Thread Matt Darby
jenny mathew wrote: hello group, i have a problem and hope anybody here will be able to hep me out. i have a downloads folder in my server which contains all the files in zipped form to be downloaded by members.members are authenticated by entering username and password.and when they click to

RE: [PHP] print value from db

2005-07-29 Thread Jay Blanchard
[snip] Hi, I have a table with: month, day, year, value I need to print every value corresponding to a day, for example: value[day1], if exist.. value[day2], if exist.. vale... etc It is possible? [/snip] Welcome to "Is It Possible Day" at the PHP Ranch. :) Yes, it is possible to print

[PHP] print value from db

2005-07-29 Thread Jesús Alain Rodríguez Santos
Hi, I have a table with: month, day, year, value I need to print every value corresponding to a day, for example: value[day1], if exist.. value[day2], if exist.. vale... etc It is possible? -- Este mensaje ha sido analizado por MailScanner en busca de virus y otros contenidos peligrosos

Re: [PHP] is it possible.

2005-07-29 Thread Gorm
You could copy the file to a temp-file "file_id.zip" and delete it after download. But perhaps it is possible to just have the file in cache ? jenny mathew wrote: i used following code for downloading file.whenever the members cicked the file for downloading ,the download request (with the vari

Re: [PHP] Dropdown Building Function

2005-07-29 Thread Jack Jackson
Kristen, Thank you so much> this is precisely what I was trying to accomplish. However I was also trying to learn how to do it with those arrays you mentioned which I figure will help me emerge from total newbieness. To date, I hope the list has seen I've progressed from absolutely *no* pro

Re: [PHP] Dropdown Building Function

2005-07-29 Thread Jack Jackson
Hi, Jay, I see perhaps I *was* thinking too complex. However this is *just* a bit off: Jay Blanchard wrote: [snip] Hi, can anyone even point me in a *direction*? I suppose this is the most complex thing I've ever tried to do and I have been at it for tens of hours and am still completely b

Re: [PHP] Dropdown Building Function

2005-07-29 Thread Kristen G. Thorson
I'm not 100% sure where you're saying you're stuck, but I think you're trying to do with one query what you will probably find is best to do with several. Hopefully the following will help some: //first get all the questions $sql = "select * from questions"; $result = mysql_query( $sql ); //

Re: [PHP] Safe mode subdirectory workaround patch

2005-07-29 Thread John Nichel
Bostjan Skufca wrote: Hi everyone, I created a patch which enables subdirectories to be created and used even if PHP is running with safe mode enabled (common problem on shared hosts where Apache/PHP runs as user 'nobody' or 'www'). Patch can be found here: http://www.lenivec.com/php/patches/

RE: [PHP] Dropdown Building Function

2005-07-29 Thread Jay Blanchard
[snip] Hi, can anyone even point me in a *direction*? I suppose this is the most complex thing I've ever tried to do and I have been at it for tens of hours and am still completely baffled. Jack Jackson wrote: > Hi, > because that last topic on multipage forms was so exciting, I decided to > d

[PHP] Safe mode subdirectory workaround patch

2005-07-29 Thread Bostjan Skufca
Hi everyone, I created a patch which enables subdirectories to be created and used even if PHP is running with safe mode enabled (common problem on shared hosts where Apache/PHP runs as user 'nobody' or 'www'). Patch can be found here: http://www.lenivec.com/php/patches/ Comments are welcome!

Re: [PHP] Dropdown Building Function

2005-07-29 Thread Jack Jackson
Hi, can anyone even point me in a *direction*? I suppose this is the most complex thing I've ever tried to do and I have been at it for tens of hours and am still completely baffled. Jack Jackson wrote: Hi, because that last topic on multipage forms was so exciting, I decided to database the

Re: [PHP] PHP code in a MySQL record

2005-07-29 Thread Kristen G. Thorson
Is there a particular reason you need *PHP* in the database? If not, then use a placeholder system of some sort ( like #var# ) and str_replace(): while( $row=mysql_fetch_row($result) ) { echo str_replace( '#var#', $that_var, $row['entry'] ); } kgt Nathaniel Hall wrote: I am working

Re: [PHP] PHP Spider/Crawler for Emails possible?

2005-07-29 Thread Chirantan Ghosh
Hi TG, I do not have the admin to all local sites. Well calling it doomsday device sure should scare anyone who believes email privacy but I HARDLY think an Image Designer of my coding capability can manage any harm even indenting so. I just don't have enough tech knowledge hence, the appeal

Re: [PHP] PHP Spider/Crawler for Emails possible?

2005-07-29 Thread tg-php
I guess my question at this point is that it sounds like you have control of the system. Why not have it so when they enter their email address, they can check a box saying "Add me to your mailing list".. and it'll put them directly into the database? Why the need to parse already built webpa

Re: [PHP] PHP Spider/Crawler for Emails possible?

2005-07-29 Thread eoghan
On 29 Jul 2005, at 19:16, Jay Blanchard wrote: I also noticed that the thread started as a RE:, was this thread hijacked? yeah... was PHP noobie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Spider/Crawler for Emails possible?

2005-07-29 Thread Saqib Ali
Why code this yourself, when Google can do it for you. Google provides an API for this. See the book called "Google Hacks" for details. > I was wondering if one could create Spiders/Crawlers in PHP? > I need for the PHP code to email me a list of emails, of domains listed in > that page. -- In P

Re: [PHP] PHP Spider/Crawler for Emails possible?

2005-07-29 Thread Chirantan Ghosh
Hi Jay & Jim, Let me apologize for mis-communication. I HATE sp#ammers like any normal being in the net. What I intend to do is build a customer forum(Purely opted in) People come to a web page & deliberately add their Real Estate website and sign up for our product & news letter. Real estate

RE: [PHP] Calendar program like on php.net

2005-07-29 Thread Jim Moseby
> Hello, > Anyone knows a simple calendar program that will let people > to add event, and > then after the event is approved by webmaster / moderator, > the event would be > added to the calendar ? > > Just like the calendar for Upcoming Events on www.php.net. > What program is > that ? >

RE: [PHP] PHP Spider/Crawler for Emails possible?

2005-07-29 Thread Jim Moseby
> > [snip] > Of course it is, but I'm afraid you might crawl the web, collect email > addresses, and send spam to the good people, or sell their email > adresses to > someone else who will. > [/snip] > > Why be afraid? That's just paranoid. > > I also noticed that the thread started as a RE:, wa

RE: [PHP] PHP Spider/Crawler for Emails possible?

2005-07-29 Thread Jay Blanchard
[snip] Of course it is, but I'm afraid you might crawl the web, collect email addresses, and send spam to the good people, or sell their email adresses to someone else who will. [/snip] Why be afraid? That's just paranoid. I also noticed that the thread started as a RE:, was this thread hijacked?

[PHP] Calendar program like on php.net

2005-07-29 Thread Reuben D. Budiardja
Hello, Anyone knows a simple calendar program that will let people to add event, and then after the event is approved by webmaster / moderator, the event would be added to the calendar ? Just like the calendar for Upcoming Events on www.php.net. What program is that ? I've looked at PHPGrou

Re: [PHP] PHP Spider/Crawler for Emails possible?

2005-07-29 Thread tg-php
You might get a cold response because it sounds like you're asking if you can write a program in PHP that harvests email addresses from web pages. Typically this would be used for mass email marketing aka 'spam'. Not a lot of people want to support that kind of programming project. But maybe

RE: [PHP] PHP Spider/Crawler for Emails possible?

2005-07-29 Thread Jay Blanchard
[snip] Pardon my ignorance but can you enlighten me a little more please? Like where can I look for them or how to code? [/snip] Start here http://www.php.net/file_get_contents [snip] As always all members are more than welcome to ask me for graphics I hope to be benevolent that way. [/snip] I

RE: [PHP] PHP Spider/Crawler for Emails possible?

2005-07-29 Thread Jim Moseby
> Hi, > > I was wondering if one could create Spiders/Crawlers in PHP? > I need for the PHP code to email me a list of emails, of > domains listed in > that page. > > Is this possible? Of course it is, but I'm afraid you might crawl the web, collect email addresses, and send spam to the good p

Re: [PHP] PHP Spider/Crawler for Emails possible?

2005-07-29 Thread John Nichel
Jay Blanchard wrote: [snip] I was wondering if one could create Spiders/Crawlers in PHP? [/snip] Yes. [snip] I need for the PHP code to email me a list of emails, of domains listed in that page. Is this possible? [/snip] Yes. Imagine that. ;) -- John C. Nichel ÜberGeek KegWorks.com 716.8

Re: [PHP] PHP Spider/Crawler for Emails possible?

2005-07-29 Thread Chirantan Ghosh
Hello Jay, Pardon my ignorance but can you enlighten me a little more please? Like where can I look for them or how to code? As always all members are more than welcome to ask me for graphics I hope to be benevolent that way. Thanks a lot, C - Original Message - From: "Jay Blanchard

RE: [PHP] PHP Spider/Crawler for Emails possible?

2005-07-29 Thread Jay Blanchard
[snip] I was wondering if one could create Spiders/Crawlers in PHP? [/snip] Yes. [snip] I need for the PHP code to email me a list of emails, of domains listed in that page. Is this possible? [/snip] Yes. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP] PHP Spider/Crawler for Emails possible?

2005-07-29 Thread Chirantan Ghosh
Hi, I was wondering if one could create Spiders/Crawlers in PHP? I need for the PHP code to email me a list of emails, of domains listed in that page. Is this possible? Thanks, C -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] isUserInRole equivalent in PHP

2005-07-29 Thread Saqib Ali
> Have you checked http://www.php.net/ldap ? yes. couldn't find one. i can implement the function myself. i was just wondering if there is something already available. -- In Peace, Saqib Ali http://www.xml-dev.com/blog/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Sessions Issue

2005-07-29 Thread John Nichel
Tom Ray [Lists] wrote: We built a box about 7 months or so ago using the SuSE 9.1 cd's, straight install from the CDs. While I've read that sessions are turned on by default, when we try to call on the sessions functions (like with phpOpenChat or start_session()) we get calls to undefined funct

RE: [PHP] isUserInRole equivalent in PHP

2005-07-29 Thread Jay Blanchard
[snip] Java has a function to check if the logged in user is assigned a certain Roles in LDAP. The function is called: isUserInRole http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSer vletRequestWrapper.html#isUserInRole(java.lang.String) Is there a PHP equivalent of this?

[PHP] Sessions Issue

2005-07-29 Thread Tom Ray [Lists]
We built a box about 7 months or so ago using the SuSE 9.1 cd's, straight install from the CDs. While I've read that sessions are turned on by default, when we try to call on the sessions functions (like with phpOpenChat or start_session()) we get calls to undefined function errors. This is lea

[PHP] isUserInRole equivalent in PHP

2005-07-29 Thread Saqib Ali
Hello All, Java has a function to check if the logged in user is assigned a certain Roles in LDAP. The function is called: isUserInRole http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpServletRequestWrapper.html#isUserInRole(java.lang.String) Is there a PHP equivalent of th

Re: [PHP] is it possible.

2005-07-29 Thread jenny mathew
i used following code for downloading file.whenever the members cicked the file for downloading ,the download request (with the variable containing file id) was send to download.php .The download.php on recieving the file id fetches the url of the fileand redirects to the file url using Header(

Re: [PHP] logging in using ssl

2005-07-29 Thread Dotan Cohen
On 7/29/05, Gregory Machin <[EMAIL PROTECTED]> wrote: > Hi > Please advise . > I have a site that needs to move over to ssl only when the user login > authenticates the log in .. > How would i go about this, the cms is exponent writen in php.. > Many Thanks > > -- > Gregory Machin > [EMAIL PROTECT

Re: [PHP] PHP noobie

2005-07-29 Thread John Nichel
Bob Stia wrote: Hello PHP list First allow me to apologize if this is the wrong place for this and direct me to the proper place. (be nice now!) I know nothing about PHP and have read at least 100 faqs and googled for hours. I don't even know some of the basics. The fact that you've search

Re: [PHP] help with "ORDER BY" query

2005-07-29 Thread John Nichel
Jesús Alain Rodríguez Santos wrote: I have a query: $query = mysql_query("SELECT event FROM table WHERE month = 'x' ORDER BY day ASC"); I have all days of the month insert in day field: 1, 2, 3, 4, 5 ... when I print the query: if ($query_r = mysql_fetch_array($query)) { -^

Re: [PHP] help with "ORDER BY" query

2005-07-29 Thread André Medeiros
if( mysql_num_rows( $query_r ) > 0 ) { while( $currentResult = mysql_fetch_array( $query_r ) ) { // do something with the result. } } else { echo 'No results.'; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

Re: [PHP] Including Check box ifo in PHP mail

2005-07-29 Thread Chirantan Ghosh
Hi Everybody, The reference PHP is http://www.primarywave.com/BrokerOutpost_Contact.php. I want it have Checkbox like http://www.primarywave.com/BrokerOutpost_Contact.htm & have it sent vis POST form action like the PHP sited before. My ignorace is getting the best of me do help please. The

RE: [PHP] help with "ORDER BY" query

2005-07-29 Thread Carlo Razzeto
The following line: $query_r = mysql_fetch_array($query) Will pop off the first result from the query, you can avoid this problem by using mysql_num_rows instead: if( mysql_num_rows( $query ) > 0 )... Carlo Razzeto Programmer Mortgage Information Services Phone: (216) 514-1025 ex. 1212

[PHP] help with "ORDER BY" query

2005-07-29 Thread Jesús Alain Rodríguez Santos
I have a query: $query = mysql_query("SELECT event FROM table WHERE month = 'x' ORDER BY day ASC"); I have all days of the month insert in day field: 1, 2, 3, 4, 5 ... when I print the query: if ($query_r = mysql_fetch_array($query)) { do { echo "".$query_r['event']."\n"; } while ($query_r

[PHP] logging in using ssl

2005-07-29 Thread Gregory Machin
Hi Please advise . I have a site that needs to move over to ssl only when the user login authenticates the log in .. How would i go about this, the cms is exponent writen in php.. Many Thanks -- Gregory Machin [EMAIL PROTECTED] [EMAIL PROTECTED] www.linuxpro.co.za Web Hosting Solutions Scalable

Re: [PHP] PHP and ISMAP

2005-07-29 Thread Jochem Maas
Michelle Konzack wrote: Hello *, I have a landmap splited into 100x100 pixel parts and show it in a grid of e.g. 8x6. Now I like to use ISMAP to get infos about places on this card. The problem is, that I can not send additonal Card infos like which will result in a URL like http://l

Re: [PHP] Re: PHP and ISMAP

2005-07-29 Thread André Medeiros
On Fri, 2005-07-29 at 14:47 +0200, Michelle Konzack wrote: > Please no CC, I am on the list. > > Am 2005-07-29 14:20:47, schrieb André Medeiros: > > Why not using a rewrite rule that would point to an index.php or > > somesuch? > > And then ? > I have e.g. 8x6 click maps, pointing all to the same

[PHP] Re: PHP and ISMAP

2005-07-29 Thread Michelle Konzack
Please no CC, I am on the list. Am 2005-07-29 14:20:47, schrieb André Medeiros: > Why not using a rewrite rule that would point to an index.php or > somesuch? And then ? I have e.g. 8x6 click maps, pointing all to the same index.php ? How do the CGI know on which map I have clicked ? And using r

[PHP] php array and java fold out menu

2005-07-29 Thread Gregory Machin
Hi . Please could you advise. I'm insearch of a java fold out menu that looks good, and can acept an array containg the links and link names etc from a php array ... i havent worked in java script yet so please help :-)... Many thanks -- Gregory Machin [EMAIL PROTECTED] [EMAIL PROTECTED] www.li

[PHP] php mysql field update not looping properly ..

2005-07-29 Thread Gregory Machin
Hi please could you advise.. I'm trying to prase a column in a table, to grep each field's contens, one contains a web page, and there are about 1000 pages in the column, thus they have to be one at a time so as not to over load the server /php .. the script below , gets an array of the table id

Re: [PHP] PHP and ISMAP

2005-07-29 Thread André Medeiros
Why not using a rewrite rule that would point to an index.php or somesuch? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] is it possible.

2005-07-29 Thread André Medeiros
When deppending on authentication, never link the files directly. You can create a download.php file that gets an ID through the URL, checks if the user is authenticated and then read the file. You will need these functions: http://pt.php.net/file_get_contents http://pt.php.net/header Header()

[PHP] is it possible.

2005-07-29 Thread jenny mathew
hello group, i have a problem and hope anybody here will be able to hep me out. i have a downloads folder in my server which contains all the files in zipped form to be downloaded by members.members are authenticated by entering username and password.and when they click to download the files ,th

Re: [PHP] Fundamental question about ADTs

2005-07-29 Thread Jochem Maas
Jasper Bryant-Greene wrote: Hi all Recently I've been reading /Code Complete/ by Steve McConnell, and in it he recommends the use of ADTs, or Abstract Data Types, which I have been big words :-) guess it means he can charge more per hour ;-) thinking about implementing in a major project I

Re: [PHP] Fundamental question about ADTs

2005-07-29 Thread Miles Thompson
Because the OOP religion requires everything to be done with methods? Remember CC comes from the MSFT world, not the PHP corner of it. And in the larger world, public properties of your class, such as Caption, have corresponding local vars such as m_caption. That is, Caption is not manipulate

Re: [PHP] PHP noobie

2005-07-29 Thread Miles Thompson
Bob, Try two things: 1. create a small file, name it phpinfo.php, which consists of these lines: 2. upload it to your web site 3. run it - http:///phpinfo.php where www.your.url is the address of yorur site. A. If PHP is installed, you will get a page full of information. It will include in

[PHP] Fundamental question about ADTs

2005-07-29 Thread Jasper Bryant-Greene
Hi all Recently I've been reading /Code Complete/ by Steve McConnell, and in it he recommends the use of ADTs, or Abstract Data Types, which I have been thinking about implementing in a major project I am currently embarking on. Basically the question that I have for the list is this: If I h

[PHP] pgp-gd and netpbm (pamdice)

2005-07-29 Thread Michelle Konzack
Hello *, I like to upload new topographical maps into my System and split it into smaller parts. Curently I am using exec() to do the Job, but like to use php native tools to do the Job. Also I need better naming schemes as netpbm (pamdice) do. Exactly I will like to give a horizontal vertical s

[PHP] PHP and ISMAP

2005-07-29 Thread Michelle Konzack
Hello *, I have a landmap splited into 100x100 pixel parts and show it in a grid of e.g. 8x6. Now I like to use ISMAP to get infos about places on this card. The problem is, that I can not send additonal Card infos like which will result in a URL like http://localhost/card.php?MAP=offe

Re: [PHP] overwrite private class members in php5?

2005-07-29 Thread Rasmus Lerdorf
Norbert Wenzel wrote: > Hi, I've done something like this: > > class MyClass { > > private $var; > > function __construct($value) { > $this->var = $value; > } > > public function printVar() { > echo($this->var); > } > > } > > $object = new MyClass('1'); > $object->printVar()

[PHP] Re: overwrite private class members in php5?

2005-07-29 Thread Norbert Wenzel
Norbert Wenzel wrote: public function printVar() { echo($this->var); } I have to do a little correction, i wrote $this->$var to see the variable, otherwise i don't see anything. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

[PHP] overwrite private class members in php5?

2005-07-29 Thread Norbert Wenzel
Hi, I've done something like this: class MyClass { private $var; function __construct($value) { $this->var = $value; } public function printVar() { echo($this->var); } } $object = new MyClass('1'); $object->printVar(); // prints 1 $object->var = 3; // Fatal Error as expecte

[PHP] Visit to Germany

2005-07-29 Thread DL Neil, Newsletter a/c
Greetings, I'm hoping to visit the Stuttgart area* for one week ~ ten days commencing c.Friday 19 August, to visit my brother-in-law and take a short vacation. If there are any PHP-related gatherings or activities I would be interested to meet up (last time I tried, I missed out by one week.

Re: [PHP] function with argument of type array

2005-07-29 Thread Jochem Maas
Marcus Bointon wrote: On 29 Jul 2005, at 08:19, Jochem Maas wrote: unless String is a class you defined that won't work at all. basic data types cannot be hinted (e.g. bool, int, string, float) There's been quite a bit about this on php-internals. It seems to be because PHP doesn't diffe

RE: [PHP] safe mode

2005-07-29 Thread Kim Madsen
> -Original Message- > From: Bostjan Skufca @ domenca.com [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 28, 2005 1:38 PM > > > I would *never* host anything on a server with safe_mode on! > > What are your reasons for this decision? I correted it in a mail 5 minutes after. With safe_

Re: [PHP] time()

2005-07-29 Thread Marcus Bointon
On 29 Jul 2005, at 08:37, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: I have the date when users registered stored in the database using time() function format. Hm. I hope this means you're storing it as a TimeStamp format, or better, DateTime, and not as a simple integer field. I ha

Re: [PHP] function with argument of type array

2005-07-29 Thread Marcus Bointon
On 29 Jul 2005, at 08:19, Jochem Maas wrote: unless String is a class you defined that won't work at all. basic data types cannot be hinted (e.g. bool, int, string, float) There's been quite a bit about this on php-internals. It seems to be because PHP doesn't differentiate between these t

[PHP] time()

2005-07-29 Thread virtualsoftware
Hi, I have the date when users registered stored in the database using time() function format. I have to search for users that are registered this week, this month and this year. How can i do that? I mean how can i found the beginning of this week? Or the beginning of this month? Thanks in ad

Re: [PHP] function with argument of type array

2005-07-29 Thread Jochem Maas
Marcus Bointon wrote: On 28 Jul 2005, at 12:07, André Medeiros wrote: On Thu, 2005-07-28 at 11:08 +0200, marc serra wrote: Hi, i want to know if it is possible to create a function and declare that one of its arguments is array type. In fact i want to do something like this function test(St